OpenProject – How to Update to latest core

SSH as root

su openproject -c "bash -l" 
cd ~/openproject
git checkout Gemfile.lock
git pull

bundle install
RAILS_ENV="production" bundle exec rake db:migrate
RAILS_ENV="production" bundle exec rake db:seed
RAILS_ENV="production" bundle exec rake assets:precompile

touch tmp/restart.txt

or Reboot Server

 

PS:

First, delete the old compilation:

RAILS_ENV="production" rake assets:clean

Then recompile:

RAILS_ENV="production" bundle exec rake assets:precompile