summaryrefslogtreecommitdiff
blob: 3e743b5e294b5f14674b94e04b0e0f43396df275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upgrade Instructions
====================

If you are upgrading from a previous Trac version, please follow the
instructions here:

	http://projects.edgewall.com/trac/wiki/TracUpgrade

Trac 0.9.x now uses sqlite-3 instead of sqlite-2. If you were using Trac 0.8.x or below,
you have to upgrade your database files or else you won't be able to use Trac. You can
issue the following commands, for each environment you have:

	mv /var/lib/trac/<project-name>/db/trac.db /var/lib/trac/<project-name>/db/trac2.db
	sqlite /var/lib/trac/<project-name>/db/trac2.db .dump | sqlite3 /var/lib/trac/<project-name>/db/trac.db
	trac-admin /var/lib/trac/<project-name> upgrade
	trac-admin /var/lib/trac/<project-name> resync
	trac-admin /var/lib/trac/<project-name> wiki upgrade

And review the trac.ini configuration file.