Upgrading Trac
Trac is a great tool but upgrading it may sometimes be tricky. If you are using FreeBSD than the easiest way is to use the portupgrade tool, however if you have multi-project configuration (and fcgi) than take a copy of your trac.fcgi file as it is overwritten by the upgrade tool (and the error output from trac is really very ugly).
After the upgrade you just need to put back these three lines:
import os
os.environ[‘TRAC_ENV_PARENT_DIR’] = “/path/to/your/projects”
os.environ[‘PYTHON_EGG_CACHE’] = “/path/to/your/plugins-cache”