Skip to main content

Upgrade Microservices

Attention
  • Before upgrading a microservice, please go to Changelog to check if there are any versions marked with Additional Operations between the current version and the current version。
    If involved, please follow the corresponding guidance document to complete the relevant operations.

  • Before upgrading, please pay attention to whether the upgrade service in the authorization key has expired. After the upgrade service in the authorization expires, please do not release the upgrade version later than the version where the upgrade service expires.
    If the upgrade service continues after expiration, the system will prompt that the upgrade is restricted, some platform functions are unavailable, and the authorization key is invalid.

  1. Pull the microservice application mirror of the target version. Offline Package

    docker pull nocoly/hap-community:<version>
  2. Modify the version of the mirror in the /data/hap/script/docker-compose.yaml;

  3. 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;