cPanel & WHM update failure in upcp script
Hello,
I need some help. I've got this update error every day.
After reading this forum, I did a yum -y update and restarted the server.
It updated a lot of packages but the next day it hung on the same error.
Tried again the yum update but there are no packages to update. The error is still there.
Here is is:
The `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.10309.516428.1737604257.log` command failed and exited with the code “18” (signal = 0)
Update log preview: |
---|
[2025-01-23 00:17:12 -0500] cpanel-awstats-7.9-1.cp108~el7.noarch.rpm already downloaded Any help will be appreciated. BTW, I have another server on the same Centos7 and it updated to 11.110.0.51 without any problems. |
-
The log file looks OK. What to do now?
vi update.10309.516428.1737604257.log
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (10309) at Thu Jan 23 00:17:01 2025
[2025-01-23 00:17:01 -0500] Detected cron=1 (cron mode set from command line)
[2025-01-23 00:17:01 -0500] 1% complete
[2025-01-23 00:17:01 -0500] Running Standardized hooks
[2025-01-23 00:17:01 -0500] 2% complete
[2025-01-23 00:17:01 -0500] mtime on upcp is 1662123419 (Fri Sep 2 08:56:59 2022)
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow (10314) at Thu Jan 23 00:17:02 2025
[2025-01-23 00:17:02 -0500] Running version '11.110.0.50' of updatenow.
[2025-01-23 00:17:02 -0500] Retrieved public key from vendor: cpanel, category: release, url: https://securedownloads.cpanel.net/cPanelPublicKey.asc
[2025-01-23 00:17:03 -0500] Retrieved public key from vendor: cpanel, category: development, url: https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc
[2025-01-23 00:17:03 -0500] Detected version '11.110.0.50' from version file.
[2025-01-23 00:17:03 -0500] Successfully verified signature for cpanel (key types: release).
[2025-01-23 00:17:03 -0500] Target version set to '11.124.0.23'
[2025-01-23 00:17:03 -0500] First upgrading to 11.110.0.51 before upgrading to final version.
[2025-01-23 00:17:03 -0500] Switching to version 11.110.0.51 of updatenow to determine if we can reach that version without failure.
[2025-01-23 00:17:03 -0500] Retrieving and staging /cpanelsync/11.110.0.51/cpanel/scripts/updatenow.static.bz2
[2025-01-23 00:17:03 -0500] Using mirror '45.234.92.141' for host 'httpupdate.cpanel.net'.
[2025-01-23 00:17:04 -0500] Become an updatenow.static for version: 11.110.0.51
=> Log closed Thu Jan 23 00:17:04 2025
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow.static-cpanelsync (10314) at Thu Jan 23 00:17:05 2025
[2025-01-23 00:17:05 -0500] Running version '11.110.0.51' of updatenow.
[2025-01-23 00:17:05 -0500] Detected version '11.110.0.50' from version file.
[2025-01-23 00:17:05 -0500] Target version set to '11.124.0.23'
[2025-01-23 00:17:05 -0500] First upgrading to 11.110.0.51 before upgrading to final version.
[2025-01-23 00:17:05 -0500] Checking license
[2025-01-23 00:17:05 -0500] License file check complete
[2025-01-23 00:17:05 -0500] glibc-2.17-326.el7_9.3.tuxcare.els1.x86_64
[2025-01-23 00:17:05 -0500] Testing if rpm_is_working RPM is installed
[2025-01-23 00:17:05 -0500] Testing if it's possible to install a simple RPM
[2025-01-23 00:17:05 -0500] Preparing... ########################################
[2025-01-23 00:17:05 -0500] Updating / installing...
[2025-01-23 00:17:05 -0500] rpm_is_working-1.0-0 ########################################
[2025-01-23 00:17:05 -0500] Ensuring required distro packages are installed.
[2025-01-23 00:17:05 -0500] Staging 11.110.0.51 cpanelsync files prior to updating /usr/local/cpanel
[2025-01-23 00:17:05 -0500] Staging cpanel changes
[2025-01-23 00:17:05 -0500] checkyum version 22.3 (excludes: bind-chroot)
[2025-01-23 00:17:05 -0500] Loading digest cache from /usr/local/cpanel/.cpanelsync.digest
[2025-01-23 00:17:05 -0500] Retrieving and staging /cpanelsync/11.110.0.51/binaries/linux-c7-x86_64/.cpanelsync.bz2
[2025-01-23 00:17:05 -0500] Using mirror '45.234.92.141' for host 'httpupdate.cpanel.net'.
[2025-01-23 00:17:05 -0500] Successfully verified signature for cpanel (key types: release).
[2025-01-23 00:17:05 -0500] Retrieving and staging /cpanelsync/11.110.0.51/cpanel/.cpanelsync.bz2
"update.10309.516428.1737604257.log" 212L, 18569C0 -
Hey there! That second bit of output you showed looks normal. If that update doesn't complete, please try running "yum update" to see if that provides any specific errors about the system packages.
Ultimately, you should be getting off CentOS 7 and onto a modern system as soon as possible.
0 -
Thanks, cPRex I know I have to upgrade but it's not an easy thing when you run a live app with customers. I'll do it soon.
However, when I run again "yum -y update" there are no packages to update.
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 185.125.185.32
* cpanel-addons-production-feed: 185.125.185.32
* cpanel-plugins: 185.125.185.32
No packages marked for updateThe error is still there the next day. What to do next?
0 -
Honestly, I wouldn't worry about it. It's a minor version change, and trying to fix any package issues on the old operating system really aren't going to help anything. I'd just let it be until you can update.
1 -
OK, thanks. Interestingly enough the other server has exactly the same config and is updated to 11.110.0.51 silently.
0
Please sign in to leave a comment.
Comments
5 comments