[Trac] Problems after 0.8.1 upgrade

Peter Kropf peterk at bayarea.net
Mon Mar 7 13:30:32 EST 2005


Hi!

I'm not sure what I've done but my trac environment seems to be hosed.

I had been running against the head of the trac svn tree as of a couple 
of weeks ago. (Wanted access to a macro that needed code that wasn't 
available in the 0.8 release.) With the changes going on for the 0.9 
release, I wanted to get back to using the regular distributions. So I 
downloaded 0.8.1 and installed it. Now, when I point a browser at any of 
my existing trac projects, I see:


Oops...

Trac detected an internal error:

Unknown Trac Environment version (8).
Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 531, in 
cgi_start
     real_cgi_start()
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 513, in 
real_cgi_start
     env = open_environment()
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 195, in 
open_environment
     raise TracError('Unknown Trac Environment version (%d).' % version)
TracError: Unknown Trac Environment version (8).


Thinking that I missed an upgrade step with the installation, I ran 
trac-admin upgrade:

root at think:/space/trac> trac-admin stuff upgrade
Upgrade: Database is up to date, no upgrade necessary.

For kicks, I also created a new trac environment and was able to access 
that with no problems. Any suggestions on how to recover my projects? Is 
it possible to dump the trac environment and load it to a new environment?

Thanks!

- Peter


More information about the Trac mailing list