in /usr/share/doc/trac/UPGRADE.gz [snip] >From 0.8.x to 0.9 ----------------- [snip]
If you have PySQLite 2.x installed, Trac will now try to open your SQLite database using the SQLite 3.x file format. The database formats used by SQLite 2.8.x and SQLite 3.x are incompatible. If you get an error like "file is encrypted or is not a database" after upgrading, then you must convert your database file. To do this, you need to have both SQLite 2.8.x and SQLite 3.x installed (they have different filenames so can coexist on the same system). Then use the following commands: mv trac.db trac2.db sqlite trac2.db .dump | sqlite3 trac.db After testing that the conversion was successful, the `trac2.db` file can be deleted. For more information on the SQLite upgrade see http://www.sqlite.org/version3.html. -- LI Daobing