Maria db update

Hello! I can not update Joomla 5.2. Maria db 10.5 is required but apparently there’s no update for alma linux 8. Can you help with this?

Can you verify which version you are running with this command line?

root@main:~# mariadb -V
mariadb  Ver 15.1 Distrib 10.5.26-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper

Mariadb is provided by your OS. So, this is an Alma Linux question, rather than a Webmin or Virtualmin question. That doesn’t mean you can’t ask here, but you may get a better informed answer asking the Alma community (or not, when I googled it, I saw a lot of people offering bad advice, like using the upstream package).

This exact question has been discussed several times. The most recent is here:Upgrading MariaDB in Virtualmin

I recommend you not install the upstream version, because it will be different from the OS-provided package and you get none of the guarantees you get from the OS package. The best option when you need newer software is usually to choose a newer OS. Alma 9 is relatively easy to upgrade to, and is likely only slightly more difficult than doing weird stuff with third-party Mariadb packages and will have fewer long-term negative consequences.

RHEL provides newer versions of Mariadb and some other packages in “streams”, and it may be that Alma has something similar, I’m not super familiar with what Alma does about extra newer packages, if anything. It looks like maybe it also has streams from a brief forum search.

Try:

sudo dnf module list mariadb

You may or may not have the option to install a newer Mariadb version that way. Red Hat docs cover installing the stream version (if available on Alma 8, I don’t know that it is). Chapter 2. Using MariaDB | Red Hat Product Documentation

Everything I’m finding about streams is about Alma 9, though, so you may need to upgrade your OS to get newer options. In which case, you probably don’t need a stream version of Mariadb, since Alma/RHEL/Rocky 9 have 10.5.22 by default.

First thing is to figure out which Mariadb is required. 10.5 seems to be a useless metric here and a few minutes of search doesn’t find me the minimum version required.

Even the AI is stumped. :rofl:


Did finally see this in the search:

Hey thanks for you help! The version that is actually running is : mysql Ver 15.1 Distrib 10.3.39-MariaDB, for Linux (x86_64) using readline 5.1.

MariaDB 10.3 is no longer maintained. Please use a more recent release.

And Alma 8 has no update path? I think @joe is correct here then. You need to upgrade Alma.

Don’t post misinformation.

The packages in an EL release of Linux is supported through the life of the release. Alma 8 is still a maintained release, thus all the packages in it are maintained, regardless of what upstream does. That’s the benefit of a long-life distribution like any of the ELs (RHEL, Rocky, Alma, etc.). Alma 8 continues to receive security updates until 2029.

One should use a new OS if one wants new packages. Both things can be true. Alma 8 is maintained (at least for security updates) and Alma 8 is old.

I thought it was clear I was quoting from the linked article. I was only trying to reinforce the Alma upgrade path. He needs something that Alma 8 won’t deliver.

I guess I’m used to Debian backports which let you pull in the newer rather painlessly.

From Joe’s idea — my server is:

cat /etc/redhat-release
AlmaLinux release 8.9 (Midnight Oncilla)

and I can see:

yum module list mariadb
Last metadata expiration check: 3:24:19 ago on Thu 05 Dec 2024 01:57:35 PM EST.
AlmaLinux 8 - AppStream
Name          Stream         Profiles                        Summary
mariadb       10.3 [d]       client, galera, server [d]      MariaDB Module
mariadb       10.5           client, galera, server [d]      MariaDB Module
mariadb       10.11          client, galera, server [d]      MariaDB Module

(sorry about the coloring and bolding)