Question

How to properly update dokku plugin.

How do I properly update dokku plugin? Do I also have to kill/recreate/rerun the docker container?

The thing is that dokku-mongodb plugin has recently added ability to create database dump, and I want to use this new option, but my current plugin version doesn’t allow this.

Subscribe
Share

You just need to cd /var/lib/dokku/plugins and the plugin directory and—assuming you installed the plugin with git—do git pull then run dokku plugins-install again.

It shouldn’t harm your instances, but I strongly advise you backup all your data first.

worked like a charm. thank you a lot!


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.

This comment has been deleted

This question was answered by @milkmedia:

You just need to cd /var/lib/dokku/plugins and the plugin directory and—assuming you installed the plugin with git—do git pull then run dokku plugins-install again.

It shouldn’t harm your instances, but I strongly advise you backup all your data first.

View the original comment