Upgrade RedmineUP plugin

The light version of our plugins has the same database structure as PROs. That mean if you have the same version number of light and pro plugin you do not have to migrate the database. However, we recommend a full backup before the install. In most common case, just delete folder with light version redmine/plugins/[plugin_name] and copy pro version to the same folder redmine/plugins/[plugin_name]

Here are common steps for any plugin upgrade (all commands should be executed from 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