All my systems are failing to update due to yum missing digest

Operating System & Version
RHEL/CentOS 7
cPanel & WHM Version
11.102.0.11

yakatz9

Well-Known Member
Mar 16, 2010
71
8
58
cPanel Access Level
DataCenter Provider
All of my servers, in different data centers with totally different IPs, and some CentOS, some RHEL, are failing updates with the error:
cPanel version change from “11.102.0.11” to “11.102.0.12” failed during updatenow.

FATAL: No digest data for cpanel-php74-7.4.29-1.cp11102.x86_64.rpm
I haven't seen anyone else posting about this. What do I do?
 

Spirogg

Well-Known Member
Feb 21, 2018
700
160
43
chicago
cPanel Access Level
Root Administrator
All of my servers, in different data centers with totally different IPs, and some CentOS, some RHEL, are failing updates with the error:


I haven't seen anyone else posting about this. What do I do?
try running this in terminal :
go to whm > terminal
then type in:
/usr/local/cpanel/scripts/check_cpanel_pkgs
and tell me if it reports anything?
or just type in this:
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
 
Last edited:

Spirogg

Well-Known Member
Feb 21, 2018
700
160
43
chicago
cPanel Access Level
Root Administrator
@yakatz9

can you see if you have this file

/etc/cpsources.conf

if so
read more here




Nightly cPanel updates fail with an error indicating an inability to stage a new RPM due to missing digest data

This can indicate an issue with a FastUpdate or otherwise custom update mirror specified in /etc/cpsources.conf.



Workaround


Comment out the HTTUPDATE= line(s)
in /etc/cpsources.conf and try the cPanel update again.

Lines can be commented out by placing a '#' in front of them.

For example:

# HTTPUPDATE=203.0.113.5


A manual cPanel update can then be run with:

/scripts/upcp
 

ServerHealers

Active Member
Sep 21, 2015
42
22
58
India
cPanel Access Level
Root Administrator
Hi,

I think this is not resolved yet. Some update mirrors are still having issues. Multiple customers reported this and still reporting it.

I'm attaching a screenshot of the most recent ticket we handled a few hours back.

Also, commenting the entry in /etc/cpsources.conf is not the solution here. You need to add a working update Mirror here. I'm pasting the recent ticket that we handled for reference.

-----------------------------------------------------------------------------------------------------------------------------------------------

I was able to replicate the issue and found the following error in the log files.

[email protected]:/var/cpanel/updatelogs# tail -10 update.168322.1075503.1650879353.log
[2022-04-25 12:35:26 +0000] The Administrator will be notified to review this output when this script completes
[2022-04-25 12:35:26 +0000] ***** FATAL: Failed to stage “new packages” because of an error: No digest data for cpanel-php74/cpanel-php74_7.4.29-1.cp11102_amd64.deb at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 50068.
[2022-04-25 12:35:26 +0000] : see RPM Installation Failures | cPanel & WHM Documentation for more information
[2022-04-25 12:35:26 +0000] The Administrator will be notified to review this output when this script completes
[2022-04-25 12:35:26 +0000] Removing staged files and directories for binaries/linux-u20-x86_64, cpanel
=> Log closed Mon Apr 25 12:35:27 2022
[2022-04-25 12:35:27 +0000] 17% complete
[2022-04-25 12:35:27 +0000] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.168322.1075503.1650879353.log` failed, exited with code 13 (signal = 0)
=> Log closed Mon Apr 25 12:35:27 2022
=> Log closed Mon Apr 25 12:35:28 2022
By checking the log files it was clear that the issue was with the cPanel update mirror. I also found the problematic mirror and it's 103.72.162.35

Then I checked from where exactly cPanel getting this mirror details or list and I found the following.

[email protected]:/var/cpanel/updatelogs# grep -R httpupdate /etc/apt/
/etc/apt/sources.list.d/EA4.list:deb mirror://httpupdate.cpanel.net/ea4-u20-mirrorlist ./
/etc/apt/sources.list.d/cpanel-plugins.list:deb mirror://httpupdate.cpanel.net/cpanel-plugins-u20-mirrorlist ./
You can also see the cPanel update mirrors by visiting http://httpupdate.cpanel.net/ea4-u20-mirrorlist

I then created cpsources.conf and specified a custom mirror as follows.

[email protected]:/var/cpanel/updatelogs# cat /etc/cpsources.conf
HTTPUPDATE=184.94.196.92
Then tried the update and that resolved the issue. Please check the log given below to verify.

[email protected]:/var/cpanel/updatelogs# tail -10 /var/cpanel/updatelogs/update.168732.1093493.1650879353.log
[2022-04-25 12:41:45 +0000] 95% complete
[2022-04-25 12:41:45 +0000] Running Standardized hooks
[2022-04-25 12:41:45 +0000] 100% complete
[2022-04-25 12:41:45 +0000]
[2022-04-25 12:41:45 +0000] cPanel update completed
[2022-04-25 12:41:45 +0000] A log of this update is available at /var/cpanel/updatelogs/update.168732.1093493.1650879353.log
[2022-04-25 12:41:45 +0000] Removing upcp pidfile
[2022-04-25 12:41:45 +0000]
[2022-04-25 12:41:45 +0000] Completed all updates
=> Log closed Mon Apr 25 12:41:45 2022
Your cPanel is now updated to the latest version

[email protected]:/var/cpanel/updatelogs# cat /usr/local/cpanel/version
11.102.0.12
Please review and do get back to us if you need any further help in this regard.
 

Attachments

Last edited:

yakatz9

Well-Known Member
Mar 16, 2010
71
8
58
cPanel Access Level
DataCenter Provider
There were some mirror issues earlier today, but at this point I believe that is all taken care of. Can you try the updates again and let me know if you still see issues?
This has been going on at least since April 21. I haven't tried forcing mirrors yet.
 

gfserver

Well-Known Member
Feb 18, 2015
47
8
58
cPanel Access Level
Root Administrator
Hello, we have the same problem:

***** FATAL: No digest data for cpanel-php74-7.4.29-1.cp11102.x86_64.rpm
***** FATAL: Failed to stage “new packages” because of an error: No digest data for cpanel-php74-7.4.29-1.cp11102.x86_64.rpm at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 50068.

Thanks!
 

risecompany

Member
Mar 10, 2015
14
0
51
Egypt
cPanel Access Level
Root Administrator
@risecompany - if you try the update now are you still seeing problems?
Yes, The same issue is still.
[2022-04-25 22:44:30 +0200] : see RPM Installation Failures | cPanel & WHM Documentation for more information
[2022-04-25 22:44:30 +0200] The Administrator will be notified to review this output when this script completes
[2022-04-25 22:44:30 +0200] Removing staged files and directories for binaries/linux-c7-x86_64, cpanel
=> Log closed Mon Apr 25 22:44:30 2022
[2022-04-25 22:44:30 +0200] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.5397.140112193.1649518343.log` failed, exited with code 13 (signal = 0)
=> Log closed Mon Apr 25 22:44:30 2022
 

ServerHealers

Active Member
Sep 21, 2015
42
22
58
India
cPanel Access Level
Root Administrator
Yes, 184.94.196.92 will work for both Ubuntu and CentOS based cPanel servers. It's because cPanel is using the same mirror servers for all OS types.
E.g.:

So, if anyone has similar issues, it's safe to use 184.94.196.92 in cpsources.conf, as a temporary fix until cPanel resolves this issue.

I can confirm when I set

the update works, so it does seem to be bad mirrors.
 
  • Like
Reactions: Spirogg

jimhermann

Well-Known Member
Jan 20, 2008
76
3
58
I have a DNSOnly server that does not have a /etc/cpsources.conf file.

Where do I find the file to add this to?

HTTPUPDATE=184.94.196.92

Jim