Manager Upgrade
Note
- Upgrading the manager may change the server ID. If it changes, update the license key promptly.
- This guide uses
/usr/local/MDPrivateDeployment/as the manager installation directory. Adjust the paths if you use a custom directory.
-
Download the Latest Manager
- Linux amd64
- Linux arm64
wget https://pdpublic.mingdao.com/private-deployment/7.5.3/mingdaoyun_private_deployment_captain_linux_amd64.tar.gzwget https://pdpublic.mingdao.com/private-deployment/7.5.3/mingdaoyun_private_deployment_captain_linux_arm64.tar.gz -
Stop the Services
Open the existing manager directory and stop the manager and HAP services:
cd /usr/local/MDPrivateDeployment/bash ./service.sh stopall -
Move the Old Manager Directory
After the services have stopped and the package has downloaded, rename the old directory:
mv /usr/local/MDPrivateDeployment /usr/local/MDPrivateDeployment.bak-$(date +%Y%m%d%H%M%S) -
Create the Directory and Extract the New Manager
mkdir -p /usr/local/MDPrivateDeployment/- Linux amd64
- Linux arm64
tar -zxvf mingdaoyun_private_deployment_captain_linux_amd64.tar.gz -C /usr/local/MDPrivateDeployment/tar -zxvf mingdaoyun_private_deployment_captain_linux_arm64.tar.gz -C /usr/local/MDPrivateDeployment/If you use a custom data path, set
installDirin the newservice.shto the original path before starting the services. -
Mark the Manager as Initialized
Run in the new manager directory:
cd /usr/local/MDPrivateDeployment/echo -n 'StageStart' > installer.stage -
Start the Services
Start the manager and HAP services in the new manager directory:
bash ./service.sh startall