Trac: IntegrityError
Posted in North Star Labs, Solution, System Administration on 09/01/2007 04:47 pm by jmccune
Recently, I’ve been getting Trac: IntegrityError exceptions on my Trac 0.10.3 installation, which I use to publish scripts and code in the knowledge base. It didn’t take me long to figure out what the problem was, based on the information in Trac Ticket 4586 and 4043.
It did take me a bit longer to work around the actual problem, however. I’ve upgraded track to 0.10.4, and issued the following two commands:
trac-admin ~/nsl/var/svntracs/northstarlabs upgrade trac-admin ~/nsl/var/svntracs/northstarlabs resync
Substitute in the full path to your trac project directory, and you should get back up and running quickly.
Thanks to chxo.com for publishing this quick fix.