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)
|
|
|
|
into the new config directory
|
|
|
|
|
|
|
|
4. Enter your SMTP settings in config/environment.rb
|
|
|
|
Do not replace this file with the old one
|
|
|
|
|
|
|
|
5. Migrate your database (please make a backup before doing this):
|
|
|
|
rake db:migrate RAILS_ENV="production"
|
|
|
|
|
|
|
|
6. 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-03-21 23:24:10 +03:00
|
|
|
1. Rails 2.0.2 is required for version 0.7 and later.
|
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.
|