Skip to main content

Posts

Showing posts from May 2, 2013

How to Upgrade Redmine to 2.3

Step 1 - Check requirements The first step to upgrading Redmine is to check that you meet the requirements for the version you're about to install. Ruby Version: ruby -v Rails Version : rails -v Rubygems Version : gem -v * Ruby should be 1.8.7 or higher. * Rails should be 3.2.13 * Gems should be 1.8 or higher. If rails are not uptodate, you can install the rails with version specific, using the below command: # gem install rails -v=3.2.13 --no-ri --no-rdoc Step 2 - Backup It is recommended that you backup your database and file uploads. Most upgrades are safe but it never hurts to have a backup just in case. A. Backup the files. All file uploads are stored to the files/ directory. You can copy the contents of this directory to another location to easily back it up. B. Backup the database. mysqldump -u redmine_user -predmine123# redmine | gzip > /var/www/redmine_`date +%y_%m_%d`.gz Step 3 - Download the 2.3 stable version # cd /var/www/ # mv rai