Skip to main content

cPanel & WHM update failure in upcp script

Comments

9 comments

  • cPRex Jurassic Moderator
    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
  • lestat69
    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
  • cPRex Jurassic Moderator
    You're welcome!!!
    0
  • lestat69
    Thank you, as this has fixed the issue. Sharing for others that may need this info. yum --disablerepo=elrepo update
    0
  • cPRex Jurassic Moderator
    I'm glad to hear that's all it took!
    0
  • celiac101
    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
    that seems to run fine on my system (CentOS v7.9.2009 STANDARD standard), and it runs faster than the standard Apache 3 kernel. I've been running this setup for over a year now without issues, at least until this error, however, I have noticed that this Apache 5 kernel appears to not have been updated...at least the kernel's name has never changed. Does anyone know who maintains this kernel, and if it is a good or bad idea to be running it? Are there security/hacking risks? I definitely like that it is faster, but hope that there are no vulnerabilities associated with it.
    0
  • cPRex Jurassic Moderator
    @celiac101 - since it's not provided by us, I can't advise on the pros and cons of that package.
    0
  • celiac101
    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
  • cPRex Jurassic Moderator
    @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.