cPanel & WHM update failure in upcp script
Can anyone assist on finding a solution?
[2022-09-20 08:03:33 -0400] - Processing command `/usr/local/cpanel/scripts/find_outdated_services --auto`
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] Looking for outdated services "
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] Loaded plugins: langpacks, universal-hooks
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins base elrepo
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] : epel extras imunify360 imunify360-rollout-1 imunify360-rollout-2
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] : imunify360-rollout-3 imunify360-rollout-4 kernelcare
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] : mysql-connectors-community mysql-tools-community
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] : mysql57-community updates wp-toolkit-cpanel
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] : wp-toolkit-thirdparties
[2022-09-20 08:04:20 -0400] [/usr/local/cpanel/scripts/find_outdated_services] Other repos take up 760 k of disk space (use --verbose for details)
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services] STDOUT: dbus.service
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services] auditd.service
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services] libvirtd.service
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services]
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services]
[2022-09-20 08:04:20 -0400] E [/usr/local/cpanel/scripts/find_outdated_services] STDERR: Could not retrieve mirrorlist
-
Hey there! This doesn't look like an issue with the cPanel update, but instead looks like a problem with custom repositories on the machine. The elrepo mirror isn't something that is provided by cPanel or the operating system, so you may want to try temporarily disabling that, then running a "yum update" to confirm things are working well with Yum itself. After that works, I would also expect a full cPanel update to work properly. Details on how to disable a repository can be found here: 0 -
Hey there! This doesn't look like an issue with the cPanel update, but instead looks like a problem with custom repositories on the machine. The elrepo mirror isn't something that is provided by cPanel or the operating system, so you may want to try temporarily disabling that, then running a "yum update" to confirm things are working well with Yum itself. After that works, I would also expect a full cPanel update to work properly. Details on how to disable a repository can be found here:
0 -
You're welcome!!! 0 -
Thank you, as this has fixed the issue. Sharing for others that may need this info. yum --disablerepo=elrepo update 0 -
I'm glad to hear that's all it took! 0 -
I have this error as well, but it only began about 1 week ago with an upgrade to cpanel 106.0.7. The reason I installed the elrepo repository was because they have this Apache 5 kernel: - 5.11.10-1.el7.elrepo
0 -
@celiac101 - since it's not provided by us, I can't advise on the pros and cons of that package. 0 -
Can I ask what harm this error message causes? Am I getting all normal updates for my server, or are some not working? I'd like to continue running the elrepo kernel and updates. Below is what I am receiving, but I can't really say if it means anything other than "we have a conflict here." 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/find_outdated_service". Review the update logs to determine why the update failed. [2022-09-22 04:27:21 -0700] E [/usr/local/cpanel/scripts/find_outdated_services] STDOUT: ea-php74-php-fpm.service [2022-09-22 04:27:21 -0700] E [/usr/local/cpanel/scripts/find_outdated_services] ea-php81-php-fpm.service [2022-09-22 04:27:21 -0700] E [/usr/local/cpanel/scripts/find_outdated_services] httpd.service [2022-09-22 04:27:21 -0700] E [/usr/local/cpanel/scripts/find_outdated_services] ... [2022-09-22 04:27:37 -0700] Processing: Updating plugins data cache [2022-09-22 04:27:37 -0700] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache` [2022-09-22 04:27:37 -0700] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.024 seconds [2022-09-22 04:27:37 -0700] Processing: Ensuring SSL certificate information for CCS is up to date. [2022-09-22 04:27:37 -0700] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl` [2022-09-22 04:27:37 -0700] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.007 seconds [2022-09-22 04:27:37 -0700] Processing: Ensure cpanel-plugins yum repo exists [2022-09-22 04:27:37 -0700] - Finished in 0.195 seconds [2022-09-22 04:27:37 -0700] Processing: Checking Addon Licenses [2022-09-22 04:27:37 -0700] - Finished in 0.003 seconds [2022-09-22 04:27:37 -0700] Processing: Updating Public Suffix List [2022-09-22 04:27:37 -0700] Processing: Checking End Of Life for current version. [2022-09-22 04:27:38 -0700] - Finished in 0.175 seconds [2022-09-22 04:27:38 -0700] Processing: [2022-09-22 04:27:38 -0700] Maintenance complete. => Log closed Thu Sep 22 04:27:38 2022 0 -
@celiac101 - this is a different message than the OP was talking about, but in this case it looks like PHP-FPM just needs to be restarted. 0
Please sign in to leave a comment.
Comments
9 comments