[rt-users] RTFM README Upgrade instruction confusion
Bill Davis
daviswj at comcast.net
Sat Oct 13 13:03:27 EDT 2007
Recently upgraded from RT 3.6.3/RTFM 2.1.40 to RT 3.6.5/RTFM 2.2.1 and
found the RTFM README instructions confusing. The instructions provided
seem to address a first time installation of RTFM or an upgrade from any
2.0.x version, neither of which applied to what I was doing. Ultimately
used the upgrade instructions:
"Upgrade instructions (From any 2.0.x release):
-----------------------------------------------------
1) perl Makefile.PL
2) perl -I/path/to/your/rt/lib sbin/migrate-2.0-to-2.1
3) Type "make install"
4) Type "ls etc/upgrade"; For each item in that directory whose name
is greater than your previously installed RTFM version, run:
/opt/rt3/sbin/rt-setup-database --action schema \
--datadir etc/upgrade/<version>
/opt/rt3/sbin/rt-setup-database --action acl \
--datadir etc/upgrade/<version>
/opt/rt3/sbin/rt-setup-database --action insert \
--datadir etc/upgrade/<version>
5) stop and start your web server"
... omitting step #2. In step #4 had to update the database for
"2.2.0RC2" though the commands listed in the instructions failed because
of no password for root at localhost. Adding a "--p" to the list of
options caused the (mysql) password to be prompted and allowed each
action to proceed, though each was accompanied with the following
advisory message:
"In order to create or update your RT database,Use of uninitialized
value in concatenation (.) or string at /opt/rt3/sbin/rt-setup-database
line 295.
Use of uninitialized value in concatenation (.) or string at
/opt/rt3/sbin/rt-setup-database line 295."
For what it's worth ...
Bill Davis
More information about the rt-users
mailing list