Skip to main content

Manager Upgrade

There is no need to upgrade the manager without explicit requirements
  1. Stop the service and execute bash ./service.sh stopall in the root directory of the manager (stopped is output successfully);

  2. Clean up the current HDP Service and Manager related files:

    • Back up and remove the data files related to the original microservice application, such as: mv /data/hap/ /backup/hdpbak20260805/. The specific target location can be customized. This step is a high-risk operation, so be sure to operate it correctly and the data backup is successful 💥 💥 💥;

    • Execute rm -rf ./* in the Manager root directory (This operation cannot be performed if the manager is not stored in an independent folder)

  3. Reinstall, refer to Installation Steps (complete steps 3~7);

  4. Stop the service and execute bash ./service.sh stopall in the root directory of the manager (stopped will be output if successful);

  5. Execute rm -rf /data/hap/script/volume/data/* to clean the data generated by reinstallation, and then restore the previously backed up data, such as cp -r /backup/hdpbak20260805/script/volume/data/* /data/hap/script/volume/data/;

  6. Compare /data/hap/script/docker-compose.yaml with /backup/hdpbak20260805/script/docker-compose.yaml in the backup directory. If there are additional custom configuration items, they need to be adjusted manually;

  7. Restart the service, execute bash ./service.sh startall in the root directory of the manager, and wait for the command execution to complete;