Upgrade Microservices
-
Before upgrading a microservice, please visit Version Release History to check whether there are versions marked with additional upgrade operations between the current version and the target version.
If applicable, complete the corresponding operations according to the relevant guidance documentation. -
Before upgrading, ensure that the upgrade service in the authorization key has not expired. If the upgrade service has expired, do not upgrade to a version with a release date later than the expiration date of the upgrade service.
If you proceed with upgrading after the upgrade service has expired, the system will prompt restrictions on the upgrade, and certain platform functionalities will become unavailable, rendering the authorization key invalid.
-
Pull the microservice application mirror of the target version. Offline Package
- Linux amd64
- Linux arm64
docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-hap:<version>docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-hap-arm64:<version> -
Modify the version of the mirror in the
/data/mingdao/script/docker-compose.yaml; -
Execute the command
bash ./service.sh restartall(If multiple images are upgraded simultaneously, the restart command can be executed only once at the end) in the root directory of the manager to restart the service and wait for it to finish;