Проект

Общее

Профиль

How to install Redmine plugin?

3
Avatar?id=26&size=32x32

Smith Paul
Добавлена 5 месяца назад

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

Оветы (2)

1
Avatar?id=26&size=32x32

Smith Paul
Добавлена 5 месяца назад

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?

-1
Avatar?id=33&size=32x32

Kutcher Ashton
Добавлена 5 месяца назад

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)