v7.3.0
- Update Information
- Upgrade Instruction
What's New
- Standalone deployment now supports Lite Installation Mode
- Organization Authorization API: the user synchronization endpoint now supports the password field
- Sync HAP SaaS Edition v7.3.0
Fixed Issues
- [Worksheet] Attachments can still be downloaded even after download is disabled, and download actions are not logged
- [Worksheet] Field configuration for Excel export is not saved correctly
- [Worksheet] The “Employee ID” option does not take effect when exporting to Excel
- [Worksheet] Custom action buttons in row records cannot be restored to an available state after execution
- [Worksheet] Some fields are not refreshed when navigating between records (Previous/Next) in the detail view
- [Worksheet] The “disable album” setting does not take effect when adding related records via H5 QR code scanning
- [Org Admin] Roles are not correctly imported when importing users via Excel
Standalone Mode
-
If MongoDB connection authentication is enabled, you need to manually create the
mdopenauthandmdaisearchdatabase. Please refer to how to create a new MongoDB database -
if using external file object storage, refer to the custom file object storage to reinitialize the preset file
-
Update MongoDB preset data to
7.3.0. Refer to this (Can be executed in the running state of the original version of the service) -
Upgrade microservices to version
7.3.0. Refer to this
Cluster Mode
-
Backup data storage related servers
-
If MongoDB connection authentication is enabled, you need to manually create the
mdopenauthandmdaisearchdatabase. Please refer to how to create a new MongoDB database -
Update MongoDB preset data to
7.3.0. Refer to this (Can be executed in the running state of the original version of the service) -
Microservice application
service.yaml(default: /data/hap/script/Kubernetes/service.yaml) configuration file adjustmentRemove the
pushserverservice configuration, as shown below:apiVersion: apps/v1kind: Deploymentmetadata:name: pushservernamespace: defaultspec:replicas: 1selector:matchLabels:app: pushservertemplate:metadata:labels:app: pushserverannotations:md-update: "20240123163208"spec:containers:- name: pushserverimage: nocoly/hap:7.2.4env:- name: ENV_SERVERIDvalue: "single:pushserver"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 3004initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 3004initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: pushservernamespace: defaultspec:selector:app: pushserverports:- name: http-pushserverport: 3004targetPort: 3004---Add
platformapiandopenauthorizationservice configurations, and adjust the parameter values as needed:apiVersion: apps/v1kind: Deploymentmetadata:name: platformapinamespace: defaultspec:replicas: 1selector:matchLabels:app: platformapitemplate:metadata:labels:app: platformapiannotations:md-update: "20240123163208"spec:containers:- name: platformapiimage: nocoly/hap:7.3.0env:- name: ENV_SERVERIDvalue: "single:platformapi"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 1317initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 1317initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: platformapinamespace: defaultspec:selector:app: platformapiports:- name: http-platformapiport: 1317targetPort: 1317---apiVersion: apps/v1kind: Deploymentmetadata:name: openauthorizationnamespace: defaultspec:replicas: 1selector:matchLabels:app: openauthorizationtemplate:metadata:labels:app: openauthorizationannotations:md-update: "20240123163208"spec:containers:- name: openauthorizationimage: nocoly/hap:7.3.0env:- name: ENV_SERVERIDvalue: "single:openauthorization"resources:limits:cpu: "4"memory: 8096Mirequests:cpu: "0.01"memory: 64MireadinessProbe:tcpSocket:port: 5322initialDelaySeconds: 10periodSeconds: 10livenessProbe:tcpSocket:port: 5322initialDelaySeconds: 180periodSeconds: 10---apiVersion: v1kind: Servicemetadata:name: openauthorizationnamespace: defaultspec:selector:app: openauthorizationports:- name: grpc-openauthorizationport: 5322targetPort: 5322--- -
Upgrade microservices to version
7.3.0. Refer to this -
Enter the config Pod of the control node and execute the following commands, as shown below:
-
Enter config Pod (note to change the
defaultto the actual namespace)kubectl exec -it $(kubectl get pod -n default | grep config | awk '{print $1}') bash -n default -
Execute the following script
Update the preset file (if using external file object storage, this command does not need to be executed, refer to the custom file object storage to reinitialize the preset file)
source /entrypoint-cluster.sh && fileInit -
Execute MongoDB script (add index)
source /entrypoint.sh && mongodbExecute mdIdentification /init/mongodb/7.3.0/mdIdentification/DDL.txtsource /entrypoint.sh && mongodbExecute mdopenauth /init/mongodb/7.3.0/mdopenauth/DDL.txt
-