Update failure in upcp script due to error downloading metadata for repository MariaDB105
This is a CloudLinux 9 server, we have MariaDB 10.5 installed.
The server is reporting an error in the nightly updates and we found in logs it is due to error with this repository MariaDB105.
I found in another post about a similar issue, a suggestion to try yum clean all, yum makecache and then yum update. So I tried yum clean all, which run ok, and then run yum makecache. This one got stuck with the MariaDB105 and showed this after a while:
Errors during downloading metadata for repository 'MariaDB105':
- Curl error (28): Timeout was reached for https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml [Failed to connect to archive.mariadb.org port 443: Connection timed out]
Error: Failed to download metadata for repo 'MariaDB105': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I tried the URL mentioned in the error in my browser and the xml file loaded ok.
How can we get this resolved?
Thank you!
-
Hey there! Can you try running this command directly on the server?
wget https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml
0 -
I have tried, it got stuck and I guess will eventually time out:
wget https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml
--2025-06-09 20:50:23-- https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml
Resolving archive.mariadb.org (archive.mariadb.org)... 138.201.152.105, 2a01:4f8:c17:cad6::1
Connecting to archive.mariadb.org (archive.mariadb.org)|138.201.152.105|:443...0 -
It has finished now:
wget https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml
--2025-06-09 20:50:23-- https://archive.mariadb.org/mariadb-10.5/yum/centos/9/x86_64/repodata/repomd.xml
Resolving archive.mariadb.org (archive.mariadb.org)... 138.201.152.105, 2a01:4f8:c17:cad6::1
Connecting to archive.mariadb.org (archive.mariadb.org)|138.201.152.105|:443... failed: Connection timed out.
Connecting to archive.mariadb.org (archive.mariadb.org)|2a01:4f8:c17:cad6::1|:443... failed: Network is unreachable.0 -
This most likely indicates an issue with the firewall configuration on your server, or the server's network, as I don't have any other reports of this repo failing and it's working well from my workstation and personal server.
Can you try disabling any firewalls and then running that test again? If that doesn't work it would be best to contact your hosting provider so they can see where the connection is failing.
0 -
Thanks for pointing me in the right direction.
We had added a rule to the firewall recently to block an unusual number of connections from an area, and it affected the archive.mariadb.org IP address. I just removed that rule, and the wget command worked.
What should I do to run the upcp that failed? Or will cPanel re run this automatically?
Thank you!
0 -
I'm glad that's all it was! You don't have to do anything unless you want to as that update will run nightly automatically.
0
Please sign in to leave a comment.
Comments
6 comments