Control Web Panel
WebPanel => Updates => Topic started by: Dangerousdave26 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.
[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
-
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
-
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.
-
The server is running Alma 8 Linux if that changes anything.
-
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 (https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/#comment-25)
-
I saw this in the screen shot:
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 (https://mariadb.org/download/?t=repo-config)
Follow the URL @overseer posted to update to a supported version.
-
Thank you all very much. Not a task for this weekend that is for sure but at least I know why now.
-
Does anyone know when v 1201 came out, exactly?
-
Listed as the current version: https://control-webpanel.com/changelog (https://control-webpanel.com/changelog)
But not a specific changelog entry for that release.
-
0.9.8.1201 came out on 2025-03-26
-
Shout out to @overseer and Sandeep B.
I followed his Sandeep B. instructions from the thread overseer posted and all is well.
-
If you need one for AlmaLinux 9:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/)