2.0->3.0 migration help, script reports error

Hello

I’m trying to move my rt2.0.9 installation to rt3.0.0. It appears the way
to do it is use the utility, and get a dump file from your 2.0 system, then
copy the dump file to the 3.0 system, and then from the dump to your 3.0
database.

I tried to run the upgrade utility to create a dump file on my old PC but
there were some module compatibility issues…

[postgres@admin upgrade]$ ./rt-2.0-to-dumpfile
“config” is not defined in %Getopt::Long::EXPORT_TAGS at
/usr/lib/perl5/5.6.0/Exporter/Heavy.pm line 75
Exporter::heavy_export(‘Getopt::Long’, ‘main’, ‘:config’,
‘pass_through’) called at /usr/lib/perl5/5.6.0/Exporter.pm line 45
Exporter::import(undef, ‘Getopt::Long’, ‘:config’,
‘pass_through’) called at ./rt-2.0-to-dumpfile line 23
main::BEGIN() called at /usr/lib/perl5/5.6.0/Getopt/Long.pm line 23
require 0 called at /usr/lib/perl5/5.6.0/Getopt/Long.pm line 23
“pass_through” is not exported by the Getopt::Long module at
./rt-2.0-to-dumpfile line 23
Can’t continue after import errors at ./rt-2.0-to-dumpfile line 23
BEGIN failed–compilation aborted at ./rt-2.0-to-dumpfile line 23.
[postgres@admin upgrade]$

I also tried moving the rt2 system over (by dumping the db, which restores
fine, and tarring the rt2 directory) to the same PC as the rt3 system, and
almost had it but apache won’t start because of this undeclared global in
webmux.pl (which doesn’t cause a problem on the old system).

[root@rt /]# /usr/local/apache/bin/apachectl configtest
Variable “$m” is not imported at /usr/local/sti/rt2/bin/webmux.pl line 94.
[Thu Apr 10 16:40:31 2003] [error] Global symbol “$m” requires explicit
package name at /usr/local/sti/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 6) line 1.

Syntax error on line 998 of /usr/local/apache/conf/httpd.conf:
Global symbol “$m” requires explicit package name at
/usr/local/sti/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 6) line 1.

[root@rt /]#

Anyone have a good roadmap of how to migrate from 2.0.9 to 3.0.0?

Thanks
Nick
Nicolae P. Costescu, Ph.D. / Senior Developer
Stronghold Technologies
46040 Center Oak Plaza, Suite 160 / Sterling, Va 20166
Tel: 571-434-1472 / Fax: 571-434-1478

This one time, at band camp, Nicolae P. Costescu wrote:

[postgres@admin upgrade]$ ./rt-2.0-to-dumpfile
“config” is not defined in %Getopt::Long::EXPORT_TAGS at

You need to upgrade Getopt::Long on the rt2 machine. I had this error when
dumping my rt2 database from a red hat 7.0 machine. I just used the CPAN
shell to update the module and the exporter ran fine.

jaq@spacepants.org http://spacepants.org/jaq.gpg