Hi,

This post is some kind of upgrade to ticket with subject 0.96 -> 0.10
"TracError: The Trac Environment needs to be upgraded.

In my case when upgrading from 0.11 to 0.12 via the web interface i
received a message telling me to upgrade the database, but surprise,
when running the upgrade in the console using trac-admin xxx upgrade,
the system said that the database was already upgraded.. i fall in
some kind of catch 22.

The aforementioned message posted by Sven Schmidt gives the solution,
but the library name changed  from "trac.scripts.admin" to
"trac.admin.console", and so i decided to issue this ticket.

The technique lies in calling the upgrade method directly from python:

t...@gondor:~$ python
from trac.admin.console import run
run(['/home/trac/xxx-site', 'upgrade'])


Bye,
Hans

-- 
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.

Reply via email to