comparison doc/UPGRADING @ 524:1248a47e81b3 feature_36

Merge from branch "luisf"
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 25 Jul 2011 14:39:38 +0100
parents cbce1fd3b1b7
children cbb26bc654de
comparison
equal deleted inserted replaced
519:3be6bc3c2a17 524:1248a47e81b3
1 == Redmine upgrade 1 == Redmine upgrade
2 2
3 Redmine - project management software 3 Redmine - project management software
4 Copyright (C) 2006-2010 Jean-Philippe Lang 4 Copyright (C) 2006-2011 Jean-Philippe Lang
5 http://www.redmine.org/ 5 http://www.redmine.org/
6 6
7 7
8 == Upgrading 8 == Upgrading
9 9
10 1. Uncompress the program archive in a new directory 10 1. Uncompress the program archive in a new directory
11 11
12 2. Copy your database settings (RAILS_ROOT/config/database.yml) 12 2. Copy your database settings (RAILS_ROOT/config/database.yml)
13 and SMTP settings (RAILS_ROOT/config/email.yml) into the new 13 and your configuration file (RAILS_ROOT/config/configuration.yml)
14 config directory 14 into the new config directory
15 Note: before Redmine 1.2, SMTP configuration was stored in
16 config/email.yml. It should now be stored in config/configuration.yml.
15 17
16 3. Copy the RAILS_ROOT/files directory content into your new installation 18 3. Copy the RAILS_ROOT/files directory content into your new installation
17 This directory contains all the attached files. 19 This directory contains all the attached files.
18 20
19 4. Copy the folders of the installed plugins and themes into new installation 21 4. Copy the folders of the installed plugins and themes into new installation
26 28
27 DO NOT REPLACE OR EDIT ANY OTHER FILES. 29 DO NOT REPLACE OR EDIT ANY OTHER FILES.
28 30
29 6. Migrate your database 31 6. Migrate your database
30 32
31 If you are upgrading to Rails 2.3.5 as part of this migration, you 33 If you are upgrading to Rails 2.3.11 as part of this migration, you
32 need to upgrade the plugin migrations before running the plugin migrations 34 need to upgrade the plugin migrations before running the plugin migrations
33 using: 35 using:
34 rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production" 36 rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production"
35 37
36 Please make a backup before doing this! Under the new application 38 Please make a backup before doing this! Under the new application
52 9. Finally go to "Administration -> Roles & permissions" to check/set permissions 54 9. Finally go to "Administration -> Roles & permissions" to check/set permissions
53 for new features, if any 55 for new features, if any
54 56
55 == Notes 57 == Notes
56 58
57 * Rails 2.3.5 is required for versions 0.9.x and 1.0.x. 59 * Rails 2.3.11 is required for versions 1.2.x.
58 60
59 == References 61 == References
60 62
61 * http://www.redmine.org/wiki/redmine/RedmineUpgrade 63 * http://www.redmine.org/wiki/redmine/RedmineUpgrade