Upgrading plugin
The light version of our plugins has the same database structure as PROs, which means that if you have the same version number of light and pro plugins, you do not have to migrate the database. However, we recommend a full backup before installation. In the most common case, just delete the folder with light version redmine/plugins/[plugin_name]
and copy the pro version to the same folder redmine/plugins/[plugin_name]
Note: All data will be saved after the update from previous and Light to PRO versions.
Here are the common steps for any plugin upgrade (all commands should be executed from the Redmine app root folder ex. /var/www/redmine
, that folder contains config.ru
file)
Delete light version
cd /var/www/redmine rm -fr plugins/[plugin_name]
Copy and unarchive pro version
cp [plugin_name]-4_0_0-pro.zip plugins/ cd plugins unzip [plugin_name]-4_0_0-pro.zip
Install required gems
cd /var/www/redmine bundle install
Migrate plugin tables
bundle exec rake redmine:plugins NAME=[plugin_name] RAILS_ENV=production
Restart Redmine app
For Phussion Passenger just touch restart.txt
file
touch tmp/restart.txt