I just installed Mycroft, but during the installation process, my Owncloud stopped working. It worked before just fine, and I'm not really sure where the error could come from.
Going to my ip, I'll get the expected 403, going to the Owncloud subdomain, I'll get an empty page. The owncloud client gets an empty response, too.
root@DietPi:~# systemctl restart 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.
root@DietPi:~# journalctl -u mariadb
-- Logs begin at Thu 2019-02-14 10:11:58 GMT, end at Mon 2020-11-09 21:17:02 GMT. --
Nov 09 18:11:08 DietPi systemd[1]: Starting MariaDB 10.3.25 database server...
Nov 09 18:11:09 DietPi mysqld[687]: 2020-11-09 18:11:09 0 [Note] /usr/sbin/mysqld (mysqld 10.3.25-MariaDB-0+deb10u1) sta
rting as process 687 ...
Nov 09 18:11:09 DietPi mysqld[687]: 2020-11-09 18:11:09 0 [Warning] Could not increase number of max_open_files to more
than 16384 (request: 32186)
Nov 09 18:11:09 DietPi mysqld[687]: 2020-11-09 18:11:09 0 [Warning] Can't create test file /var/lib/mysql/DietPi.lower-t
est
Nov 09 18:11:09 DietPi mysqld[687]: [97B blob data]
Nov 09 18:11:09 DietPi mysqld[687]: 2020-11-09 18:11:09 0 [ERROR] Aborting
Nov 09 18:11:09 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/F
AILURE
Nov 09 18:11:09 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Nov 09 18:11:09 DietPi systemd[1]: Failed to start MariaDB 10.3.25 database server.
Nov 09 21:16:47 DietPi systemd[1]: Starting MariaDB 10.3.25 database server...
Nov 09 21:16:47 DietPi mysqld[12153]: 2020-11-09 21:16:47 0 [Note] /usr/sbin/mysqld (mysqld 10.3.25-MariaDB-0+deb10u1) s
tarting as process 12153 ...
Nov 09 21:16:47 DietPi mysqld[12153]: 2020-11-09 21:16:47 0 [Warning] Could not increase number of max_open_files to mor
e than 16384 (request: 32186)
Nov 09 21:16:47 DietPi mysqld[12153]: 2020-11-09 21:16:47 0 [Warning] Can't create test file /var/lib/mysql/DietPi.lower
-test
Nov 09 21:16:47 DietPi mysqld[12153]: [97B blob data]
Nov 09 21:16:47 DietPi mysqld[12153]: 2020-11-09 21:16:47 0 [ERROR] Aborting
Nov 09 21:16:47 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/F
AILURE
Nov 09 21:16:47 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Nov 09 21:16:47 DietPi systemd[1]: Failed to start MariaDB 10.3.25 database server.
root@DietPi:~# cat /var/log/mysql/error.log
root@DietPi:~# readlink /var/lib/mysql
/mnt/dietpi_userdata/mysql
root@DietPi:~# readlink -f /var/lib/mysql
/mnt/dietpi_userdata/mysql
root@DietPi:/# ls -la /var/log/mysql/
total 0
drwxr-s--- 2 mysql adm 60 Oct 29 16:07 .
drwxr-xr-t 10 root root 500 Nov 9 15:14 ..
-rw-rw---- 1 mysql adm 0 Nov 9 16:17 error.log
root@DietPi:/# ls -la /var/lib/mysql/
ls: cannot access '/var/lib/mysql/': No such file or directory
root@DietPi:/# sudo -u mysql -g mysql touch /var/lib/mysql/DietPi.lower-test
touch: cannot touch '/var/lib/mysql/DietPi.lower-test': No such file or directory
this is really bad new. You are missing the entire database folder, including everything that is needed to start MariaDB. no chance to get this up without this folder.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team