How to install Redmine plugin?


Smith Paul
Added almost 6 years ago

How to install any Redmine plugin to existed Redmine server with data migration

Answers (2)


Smith Paul
Added almost 6 years ago

Here are installation plugin steps:

  • Do not forget to make a backup of all Redmine database (for MySQL - mysqldump -uroot redmine > ~/redmine_database.sql)
  • Unarchive the plugin to ./plugins folder
  • Go to Redmine root folder cd $REDMINE_ROOT
  • Install required gems bundle install --without development test
  • Migrate database tables - bundle exec rake redmine:plugins:migrate RAILS_ENV=production

What about upgrading plugin to a new version?


Gibson Tyler
Added almost 6 years ago

Here is how to uninstall plugin

  1. If the plugin required a migration, run the following command to downgrade your database (make a db backup before):
  2. bundle exec rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production
  3. Remove your plugin from the plugins folder: #{RAILS_ROOT}/plugins
  4. Restart Redmine

The question was about installation