aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-11-04 12:31:34 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-11-04 12:31:34 +0000
commita0be27c7cdc34d960546b0b50a2c3fad6231fc3b (patch)
tree627b17afec8a926e2a55097e97b8ad2cc5683a34 /UPDATING
parent742becd0dfb819a10a20e123d4506aaec9fcee0b (diff)
downloadports-a0be27c7cdc34d960546b0b50a2c3fad6231fc3b.tar.gz
ports-a0be27c7cdc34d960546b0b50a2c3fad6231fc3b.zip
- Add a note about www/trac update to 0.9
PR: ports/88453 Submitted by: Rui Lopes <rgl@ruilopes.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=147210
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING25
1 files changed, 25 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index ba71691ad139..d740f985b634 100644
--- a/UPDATING
+++ b/UPDATING
@@ -6,6 +6,31 @@ You should get into the habit of checking this file for changes each
time you update your ports collection, before attempting any port
upgrades.
+20051104:
+ AFFECTS: users of www/trac
+ AUTHOR: rui@ruilopes.com
+
+ The Trac database schema was changed between versions 0.8 and 0.9. This
+ port also started to use PySQLite 2 (SQLite 3). Existing environments
+ must be upgraded before they can be used with Trac 0.9.
+
+ The canonical update procedure for existing trac environments is:
+
+ $ export TRAC_ENV=/path/to/trac/env
+ $ # backup existing trac environment
+ $ cp -Rp $TRAC_ENV $TRAC_ENV.backup # backup existing trac env
+ $ # convert database from sqlite 2 to sqlite 3 format
+ $ mv $TRAC_ENV/db/trac.db $TRAC_ENV/db/trac2.db
+ $ sqlite $TRAC_ENV/db/trac2.db .dump | sqlite3 $TRAC_ENV/db/trac.db
+ $ # upgrade trac environment
+ $ /usr/local/bin/trac-admin $TRAC_ENV upgrade
+ $ /usr/local/bin/trac-admin $TRAC_ENV resync
+ $ /usr/local/bin/trac-admin $TRAC_ENV wiki upgrade
+
+ Consult the full upgrade instructions at:
+
+ http://projects.edgewall.com/trac/wiki/TracUpgrade
+
20051013:
AFFECTS: users of www/mediawiki
AUTHOR: garga@FreeBSD.org