cPanel & WHM update failure in upcp script

Operating System & Version
CentOS v7.9.2009 STANDARD standard
cPanel & WHM Version
106.0.9

celiac101

Well-Known Member
Dec 19, 2012
145
5
68
cPanel Access Level
Website Owner
I had this update failure this morning, which brought down my sites/server for at least 5 minutes. Any idea why, and how to fix it?



Update log preview:​
...
...
[2022-11-08 04:34:21 -0800] E [/usr/local/cpanel/scripts/find_outdated_services] STDERR: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
[2022-11-08 04:34:21 -0800] E [/usr/local/cpanel/scripts/find_outdated_services]
[2022-11-08 04:34:21 -0800] E [/usr/local/cpanel/scripts/find_outdated_services]
[2022-11-08 04:34:21 -0800] E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::Exception::ProcessFailed::Error/(XID gpvbb2) “/usr/local/cpanel/bin/needs-restarting-cpanel†reported error code “1†when it ended: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
...
[2022-11-08 04:34:57 -0800] Processing: Updating plugins data cache
[2022-11-08 04:34:57 -0800] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2022-11-08 04:34:58 -0800] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.056 seconds
[2022-11-08 04:34:58 -0800] Processing: Ensuring SSL certificate information for CCS is up to date.
[2022-11-08 04:34:58 -0800] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2022-11-08 04:34:58 -0800] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.008 seconds
[2022-11-08 04:34:58 -0800] Processing: Ensure cpanel-plugins yum repo exists
[2022-11-08 04:34:58 -0800] - Finished in 0.220 seconds
[2022-11-08 04:34:58 -0800] Processing: Checking Addon Licenses
[2022-11-08 04:34:58 -0800] - Finished in 0.011 seconds
[2022-11-08 04:34:58 -0800] Processing: Updating Public Suffix List
[2022-11-08 04:34:58 -0800] Processing: Checking End Of Life for current version.
[2022-11-08 04:35:00 -0800] - Finished in 2.310 seconds
[2022-11-08 04:35:00 -0800] Processing:
[2022-11-08 04:35:00 -0800] Maintenance complete.
=> Log closed Tue Nov 8 04:35:00 2022
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (17182) at Tue Nov 8 04:35:00 2022
 

celiac101

Well-Known Member
Dec 19, 2012
145
5
68
cPanel Access Level
Website Owner
Yes, it ran fine.

Any idea why a routine auto-update would bring down my server? All the info I have about this is included in my first post.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,427
2,113
363
cPanel Access Level
Root Administrator
I wouldn't expect either of those issues to take a server offline. I'm wondering if something else glitched at the same time that actually caused those errors and also caused the outage, since both of those warnings are very minor issues related to the overall update.
 

celiac101

Well-Known Member
Dec 19, 2012
145
5
68
cPanel Access Level
Website Owner
I can assure you that my server went down, to the minute, when this error was emailed to me via cPanel. My ping service also sent server down messages starting within 1 minute, and the total down time was at least 6 minutes.