how to uninstall plugins
Added by Stephanie Collett about 16 years ago
Hi,
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.
-Stephanie
Replies (29)
RE: how to uninstall plugins - Added by Lawrence Krubner almost 12 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 almost 12 years ago
look here:
For Redmine 1.x:
rake db:migrate_plugins RAILS_ENV=productionFor Redmine 2.x:
rake redmine:plugins:migrate RAILS_ENV=production
RE: how to uninstall plugins - Added by Nathan Eddle over 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 about 10 years ago
I'm using bitnami redmine. With following script(uninstall_redmineplugin.sh) under bitnami root, I finally recovered our redmine by removing 10 possible conflicting or problematic plugins.... lol.
usage is as
uninstall_redmineplugin.sh plugin1 plugin2 ...
#--------------------start--------------
#!/bin/sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=`dirname "$SCRIPT"`
echo $SCRIPTPATH
dir_path="$SCRIPTPATH/apps/redmine/htdocs"
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 "$@"
do
echo "[$plugin]"
$(remove_plugin "$plugin")
done
$SCRIPTPATH/ctlscript.sh restart
#---------------------end-----------------------
- « Previous
- 1
- 2
- Next »