User Tools

Site Tools


project_management:redmine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
project_management:redmine [2011/01/26 14:16] – [Install Phusion Passenger] aorthproject_management:redmine [2011/02/22 05:39] – [Updating Redmine from SVN] aorth
Line 144: Line 144:
  
 ===== Updating Redmine from SVN ===== ===== Updating Redmine from SVN =====
-See the [[http://www.redmine.org/wiki/redmine/RedmineUpgrade#Option-2-Upgrading-from-a-SVN-checkout|the official instructions]] on upgrading via SVN.  Also done below on a real instance, 1.0.0 -> 1.0.1: +See the [[http://www.redmine.org/wiki/redmine/RedmineUpgrade#Option-2-Upgrading-from-a-SVN-checkout|the official instructions]] on upgrading via SVN.  Also done below as root on a real instance, 1.0.0 -> 1.0.1: 
-<code>cd /opt +<code>cd /opt 
-tar cjf redmine_before_1.0.1.tar.bz2 redmine/ +tar cjf redmine_before_1.0.1.tar.bz2 redmine/ 
-cd redmine +cd redmine 
-svn update +svn update 
-rake db:migrate RAILS_ENV=production +rake db:migrate RAILS_ENV=production 
-rake db:migrate_plugins RAILS_ENV=production +rake db:migrate_plugins RAILS_ENV=production 
-rake tmp:cache:clear +rake tmp:cache:clear 
-rake tmp:sessions:clear +rake tmp:sessions:clear 
-apache2ctl graceful</code>+apache2ctl graceful</code>
  
 ===== Change local administrator password manually ===== ===== Change local administrator password manually =====
 <code># cd /opt/redmine <code># cd /opt/redmine
 # RAILS_ENV=production ruby1.8 script/runner 'user = User.find(:first, :conditions => {:admin => true}) ; user.password, user.password_confirmation = "my_password"; user.save!'</code> # RAILS_ENV=production ruby1.8 script/runner 'user = User.find(:first, :conditions => {:admin => true}) ; user.password, user.password_confirmation = "my_password"; user.save!'</code>