RTIR 5.0.6 error during installation

Hi,

I cant install RTIR on my RT instance, i got a load of error during the “make initdb”

[641857] [Thu May 23 13:59:53 2024] [error]: incidents is not a valid lifecycle (/opt/rt5/sbin/../lib/RT/Handle.pm:1107)
[641857] [Thu May 23 13:59:53 2024] [error]: incident_reports is not a valid lifecycle (/opt/rt5/sbin/../lib/RT/Handle.pm:1107)
[641857] [Thu May 23 13:59:53 2024] [error]: investigations is not a valid lifecycle (/opt/rt5/sbin/../lib/RT/Handle.pm:1107)
[641857] [Thu May 23 13:59:53 2024] [error]: countermeasures is not a valid lifecycle (/opt/rt5/sbin/../lib/RT/Handle.pm:1107)
[641857] [Thu May 23 13:59:53 2024] [error]: Invalid value for Name (/opt/rt5/sbin/../lib/RT/Handle.pm:1138)
[641857] [Thu May 23 13:59:53 2024] [error]: Invalid value for Name (/opt/rt5/sbin/../lib/RT/Handle.pm:1138)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [error]: Name in use (/opt/rt5/sbin/../lib/RT/Handle.pm:1291)
[641857] [Thu May 23 13:59:53 2024] [warning]: Custom field RTIR Constituency(#22) is already applied globally, skipping (/opt/rt5/sbin/../lib/RT/Handle.pm:1364)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Incidents (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Incident Reports (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Investigations (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Countermeasures (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Incidents (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Incident Reports (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)
[641857] [Thu May 23 13:59:53 2024] [warning]: Could not find RT::Queue Investigations (/opt/rt5/sbin/../lib/RT/Handle.pm:1382)

I have check my database with the tool rt-validator. It detect nothing
/opt/rt5/sbin/rt-validator --check --resolve

On another server i have try a fresh install and everything work fine.

I have try a fresh install (without any plugin or customization) but with my database and i got the same errors.

I thing something is broken with the content of my database. Any insight?

I can’t reproduce your errors, but it’s possible your issue is related to a bug we found related to loading lifecycle configurations from files. Did your system already have RTIR, so you are upgrading and it’s not a fresh installation?

We’re working on a fix on this branch in github. If you want to test it, you can get a patch and install it in RT.

$ wget https://github.com/bestpractical/rt/compare/stable...9904d59b78.patch
$ patch -p1 < stable...9904d59b78.patch

That’s running in the RT directory, like /opt/rt5. Your patch command might be a little different if running from somewhere else.

Hi, thanks for your answer. I’m out of work for a week, i’ll will test the patch asap.

Hi,

Sorry for the late answer.

On my test environnement, i have upgraded my RT 5.0.6 installation and database to RT 5.0.7 beta 1. Then i’ve installed RT-IR 5.0.6 with success.

I have no more errors during installation.

I have try to create, modify, delete lifecycle, and everything work fine at first sight. But i dont play too much with them usually.

Thank to all the bestpractical team for your amazing works.

Thanks for the follow-up, glad it’s working!