2007-11-04 16:19:42 +03:00
|
|
|
== Redmine upgrade procedure
|
|
|
|
|
|
|
|
Redmine - project management software
|
2008-03-21 23:24:10 +03:00
|
|
|
Copyright (C) 2006-2008 Jean-Philippe Lang
|
2007-11-04 16:19:42 +03:00
|
|
|
http://www.redmine.org/
|
|
|
|
|
|
|
|
|
2008-03-21 23:24:10 +03:00
|
|
|
== Upgrading
|
2007-11-04 16:19:42 +03:00
|
|
|
|
|
|
|
1. Uncompress the program archive in a new directory
|
|
|
|
|
|
|
|
3. Copy your database settings (RAILS_ROOT/config/database.yml)
|
2008-07-04 22:55:45 +04:00
|
|
|
and SMTP settings (RAILS_ROOT/config/email.yml)
|
2007-11-04 16:19:42 +03:00
|
|
|
into the new config directory
|
|
|
|
|
2008-07-04 22:55:45 +04:00
|
|
|
4. Migrate your database (please make a backup before doing this):
|
2007-11-04 16:19:42 +03:00
|
|
|
rake db:migrate RAILS_ENV="production"
|
|
|
|
|
2008-07-04 22:55:45 +04:00
|
|
|
5. Copy the RAILS_ROOT/files directory content into your new installation
|
2008-03-21 23:24:10 +03:00
|
|
|
This directory contains all the attached files
|
2007-11-04 16:19:42 +03:00
|
|
|
|
|
|
|
|
2008-03-21 23:24:10 +03:00
|
|
|
== Notes
|
2007-11-04 16:19:42 +03:00
|
|
|
|
2008-12-07 13:00:40 +03:00
|
|
|
1. Rails 2.1.2 is required for version 0.8.
|
2007-11-04 16:19:42 +03:00
|
|
|
|
2008-03-21 23:24:10 +03:00
|
|
|
2. When upgrading your code with svn update, don't forget to clear
|
|
|
|
the application cache (RAILS_ROOT/tmp/cache) before restarting.
|