IR upgrade fails

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, line 4.
BEGIN failed–compilation aborted at
/opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, line 4.
Compilation failed in require at /opt/rt4/sbin/…/lib/RT.pm line 734,
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, line 4.
BEGIN failed–compilation aborted at
/opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 77, line 4.
Compilation failed in require at /opt/rt4/sbin/…/lib/RT.pm line 734,
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

[1138] [Mon Jul 28 12:55:46 2014] [critical]: Can’t locate
Parse/BooleanLogic.pm in @INC

That says you didn’t install RTIR’s dependencies.

  • Alex

So what should I do? I am not a great RT/RTIR scientist but I do my best.

Tamas

on 2014.07.29. 21:34, Alex Vandiver wrote:> On 07/28/2014 09:10 AM, “Tam�s, Sz�p” wrote:

[1138] [Mon Jul 28 12:55:46 2014] [critical]: Can’t locate
Parse/BooleanLogic.pm in @INC

That says you didn’t install RTIR’s dependencies.

  • Alex

So what should I do? I am not a great RT/RTIR scientist but I do my best.

You should follow the install instructions, namely step 3 of
http://bestpractical.com/docs/rtir/latest/README.html This will likely
require running “cpan Parse::BooleanLogic”, but the correct method of
installing a local perl module may vary.

  • Alex

Thank you Alex, that was the missing part (and Hook::LexWrap). Now I
have IR 3.0.0rc2. It is time to test the whole system.

Tamas

on 2014.07.30. 17:01, Alex Vandiver wrote:> On 07/30/2014 02:12 AM, “Tam�s, Sz�p” wrote:

So what should I do? I am not a great RT/RTIR scientist but I do my best.

You should follow the install instructions, namely step 3 of
http://bestpractical.com/docs/rtir/latest/README.html This will likely
require running “cpan Parse::BooleanLogic”, but the correct method of
installing a local perl module may vary.

  • Alex

Thank you Alex, that was the missing part (and Hook::LexWrap). Now I
have IR 3.0.0rc2. It is time to test the whole system.

The latest release of RTIR is 3.0.2, which fixes a number of bugs in
3.0.0rc2

-kevin

Kevin,

Have the same issue as you except i have all dependencies installed. Have you upgraded to RTIR 4.0.0 yet? I run RT 4.4.1 and RTIR 4.0.0. BooleanLogic a nd Hook::LexWrap are installed but still get the error
[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 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 134.
BEGIN failed–compilation aborted at /opt/rt4/local/plugins/RT-IR/lib/RT/IR.pm line 134.
Compilation failed in require at /opt/rt4/sbin/…/lib/RT.pm line 751. (/opt/rt4/sbin/…/lib/RT.pm:390)