Table of Contents

Upgrade_Trac

A few things seemed to have changed with Trac once I dist-upgraded Trac on Lenny.

Old Code

ScriptAlias /~sburke/skynet06 /usr/share/trac/cgi-bin/trac.cgi

Problem

/usr/share/trac/cgi-bin/trac.cgi didn't exit.

Find new Trac files

dpkg -L trac | grep cgi This gave, amongst other results: /usr/share/pyshared/trac/web/cgi_frontend.py

Solution

Replacement line of code: ScriptAlias /~sburke/skynet06 /usr/share/pyshared/trac/web/cgi_frontend.py

Issue 1

chmod 755 /usr/share/pyshared/trac/web/cgi_frontend.py

Issue 2

Another error 500 from Apache. su - sburke trac-admin /home/sburke/sustainabilityportal upgrade

Worked.


Ref: http://www.landschoff.net/blog/2009/01/trac-hosted-on-debian-unstable-lighty/