Project

General

Profile

How to install Redmine plugin?

3

Smith Paul
Added over 6 years ago

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

Answers (2)

1

Smith Paul
Added over 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?

0

Gibson Tyler
Added over 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

    (1-2/2)