[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

PDFinfo

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

What are .htaccess files and how to create and edit them

.htaccess files are used to configure and provide the server with instuctions regarding the...

How to install a custom BIN on CloudLinux (with CageFS)

CageFS creates a filesystem template in /usr/share/cagefs-skeleton directory. CageFS template...

[WHM/cPanel] Changing Home directory

What is the document root? When you visit a website, you are accessing a particular folder on...

Installing GeoIP (PECL) on WHM

In order to install GeoIP via PECL on a WHM enabled server, you must first install 2 modules:1)...