How to force an Update of cPanel on your Server

To force an update of cPanel on your server, you can use the following steps. This is useful if you want to ensure that you are running the latest version of cPanel, along with all the latest patches and updates.

Step 1: Access the Server via SSH

You’ll need to access your server via SSH as the root user. You can do this using an SSH client like PuTTY or through your terminal (if you are using Linux or macOS).

ssh root@your-server-ip

Step 2: Force Update cPanel

Once you are logged in, you can force an update of cPanel by running the following command:

/usr/local/cpanel/scripts/upcp --force

This command will initiate the cPanel update process and force it to update all installed packages, even if they are up-to-date.

Step 3: Monitor the Update Process

The update process will begin, and you should see output in the terminal showing the progress of the update. This might take some time, depending on the speed of your server and the number of updates being applied.

Step 4: Restart cPanel Services (Optional)

After the update is complete, it’s a good idea to restart cPanel services to ensure everything is running smoothly:

/scripts/restartsrv_cpsrvd

Step 5: Verify the Update

You can verify the update by logging into your cPanel/WHM interface and checking the version number, which should be updated to the latest version.

Conclusion

By following these steps, you’ll force cPanel to update to the latest version on your server. This ensures that your server has the latest security patches, bug fixes, and features. Always make sure to back up your data before performing major updates to avoid any potential data loss.