Manual update of cPanel

In this article, I will provide examples of updating cPanel and WHM.

For cPanel and WHM, you need to run the script as root user:


Force cPanel and WHM upgrade (WHM >> Home >> cPanel >> Upgrade to Latest Version):

/usr/local/cpanel/scripts/upcp --force

You can check the current version with the command:

/usr/local/cpanel/cpanel -V

After the update, the log file can be found in the /var/cpanel/updatelogs/ directory.

If the cPanel license has expired, then in order to update it, you must renew it and renew the cPanel license with the command below:


cPanel uses port 2082 for http and 2083 for https.

In order not to receive update logs by email, you can find the job in cron and add at the end of the line:

>/dev/null 2>&1

To update the operating system (WHM >> Home >> Software >> System Update, similar to yum update):


Update add-ons:
WHM >> Home >> cPanel >> Manage cPAddons Site Software

MySQL update:
WHM >> Home >> SQL Services >> MySQL/MariaDB Upgrade

Apache update:
WHM >> Home >> Software >> EasyApache 4

See my other articles about cPanel and WHM

Leave a comment

Leave a Reply