The official page for Redmine upgrade is here
. Below I will write down the instructions I use when upgrading to the latest version of Redmine.
Note that I have cloned Mercurial (Hg) repository and am updating by pulling the latest changes.
So, here goes.
- Backup current version (db).
- Pull latest repository changes and Update to the desired version.
- Update the database:
- Open command prompt
- Go to Redmine root directory
Sometimes an upgrade will require installation of missing gems. In that case run
rake db:migrate RAILS_ENV=production
- For plugins run
rake redmine:plugins:migrate RAILS_ENV=production
- Clean up