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
Fixed Issues
- 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.
- On the mobile web, public query export/download fails in worksheet.
- On the mobile web, pivot table column freeze function not working.
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
mdpaymentdatabase. 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. Refer to this
If LibreOffice has not been enabled before, the upgrade is not necessary. -
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 -E 'hap-community|hap:' | 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
mdpaymentdatabase. 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. Refer to this
If LibreOffice has not been enabled before, the upgrade is not necessary. -
Add
paymentservice 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/v1kind: Deploymentmetadata:name: paymentnamespace: defaultspec:replicas: 1selector:matchLabels:app: paymenttemplate:metadata:labels:app: paymentannotations:md-update: "20240123163208"spec:containers:- name: paymentimage: nocoly/hap-community:6.2.0env:- name: ENV_SERVERIDvalue: "single:payment"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 9161initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 9161initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: paymentnamespace: defaultspec:selector:app: paymentports:- name: grpc-paymentport: 9161targetPort: 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 && mongodbResetTemplateMessagesource /entrypoint.sh && mongodbExecute mdapps /init/mongodb/6.2.0/mdapps/DDL.txtsource /entrypoint.sh && mongodbExecute mdmap /init/mongodb/6.2.0/mdmap/DDL.txtsource /entrypoint.sh && mongodbExecute mdpayment /init/mongodb/6.2.0/mdpayment/DDL.txt
-