-
Notifications
You must be signed in to change notification settings - Fork 75
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
Rails database.yml file not parsing correctly #69
Comments
I'm having the same issue. Oddly enough I managed to find a work around by giving both my app and its database the same name. |
+1. RossKinsella's solution worked for me. |
Me as well. And naming the database and app the same worked as a fix for me as well. |
Similar issue but all was fine when I just named the database container the same as the app. |
kudos to @RossKinsella |
Giving same name did not resolve issue for me |
Same issue, and giving the same name to the app/db hasn't solved it. Is it possible to define the host manually before |
I am using Dokku v0.3.15 + Ubuntu v14.
Creating a new db through the plugin appears to be generating an correct
DATABASE_URL
with the latest frommaster
branch.(Notice missing hostname.)
So when I ran a
db:migrate
, I got aURI::InvalidURIError
(something to the effect of http://stackoverflow.com/questions/29071069/dokku-rails-postgresql-error-uriinvalidurierror-the-scheme-postgres-doe).Luckily, I had an older version of the
dokku-pg-plugin
(I suppose you could check out an earlier commit), so I manually installed the older plugin and it works:(Notice hostname appears correctly.)
Has something changed in the
DATABASE_URL
generation logic that causes hostname to go astray?Thank you!
The text was updated successfully, but these errors were encountered: