« Doxygen Trac plugin install notes | Gentoo webapp-config general notes » |
# webapp-config -U -h sample.com/trac.sample.com trac 0.11.5
then there was a note to read this:
http://projects.edgewall.com/trac/wiki/TracUpgrade
But before I went there:
DAMN!! :no: now the site is down - typical.
Looking in Apache's error log, I see this:
[Mon Aug 17 16:35:57 2009] [error] [client 24.84.197.206] (13)Permission denied: exec of '/var/www/torbensorensen.com/trac.torbensorensen.com/cgi-bin/trac.cgi' failed
[Mon Aug 17 16:35:57 2009] [error] [client 24.84.197.206] Premature end of script headers: trac.cgi
Ok so what changed the permissions? Guess I'd better make this executable
# cd [whatever]/cgi-bin/
# chmod 774 trac.cgi
Ok now at leadt the site comes back up, and I can see my tickets etc.
Now, following these instructions:
http://projects.edgewall.com/trac/wiki/TracUpgrade
# trac-admin /var/lib/trac/sample/ upgrade
/usr/lib/python2.6/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
Database is up to date, no upgrade necessary.
Since the "DeprecationWarning" is just a warning (because I recently upgraded to Python 2.6, it seems) it can be safely ignored, and I'll move on ...
# trac-admin /var/lib/trac/sample/ wiki upgrade
# trac-admin /var/lib/trac/sample/ resync