In order to upgrade to a newer version of Redmine, specifically 3.2, you will need to switch to the
3.2-stable SVN branch and then perform the upgrade.
First off, I would recommend taking a snapshot of your Droplet so that you have a working state that you can restore in case anything goes wrong with the upgrade. If you can’t power off your Droplet to take a snapshot, you can back up the files and settings manually. All uploaded files should be stored in
/srv/redmine/files. The database can be backed up by running the following command:
mysqldump -u root redmine | gzip > ~/redmine_db_backup.sql.gz
Then, switch to the newer SVN branch:
svn switch ^/branches/3.2-stable
Make sure all the requires gems are installed and up-to-date:
Next, you’ll want to upgrade the database as well so that any changes in the database structure are applied to your existing database:
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
Finally, clear the cache and restart Passenger. This will log out all users.
bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production
You might also want to check out the Admin -> Roles & permissions page for any new permissions.
Let me know if you have any issues. I’ve just tested it on a Droplet and everything went fine - so I’m hoping that everything will go smoothly for you as well.