UPGRADING
33 lines
| 1005 B
| text/plain
|
TextLexer
/ doc / UPGRADING
|
r870 | == Redmine upgrade procedure | ||
Redmine - project management software | ||||
|
r3179 | Copyright (C) 2006-2010 Jean-Philippe Lang | ||
|
r870 | http://www.redmine.org/ | ||
|
r1269 | == Upgrading | ||
|
r870 | |||
1. Uncompress the program archive in a new directory | ||||
|
r3179 | 2. Copy your database settings (RAILS_ROOT/config/database.yml) | ||
|
r1611 | and SMTP settings (RAILS_ROOT/config/email.yml) | ||
|
r870 | into the new config directory | ||
|
r3179 | DO NOT REPLACE ANY OTHERS FILES. | ||
|
r870 | |||
|
r3179 | 3. Migrate your database (please make a backup before doing this): | ||
|
r870 | rake db:migrate RAILS_ENV="production" | ||
|
r3179 | 4. Copy the RAILS_ROOT/files directory content into your new installation | ||
|
r1269 | This directory contains all the attached files | ||
|
r870 | |||
|
r3179 | 5. Generate a session store secret | ||
Redmine stores session data in cookies by default, which requires | ||||
a secret to be generated. Run: | ||||
rake config/initializers/session_store.rb | ||||
|
r870 | |||
|
r1269 | == Notes | ||
|
r870 | |||
|
r3179 | 1. Rails 2.3.5 is required for version 0.9. | ||
|
r870 | |||
|
r1269 | 2. When upgrading your code with svn update, don't forget to clear | ||
the application cache (RAILS_ROOT/tmp/cache) before restarting. | ||||