[Fix] cPanel & WHM Update Failure

Recently, I started getting an email every single day from cPanel telling me the following:

The cPanel & WHM update process failed for the following reason:

Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/rpmup”. Review the update logs to determine why the update failed.

I’d been ignoring the emails for a little while, but they started getting on my nerves & so today, I finally decided to take a look into it.

To begin with, I attempted to run the /scripts/upcp function manually via SSH to see what was happening.

It appeared that the function was having an issue with the RPMs, so I ran the/scripts/rpmup command next.

That command outlined that it seemed to be getting stuck on ffmpeg… But, what now?

Well… I ran the following 3 commands:

yum clean all
yum update

Then once again ran /scripts/upcp

And touch wood, the problem seems to have gone. The process ran error free right to the end… So I’ll see how it goes from here 🙂

Fingers crossed that’s the pesky email gone.

Leave a Comment