Usual thing. Ran an upgrade via ssh and now get a Mariadb error which seems to return a failure at ths point when doing a systemctl status mariadb.service
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
journalctl -u mariadb
-- Logs begin at Thu 2019-02-14 10:11:58 GMT, end at Fri 2021-05-28 17:21:28 BST. --
May 28 16:21:37 DietPi systemd[1]: Starting MariaDB 10.3.27 database server...
May 28 16:21:38 DietPi mysqld[784]: 2021-05-28 16:21:38 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB
-0+deb10u1) starting as process 784 ...
May 28 16:21:38 DietPi mysqld[784]: 2021-05-28 16:21:38 0 [Warning] Could not increase number of max_open
_files to more than 16384 (request: 32186)
May 28 16:21:38 DietPi mysqld[784]: 2021-05-28 16:21:38 0 [Warning] Can't create test file /var/lib/mysql
/DietPi.lower-test
May 28 16:21:38 DietPi mysqld[784]: [97B blob data]
May 28 16:21:38 DietPi mysqld[784]: 2021-05-28 16:21:38 0 [ERROR] Aborting
May 28 16:21:38 DietPi systemd[1]: mariadb.service: Main process exited, code=exi
ted, status=1/FAILURE
May 28 16:21:38 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code
'.
May 28 16:21:38 DietPi systemd[1]: Failed to start MariaDB 10.3.27 database serve
r.
May 28 17:20:30 DietPi systemd[1]: Starting MariaDB 10.3.27 database server...
May 28 17:20:30 DietPi mysqld[4695]: 2021-05-28 17:20:30 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaD
B-0+deb10u1) starting as process 4695 ...
May 28 17:20:30 DietPi mysqld[4695]: 2021-05-28 17:20:30 0 [Warning] Could not increase number of max_ope
n_files to more than 16384 (request: 32186)
May 28 17:20:30 DietPi mysqld[4695]: 2021-05-28 17:20:30 0 [Warning] Can't create test file /var/lib/mysq
l/DietPi.lower-test
May 28 17:20:30 DietPi mysqld[4695]: [97B blob data]
May 28 17:20:30 DietPi mysqld[4695]: 2021-05-28 17:20:30 0 [ERROR] Aborting
May 28 17:20:30 DietPi systemd[1]: mariadb.service: Main process exited, code=exi
ted, status=1/FAILURE
May 28 17:20:30 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code
'.
May 28 17:20:30 DietPi systemd[1]: Failed to start MariaDB 10.3.27 database serve
r.
I think I’ve got it. Had to re-mount the user data folder on the external drive and it seems to be happy. I think I’ll keep an eye on this for a while but worth the post in case others get the same issue / errors