On Sun, 2006-04-23 at 17:18 +0200, Christoffer Soop wrote:
> Hi!
> 
> I just upgraded from trac v0.9.4 to v0.9.5 in Debian and got the
> following error
> 
>       Database newer than Trac version
> 
> The database worked prior to the upgrade even though I had some
> (unresolved) problems with internationalized characters.
> 
> Running sqlite3 yields:
> 
>       sqlite> select * from system;
>       database_version|17
>       sqlite>
> 
> Changing the "database_version" value to 16 makes trac work again.  This
> makes me think that this is the correct database version for trac
> v0.9.5.  Is it?

Yes, within a series of minor releases such as 0.9.x the db schema will
stay the same.  Version 17 of the database was made in the trunk for the
upcoming 0.10.  If your database was at version 17 it means that someone
upgraded it using a Trac installation from the trunk.  Changing the
version number back to 16 will leave the schema changes in place, so
some parts of Trac will fail to function properly.

In DB version 17 the columns "kind" and "change" in the table
"node_change" were renamed to "node_type" and "change_type"
respectively.  You will need to change them back so the queries used in
0.9.5 will work.

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to