My rails app launched with dokku fails at all times

March 16, 2019 787 views
Ruby on Rails Dokku One-Click Install Apps Ubuntu 16.04

I have a rail application deployed with dokku and every day I have this error, “We’re sorry, but something went wrong”. Restart dekku with “dokku ps:restart app” and return to normal but after a while the same error comes back, thanks for your help.

1 Answer


In this case I recommend opening up our web based console for the droplet at I would wager that you’re running out of memory, and the kernel is killing the application. If you see these out of memory errors on the console, this confirms my theory. In such an event, you will find yourself with at least three options:

  1. Optimize the application to use less memory.
  2. Upgrade to a larger droplet.
  3. Balance the load of your application across 2 or more droplets, reducing the memory usage by any single server.


Have another answer? Share your knowledge.

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