RT::Extension::Announce post install question

Hi,

I am running RT 4.2.10. I just used cpan to install RT::Extension::Announce and I looked at the resulting install messages. I see the line where is says to run “make initdb” but can’t tell if the CPAN make did that or if I still need to. I see in the docs that running the initdb step more than once can be a bad thing. How can I tell if initdb has already been run?

Cheers

Hi,

I am running RT 4.2.10. I just used cpan to install RT::Extension::Announce and I looked at the resulting install messages. I see the line where is says to run “make initdb” but can’t tell if the CPAN make did that or if I still need to. I see in the docs that running the initdb step more than once can be a bad thing. How can I tell if initdb has already been run?

I would check the Makefile to see what initdb actually does and then check the database to see if it was done.

Landon Stewart : lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932

signature.asc (203 Bytes)

I could be wrong but it looks like it adds a queue called “RTAnnounce” and then a Custom Field for that queue called ‘Announcement Groups’.

Does this mysql query return an record from the Queues table?

SELECT * FROM Queues WHERE Name = ‘RTAnnounce’;

Landon Stewart : lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932> On Apr 8, 2015, at 11:48 AM, Karres, Dean karres@illinois.edu wrote:

Good idea!. I did that, the Makefile lines are interesting but obscure. After running the initdb I saw no obvious changes to the DB structure. I suspect that I’d have to know exactly what changes it was likely to make… again obscure

From: Landon Stewart [mailto:lstewart@iweb.com]
Sent: Wednesday, April 08, 2015 1:20 PM
To: Karres, Dean
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT::Extension::Announce post install question

On Apr 8, 2015, at 8:36 AM, Karres, Dean <karres@illinois.edu mailto:karres@illinois.edu> wrote:

Hi,

I am running RT 4.2.10. I just used cpan to install RT::Extension::Announce and I looked at the resulting install messages. I see the line where is says to run “make initdb” but can’t tell if the CPAN make did that or if I still need to. I see in the docs that running the initdb step more than once can be a bad thing. How can I tell if initdb has already been run?

I would check the Makefile to see what initdb actually does and then check the database to see if it was done.

Landon Stewart : lstewart@iweb.com mailto:lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com http://iweb.com/ : +1 (888) 909-4932

signature.asc (203 Bytes)

Hi,

I am running RT 4.2.10. I just used cpan to install
RT::Extension::Announce and I looked at the resulting install messages.

Installing using the cpan or cpanm command-line clients will never run
the “make initdb” step. The new documentation (to be included in
4.2.11, the first rc of which should be out within a week) for
installing plugins calls this out:

  • Alex