[Trac] Re: Problem upgrading from v0.10.4 to v0.10.5

2008-06-24 Thread Joseph S. Testa II

     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:

 Indeed, because the VERSION file isn't in the sources.  It's only in the
 trac environment that you created when you ran:

 trac-admin /path/to/env initenv

Ahh, ok.  That helps.  I was confused and thought I had to overwrite
the /var/trac/ directory with the sources from the tarball.  Looks
like everything is working now.

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 trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---



[Trac] Problem upgrading from v0.10.4 to v0.10.5

2008-06-22 Thread Joseph S. Testa II

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/ upgrade
Failed to open environment. [Errno 2] No such file or directory: '/var/
trac//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//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 ../.old/VERSION .
# chown apache:apache VERSION
# trac-admin /var/trac/ upgrade
Command failed: Database /var/trac//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 trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---