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

postgres home directory missing in barman #240

Open
Tirzono opened this issue Jul 22, 2019 · 1 comment
Open

postgres home directory missing in barman #240

Tirzono opened this issue Jul 22, 2019 · 1 comment

Comments

@Tirzono
Copy link

Tirzono commented Jul 22, 2019

$ docker run -it --rm postdock/barman:1.14-barman24-postgres11 stat /home/postgres
stat: cannot stat '/home/postgres': No such file or directory

And since the crontab tries to cd /home/postgres, this does not run /usr/local/bin/barman_docker/wal-receiver.sh.

Should -m be provided to useradd in the Dockerfile?

@paunin
Copy link
Owner

paunin commented Aug 26, 2019

🤔 better question is why it needs to do cd in there

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

No branches or pull requests

2 participants