Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

role "nextcloud" does not exist

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

Nobody has claimed this yet.

Assessment

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

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.

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?

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

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.

More from nextcloud/nextcloud-docker-dev

All issues in nextcloud/nextcloud-docker-dev

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.