how to uninstall plugins

Added by Stephanie Collett over 15 years ago


I have been looking into adding some plugins to Redmine. If I add a plugin that modifies the database, how would I uninstall the plugin? I've found documentation on installing plugins, but not uninstalling.


Replies (29)

RE: how to uninstall plugins - Added by Lawrence Krubner about 11 years ago

Full text of error:

rake db:migrate:plugins PLUGIN=redmine_charts VERSION=0
rake aborted!
Don't know how to build task 'db:migrate:plugins'

RE: how to uninstall plugins - Added by Ivan Cenov about 11 years ago

look here:

For Redmine 1.x:

rake db:migrate_plugins RAILS_ENV=production
For Redmine 2.x:
rake redmine:plugins:migrate RAILS_ENV=production

RE: how to uninstall plugins - Added by Nathan Eddle almost 10 years ago

for me, the following worked today:

rake redmine:plugins:migrate NAME=plugin_name VERSION=0

RE: how to uninstall plugins - Added by langdead yang over 9 years ago

I'm using bitnami redmine. With following script( under bitnami root, I finally recovered our redmine by removing 10 possible conflicting or problematic plugins.... lol.

usage is as plugin1 plugin2 ...


SCRIPT=$(readlink -f "$0")
echo $dir_path
mkdir -p "$dir_path/plugins.inactive"

remove_plugin() {
ruby bin/rake redmine:plugins:migrate NAME=$* VERSION=0 RAILS_ENV=production
mv "$dir_path/plugins/$*" "$dir_path/plugins.inactive/"

for plugin in "$@"
echo "[$plugin]"
$(remove_plugin "$plugin")

$SCRIPTPATH/ restart