Hi all,
I hope this isn't a duplicate -- a quick search through the archive
didn't turn up any similar results, though.
I'm about to upgrade a production 0.96 trac to 0.10. Because this is an
important site, I was cautious and first did the following:
"python setup.py build" in trac-0.10
copy the target site to a temporary place
run inside trac-010:
export PYTHONPATH=build/lib
build/scripts-2.4/tracd \
--port 8000 \
/home/sas/Temp/trac
When I access the URL, I get an empty page and the following message on
the console:
Exception happened during processing of request from ('127.0.0.1',
45385)
Traceback (most recent call last):
File "/usr/lib/python2.4/SocketServer.py", line 463, in
process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.4/SocketServer.py", line 254, in
finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
self.handle()
File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/home/sas/Temp/trac/trac-0.10/build/lib/trac/web/wsgi.py", line
174, in handle_one_request
gateway.run(self.server.application)
File "/home/sas/Temp/trac/trac-0.10/build/lib/trac/web/wsgi.py", line
87, in run
response = application(self.environ, self._start_response)
File
"/home/sas/Temp/trac/trac-0.10/build/lib/trac/web/standalone.py", line
88, in __call__
return self.application(environ, start_response)
File "/home/sas/Temp/trac/trac-0.10/build/lib/trac/web/main.py", line
346, in dispatch_request
env = _open_environment(env_path,
run_once=environ['wsgi.run_once'])
File "/home/sas/Temp/trac/trac-0.10/build/lib/trac/web/main.py", line
57, in _open_environment
env_cache[env_path] = open_environment(env_path)
File "/home/sas/Temp/trac/trac-0.10/build/lib/trac/env.py", line 435,
in open_environment
raise TracError, 'The Trac Environment needs to be upgraded. Run '
\
TracError: The Trac Environment needs to be upgraded. Run trac-admin
/home/sas/Temp/depfa/trac upgrade"
This surprised me, because I had read that 0.96 -> 0.10 does not
require an upgrade. And indeed:
[EMAIL PROTECTED]:~/Temp/trac/trac-0.10$ ./build/scripts-2.4/trac-admin
/home/sas/Temp/trac upgrade
Database is up to date, no upgrade necessary.
Restarting tracd afterwards results in the same exception, however.
Needless to say I didn't upgrade production yet :)
I've previously run 0.10rc1 successfully in the same way (albeit on a
new trac instance) for testing so I'm pretty sure that the approach
with the local 0.10 install should work.
Is there any reason to believe the upgrade would behave differently if
I ran
sudo python setup.py install
instead of the local install and go ahead with the production site?
Is there anything I could do to get more info on what makes trac think
the instance needs an upgrade?
Any help greatly appreciated,
Sven
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---