Got a couple Perl warnings and errors while attempting to
upgrade a copy of my RT 3.8.7 schema to 4.0.0.
Ran rt-setup-database in this manner:
$INSTDIR/sbin/rt-setup-database --action upgrade --datadir
$TARBALL/etc/upgrade/
Got these errors in order of perceived severity:
-
RTFM-related errors
[Sun Jun 12 01:18:40 2011] [error]: You appear to be
upgrading from RTFM 2.0 - We don’t support upgrading
this old of an RTFM yet ($TARBALL/etc/upgrade//3.9.8/
content:12)
[Sun Jun 12 01:18:40 2011] [error]: We found RTFM tables in
your database. Checking for content. ($TARBALL/etc/
upgrade//3.9.8/content:15)
[Sun Jun 12 01:18:40 2011] [warning]: DBD::mysql::db
selectall_arrayref failed: Table ‘$DBNAME.FM_Articles’
doesn’t exist at $TARBALL/etc/upgrade//3.9.8/content
line 17. ($TARBALL/etc/upgrade//3.9.8/content:17)These concern me because I’ve never even had an RTFM
installation to my knowledge. Do these indicate a problem
with my converted 4.0.0 schema? -
Other, no-op-looking errors
Use of qw(…) as parentheses is deprecated at $INSTDIR/
sbin/…/lib/RT/Articles.pm line 586.
Use of qw(…) as parentheses is deprecated at $INSTDIR/
sbin/…/lib/RT/Articles.pm line 794.
[Sun Jun 12 01:18:06 2011] [warning]: Couldn’t set
SortOrder: That is already the current value ($TARBALL/
etc/upgrade//3.8.8/content:32)
[Sun Jun 12 01:18:16 2011] [warning]: Use of uninitialized
value in string eq at $INSTDIR/sbin/…/lib/RT/
Template.pm line 627, <> line 1. ($INSTDIR/sbin/…/lib/
RT/Template.pm:627)I assume that these are all rather harmless. Running Perl
5.14.0 if that’s of any value.
Complete rt-setup-database dialogue attached, with paths/
database connection details edited for clarity.
rt-setup-database-output.txt (3.12 KB)