summaryrefslogtreecommitdiffstats
path: root/doc/UPGRADING
blob: fe69676a23a5eb214994bf0b639de595bd4ca47e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
== Redmine upgrade procedure

Redmine - project management software
Copyright (C) 2006-2010  Jean-Philippe Lang
http://www.redmine.org/


== Upgrading

1. Uncompress the program archive in a new directory
   
2. Copy your database settings (RAILS_ROOT/config/database.yml)
   and SMTP settings (RAILS_ROOT/config/email.yml)
   into the new config directory
   DO NOT REPLACE ANY OTHERS FILES.

3. 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
      
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

== Notes

1. Rails 2.3.5 is required for version 0.9.

2. When upgrading your code with svn update, don't forget to clear
   the application cache (RAILS_ROOT/tmp/cache) before restarting.