I keep seeing this in the nextcloudpi logs:
Starting PHP-fpm
Starting Apache
Starting mariaDB
2021-01-28 6:18:54 0 [Note] mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 93 ...
2021-01-28 6:18:54 0 [Warning] Can't create test file /data/database/d1ddcb69e485.lower-test
amysqld: Can't change dir to '/data/database/' (Errcode: 2 "No such file or directory")
2021-01-28 6:18:54 0 [ERROR] Aborting
Starting PHP-fpm
Starting Apache
Starting mariaDB
2021-01-28 6:22:55 0 [Note] mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 95 ...
2021-01-28 6:22:55 0 [Warning] Can't create test file /data/database/d1ddcb69e485.lower-test
amysqld: Can't change dir to '/data/database/' (Errcode: 2 "No such file or directory")
2021-01-28 6:22:55 0 [ERROR] Aborting