Upgrade » History » Revision 2
Revision 1 (Anthony Mallet, 2014-01-08 17:52) → Revision 2/6 (Anthony Mallet, 2014-01-08 17:54)
h1. Upgrade procedure
Pull updates from the local repository (<code>laas</code> branch).
<pre>
# su - redmine
# cd src/laas
# git pull
</pre>
Install new gems, if any.
<pre>
# bundle install
</pre>
This may fail, because of conflicting packages. <code>bundle update</code> should fix that.
Then, migrate database (might be a no-op).
<pre>
# rake db:migrate RAILS_ENV=production
# rake redmine:plugins:migrate RAILS_ENV=production
</pre>
Restart passenger.
<pre>
# touch tmp/restart.txt
</pre>