v6.2.0
- Update Information
- Upgrade Instruction
What's New
- Support payment capability (WeChat/Alipay)
- Support configuring browser tab Favicon
- Sync HAP SaaS Edition v6.2.0
Issues Fixing
- The self built application library did not select the option to include sample data when publishing the application, but after installation, it still contains sample data.
- Application replication or export, global variables are missing in the workflow.
- Application import upgrade, navigation grouping order not updated.
- Creating a worksheet through the application API is not supported for single choice control types.
- The default setting for the worksheet sub table is to query the worksheet. When the field of the query condition is empty, it becomes to retrieve all data.
- The default values for quick filtering fields in worksheet configuration are not effective.
- Worksheet field event call workflow PBP value transmission error.
- Workflow approval message, some fields in the summary are not displayed.
- Workflow configuration triggers invalid interface push when worksheet records are deleted.
- Collaboration Suite - Files, select all search results and delete, all files in the entire directory will be deleted.
- H5 worksheet public query, download and export invalid.
- H5 pivot table column freezing is invalid.
Please ensure that the MongoDB version is 4.4 or above before upgrading to 6.0.0+.
Standalone Mode
-
If MongoDB connection authentication is enabled, you need to manually create the
mdpayment
database. Please refer to how to create a new MongoDB database -
Upgrade storage component service to version
3.1.0
. Refer to this -
Upgrade document preview service to version
2.0.0
. Refer to this -
Upgrade document preview extension service to version
2.0.0
(If LibreOffice has not been enabled before, the upgrade is not necessary). Refer to this -
Upgrade microservices to version
6.2.0
. Refer to this -
After the image upgrade is completed, execute the script in the microservice application container. The steps are as follows:
-
Entering the container:
docker exec -it $(docker ps | grep community | awk '{print $1}') bash
-
Execute MongoDB scripts to synchronize pre-set translation content
source /entrypoint.sh && mongodbResetTemplateMessage
-
Cluster Mode
-
Backup data storage related servers.
-
If MongoDB connection authentication is enabled, you need to manually create the
mdpayment
database. Please refer to how to create a new MongoDB database -
File Storage Service Upgrade. Refer to this for detailed upgrade instructions.
-
If the current version of the file storage service is 1.x series → Upgrade to 1.7.0
-
If the current version of the file storage service is 2.x series → Upgrade to 2.1.0
-
-
Upgrade document preview service to version
2.0.0
. Refer to this -
Upgrade document preview extension service to version
2.0.0
(If LibreOffice has not been enabled before, the upgrade is not necessary). Refer to this -
Add
payment
service configuration in microservice applicationservice.yaml
(default: /data/hap/script/Kubernetes/service.yaml). The default configuration is as follows, and the parameter values can be adjusted according to actual needsapiVersion: apps/v1
kind: Deployment
metadata:
name: payment
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: payment
template:
metadata:
labels:
app: payment
annotations:
md-update: "20240123163208"
spec:
containers:
- name: payment
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:6.2.0
env:
- name: ENV_SERVERID
value: "single:payment"
resources:
limits:
cpu: "4"
memory: 8096Mi
requests:
cpu: "0.01"
memory: 64Mi
readinessProbe:
tcpSocket:
port: 9161
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 9161
initialDelaySeconds: 180
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: payment
namespace: default
spec:
selector:
app: payment
ports:
- name: grpc-payment
port: 9161
targetPort: 9161
--- -
Upgrade microservices to version
6.2.0
. Refer to this -
Enter the config Pod of the control node and execute the following commands, as shown below:
-
Enter the config Pod:
kubectl exec -it $(kubectl get pod | grep config | awk '{print $1}') bash
-
Execute the following script
Execute MongoDB scripts to synchronize pre-set translation content and add indexes
source /entrypoint.sh && mongodbResetTemplateMessage
source /entrypoint.sh && mongodbExecute mdapps /init/mongodb/6.2.0/mdapps/DDL.txt
source /entrypoint.sh && mongodbExecute mdmap /init/mongodb/6.2.0/mdmap/DDL.txt
source /entrypoint.sh && mongodbExecute mdpayment /init/mongodb/6.2.0/mdpayment/DDL.txt
-