Upgrade & Reset MCSManager
TIP
Please backup the web/data
and daemon/data
directories to another location before upgrading your panel.
Before upgrade
Given MCSManager's distributed architecture, updating all daemons might be time-consuming if you have more than five. We recommend that only updating when we release a major version or security fixes.
If you have only a few daemons, upgrading your panel should not be a problem.
Updating the Panel
For Windows
- Download the latest zip file from official website.
- Overwrite the existing panel directory.
Script Update for Linux Version
If you originally installed MCSManager using the one-click script, you can simply run the following command. The one-click installation script supports automatic updates and will not damage your local data.
After executing the script, there's nothing else you need to do, and your MCSManager should automatically be updated to the latest version.
sudo su -c "wget -qO- https://script.mcsmanager.com/setup_cn.sh | bash"
Manual Update for Linux Version
If you originally installed MCSManager manually, the one-click installation script will not work for you as it may result in installing two separate instances of the program.
You will need to visit the official release page, download the latest code, and overwrite all your existing MCSManager files.
After overwriting the files, you also need to update the dependencies by navigating to both the web
and daemon
directories, and running npm install --production
in each. This ensures that all required dependencies are updated, otherwise, you may not be able to start the panel!
Reset Admin Account
If you lost access to the admin account, you can always create a new one with the following steps:
- Move the
web/data/User
directory to another location. - Restart MCSManager, the initial setup page will be displayed.
- Follow the instructions and create a new admin account.
- Move back the
web/data/User
directory. - Restart MCSManager
Reset Everything
All you need to do is delete the data
folder.