Databases work on Ubuntu 14.04 image if dokku is installed manually, but not if using the Dokku image.

  • Posted May 16, 2014

Can this be looked into.

When creating a new droplet from the Dokku image, I could not get database and app to talk to each other, it was “connection refused” every time. I tried postgres, mysql and mariadb in php and python (django) apps.

Using the same code (pushed from the same repo) on a droplet i created as the bare ubuntu 14.04 and installed Dokku on myself, with the same setup on teh database (same plugins and setting), same envirnonment vars setup, everything works.

The Ubuntu Dokku image should probably just be Ubuntu with the dokku bootstrap script ran twice on it (running it once results in a partial install due to a bug in apt-get)


Submit an 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.

I got past this by updating the deploy step with the instructions here: <br> <br>and then pushing again, but it would be great if it worked out of the box.