My Nextcloud constantly needs updated. One day I started getting some odd random error about the database. The advice I got was do all this convoluted stuff to maybe get it working again. I uninstalled, and haven’t gone back. It’s just not in the same league as paid alternatives.