Mariadb update from 10.5 to 10.6

Hi Hestia,

I cant seem to update mariadb from 10.5 to 10.6. while using the script I get these results:

bash /usr/local/hestia/install/upgrade/manual/upgrade_mariadb.sh
2022-03-04 9:43:16 0 [Warning] option ‘table_definition_cache’: unsigned value 18446744073709551615 adjusted to 2097152
[ * ] MariaDB
Update apt repository…
Stop and remove old MariaDB server…
Installing new MariaDB Server, start and run upgrade…
E: Malformed entry 1 in list file /etc/apt/sources.list.d/mariadb.list ([option] no value)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/mariadb.list ([option] no value)
E: The list of sources could not be read.
This installation of MariaDB is already upgraded to 10.5.13-MariaDB.
There is no need to run mysql_upgrade again for 10.5.15-MariaDB.

Checking the sources list I see this information
eb [arch= signed-by=/usr/share/keyrings/mariadb-keyring.gpg] https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/20.04.4 LTS (Focal Fossa) focal main

However the url goes to a 404. what do I change it to?

Indeed the script is currently outdated due to the recent repo change, please wait until we’ve fixed that (or manualy adjust the repo file so it fits to):

deb [arch=amd64 signed-by=/usr/share/keyrings/mariadb-keyring.gpg] https://mirror.mva-n.net/mariadb/repo/10.6/ubuntu focal main

then run apt update && apt upgrade

Url of the deb should be https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/20.04

1 Like

Is MariaDB 10.7.3 already supported? Thanks!

No… Feel free to test it out…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.