Recurrent crash of mariadb,

root@DietPi:\~# dmesg -l 0,1,2,3
\[    5.498862\] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
\[    5.500614\] Bluetooth: hci0: BCM: ‘brcm/BCM4345C0.raspberrypi,4-model-b.hcd’
\[    5.502245\] Bluetooth: hci0: BCM: ‘brcm/BCM4345C0.hcd’
\[    5.503894\] Bluetooth: hci0: BCM: ‘brcm/BCM.raspberrypi,4-model-b.hcd’
\[    5.505897\] Bluetooth: hci0: BCM: ‘brcm/BCM.hcd’
\[  153.779014\] BTRFS error (device sda1): parent transid verify failed on logical 1070229815296 mirror 1 wanted 1840 found 942
\[  153.789867\] BTRFS error (device sda1): parent transid verify failed on logical 1070229815296 mirror 2 wanted 1840 found 942

I guess you connect your SSD to the RPi4 just using USB ports without external PSU for the drive correct? Yes, 1 SSD and 1 Hard drive, I will fix that.

Thanks for your feedback.