How to Migrate to AlmaLinux 8 or CloudLinux 8 from CentOS/CloudLinux 7 Using cPanel ELevate

May 6, 2025 / Security and Backups

In this tutorial, you will learn how to migrate to AlmaLinux 8 or CloudLinux 8 from CentOS/CloudLinux 7 using cPanel ELevate.

Note: Before starting the upgrade, reviewing the list of known cPanel ELevate Blockers is crucial to prevent any conflicts with essential software. Additionally, upgrading the operating system can potentially cause data loss or system issues, so make sure to have full backups of all your accounts stored off-server.

Upgrade Steps:

  1. Server Preparation:
    1.  Backup Confirmation: Verify that all data backups are current and reliable.
    2. Root Access: Log in as the root user via SSH or WHM Terminal.
    3. Update Packages: Execute the command to update all outdated packages:
      yum update
    4. Update cPanel: Upgrade cPanel to the latest version:
      /scripts/upcp
    5. Reboot Server: Apply changes by rebooting the system:
      shutdown -r now
    6. Post-Reboot Login: After the server restarts, log back in as the root user.
  2. Initiate the Elevate Process:
    1. Download Elevate Script: Run the following commands to download and set up the script:
      wget -O /scripts/elevate-cpanel https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel
      chmod 700 /scripts/elevate-cpanel
    2. Check for Blockers: Identify any potential blockers:
      /scripts/elevate-cpanel –check
    3. Resolve Blockers: Address any issues found and recheck until no blockers remain:
      /scripts/elevate-cpanel –check
    4. You should see: “There are no known blockers to start the elevation process.”
  3. Perform the Upgrade:
    1. Start Upgrade: Begin the elevation process:
      /scripts/elevate-cpanel –start

      The process may take up to 90 minutes and involve multiple reboots. Do not interrupt.

    2. Monitor Progress: Check the upgrade status at any time:
      /scripts/elevate-cpanel --status

Actions to Take After Upgrade:
After completing the upgrade, confirm that the system is functioning correctly. Additionally, re-enable or configure any features or custom settings that were previously in use to guarantee everything is running smoothly.

Completing the following steps can ensure a stable and efficient upgrade to the latest supported OS version.

Next step after upgrading? Learn How to install WordPress through WP-CLI on AlmaLinux

Spread the love