albumboom
By:
albumboom

How to properly update dokku plugin.

April 2, 2015 2.9k views
Dokku MongoDB Docker

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.

2 comments
  • 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!

2 Answers

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

Have another answer? Share your knowledge.