Some reinstalls of software after upgrade from Buster to Bullseye fail

Basically this should fully remove everything related to MariaDB

https://dietpi.com/forum/t/mariadb-error/5039/15

Afterwards a reinstall of Nextcloud would be needed to setup database again. If SQL dump is present, it should be imported automatically.

Usually Nextcloud files should stay untouched. But let’s wait for MichaIng to confirm best way.