Upgrading CyberPanel
The following command can be used to upgrade to the latest version.
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
If using a sudo user rather than root, try this:
sudo su - -c "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
wget https://raw.githubusercontent.com/usmannasir/cyberpanel/<branch name>/cyberpanel_upgrade.sh
chmod +x cyberpanel_upgrade.sh
./cyberpanel_upgrade.sh
Replace with actual branch name from Github, branching schemes are described in our contribution docs.
During the installation process, you will be prompted to specify the version to which you wish to upgrade. Please enter the desired version in the following format: 2.3.3
for stable releases, or 2.3.4-dev
for the development branch. Replace “version” with the specific version you intend to upgrade to.
Updates between official versions
Even when there hasn’t been a new version of CyberPanel officially released, there are always minor updates happening behind the scenes. In order to take advantage of these, you can upgrade CyberPanel at any time.
To see a list of updates, you can visit the CyberPanel github repo’s commit log: Commits · usmannasir/cyberpanel (github.com)