2007-11-04 16:19:42 +03:00
|
|
|
== Redmine upgrade procedure
|
|
|
|
|
|
|
|
Redmine - project management software
|
2010-01-09 14:46:53 +03:00
|
|
|
Copyright (C) 2006-2010 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
|
|
|
|
|
2010-01-09 14:46:53 +03:00
|
|
|
2. 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
|
2010-06-28 06:46:20 +04:00
|
|
|
DO NOT REPLACE OR EDIT ANY OTHER FILES.
|
2007-11-04 16:19:42 +03:00
|
|
|
|
2010-02-19 21:52:34 +03:00
|
|
|
3. Generate a session store secret
|
2010-01-09 14:46:53 +03:00
|
|
|
Redmine stores session data in cookies by default, which requires
|
|
|
|
a secret to be generated. Run:
|
2010-06-28 06:46:20 +04:00
|
|
|
rake generate_session_store
|
2010-02-19 21:52:34 +03:00
|
|
|
|
|
|
|
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
|
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
|
|
|
|
2010-01-09 14:46:53 +03:00
|
|
|
1. Rails 2.3.5 is required for version 0.9.
|
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.
|