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
Host and Port information are missing #76
Comments
dokku postgresql:link zappo zappo Usage: docker inspect [OPTIONS] CONTAINER|IMAGE [CONTAINER|IMAGE...] Return low-level information on a container or image |
Same for me, it seems that generated DATABASE_URL doesn't include host and port information, so the result DATABASE_URL is only like this "postgres://root:UQkWgxCP6S7v8Ptp@:/db", and it will cause error when deploying application with error message "the scheme postgres does not accept registry part: root:UQkWgxCP6S7v8Ptp@: (or bad hostname?) (URI::InvalidURIError)". Looking for solution of this issue |
Resolved after upgrading dokku to v0.3.22-30-g3525f69
In case you experience errors while fetching docker use the following commands and repeat the last command which resulted to the error message: The upgrading guide can be found at http://progrium.viewdocs.io/dokku/upgrading/ |
I am using dokku version 0.3.26, and when I run
I get
And so my DATABASE_URL is similarly messed up with no domain or port:
|
For some reason dokku seems to have forgotten my Host and Port information.
When I execute
I get:
When I try to start up my rails app I get:
This all worked yesterday, and I can connect to the database using the credentials above, but when I tried to update my dokku version this started happening.
Dokku v0.3.18-80-gc0f8764
dokku-pg-plugin 35edfeb
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: