Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=4
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’ - Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bookworm - Kernel version |
uname --all
Linux DietPi 6.6.32-current-meson64 #1 SMP PREEMPT Sat May 25 14:22:56 UTC 2024 aarch64 GNU/Linux - Architecture |
dpkg --print-architecture
arm64 - SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
Odroid C4/HC4 (aarch64) - Power supply used | (EG: 5V 1A RAVpower)
Official Odroid power supply - SD card used | (EG: SanDisk ultra)
eMMC + External HDD (this is where the data sits)
Bug Report code: af802592-6869-4e95-8650-82e6abcf4e3a
After keeping my perfectly working home server offline for 2 weeks, upon reconnecting it to the electricity grid, Nextcloud and Jellyfin would not work any longer - the former with the message
"Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log."
Upon further digging, it appears to be a problem with the MariaDB process failing to start. This is the exact error
systemctl status mariadb.service
× mariadb.service - MariaDB 10.11.6 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─dietpi.conf
Active: failed (Result: exit-code) since Sun 2024-06-02 18:07:59 CEST; 2h 2min ago
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Process: 3866 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 3867 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 3869 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 3898 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Main PID: 3898 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CPU: 623ms
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [Note] InnoDB: Set innodb_force_recovery=1 to ignore corrupted pages.
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [Note] InnoDB: Starting shutdown...
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [Note] Plugin 'FEEDBACK' is disabled.
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [ERROR] Unknown/unsupported storage engine: InnoDB
Jun 02 18:07:59 DietPi mariadbd[3898]: 2024-06-02 18:07:59 0 [ERROR] Aborting
Jun 02 18:07:59 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jun 02 18:07:59 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jun 02 18:07:59 DietPi systemd[1]: Failed to start mariadb.service - MariaDB 10.11.6 database server.
Could you kindly help me fix this error?
Thank you ever so much