User Tools

Site Tools


upgrade_trac

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/

upgrade_trac.txt · Last modified: 2022/07/19 21:13 by 127.0.0.1