Hi all,
I can't apply the v0.10.5 security fix to my v0.10.4 source
installation.
I moved the v0.10.4 code out of the way and put the v0.10.5 sources
in its place. As per the "UPGRADE" instructions, I then ran:
# python setup.py install
This completed successfully. I then ran:
# trac-admin /var/trac/xxxx upgrade
Failed to open environment. [Errno 2] No such file or directory: '/var/
trac/xxxx/VERSION'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line
134, in env_open
self.__env = Environment(self.envname)
File "/usr/lib/python2.4/site-packages/trac/env.py", line 158, in
__init__
self.verify()
File "/usr/lib/python2.4/site-packages/trac/env.py", line 206, in
verify
fd = open(os.path.join(self.path, 'VERSION'), 'r')
IOError: [Errno 2] No such file or directory: '/var/trac/xxxx/VERSION'
I double-checked that this "VERSION" file is not in the v0.10.5
tarball, but it is in the v0.10.4 installation. This seems like an
upgrading bug or packaging error. I continue by copying over the
"VERSION" file from the v0.10.4 installation and try again:
# cp ../xxxx.old/VERSION .
# chown apache:apache VERSION
# trac-admin /var/trac/xxxx upgrade
Command failed: Database "/var/trac/xxxx/db/trac.db" not found.
Neither the v0.10.5 sources nor the v0.10.4 installation has a
"db/" sub-directory. Considering that "UPGRADE" suggests this step
may not be needed for upgrades between minor versions, I go ahead and
access the project using my browser anyway. It gives me the following
message:
Internal Error
Database "/var/trac/sysadmin/db/trac.db" not found.
At this point, I cannot continue the v0.10.5 upgrade. It seems
like the upgrade process is broken. The thought of installing v0.11
crossed my mind, but I would rather not subject my users to new code.
Any ideas or suggestions?
Thanks!
- Joe
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---