Issue Installing RTIR


#1

I am running RT on AWS - used the standard AMI image

RT works correctly

I downloaded and unpacked the install package for RTIR here:
/home/ec2-user/RT-IR-4.0.1

There is a Makefile already in the following directories:
/home/ec2-user
/home/ec2-user/rt
/home/ec2-user/RT-IR-4.0.1

typed make install

added RT’s etc/RT_SiteConfig.pm file: Plugin(‘RT::IR’);

Rebooted Server

typed “make initdb”

received the following error:

ERROR: Couldn’t load data from ‘etc/initialdata’:

ERROR:Please add RT::IR to your Plugins configuration before initializing the database. See README for more information. at etc/initialdata line 4.

Compilation failed in require at /opt/rt4/sbin/…/lib/RT/Handle.pm line 917.

Do you have the correct initialdata handler in RT_Config for this type of file?

…returned with error: 65280

make: *** [initdb] Error 2


#2

Inside of your RT repo (/opt/rt4?) you need to edit etc/RT_SiteConfig.pm and add the RTIR plugin line: Plugin('RT::IR'); restart you webserver and clear you mason cache. Then try to run the make initdb command.