Some Nextcloud menus throw Internal Server error but not all of them

I think it would be easier to not change the data directory:

Why did you change the database?