SOLVED Not using downloaded cpanel-plugins/repomd.xml

Dezdan

Member
Jan 28, 2013
23
1
3
cPanel Access Level
Root Administrator
After a recent reboot, every few hours I am now receiving an email from my Cron Daemon with the following information:

/etc/cron.hourly/0yum-hourly.
cron:
Not using downloaded cpanel-plugins/repomd.xml because it is older than what we have:
Current : Wed Jan 3 07:02:02 2018
Downloaded: Mon Nov 13 11:56:52 2017

I've run a software update, to no avail. Suggestions on how to fix this issue?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Can you let us know the contents of the /etc/cron.hourly/0yum-hourly file? EX:

Code:
cat /etc/cron.hourly/0yum-hourly
Ensure to replace any identifying information about the server with examples.

Thank you.
 

Lee Young

Registered
Dec 19, 2017
3
0
1
Troon
cPanel Access Level
Root Administrator
Getting the exact same error on my server with slightly different times.

/etc/cron.hourly/0yum-hourly.cron:

Not using downloaded cpanel-plugins/repomd.xml because it is older than what we have:
Current : Wed Jan 3 15:02:02 2018
Downloaded: Mon Nov 13 19:56:52 2017
 

Dezdan

Member
Jan 28, 2013
23
1
3
cPanel Access Level
Root Administrator
Hello,

Can you let us know the contents of the /etc/cron.hourly/0yum-hourly file? EX:

Code:
cat /etc/cron.hourly/0yum-hourly
Ensure to replace any identifying information about the server with examples.

Thank you.
Looks like it doesn't exist.
Code:
[[email protected] ~]# cat /etc/cron.hourly/0yum-hourly
cat: /etc/cron.hourly/0yum-hourly: No such file or directory
 

Lee Young

Registered
Dec 19, 2017
3
0
1
Troon
cPanel Access Level
Root Administrator
missed out the .cron extension in the cat command.

contents below :

#!/bin/bash

# Only run if this flag is set. The flag is created by the yum-cron init
# script when the service is started -- this allows one to use chkconfig and
# the standard "service stop|start" commands to enable or disable yum-cron.
if [[ ! -f /var/lock/subsys/yum-cron ]]; then
exit 0
fi

# Action!
exec /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
Hi,

Thank you for your reports @Lee Young and @Dezdan. This is an issue with the update server mirrors being out of sync. You may safely ignore the email alert for now. The sysadmin team has already been made aware of this issue. I'll update this post once our sysadmin team reports it has been resolved.

Edit: Our sysadmin team is already reviewing the issue
Edit1: Issue identified, fix still underway
Edit2: All mirrors should be corrected at this time; you may see some residual emails/alerts though. You may want to issue `yum clean all' or a `yum makecache' to force the update; however, it should be corrected by itself. If you continue to face issues, please update this thread or open a ticket.

Thanks,
 
Last edited:
  • Like
Reactions: Infopro

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,287
64
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
Hey guys. It's 2021 and I'm getting the same exact errors reported in this thread.
How can I manually fix/sync the mirrors being used for download?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,491
1,008
313
cPanel Access Level
Root Administrator
@Kent Brockman - I'm actually not aware of any recent mirror issues on our end.

In order to clear that mirror history you can do the following:

Code:
 echo "" > /root/.HttpRequest/httpupdate.cpanel.net
 /scripts/upcp --force
as that will rebuild the IP list the system uses to check for cPanel udpates.
 
  • Like
Reactions: Kent Brockman

Kent Brockman

Well-Known Member
PartnerNOC
Jan 20, 2008
1,287
64
178
Buenos Aires, Argentina
cPanel Access Level
Root Administrator
@Kent Brockman - I'm actually not aware of any recent mirror issues on our end.

In order to clear that mirror history you can do the following:

Code:
 echo "" > /root/.HttpRequest/httpupdate.cpanel.net
/scripts/upcp --force
as that will rebuild the IP list the system uses to check for cPanel udpates.
Thank you very much. That worked great. I'll add it to our FAQ.