Question
How do you upgrade Ubuntu 20.04 to 22.04 with cPanel ELevate?
Answer
Note: Before proceeding with the upgrade, it is recommended to review the following list of blockers to ensure the upgrade process will not interfere with any software that you require:
Known cPanel ELevate Blockers
Warning: Upgrading the OS can cause data loss or catastrophic system failures. Backups should be made and stored off-server before attempting an upgrade.
- Backup your accounts
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run apt to update out-of-date packages:
# apt update
# apt upgrade -
Run upcp to update cPanel:
# /scripts/upcp
-
Reboot the server:
# shutdown -r now
- Wait for the reboot to finish
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Download the cPanel ELevate script:
# wget -O /scripts/elevate-cpanel https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel; chmod 700 /scripts/elevate-cpanel
-
Run the following command to check for upgrade blockers:
# /scripts/elevate-cpanel --check
- Resolve each listed issue
-
Check for upgrade blockers again:
# /scripts/elevate-cpanel --check
If there are no more blockers, you should see the following messages at the end of the output.
CONFIG_TEXT: There is no known blockers to start the elevation process.
You can consider running:
#/scripts/elevate-cpanel --start -
Run the following command to begin the upgrade process:
# /scripts/elevate-cpanel --start
Note: The elevation process can potentially take 90 minutes to complete and requires multiple reboots. Some reboots can be longer than usual. Do not interrupt the upgrade process.
Note: You can check the current status of the update by running the following command:
/scripts/elevate-cpanel --status
Comments
0 comments
Article is closed for comments.