UPGRADING
33 lines
| 1001 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 | ||
|
r3700 | DO NOT REPLACE OR EDIT ANY OTHER FILES. | ||
|
r870 | |||
|
r3341 | 3. Generate a session store secret | ||
|
r3179 | Redmine stores session data in cookies by default, which requires | ||
a secret to be generated. Run: | ||||
|
r3700 | rake generate_session_store | ||
|
r3341 | |||
4. Migrate your database (please make a backup before doing this): | ||||
rake db:migrate RAILS_ENV="production" | ||||
5. Copy the RAILS_ROOT/files directory content into your new installation | ||||
This directory contains all the attached files | ||||
|
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. | ||||