Hi,
just encountered an Internal Server Error when visiting my Nextcloud site.
This happens after an apt upgrade, running DietPi v6.34.3
There are some similar listings here, but my symptoms seem to be different.
All my services are up and running, no error.logs
Apt upgrade mentioned php and mariadb, so I guess, the problem grew up from here.
lighttpd is in use, shows no errors. No errors from php.
MariaDB is up: 2021-02-22 19:47:35 547931471872 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.48-MariaDB-0+deb9u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Debian 9.13
Jellyfin is running fine.
One thing I observe are these different outputs.
The latter is the correct one. Should these two be similar?
root@DietPi:~# readlink /var/lib/mysql
/mnt/dietpi_userdata/mysql
root@DietPi:~# readlink -f /var/lib/mysql
/mnt/usb_1/dietpi_userdata/mysql
Is there anybody with an idea what went wrong?
Thanks & regards
Frans
Other output:
root@DietPi:~# dietpi-services status
DietPi-Services
─────────────────────────────────────────────────────
Mode: status
[ OK ] DietPi-Services | nmbd active (running) since Mon 2021-02-22 19:47:30 CET; 4min 21s ago
[ OK ] DietPi-Services | smbd active (running) since Mon 2021-02-22 19:47:31 CET; 4min 21s ago
[ OK ] DietPi-Services | redis-server active (running) since Mon 2021-02-22 19:47:32 CET; 4min 20s ago
[ OK ] DietPi-Services | mariadb active (running) since Mon 2021-02-22 19:47:36 CET; 4min 15s ago
[ OK ] DietPi-Services | php7.3-fpm active (running) since Mon 2021-02-22 19:47:36 CET; 4min 15s ago
[ OK ] DietPi-Services | lighttpd active (running) since Mon 2021-02-22 19:47:36 CET; 4min 15s ago
[ OK ] DietPi-Services | jellyfin active (running) since Mon 2021-02-22 19:47:36 CET; 4min 15s ago
[ OK ] DietPi-Services | cron active (running) since Mon 2021-02-22 19:47:37 CET; 4min 15s ago
[ OK ] DietPi-Services | dropbear active (running) since Mon 2021-02-22 19:47:30 CET; 4min 22s ago
[ OK ] DietPi-Services | fail2ban active (running) since Mon 2021-02-22 19:47:17 CET; 4min 35s ago
[ OK ] DietPi-Services | dietpi-ramlog active (exited) since Mon 2021-02-22 19:47:14 CET; 4min 37s ago
[ OK ] DietPi-Services | dietpi-preboot active (exited) since Mon 2021-02-22 19:47:15 CET; 4min 37s ago
[ OK ] DietPi-Services | dietpi-boot active (exited) since Mon 2021-02-22 19:47:30 CET; 4min 22s ago
[ OK ] DietPi-Services | dietpi-postboot active (exited) since Mon 2021-02-22 19:47:30 CET; 4min 22s ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor inactive (dead)
root@DietPi:~# dmesg -l err,crit,alert,emerg
[ 0.152616] tv_vout: major number 254 for disp
[ 0.156005] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0x148)
[ 0.156027] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0x148)
[ 0.156106] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0x148)
[ 0.156127] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0x148)
[ 0.424040] kvm [1]: kvm_arch_timer: can't find DT node
[ 0.424096] kvm [1]: error initializing Hyp mode: -19
[ 0.448966] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.916008] sd: error -110 whilst initialising MMC card
[ 1.120452] ppmgr_driver_probe called
[ 1.121148] amlvideo_init called
[ 1.121148] amlvideo_create_instance called
[ 1.121151] v4l2_dev.name=:amlvideo-000
[ 1.122676] cectx c810023c.aocec: aml_cec_probe(): can't find hdmirx
[ 3.329395] sd 1:0:0:0: [sdb] No Caching mode page found
[ 3.333018] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 3.511491] sd 2:0:0:0: [sdc] No Caching mode page found
[ 3.511496] sd 2:0:0:0: [sdc] Assuming drive cache: write through
root@DietPi:~# journalctl -u mariadb
-- Logs begin at Thu 2016-11-03 18:16:42 CET, end at Mon 2021-02-22 19:52:43 CET. --
Feb 22 19:47:32 DietPi systemd[1]: Starting MariaDB 10.1.48 database server...
Feb 22 19:47:34 DietPi mysqld[1069]: 2021-02-22 19:47:34 547931471872 [Note] /usr/sbin/mysqld (mysqld 10.1.48-MariaDB-0+deb9u1) starting as process 1069 ...
Feb 22 19:47:36 DietPi systemd[1]: Started MariaDB 10.1.48 database server.
root@DietPi:~# cat /var/log/mysql/error.log
2021-02-22 19:47:34 547931471872 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2021-02-22 19:47:34 547931471872 [Note] InnoDB: The InnoDB memory heap is disabled
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-02-22 19:47:34 547931471872 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Compressed tables use zlib 1.2.8
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Using Linux native AIO
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Using generic crc32 instructions
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Completed initialization of buffer pool
2021-02-22 19:47:34 547931471872 [Note] InnoDB: Highest supported file format is Barracuda.
2021-02-22 19:47:35 547931471872 [Note] InnoDB: 128 rollback segment(s) are active.
2021-02-22 19:47:35 547931471872 [Note] InnoDB: Waiting for purge to start
2021-02-22 19:47:35 547931471872 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.49-89.0 started; log sequence number 6534359889
2021-02-22 19:47:35 547318919216 [Note] InnoDB: Dumping buffer pool(s) not yet started
2021-02-22 19:47:35 547931471872 [Note] Plugin 'FEEDBACK' is disabled.
2021-02-22 19:47:35 547931471872 [Note] Server socket created on IP: '127.0.0.1'.
2021-02-22 19:47:35 547931471872 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.48-MariaDB-0+deb9u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Debian 9.13
root@DietPi:/var/log/lighttpd# tail -f -n 20 error.log
2021-02-22 15:43:48: (log.c.217) server started
2021-02-22 15:43:48: (server.c.1295) WARNING: unknown config-key: dir-listing.active (ignored)
2021-02-22 16:02:55: (connections-glue.c.166) SSL: -1 5 0 Success
2021-02-22 16:03:10: (connections-glue.c.166) SSL: -1 5 0 Success
2021-02-22 16:03:33: (connections-glue.c.166) SSL: -1 5 0 Success
root@DietPi:/var/log# tail -f -n 20 php7.3-fpm.log
[22-Feb-2021 15:43:47] NOTICE: fpm is running, pid 1336
[22-Feb-2021 15:43:47] NOTICE: ready to handle connections
[22-Feb-2021 15:43:47] NOTICE: systemd monitor interval set to 10000ms