Page History
- 2009-Jun-21 00:37 cpb
- 2007-Feb-11 10:57 drh
- 2006-Mar-02 00:27 chorlya
- 2006-Feb-28 03:37 chorlya
- 2006-Feb-21 04:49 chorlya
- 2006-Feb-21 02:01 cpb
As a general rule, upgrading a version of CVSTrac is a simple matter of installing the new binary. Any changes to the underlying database schema will take effect when the database is next touched by the application.
When upgrading CVSTrac, it's strongly recommended that you back up the database. Copying it is usually quite adequate.
Documentation
Changes to the default wiki documentation are not automatically updated. This can be done manually by invoking:
cvstrac wikiinit <directory> <project>
After a wiki update, you may need to examine the default set of wiki pages since any local versions will be replaced by the new ones. You may, of course, diff the revisions and delete anything you don't like.
1.1.5 to 1.2+
Due to some changes in the schema, a fairly intensive query is run during this upgrade which may take several minutes. If done during a browser query, the browser may timeout. It's not a bad idea to force the change from the command-line using:
cvstrac update <directory> <project>
1.2.1+
As of [661], CVSTrac is being run against
SQLite version 3 rather than 2.
SQLite 3 will not directly handle SQLite 2 database files. In order to upgrade
the database to SQLite 3, ensure that the command-line tools sqlite
and
sqlite3
are both available and run:
mv <project>.db <project>_2.db sqlite <project>_2.db .dump | sqlite3 <project>.db
Note that the newly upgraded database will not work with older CVSTrac
binaries.
Also note that at this time CVSTrac won't run against SQLite 3.3.x versions.
You must use 3.2.8 or some
older version of SQLite3.