How do I upgrade the dokku droplet?

The dokku droplet as installed has a problem with the ruby buildpack, which depends on a download that has recently 301’d. This means no ruby apps are deployable.

It looks like dokku in the droplet wasn’t installed using debian packages, which is the recommended way to run dokku now.

What’s the easiest way to upgrade dokku so I can deploy again?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Looks like you’ve already figured it out, but for others that come along:

Newer Dokku Droplets do use the Debian packages, but older ones were installed from source. For convenience on those older Droplets, a local checkout of the Dokku git repository can be found in /root/dokku

To upgrade Dokku, you can run:

cd /root/dokku
git pull --tags origin master
sudo make install

Ah, it appears that it was installed from source, so the instructions at apply.

WARNING: this will result in minutes of downtime.