Hi, After successfully upgrading the vintage RT, I am facing a new challenge: the vintage IR plugin. I inserted the line Set(@Plugins, 'RT::IR'); into RT_SiteConfig.pm and when I type make upgrade-database from the IR plugin install directory I get this:
-----BEGIN----- root@ubuntu:/w/install/new/rtir# make upgrade-database -----WHAT THE HECK IS THIS WARNING/ERROR PILE BELOW?----- Change of config option 'rtirname' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 21 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 3. at /opt/rt4/lib/RT/Config.pm line 1148. Change of config option 'MaxInlineBody' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 291 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt4/etc/RT_SiteConfig.pm line 361. at /opt/rt4/lib/RT/Config.pm line 1148. Change of config option 'OverdueAfter' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 300 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 9. at /opt/rt4/lib/RT/Config.pm line 1148. Change of config option 'whois' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 638 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 13. at /opt/rt4/lib/RT/Config.pm line 1148. /usr/bin/perl -Ilib -I/opt/rt4/local/lib -I/opt/rt4/lib /opt/rt4/sbin/rt-setup-database --action upgrade --dba rt_user --prompt-for-dba-password --package RT::IR Change of config option 'rtirname' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 21 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 3. at /opt/rt4/sbin/../lib/RT/Config.pm line 1148. Change of config option 'MaxInlineBody' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 291 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt4/etc/RT_SiteConfig.pm line 361. at /opt/rt4/sbin/../lib/RT/Config.pm line 1148. Change of config option 'OverdueAfter' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 300 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 9. at /opt/rt4/sbin/../lib/RT/Config.pm line 1148. Change of config option 'whois' at /opt/rt4/local/plugins/RT-IR/etc/RTIR_Config.pm line 638 has been ignored. It may be ok, but we want you to be aware. This option has been set earlier in /opt/rt3/etc/RTIR_Config.pm line 13. at /opt/rt4/sbin/../lib/RT/Config.pm line 1148. In order to create or update your RT database, this script needs to connect to your mysql instance on localhost (port '') as rt_user Please specify that user's database password below. If the user has no database password, just press return. Password: -----OK I TYPE IT IN----- Working with: Type: mysql Host: localhost Port: Name: rt4 User: rt_user DBA: rt_user Enter RT::IR version you're upgrading from: 1.0.5 -----I WANT TO UPGRADE THIS OLD ONE----- Going to apply following upgrades: * 1.1.1 * 1.1.3 * 1.9.0 * 2.1.0 * 2.1.1 * 2.1.3 * 2.3.0 * 2.3.9 * 2.5.1 * 2.6.2 * 2.9.0 * 3.0.0rc2 Enter RT::IR version if you want to stop upgrade at some point, or leave it blank if you want apply above upgrades: -----JUST PRESSED ENTER HERE----- IT'S VERY IMPORTANT TO BACK UP BEFORE THIS STEP Proceed [y/N]:y Processing 1.1.1 -----HERE COMES TROUBLE----- [1138] [Mon Jul 28 12:55:46 2014] [critical]: Can't locate Parse/BooleanLogic.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-IR/lib /opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, <STDIN> line 4. BEGIN failed--compilation aborted at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, <STDIN> line 4. Compilation failed in require at /opt/rt4/sbin/../lib/RT.pm line 734, <STDIN> line 4. (/opt/rt4/sbin/../lib/RT.pm:402) Can't locate Parse/BooleanLogic.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-IR/lib /opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, <STDIN> line 4. BEGIN failed--compilation aborted at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, <STDIN> line 4. Compilation failed in require at /opt/rt4/sbin/../lib/RT.pm line 734, <STDIN> line 4. ...returned with error: 65280 make: *** [upgrade-database] Error 2 -----END----- Interesting thing: first I forgot to insert that line into the config file (RT::IR thingy) and without that it ran until it reached 2.9.0! So I had 2.6.2 IR! Reaching 2.9.0 the upgrader came up with the error message seen above. Strange. Any help would be appreciated. Tamas GovCERT-Hungary -- RT Training - Boston, September 9-10 http://bestpractical.com/training
