How to Update CyberPanel
Upgrading CyberPanel
There are a few different commands to update CyberPanel, the first listed will auto update to the latest version. The second will update to a specific version.
Please note: Updates must be done in incremental steps, if you update from 1.8.0 to 2.0.3 your server might not work properly. Update one step increment at a time 1.8.0, 1.8.1, 1.8.2, etc.
The following command can be used to upgrade to the latest version.
This command will ask what version you want to update to, after 10 seconds it will auto update to the latest version. Updates must be done in incremental steps to ensure proper operation.
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
Upgrading CyberPanel to a specific version
This command will update CyberPanel to a specific version:
https://raw.githubusercontent.com/usmannasir/cyberpanel/<branch name>/cyberpanel_upgrade.sh
Replace <branch name> with actual branch name from the offical CyberPanel Github. Version schemes and naming order are described in the CyberPanel contribution docs.