Hi! First and foremost, thanks for this fantastic project!
I ran into a problem upon upgrading to v 142. During the installation DB data (MariaDB) was moved to dietpi_userdata and I got a bunch of errors as my user data partition was full. I guess it didn’t move everything, as I have a couple of 0 bytes files in /var/lib/mysql (the symlink that is).
So I decided to move DB data back to the SD card and followed description in this thread.
Now /var/lib/mysql isn’t a symlink anymore, but I can’t start the service, nor do mysql_upgrade to check the tables. Here’s what I get:
root@jpi:/etc/mysql# service mysql start
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
root@jpi:/etc/mysql# systemctl status mysql.service
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Tue 2017-01-17 13:05:34 CET; 44s ago
Process: 12915 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Jan 17 13:05:03 jpi mysqld[13079]: 170117 13:05:03 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Jan 17 13:05:03 jpi mysqld[13079]: 170117 13:05:03 [ERROR] Unknown/unsupported storage engine: InnoDB
Jan 17 13:05:03 jpi mysqld[13079]: 170117 13:05:03 [ERROR] Aborting
Jan 17 13:05:03 jpi mysqld[13079]:
Jan 17 13:05:03 jpi mysqld[13079]: 170117 13:05:03 [Note] /usr/sbin/mysqld: Shutdown complete
Jan 17 13:05:03 jpi mysqld[13079]:
Jan 17 13:05:34 jpi mysql[12915]: Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Jan 17 13:05:34 jpi systemd[1]: mysql.service: control process exited, code=exited status=1
Jan 17 13:05:34 jpi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Jan 17 13:05:34 jpi systemd[1]: Unit mysql.service entered failed state.
root@jpi:/etc/mysql# mysql_upgrade
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
FATAL ERROR: Upgrade failed
Where do I go from here?