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 v12.2.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/mingdao/script/Kubernetes/service.yaml) configuration file adjustment.Remove the
pushserverservice configuration, as shown below:apiVersion: apps/v1
kind: Deployment
metadata:
name: pushserver
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: pushserver
template:
metadata:
labels:
app: pushserver
annotations:
md-update: "20240123163208"
spec:
containers:
- name: pushserver
image: IMAGEPATH_HAP_PLACEHOLDER:7.2.4
env:
- name: ENV_SERVERID
value: "single:pushserver"
resources:
limits:
cpu: "4"
memory: 8096Mi
requests:
cpu: "0.01"
memory: 64Mi
readinessProbe:
tcpSocket:
port: 3004
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 3004
initialDelaySeconds: 180
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: pushserver
namespace: default
spec:
selector:
app: pushserver
ports:
- name: http-pushserver
port: 3004
targetPort: 3004
---Add
platformapiandopenauthorizationservice configurations, and adjust the parameter values as needed:apiVersion: apps/v1
kind: Deployment
metadata:
name: platformapi
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: platformapi
template:
metadata:
labels:
app: platformapi
annotations:
md-update: "20240123163208"
spec:
containers:
- name: platformapi
image: IMAGEPATH_HAP_PLACEHOLDER:7.3.0
env:
- name: ENV_SERVERID
value: "single:platformapi"
resources:
limits:
cpu: "4"
memory: 8096Mi
requests:
cpu: "0.01"
memory: 64Mi
readinessProbe:
tcpSocket:
port: 1317
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 1317
initialDelaySeconds: 180
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: platformapi
namespace: default
spec:
selector:
app: platformapi
ports:
- name: http-platformapi
port: 1317
targetPort: 1317
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: openauthorization
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: openauthorization
template:
metadata:
labels:
app: openauthorization
annotations:
md-update: "20240123163208"
spec:
containers:
- name: openauthorization
image: IMAGEPATH_HAP_PLACEHOLDER:7.3.0
env:
- name: ENV_SERVERID
value: "single:openauthorization"
resources:
limits:
cpu: "4"
memory: 8096Mi
requests:
cpu: "0.01"
memory: 64Mi
readinessProbe:
tcpSocket:
port: 5322
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 5322
initialDelaySeconds: 180
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: openauthorization
namespace: default
spec:
selector:
app: openauthorization
ports:
- name: grpc-openauthorization
port: 5322
targetPort: 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.txt
source /entrypoint.sh && mongodbExecute mdopenauth /init/mongodb/7.3.0/mdopenauth/DDL.txt
-