diff options
Diffstat (limited to 'devel/rt3/MESSAGE')
-rw-r--r-- | devel/rt3/MESSAGE | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/devel/rt3/MESSAGE b/devel/rt3/MESSAGE index 95f6d374422..d60edc2692a 100644 --- a/devel/rt3/MESSAGE +++ b/devel/rt3/MESSAGE @@ -1,5 +1,5 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2004/11/03 23:34:05 cube Exp $ +$NetBSD: MESSAGE,v 1.3 2006/05/01 09:38:08 cube Exp $ You must configure RT by editing ${PKG_SYSCONFDIR}/RT_SiteConfig.pm. @@ -12,5 +12,23 @@ as a user in the ${RT_GROUP} group or as superuser. In the previous command-line, 'dbadmin' stands for the database administrator's username, e.g. 'root' for MySQL. +To upgrade the RT database from an older version, look in +${PREFIX}/share/rt3/etc/upgrade, and for each version newer than the one +previously used, do the following: + + ${PREFIX}/sbin/rt-setup-database --action schema \ + --dba dbadmin --prompt-for-dba-password \ + --datadir ${RTSHAREDIR}/etc/upgrade/<version> + ${PREFIX}/sbin/rt-setup-database --action acl \ + --dba dbadmin --prompt-for-dba-password \ + --datadir ${RTSHAREDIR}/etc/upgrade/<version> + ${PREFIX}/sbin/rt-setup-database --action insert \ + --dba dbadmin --prompt-for-dba-password \ + --datadir ${RTSHAREDIR}/etc/upgrade/<version> + +You might also want to clear the Mason cache: + + rm -Rf ${RTVARDIR}/mason_data/obj + See also the manual on ${HOMEPAGE}docs.html =========================================================================== |