Nextcloud Error while trying to initialise the database

Hello, I tried to install Nextcloud on CasaOS but when I try to login for the first time, I get this error:

Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for table oc_migrations

I also uploaded a screenshot of the error but it is in German.

How can I fix this?

Hi @Do_Long_Longi_Vu and welcome here!

Did You read and do install instruction? (before install from casaOS is popup with install instructions).

Hi, I only watched the YouTube video linked to that post.

What is this forum? Is it inactive or why is nobody answering? Did I do something wrong?

Hello @Do_Long_Longi_Vu, sorry for late reply.

You definitely do nothing wrong. This forum is about participants/people who have free time limited (works, hobbies) and spend it (free time) here for reply If know solution. I do not know fix for Your problem.

Currently I am not using Nextcloud. But I will try to install Nextcloud and see what happens, If same error as You have displayed.

Which version of Nextcloud You have installed?

I follow ytb instructions.

I have installed v32.0.3, image: bigbeartechworld/big-bear-nextcloud-with-smbclient (2 months old)

Run shell script from repo.

And can log-in. Everything seems OK.

Try to uninstall it and install again.

When You have dialog Uninstall, check delete all data.