Upgrade RedmineUP plugin

Our light plugins have the same database structure as PROs. That's mean if you have the same version number of light and pro plugin you needn't migrate database. However, we recommend a full back up before you install it. In common case it is just delete folder with light version redmine/plugins/[plugin_name] and copy pro version to same folder redmine/plugins/[plugin_name]

Here is 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