nextcloud / nextcloud/nextcloud-docker-dev

role "nextcloud" does not exist

Open
#324 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
190
Forks
103
Avg merge
4h 36m
Merged PRs (30d)
1

Description

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 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 usename postgres.

Is my setup incorrect, or is it a typo in documentation?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/services/database.md and compare its docker-compose service name and psql credentials with the reported commands. Run the documented connection command in the development environment and verify the expected PostgreSQL role exists. Done means the documentation accurately describes the working service and user, or clearly explains the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, postgresql
Domain
databases, devops, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.