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-restore-s3 ERROR: restore.sh: line 70: psql: not found #155

Open
ldeluigi opened this issue Sep 21, 2022 · 3 comments
Open

postgres-restore-s3 ERROR: restore.sh: line 70: psql: not found #155

ldeluigi opened this issue Sep 21, 2022 · 3 comments

Comments

@ldeluigi
Copy link

When I run schickling/postgres-restore-s3 (from Docker Hub) this error pops out:

restore.sh: line 70: psql: not found
@ldeluigi
Copy link
Author

A helpful investigation:

/ # find / -name '*psql*' -print
/usr/libexec/postgresql14/psql

You should probably add /usr/libexec/postgresql14/ to the PATH

@ldeluigi
Copy link
Author

Besides this, I'd suggest to place the restore.sh script inside the postgres-backup-s3 image too, so that someone could exec a /bin/sh command into it and manually run the restore script...

@iloveitaly
Copy link
Collaborator

iloveitaly commented Sep 21, 2022 via email

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

2 participants