Go To Root & Unzip
Remove the redmine_x_statistics
folder and upload the unziped folder of the new version. Alternatively, you can copy the archive in the same location and perform the unzip command in the console.
Install Gems
From redmine_root
run bundle install
.
Migrate
When updating Redmine X Statistics plugin, you need to run the migration command bundle exec rake redmine:plugins:migrate RAILS_ENV=production
.
Load Default Data (1.1.2 and below only)
If you have a version 1.1.3+, you can skip this step. When updating Redmine X Statistics plugin, you need to run bundle exec rake redmine:redmine_x_statistics:load_default_charts RAILS_ENV=production
.
Restart
Restart Redmine. Based on your hosting provider / web server, you will need to run the following commands. Puma: sudo systemctl restart redmine.yourcompany.com.service
or Passenger: touch tmp/restart.txt
.