Updating WHM/cPanel to latest version from the command line

Expertise level: Easy

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

Once connected, run the following command:


This will only update your WHM installation. Your data will not be affected. If your WHM installation is already up-to-date, you can still force an update; this will essentially cause WHM to be re-installed while keeping all your configurations. Simply run the following command:

/scripts/upcp --force

Again, your data will not be modified by the update.

If your problem still has not been resolved, iWeb recommends that you contact technical support. To contact technical support, please consult our guide on Opening a Technical Ticket.


Article is closed for comments.
Powered by Zendesk