Author Topic: Server updates don't seem to be happening  (Read 261 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Server updates don't seem to be happening
« on: March 15, 2025, 12:00:41 PM »
It has been over a month since I last saw any updates that were ready to be installed on the server. There is 1 update that shows up for MariaDB and it is rather strange.

In the control panel under YUM Manager it some times shows as 7.0. If I run the update it says it was successful and reloads with version 7.1 showing as availble. I run 7.1 then 7.2 shows up. Run it and go back to the Yum Manager page and it is back to needing 7.1

If I run the YUM command from the command line I see it is actually failing to install.

Quote
[root@server1 ~]# yum update
MariaDB                                         7.2  B/s |  10  B     00:01
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repoda                                     ta/repomd.xml (IP: 162.55.42.214)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xm                                     l: Cannot download repodata/repomd.xml: All mirrors were tried
[root@server1 ~]# yum update
MariaDB                                                                              7.1  B/s |  10  B     00:01
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@server1 ~]# yum update
MariaDB                                                                              7.1  B/s |  10  B     00:01
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@server1 ~]#

If I go to the mirror link manually I can see in the yum folder there is no 10.4 folder.

How can I fix this mistake?

And again I have not seen any other updates for the server in a month.

CWPpro version: 0.9.8.1200
MySQL version: 10.4.34-MariaDB

Offline
***
Re: Server updates don't seem to be happening
« Reply #1 on: March 15, 2025, 12:05:48 PM »
You need to upgrade MariaDB to 10.6 or more recent version. You can find how to upgrade MariaDB here:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
just adapt the instructions according to your requirements.

If you decide to upgrade MariaDB to

Offline
*****
Re: Server updates don't seem to be happening
« Reply #2 on: March 15, 2025, 01:30:58 PM »
Support for CentOS 8 ended awhile ago, so MariaDB ended it's support as well.

Try switch the MariaDB.repo to use RedHat Enterprise 8.

Also starting with EL8, you should be using dnf instead of yum.

Offline
*
Re: Server updates don't seem to be happening
« Reply #3 on: March 15, 2025, 01:54:34 PM »
The server is running Alma 8 Linux if that changes anything.

Offline
*****
Re: Server updates don't seem to be happening
« Reply #4 on: March 15, 2025, 02:45:44 PM »
Auto-updates cannot take place with your old MariaDB 10.4 version. Manually update MariaDB to 10.11 (an LTS version) .
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/#comment-25

Offline
*****
Re: Server updates don't seem to be happening
« Reply #5 on: March 15, 2025, 03:13:38 PM »
I saw this in the screen shot:
Quote
http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml

Which means your trying to use a MariaDB repository for CentOS 8, which they removed awhile ago.

You need to manually update your MariaDB.repo to Red Hat Enterprise 8.
Also 10.4 is past EOL.

You can do this at:
https://mariadb.org/download/?t=repo-config

Follow the URL @overseer posted to update to a supported version.

Offline
*
Re: Server updates don't seem to be happening
« Reply #6 on: March 15, 2025, 03:39:28 PM »
Thank you all very much. Not a task for this weekend that is for sure but at least I know why now.