Redmine Upgrade
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
- Run
rake db:migrate RAILS_ENV=production
- Sometimes an upgrade will require installation of missing gems. In that case run
bundle install
- or
bundle update
- For plugins run
rake redmine:plugins:migrate RAILS_ENV=production
- Clean up
rake tmp:cache:clear
rake tmp:sessions:clear
That's it!