Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker nodes get error when specifying different PGDATA path #310

Open
ghost opened this issue Aug 4, 2022 · 0 comments
Open

Worker nodes get error when specifying different PGDATA path #310

ghost opened this issue Aug 4, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 4, 2022

When specifying a different PGDATA path value (ex: attaching another volume to /pgdata), worker nodes will get an error on startup because the postgres user does not own the directory.
The coordinator node handles this fine because it changes the directory's ownership automatically.

Prepending wait-for-manager.sh with chown -R postgres "$PGDATA" fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants