@@ -1,30 +1,33 | |||||
1 | == redMine upgrade procedure |
|
1 | == redMine upgrade procedure | |
2 |
|
2 | |||
3 | redMine - project management software |
|
3 | redMine - project management software | |
4 | Copyright (C) 2006-2007 Jean-Philippe Lang |
|
4 | Copyright (C) 2006-2007 Jean-Philippe Lang | |
5 | http://redmine.rubyforge.org/ |
|
5 | http://redmine.rubyforge.org/ | |
6 |
|
6 | |||
7 |
|
7 | |||
8 | == Upgrading from 0.3.0 and above |
|
8 | == Upgrading from 0.3.0 and above | |
9 |
|
9 | |||
10 | 1. Uncompress program archive in a new directory: |
|
10 | 1. Uncompress program archive in a new directory: | |
11 | tar zxvf <filename> |
|
11 | tar zxvf <filename> | |
12 |
|
12 | |||
13 |
3. Copy your database settings (database.yml) |
|
13 | 3. Copy your database settings (RAILS_ROOT/config/database.yml) | |
|
14 | into the new config directory | |||
14 |
|
15 | |||
15 | 4. Migrate your database: |
|
16 | 4. Migrate your database: | |
16 | rake db:migrate RAILS_ENV="production" |
|
17 | rake db:migrate RAILS_ENV="production" | |
17 |
|
18 | |||
|
19 | 5. Copy the RAILS_ROOT/files directory content into your new installation | |||
|
20 | ||||
18 | Note 1: Rails 1.2.2 is required for version 0.4.2 and later. |
|
21 | Note 1: Rails 1.2.2 is required for version 0.4.2 and later. | |
19 |
|
22 | |||
20 | Note 2: when upgrading your code with svn update, don't forget to clear |
|
23 | Note 2: when upgrading your code with svn update, don't forget to clear | |
21 | the application cache (RAILS_ROOT/tmp/cache) before restarting. |
|
24 | the application cache (RAILS_ROOT/tmp/cache) before restarting. | |
22 |
|
25 | |||
23 | Note 3: settings previously defined in custom_config.rb are now stored |
|
26 | Note 3: settings previously defined in custom_config.rb are now stored | |
24 | in database, as of version 0.4.2. Go to "Admin -> Settings" to edit them. |
|
27 | in database, as of version 0.4.2. Go to "Admin -> Settings" to edit them. | |
25 |
|
28 | |||
26 |
|
29 | |||
27 | == From 0.2.x and below |
|
30 | == From 0.2.x and below | |
28 |
|
31 | |||
29 | Due to major database changes since 0.2.x, there is no migration support |
|
32 | Due to major database changes since 0.2.x, there is no migration support | |
30 | from 0.2.x and previous versions. |
|
33 | from 0.2.x and previous versions. |
General Comments 0
You need to be logged in to leave comments.
Login now