Project

General

Profile

RedmineUpgrade » History » Version 2

Jean-Philippe Lang, 2007-11-18 14:12

1 1 Jean-Philippe Lang
h1. Upgrading
2
3 2 Jean-Philippe Lang
h2. Upgrading from a SVN checkout
4
5
1. Go to the Redmine root directory and run the following command:
6
7
  svn update
8
9
2. Migrate your database (please, make a database backup before doing this):
10
11
  rake db:migrate RAILS_ENV="production"
12
13
3. Clear the cache and existing sessions:
14
15
<pre>
16
rake tmp:cache:clear
17
rake tmp:sessions:clear
18
</pre>
19
20
4. Restart the application and go to “Admin → Roles & permissions → Permissions report” to check/set permissions for the new features, if any.
21
22
h2. Upgrading from a downloaded release
23
24
1. Uncompress the new program archive in a new directory.
25 1 Jean-Philippe Lang
   
26 2 Jean-Philippe Lang
3. Copy your database settings (@RAILS_ROOT/config/database.yml@) into the new @config@ directory.
27 1 Jean-Philippe Lang
   
28 2 Jean-Philippe Lang
4. Migrate your database (please, make a database backup before doing this):
29 1 Jean-Philippe Lang
30
  rake db:migrate RAILS_ENV="production"
31
32 2 Jean-Philippe Lang
5. Copy the @RAILS_ROOT/files@ directory content into your new installation.
33 1 Jean-Philippe Lang
34
6. Start the application and go to “Admin → Roles & permissions → Permissions report” to check/set permissions for the new features, if any.