How to Update WHM/cPanel to the Latest Version from the Command Line

Occasionally, WHM or cPanel might experience errors that can only be resolved by updating the software. To update the control panel from the command line, start by logging into your server by SSH as root.

Once you're connected, enter the following command:

/scripts/upcp

This will only update your WHM installation and will not affect your data. If your WHM installation is already up-to-date, you can still force an update, which will essentially cause WHM to be re-installed while still keeping all your configurations.


To force update WHM, run:

/scripts/upcp --force

No need to worry - your data will not be modified by the update.


If you still have questions about updating your cPanel, feel free to contact us by opening a support ticket or by using our live chat feature to talk with our support team.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

What is error 550 – quota exceeded?

You will receive a “550 Mailbox quota exceeded” error when you attempt to send an...

How to Create and Use Subdomains

Subdomains Subdomains allow you to separate your website into several distinct sections....

How to empty my DNS cache

Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web...

How to set up Hotlink protection in cPanel

Hotlink protection is a security feature in cPanel designed to reduce bandwidth consumption. It...

CURL: could not resolve host: cpanel.net

Error: curl: (6) Could not resolve host: securedownloads.cpanel.net; Unknown error Fix:...