On 10/24/06, Christian Boos <[EMAIL PROTECTED]> wrote:

> > [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.
> >
>
> Must be an install issue on your side, as in 0.9.6 the db_version is 16,
> whereas in 0.10 it's 19.

Hm, indeed:

sqlite> select * from system;
database_version|16
repository_dir|svn:2cbd9294-4d18-0410-ac0d-ba25a86ef4e4:/depfa/svn/repos

I think what happened is that even though I wrote in the original
message I was setting the PYTHONPATH to the 0.10 version I wasn't
running with it and called 0.96's trac-admin (perhaps I'd opened a new
terminal). So basically it was 0.96's trac-admin telling me is
up-to-date and 0.10's tracd it wasn't.

What I now did to investigate was:

[EMAIL PROTECTED]:~/Temp/trac/trac-0.10/build/lib$ export PYTHONPATH=.
[EMAIL PROTECTED]:~/Temp/trac/trac-0.10/build/lib$ python
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from trac.scripts.admin import run
>>> run(['/home/sas/Temp/depfa/trac', 'upgrade'])
Upgrade done.
0

And when I then restart the 0.10 trac everything works.

Thanks for the help,
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to