Project

General

Profile

Upgrade » History » Revision 3

Revision 2 (Anthony Mallet, 2014-01-08 17:54) → Revision 3/6 (Anthony Mallet, 2014-01-08 17:55)

h1. Upgrade procedure 

 Pull updates from the local repository (<code>laas</code> branch). 
 <pre> 
 # su - redmine 
 # cd src/laas (or src/openrobots) 
 # 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>