RedmineUpgrade » History » Version 7

Version 6 (Thomas Lecavelier, 2008-10-10 16:47) → Version 7/82 (Jean-Philippe Lang, 2008-12-23 12:39)

h1. Upgrading

h2. Upgrading from a SVN checkout

1. Go to the Redmine root directory and run the following command:

svn update

2. Migrate your database (please, make a database backup before doing this):

rake db:migrate RAILS_ENV="production"

3. Clear the cache and existing sessions:

<pre>
rake tmp:cache:clear
rake tmp:sessions:clear
</pre>

4. Restart the application and go to _"Admin -> Roles & permissions"_ to check/set permissions for the new features, if any.

h2. Upgrading from a downloaded release

1. Uncompress the new program archive in a new directory.

2. Copy your database settings @config/database.yml@ into the new @config@ directory.

3. Re-enter your SMTP settings in @config/environment.rb@ but do *not* replace this file with the old one.

4. Go to the your uncompressed new redmine directory, then migrate your database (please, make a database backup before doing this):

rake db:migrate RAILS_ENV="production"

5. Copy the @RAILS_ROOT/files@ directory content into your new installation.

6. Start the application and go to _"Admin -> Roles & permissions"_ to check/set permissions for the new features, if any.