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

'psql' not found when executing dokku postgresql:console <db> #83

Open
lastmjs opened this issue Sep 16, 2015 · 2 comments
Open

'psql' not found when executing dokku postgresql:console <db> #83

lastmjs opened this issue Sep 16, 2015 · 2 comments

Comments

@lastmjs
Copy link

lastmjs commented Sep 16, 2015

On a fresh installation of Ubuntu 14.04 x64, with a fresh installation of Dokku (all versions should be latest), when I run

dokku postgresql:console <db> 

with my database's name, I get this:

'psql' not found. Is the package 'postgresql-client' installed?

I looked into the issue a little and found this question: http://stackoverflow.com/questions/23909574/console-access-to-dokkus-postgresql-plugin

It looks like the person with the accepted answer had a pull request merged in to fix the issue. Even trying his semantically incorrect solution, I get the same error. So when I try

postgresql:restore <db> 

I get:

'psql' not found. Is the package 'postgresql-client' installed?
@Nilloc
Copy link

Nilloc commented Sep 21, 2015

At the bottom of the Readme.md is a note that if backup or console isn't working to run sudo apt-get install postgresql-client-9.3

Did you try this? It installs the psql cli.

@lastmjs
Copy link
Author

lastmjs commented Sep 21, 2015

I did try that, and I believe it worked. Thanks

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