[WHM/cPanel] Update WHM/cPanel using CLI

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:

/scripts/upcp

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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

[EA4] New Relic APM on cPanel & CloudLinux CageFS

Many System Administrators tried to get PHP apps hosted on a cPanel server with CloudLinux and...

crontab management

crontab is a command line tool in order to manage your cron tasksThe two most important basic...

[WHM/cPanel] CloudLinux PHP selector not saving on cPanel 54 and CL 6.x & 7.x

Problem:When trying to change php extensions in paper_lantern, nothing saves. I can click Save or...

Freeing Space

Problem: Is there a way to tell the kernel to give back the free disk space now? Like a write to...

[EA3] New Relic APM on cPanel & CloudLinux CageFS

Many System Administrators tried to get PHP apps hosted on a cPanel server with CloudLinux and...