User Tools

Site Tools


project_management:redmine

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
project_management:redmine [2010/06/09 12:06] – created 172.26.14.218project_management:redmine [2010/10/19 17:57] aorth
Line 1: Line 1:
-====== Redmine ======+====== Redmine project management ====== 
 +Redmine is a bug tracking, source code and project management web application.  Similar to [[project_management:trac|Trac]].
  
   * Official install guide: http://www.redmine.org/wiki/redmine/RedmineInstall   * Official install guide: http://www.redmine.org/wiki/redmine/RedmineInstall
Line 134: Line 135:
  
 http://ip/redmine http://ip/redmine
 +
 +====== Migrate Trac projects ======
 +  * Reference: http://www.redmine.org/wiki/1/RedmineMigrate
 +
 +===== Install sqlite3-ruby =====
 +My Trac 11.x databases were in sqlite3 format, so I needed the ''sqlite3-ruby'' gem:
 +<code># gem install sqlite3-ruby</code>
 +
 +===== Migrate project =====
 +From the Redmine directory:
 +<code># rake redmine:migrate_from_trac RAILS_ENV="production"
 +(in /opt/redmine-0.9.4)
 +
 +WARNING: a new project will be added to Redmine during this process.
 +Are you sure you want to continue ? [y/N] y
 +
 +Trac directory []: /var/lib/trac/sampler
 +Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite]: sqlite3
 +Trac database encoding [UTF-8]: 
 +Target project identifier []: sampler
 +
 +Migrating components..
 +Migrating milestones....
 +Migrating custom fields
 +Migrating tickets
 +Migrating wiki........
 +
 +Components:      2/2
 +Milestones:      4/4
 +Tickets:         0/0
 +Ticket files:    0/0
 +Custom values:   0/0
 +Wiki edits:      8/8
 +Wiki files:      0/0</code>
 +
 +Make sure you don't use spaces in the project identifier; this is part of the URL path for the Redmine interface.
 +
 +====== Active Directory Authentication ======
 +None of this seems to work...
 +
 +  * Reference: http://attic.ist.unomaha.edu/blogs/zac/2010/05/24/setting-up-redmine-or-php-with-ldapactive-directory-using-ldp/
 +  * Reference: http://www.rhonabwy.com/wp/2009/12/24/debugging-active-directory-ldap-authentication-in-redmine/
 +  * Reference: http://www.redmine.org/wiki/1/RedmineLDAP
 +
 +===== Patch =====
 +http://www.redmine.org/issues/4283
 +
 +<code># cd /opt/redmine-0.9.4
 +# patch -p1 < /home/aorth/src/lookup_LDAP_attributes_as_user.patch</code>
 +
 +====== 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:
 +<code># cd /opt
 +# tar cjf redmine_before_1.0.1.tar.bz2 redmine/
 +# cd redmine
 +# svn update
 +# rake db:migrate RAILS_ENV=production
 +# rake db:migrate_plugins RAILS_ENV=production
 +# rake tmp:cache:clear
 +# rake tmp:sessions:clear
 +# apache2ctl graceful</code>