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

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.