Report this

What is the reason for this report?

Latest dokku-rails one-click install failing

Posted on September 27, 2014

I have been trying to work through this…

https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-ruby-on-rails-app

But it fails when I try to do the push and link the database. It seems like the database isn’t connecting.

root@blahblah:/home/dokku/pvd# dokku postgresql:link pvd pvd -----> Setting config vars and restarting pvd DATABASE_URL: postgres://root:sdfasdf@172.17.42.1:49153/db -----> Releasing pvd … -----> Release complete! -----> Deploying pvd … -----> Checking status of PostgreSQL Found image postgresql/pvd database Checking status… ok. 2014/09/27 14:18:57 Error: No public port ‘5000’ published for e658b97436650575b0e3522c8d47f4c878b7967ebed9ef6291bb077ab642e116 root@bizbutter:/home/dokku/pvd# dokku run pvd rake db:migrate 2014/09/27 14:19:44 Error response from daemon: Cannot start container e806d32660aef428092907b3dd5f64d54582bea883c4e54ff047c44ea40fcca3: exec: “/exec”: stat /exec: no such file or directory

Can anyone advise?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

To quote johnjameswhitman

“Adding the following configuration into application.rb fixed the issue for me” config.assets.initialize_on_precompile = false

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.