Update failure of cPanel & WHM in the upcp script

curruwilla

Registered
Aug 30, 2020
2
0
1
brazil
cPanel Access Level
Root Administrator
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.

Viewing the update log:

...
...
[2020-12-06 22:00:23 -0300] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 3721) reported error number 1 when it ended.
...
[2020-12-06 22:00:23 -0300] The Administrator will be notified to review this output when this script completes
[2020-12-06 22:00:23 -0300] - Finished command `/usr/local/cpanel/scripts/rpmup` in 27.038 seconds
[2020-12-06 22:00:23 -0300] 30% complete
[2020-12-06 22:00:23 -0300] - Finished in 27.038 seconds
[2020-12-06 22:00:23 -0300] - Finished in 0.302 seconds
[2020-12-06 22:00:23 -0300] Processing:
[2020-12-06 22:00:23 -0300] Maintenance complete. [state=pre]
=> Log closed Sun Dec 6 22:00:23 2020
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (3470) at Sun Dec 6 22:00:23 2020
How do I solve it?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
999
313
cPanel Access Level
Root Administrator
Hey there! Can you try running "yum update" on the machine? The "rpmup" script just attempts to force a "yum update" on the server, so running this manually on the command line will usually provide us with better details on the issue. If you could post that output here we'll be able to get you better information on how to proceed.
 

curruwilla

Registered
Aug 30, 2020
2
0
1
brazil
cPanel Access Level
Root Administrator
Hey there! Can you try running "yum update" on the machine? The "rpmup" script just attempts to force a "yum update" on the server, so running this manually on the command line will usually provide us with better details on the issue. If you could post that output here we'll be able to get you better information on how to proceed.
1607513725555.png
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
999
313
cPanel Access Level
Root Administrator
Thanks for that information. It would seem that firewall package mentioned is conflicting with the CSF tools on the system. The hg-dedi-firewall option is part of the Hostgator firewall plugin tools, so it would be best to speak with them directly for guidance on this issue.