Software Tools‎ > ‎Redmine‎ > ‎

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.

  1. Backup current version (db).
  2. Pull latest repository changes and Update to the desired version.
  3. Update the database:
    1. Open command prompt
    2. Go to Redmine root directory
    3. Run
      rake db:migrate RAILS_ENV=production
      Sometimes an upgrade will require installation of missing gems. In that case run
      bundle install
      bundle update
    4. For plugins run
      rake redmine:plugins:migrate RAILS_ENV=production
  4. Clean up
    rake tmp:cache:clear
    rake tmp:sessions:clear
That's it!