How To Fix cPanel & WHM "update failure in upcp script"

Run the following commands and check the output:

$ sudo cat /etc/cpupdate.conf
$ sudo cat /usr/local/cpanel/version
$ sudo cat /var/cpanel/updatelogs/update.$$$.log

replace "update.$$$.log" with the most recent update log where the update failed.

Run the following commands and check the output:

$ sudo /usr/local/cpanel/scripts/find_outdated_services

Then try rebuilding the RPM database to see if that helps: "WHM Home » Software » Rebuild RPM Database"

You can also try running this command manually to see if it continues to fail, and to verify the failure message:

$ sudo /usr/local/cpanel/scripts/post_sync_cleanup

If nothing works, force another cPanel update with the "/scripts/upcp --force" command.

If that also didn't work, then:

$ sudo yum clean all
$ sudo yum update
  • Linux, cPanel & WHM
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How To Access cPanel/WHM Via Command Line As The Root User

It is true that cPanel & WHM automates many of the server administration tasks that you may...

How To Resolve Empty cPanel CPU/Concurrent Usage Snapshot

When a CloudLinux user hits LVE limits, appropriate faults are generated and lvestats package...

How To Implement cPanel Firewalls On AWS & Google Cloud

If you are using a public cloud such as AWS, Google Cloud Platform, Microsoft Azure, Alibabacloud...

How To Check Your cPanel & WHM Server Ports As An Admin

For a Linux instance, follow these steps to verify the security group rule: Connect to a Linux...

How To Check cPanel Log Files With Location and Description

First of all, some of these locations do change as cPanel release new versions. If you are...