New install. Debian 12

Processing triggers for php8.3-cli (8.3.31-3+0~20260514.82+debian12~1.gbp7c4146) …
Processing triggers for php8.3-fpm (8.3.31-3+0~20260514.82+debian12~1.gbp7c4146) …
invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for libc-bin (2.36-9+deb12u14) …
Installing MariaDB/MySQL system tables in ‘/var/lib/mysql’ …

Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.

The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:

shell> /usr/bin/mariadb-install-db --defaults-file=~/.my.cnf

You can also try to start the mariadbd daemon with:

shell> /usr/sbin/mariadbd --skip-grant-tables --general-log &

and use the command line tool /usr/bin/mariadb
to connect to the mysql database and look at the grant tables:

shell> /usr/bin/mariadb -u root mysql
MariaDB> show tables;

Try ‘/usr/sbin/mariadbd --help’ if you have problems with paths. Using
–general-log gives you a log in /var/lib/mysql that may be helpful.

The latest information about mariadb-install-db is available at

You can find the latest source at https://downloads.mariadb.org and
the MariaDB discuss email list at Making sure you're not a bot!

Please check all of the above before submitting a bug report
at https://mariadb.org/jira

Is your server some kind of container, like an LXC container?

According to the provider, it’s KVM virtualization. How can I check if it is LXC?

You can execute systemd-detect-virt

Are you sure this was a fresh Hestia install?

df -h
ls -la /var/lib/mysql
ls -la /etc/apt/sources.list.d/
cat /etc/apt/sources.list.d/mariadb.list
dpkg -l | grep mariadb
systemctl restart mariadb && systemctl status mariadb --no-pager -l