You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Installing with Portainer in Docker Swarm mode with a Stack has installation problem due to oc_admin6 insufficient permissions. #1980
Based on this docker-compose yaml file the permissions created by the install wizard for the oc_admin6 are insufficient. The installer breaks at some point while filling the Postgres DB.
Steps to reproduce
In Portainer with Docker swarm mode use this yaml stack. Note that the db container was created in a separate stack. We use only one DB stack shared by many services pointing to the same Postgres DB.
Activity
joshtrichards commentedon May 19, 2023
Are you by chance trying to use NC24 with PostgreSQL v15? (That's never been a supported combination!).
Because this sounds a lot like the issue with
GRANT CREATE ON SCHEMA public TO usernamein nextcloud/server#34645You'll see the PostgreSQL doc section in later NC versions are a little different to accommodate PG15 privilege setup too:
https://docs.nextcloud.com/server/25/admin_manual/configuration_database/linux_database_configuration.html?highlight=postgresql
NC25 was the first one to support PostgreSQL v15:
https://docs.nextcloud.com/server/24/admin_manual/installation/system_requirements.html#server
versus
https://docs.nextcloud.com/server/25/admin_manual/installation/system_requirements.html#server
You might be able to get it to work with NC24, but you're on your own. :)
Give things a try with at least v25.0.2 (preferably v25.0.6 though) and I think this issue goes away...
joshtrichards commentedon Jan 4, 2024
Closing due to insufficient information to do anything else actionable.