Unattended upgrade cleared my MariaDB configuration

Hello,

My VPS is Debian 13.7 (x86_64). Apparently, an “unattended upgrade” updated MariaDB today.

Now, MariaDB works but works with its default configuration, and HestiaCP can’t read MariaDB configuration. All the fields are empty here: IP:8083/edit/server/mariadb/

How to fix it?
Should I disable unattended upgrades?

The same happened here, removing our customisations / tuning.
I’m not sure why unattended upgrades are allowed to overwrite edited configs. Maybe someone elso knows?

Hestia ships with three example configs here:
/usr/local/hestia/install/deb/mysql/
One of them is probably the one that was used before it was overwritten.

You can disable unattended upgrades here, but I’m not sure if that’s the best option:
/etc/apt/apt.conf.d/20auto-upgrades