[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

Using dig to Query a Specific DNS Server (Name Server)

There may be occasions when you wish to query a name server directly.  I usually do it when...

Tweak the swapinness

What is swappiness and why should I change it? swappiness is a value between 0 and 100 which...

PDFinfo

Pdfinfo is a pretty useful tool.  Pdfinfo prints the contents of the 'Info' dictionary (plus some...

How to silence a CRON and prevent it to send emails

Problem:Every time that a CRON is running, an email is sent.  Those emails aren't always...