Tag: Redmine/アップグレード/2.0.3から2.1.0
mv redmine redmine_2.0.3
tar zcvpf redmine_2.0.3.tgz redmine_2.0.3
# gzcat redmine-2.1.0.tar.gz | (cd /opt/home/; tar xvpf - ) # cd /opt/home # mv redmine-2.1.0 redmine
# cp redmine_2.0.3/config/database.yml redmine/config # cp redmine_2.0.3/db/redmine.db redmine/db # cp -a redmine_2.0.3/files/* redmine/files # cp -a redmine_2.0.3/vendor/plugins/* redmine/vendor/plugins
# chown -R tanaka redmine # chgrp -R staff redmine
$ cd redmine $ bundle install --path vendor/bundle $ bundle exec rake generate_secret_token # プラグインをインストールしている場合 $ bundle exec rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production $ bundle exec rake db:migrate RAILS_ENV=production
$ ruby script/rails server -e production
$ bundle exec rake generate_secret_token
sudo chown -R apache.apache redmine