I'm upgrading my 0.8.3 Trac to 0.9 by following the (somewhat minimal)
instructions at http://trac.edgewall.org/wiki/TracUpgrade.
Trouble is that when I try to access Trac after the upgrade I get the
following:
Oops...
Trac detected an internal error:
[Errno 2] No such file or directory:
'/usr/share/trac/myproject.db/VERSION'
Traceback (most recent call last):
File "/var/www/cgi-bin/trac.cgi", line 20, in ?
cgi_frontend.run()
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py",
line 123, in run
env = get_environment(req, os.environ, threaded=False)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335,
in get_environment
return _open_environment(env_path, threaded)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 44, in
_open_environment
return open_environment(env_path)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 374, in
open_environment
env = Environment(env_path)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 81, in
__init__
self.verify()
File "/usr/lib/python2.3/site-packages/trac/env.py", line 129, in
verify
fd = open(os.path.join(self.path, 'VERSION'), 'r')
IOError: [Errno 2] No such file or directory:
'/usr/share/trac/myproject.db/VERSION'
Now, the "/usr/share/trac/myproject.db/VERSION" suggests to me that I
have some sort of config issue. Any idea where I set this up and why it
would be broken by an upgrade?
Looking in my httpd.conf file I noticed that I have the following:
<Location "/cgi-bin/trac.cgi">
SetEnv TRAC_ENC /opt/tracdb/journal
</Location>
This is the dir where my trac was setup. I this where the cgi get's
it's config info from?
Any idea why I get the above error?
Regards
Marty
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---