Control Web Panel
WebPanel => Updates => Topic started by: hdaackda on September 04, 2022, 12:03:27 PM
-
Hello,
I am on Centos 7
When I ran "yum update", MariaDB and its components failed to update (got a 404 error from its repo) so I went in /etc/yum.repo and changed MariaDB repo link from
old: https://yum.mariadb.org/10.2/centos7-amd64
to this new: https://yum.mariadb.org/10.3/centos7-amd64
(just changed 10.2 to 10.3), then I did "yum clean all" and then ran "yum update"
many packages got updated but the main one still didn't. Tried it even after whole server reboot but got this error:
Failed:
MariaDB-server.x86_64 0:10.2.41-1.el7.centos
Error in PREIN scriptlet in rpm package MariaDB-server-10.3.36-1.el7.centos.x86_ 64
It says I need to manually remove 10.2 and then install 10.3
I can't risk the clients website on this server. How can I safely (step by step) update MariaDB manually? (also which version should I do it to, 10.6?)
(Screenshot of 'yum update')
(https://i.imgur.com/1P6Uzgp.jpeg)
-
For anyone else facing the same issue, I followed this step by step: https://linuxglobe.com/centos/centos-7/upgrading-mariadb-10-2-to-10-3-on-centos-7.html
and It worked. So far, no issues :)
Now I am wondering, should I update to 10.6? Any suggestions?
My main reason for updating was, I was getting too many 524 errors on website of client. Not sure if this will help but worth a try
-
yes its stable to upgrade it.