SOLVED Not using downloaded cpanel-plugins/repomd.xml

Dezdan

Active Member
Jan 28, 2013
29
1
53
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,880
2,258
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

Active Member
Jan 28, 2013
29
1
53
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,335
75
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
14,307
2,238
363
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,335
75
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.
 

Bramus

Member
Jan 27, 2014
8
0
51
cPanel Access Level
Root Administrator

cetiner

Active Member
Dec 24, 2018
42
9
8
turkey
cPanel Access Level
Root Administrator
#MeToo

Me too, the same warning every hour arrived in the mailboxes from different server's.
The time stamps are same like @Bramus / suggestions above doesn't work for me.

> /etc/cron.hourly/0yum-hourly.cron:
>
> Not using downloaded cpanel-plugins/repomd.xml because it is older than what we have:
> Current : Wed Dec 1 17:28:03 2021
> Downloaded: Wed Nov 24 22:44:51 2021
 

cetiner

Active Member
Dec 24, 2018
42
9
8
turkey
cPanel Access Level
Root Administrator
@cPanelAnthony
Thank you for your response. Sure, there is a solution for that. There is a solution for everything, it just must be found

We have this issue only with all our DNSonly servers. The normal cPanel servers are not affected.