:::: MENU ::::

Redmineを1.3.0にアップグレードする

Pocket

# gem install rack -v=1.1.2 --no-rdoc --no-ri
# gem install rake -v=0.9.2 --no-rdoc --no-ri
# gem install i18n -v=0.4.2 --no-rdoc --no-ri
# yum install ImageMagick.x86_64 ImageMagick-devel.x86_64
# gem install rmagick -v=1.15.17 --no-rdoc --no-ri
  • アップグレード | Redmine.JP
    • あとはいつもどおりアップグレードするだけ
    • 相変わらずgemが1.5以上だとエラーが出るので下げるのを忘れずに
# cd /usr/local/src/
# wget http://rubyforge.org/frs/download.php/75597/redmine-1.3.0.tar.gz
# tar xvfz redmine-1.3.0.tar.gz
# mv redmine-1.3.0 /var/www/

# cd /var/www
# chown -R apache:apache redmine-1.3.0/
# cd redmine-1.3.0/
# cp -a ../redmine/config/database.yml config/database.yml
# cp -a ../redmine/config/configuration.yml config/configuration.yml
# vi config/settings.yml
# cp -a ../redmine/vendor/plugins/redmine_* ./vendor/plugins/

# cd ../
# rm -f redmine
# ln -sfn redmine-1.3.0/ redmine

# cd redmine
# gem update --system 1.3.7
# rake generate_session_store
# rake db:migrate RAILS_ENV="production"
# rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production
# rake db:migrate_plugins RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# chown -R apache:apache plugin_assets/

# /etc/init.d/httpd restart
Pocket


So, what do you think ?