How to update WHM / cPanel version


Browse by products and services

  • Applies to: DV
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: WHM access, SSH access

Overview

Keeping WHM / cPanel up-to-date is a vital way to take advantage of the console's latest features and avoid any potential security pitfalls that can arise when running outdated software. This article will show you how to upgrade your panel to the latest version.

CAUTION:
As with all guides for major server changes, there will always be edge cases that experience errors which can break things. While we have tried to account for possible fail-points, there is no way to guarantee with 100% certainty that the following commands won't cause more harm than good.

Before upgrading (important)

Before performing the actual upgrade to WHM, you should:

  1. Make a back-up of your entire server, preferably using the Snapshot Backup tool. A Snapshot Backup will give you the option of restoring to your old server setup if anything goes wrong during the upgrade.
  2.  Reboot your DV server.
  3. Be comfortable with the idea that there is always a possibility that you will need to re-install and/or revert to that backup data.

Let's Upgrade!

WHM GUI

  1. Log into WHM.
  2. Click on the Update Now button located in the top-right of WHM.
    whm-1.png
  3. Select Click to Upgrade.
    whm-2.png
  4. Allow the update process to complete.
    whm-3.png
  5. Once the update is complete, reboot your server.
  6. That's it! Your WHM / cPanel version should be successfully updated.

SSH

  1. Connect to your server via ssh using the root user.
  2. Run the following command:
    /usr/local/cpanel/scripts/upcp
  3.  Reboot your server.
  4. That's it! Your WHM / cPanel version should be successfully updated.

Resources