Tag: Redmine/アップグレード/2.4.1から2.5.1
mv redmine redmine_2.1.2
tar zcvpf redmine_2.1.2.tgz redmine_2.1.2
# wget http://www.redmine.org/releases/redmine-2.4.1.tar.gz # gzcat redmine-2.4.1.tar.gz | (cd /opt/home/; tar xvpf - ) # cd /opt/home # mv redmine-2.4.1 redmine
# cp redmine_2.1.2/config/database.yml redmine/config # cp redmine_2.1.2/config/configuration.yml redmine/config # cp redmine_2.1.2/db/redmine.db redmine/db # cp -a redmine_2.1.2/files/* redmine/files } -一時的にパーミッションを変更する(不要かも)。 #pre{{ # 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 RAILS_ENV=production
$ ruby script/rails server -e production
$ bundle exec rake generate_secret_token
sudo chown -R apache.apache redmine
@issue.author ||= User.current @issue.assigned_to ||= User.current