Edgewall Software

Opened 12 years ago

Last modified 11 years ago

#10803 closed defect

trac 1.0beta from github does not upgrade cache table — at Initial Version

Reported by: anonymous Owned by:
Priority: highest Milestone:
Component: database backend Version: 1.0dev
Severity: blocker Keywords:
Cc: leho@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I found that while upgrading my existing trac instances from trac 0.12 to 1.0beta1 the upgrade is flawed in that db27.py will not be executed.

I have here trac instances using a database_version 26. On upgrade, trac will create a copy of the database file (sqlite that is) having a version identifier of 27.

It will then skip db27 and continue with db29.

In order to overcome this problem, one needs to

sqlite3 db/trac.db update system set value=26 where name = 'database_version';

and run trac <env> upgrade again…

TIA

Change History (0)

Note: See TracTickets for help on using tickets.