Mariadb server doesn't restart after upgrade

My YunoHost server

Hardware: Raspberry Pi (specify version, 0 to 4) at home with USB drive mounted on /home
YunoHost version: 11.1.8
I have access to my server : Through SSH | through the webadmin.

Description of my issue

After upgrade app and system package by webmin interface. mariadb service doesn’t restart . One thing uncommon, HedgeDoc doesn’t update and remove itself.
(log of backup failed is here ,
log of uninstall is )

I detect because nextcloud app is crashed.
After investigation, it’s du to a misconfiguration of mariadb’service configuration for systemd
I Follow the solution described here : ubuntu - MariaDB cannot start after update: [Warning] Can't create test file /home/mysql/beta.lower-test - Stack Overflow

I reload configuration by

systemctl daemon-reload 

and start mariaDB

service mariadb start 

Everything works now.

for information, mariadb package

root@home:/home/admin# apt list |grep mariadb |grep installed

libmariadb-dev-compat/stable,now 1:10.5.19-0+deb11u2 armhf [installed]
libmariadb-dev/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
libmariadb3/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
mariadb-client-10.5/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
mariadb-client-core-10.5/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
mariadb-common/stable,now 1:10.5.19-0+deb11u2 all [installed,automatic]
mariadb-server-10.5/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
mariadb-server-core-10.5/stable,now 1:10.5.19-0+deb11u2 armhf [installed,automatic]
mariadb-server/stable,now 1:10.5.19-0+deb11u2 all [installed,automatic]

Is something more to do ?

Wokay but then what problem are you trying to solve now ?

Is the package mariadb broken or not ? is other installation have the same problem ?

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