upgrade redmine

From WebHostingNeeds.com
Jump to: navigation, search
service redmine stop
cd /home
mysqldump redmine > redmine.sql
mv redmine redmine_old
mkdir redmine_tmp
cd redmine_tmp
wget http://www.redmine.org/releases/redmine-2.5.1.tar.gz
tar zxvf redmine-2.5.1.tar.gz
mv redmine-2.5.1 /home/redmine
cd /home/redmine
cp ../redmine_old/config/configuration.yml ./config/configuration.yml
cp ../redmine_old/config/database.yml ./config/database.yml 
rm -f ./public/favicon.ico
cp ../redmine_old/public/favicon.ico ./public/favicon.ico
mv files files_del
cp -R ../redmine_old/files .
bundle install
rake generate_session_store
rake db:migrate RAILS_ENV=production 
rake tmp:cache:clear
rake tmp:sessions:clear
service redmine start


Set permissions

chown -R redmine:redmine /home/redmine
cd /home/redmine
chmod -R 777 files log tmp
mkdir /home/redmine/public/plugin_assets
chmod -R 777 /home/redmine/public/plugin_assets


Upgraded

18 April 2011
19-Feb-2014 02:26 AM  redmine-2.4.3.tar.gz (ruby 2.1.0p0 / Rails 3.2.16) Password had to reset after upgrade.
05-May-2014 04:59 AM  installed redmine-2.5.1.tar.gz, used bundle install to get all needed modules (easy).



RedmineUpgrade

redmine