PGData location isn't respected

Open
#159 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker-compose, postgresql

Research direction

Start with the .env settings and Docker Compose volume configuration, then reproduce the installation with PGDATA set and unset while an existing PostgreSQL directory is present at /var/lib/postgresql. Trace which configuration controls the database data location and verify that the documented location is used without installation failure.

Written by the indexing model from the issue text.

Description

Hey,

I tried to set up an open project instance, but even when setting PGDATA in the .env file the specified location isn't respected an the installation fails because I already have an older postgresql installation at /var/lib/postgresql. Removing PGDATA from .env to use the volume didn't work either.

Best
anghenfil

Dominant language
Shell
Stars
342
Forks
315
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 opf/openproject-docker-compose

All issues in opf/openproject-docker-compose

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.