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
When I run docker compose exec postgres psql -U nextcloud -d nextcloud, I get error: service "postgres" is not running.
When I change postgres to database-pgsql, I get error: FATAL: role "nextcloud" does not exist.
When I change -U nextcloud to -U postgres, I can connect to the database. And when I run select * from pg_user;, I get only one row with usenamepostgres.
Is my setup incorrect, or is it a typo in documentation?
The text was updated successfully, but these errors were encountered:
Did you change your setup in the .env file to use postgres instead of the default mysql? The postgres container will only be used then, any users would only get created during installation of the Nextcloud container
Yes, I ran docker compose down -v, then changed the .env file, then docker compose up -d nextcloud
It looks like the service to connect to is database-pgsql, but it has no nextcloud role, only postgres.
A question about docs/services/database.md:
When I run
docker compose exec postgres psql -U nextcloud -d nextcloud
, I get error: service "postgres" is not running.When I change
postgres
todatabase-pgsql
, I get error: FATAL: role "nextcloud" does not exist.When I change
-U nextcloud
to-U postgres
, I can connect to the database. And when I runselect * from pg_user;
, I get only one row with usenamepostgres
.Is my setup incorrect, or is it a typo in documentation?
The text was updated successfully, but these errors were encountered: