HoganHost blog

[email protected]

How to upgrade from CentOS 7 to AlmaLinux 8 with cPanel ELevate









This article provides the steps needed to upgrade CentOS 7 to AlmaLinux 8 using cPanel ELevate.

Upgrading the OS can cause data loss or catastrophic system failures. Backups should be made and stored off-server before attempting an upgrade.


  1. Backup your accounts.
  2. Access the server’s command line as the ‘root’ user via SSH or “Terminal” in WHM.
  3. Run yum to update out-of-date packages.
    yum update
  4. Run upcp to update cPanel.
  5. Reboot the server.
    shutdown -r now
  6. Wait for the reboot to finish.
  7. Access the server’s command line as the ‘root’ user via SSH or “Terminal” in WHM.
  8. Download the cPanel ELevate script.
    wget -O /scripts/elevate-cpanel https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel; chmod 700 /scripts/elevate-cpanel
  9. Run the following command to check for upgrade blockers.
    /scripts/elevate-cpanel --check --upgrade-to=almalinux
  10. Resolve each listed issue.
  11. Check for upgrade blockers again.
    /scripts/elevate-cpanel --check --upgrade-to=almalinux

    If there are no more blockers, you should see the following messages at the end of the output.

    There is no known blockers to start the elevation process.
    You can consider running:
    /scripts/elevate-cpanel --start
  12. Run the following command to begin the upgrade process.
    /scripts/elevate-cpanel --start --upgrade-to=almalinux

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.

Please note that you can check the current status of the update by running the following command.

/scripts/elevate-cpanel --status

Check out our web hosting service hoganhost.com.ng

Leave a Comment

Your email address will not be published. Required fields are marked *