2/04/2015 – Manual Upgrade of cPanel and WHM
Posted by Jamison on 04 02 2015.
Through an update script, you can update your cPanel manually; or you can also do it automatically with the use of task automation tools. Unfortunately, some built-in auto updates may not effectively work on some issues regarding your website’s security and customization. With this, most of us don’t just rely on automated updates, but rather, we tend to manually (and deeply) check our website for malicious software, vulnerabilities, updates, and other problems.
If you are in doubt with your updater or if you just want to have a look at how your website is doing, you need to learn how to perform a manual checkup on your cPanel. Here’s how you run cPanel’s update script to manually upgrade your account.
- Open your cPanel and login as the administrator.
- Go to the Main page. On the left corner of the page, click the + sign before the cPanel logo and then look for Upgrade to Latest Version. Click it and it will start updating your cPanel. Notice that it will update to the latest Release build of cPanel. However, updates will depend on your current settings. Suppose you don’t have the latest yet, then this step will update your cPanel to it.
- Check the box beside Force a Reinstall option and then click the Click to Upgrade button. Please note that it is okay to force your cPanel account to reinstall itself though your settings are already updated. This is just to check if everything is indeed up-to-date. Upgrading it may take a few minutes to an hour (or more) depending on the specs of your computer, the internet speed, the number of installations, and the server hardware.
- Once the upgrade has started, it will show a percentage bar as well as the add-ons and programs that are being updated.
- Wait for it to finish. And that’s it!
Aside from running cPanel’s update script, you can also manually upgrade your account through a SSH. Here’s how:
- Open your Virtual Private Server (VPS) using SSH.
- Now type exactly this command: /scripts/upcp –force
- Next, type this command: /etc/init.d/cpanel restart. This will restart your cPanel and you will see necessary changes and upgrades.
What about the the /usr/local/cpanel/scripts/upcp script?
You may also find this script in your cPanel account. Actually, this one holds most of the software applications on your system. And it also handles the following scripts given below.
- /usr/local/cpanel/scripts – updates most of your software
- /usr/local/cpanel/scripts/rpmup2 – updates your cPanel and is equally the same with yum command
- /usr/local/cpanel/scripts/sysup – updates dependencies needed by cPanel and WHM.
There are several other update scripts that you can see on cPanel and WHM and each has its own function. You can check them all on the update page of cPanel.
Of course, you can just automatically update your cPanel through their Update System Software. However, if you want to check it meticulously, the simple guidelines above will serve as your walkthrough.