[rt-users] installing rt on debian

2014-02-12 Thread norman

Hello.
I am new to linux and installing packages.
Is there a good step by step guide on how to set up rt 4.2.2 on debian?
I think i have done most of the install but always get stuck on the web 
server part of it.

I will be using debian 7 with mysql and perl version 1.96.
My web server will be apache 2
Also, is there a repository that always has the latest version?
The difault debian repositorys only have version 4.0.7
Any help is appreciated.

--
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] installing rt on debian

2014-02-12 Thread Paul Stead

Hi!

The testing branch currently has 4.0.18 - 
http://packages.qa.debian.org/r/request-tracker4.html

Nothing currently for 4.2.X

We use the fastcgi version of RT - here's a snippet from my confs

8
VirtualHost rt.mydomain.com:443
   ServerAdmin webmas...@rt.mydomain.commailto:webmas...@rt.mydomain.com
   DocumentRoot /usr/share/request-tracker4/html/
   ServerName rt.mydomain.com
Location /
   Order allow,deny
   Allow from all
   Options +ExecCGI
   AddHandler fastcgi-script fcgi
   /Location
   Include /etc/request-tracker4/apache2-fastcgi.conf
/VirtualHost
8

/etc/request-tracker4/apache2-fastcgi.conf is included in the Debian package 
install.

Paul

On 12/02/14 13:11, norman wrote:
Hello.
I am new to linux and installing packages.
Is there a good step by step guide on how to set up rt 4.2.2 on debian?
I think i have done most of the install but always get stuck on the web server 
part of it.
I will be using debian 7 with mysql and perl version 1.96.
My web server will be apache 2
Also, is there a repository that always has the latest version?
The difault debian repositorys only have version 4.0.7
Any help is appreciated.


--
Paul Stead
Systems Engineer, Zen Internet
T: 01706 902009
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

Re: [rt-users] installing rt on debian

2014-02-12 Thread Dominic Hargreaves
And that 4.0.18 is also on wheezy-backports. 4.0.19 and 4.2.x is still
to come - I have been delayed for various reasons but I'm hoping to get
them out within the month.

On Wed, Feb 12, 2014 at 01:34:45PM +, Paul Stead wrote:
 Hi!
 
 The testing branch currently has 4.0.18 - 
 http://packages.qa.debian.org/r/request-tracker4.html
 
 Nothing currently for 4.2.X
 
 We use the fastcgi version of RT - here's a snippet from my confs
 
 8
 VirtualHost rt.mydomain.com:443
ServerAdmin webmas...@rt.mydomain.commailto:webmas...@rt.mydomain.com
DocumentRoot /usr/share/request-tracker4/html/
ServerName rt.mydomain.com
 Location /
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fastcgi-script fcgi
/Location
Include /etc/request-tracker4/apache2-fastcgi.conf
 /VirtualHost
 8
 
 /etc/request-tracker4/apache2-fastcgi.conf is included in the Debian package 
 install.
 
 Paul
 
 On 12/02/14 13:11, norman wrote:
 Hello.
 I am new to linux and installing packages.
 Is there a good step by step guide on how to set up rt 4.2.2 on debian?
 I think i have done most of the install but always get stuck on the web 
 server part of it.
 I will be using debian 7 with mysql and perl version 1.96.
 My web server will be apache 2
 Also, is there a repository that always has the latest version?
 The difault debian repositorys only have version 4.0.7
 Any help is appreciated.
 
 
 --
 Paul Stead
 Systems Engineer, Zen Internet
 T: 01706 902009

 -- 
 RT Training London, March 19-20 and Dallas May 20-21
 http://bestpractical.com/training


-- 
Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford, 13 Banbury Road, Oxford, OX2 6NN


signature.asc
Description: Digital signature
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

[rt-users] User Created Scrip Won't Run On Create

2014-02-12 Thread Ethan Hohensee
I'm having some issues getting a scrip I wrote to run in RT 4.2.2. I am
attempting to populate some custom fields from XML in an email submitted
ticket but in the process of troubleshooting, I noticed that the scrip
itself was not being traversed when email tickets are being submitted. The
tickets are created and the autoreply goes out just fine, but my scrip with
the same On Create condition does not execute. These are the debug logs
showing the scrips that run On Create and the code for my custom Scrip,
which is number 16. 
*
Debug Logs:*
/Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-1915.105-...@example.com #105/703 - Scrip 7 On
Create Autoreply To Requestors
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-1915.105-...@example.com sent  To:
*
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-491.105-...@example.com #105/703 - Scrip 8 On
Create Notify Owner and AdminCcs
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-491.105-...@example.com No recipients found. Not
sending.
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-683.105-...@example.com #105/703 - Scrip 9 On
Create Notify Ccs
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-683.105-...@example.com No recipients found. Not
sending.
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-172.105-1...@example.com #105/703 - Scrip 10 On
Create Notify Other Recipients
Feb 11 16:16:30 vector RT: [22799]
rt-4.2.2-22799-1392153390-172.105-1...@example.com No recipients found.
Not sending.
Feb 11 16:16:30 vector RT: [22799] Ticket 105 created in queue 'DMCA' by
**/

*Scrip:*
Conditon: On Create
Action: User Defined
Template: Blank

User Defined Conditions and Results:
  Custom Conditon: empty
  Custom Action Preperation Code: /return 1;/
  Custom Action Commit Code:

/# Get the current transaction and ticket objects
my $transaction = $self-TransactionObj;
my $ticket = $self-TicketObj;

# Create the Custom Field and specify the name
my $cf_obj = RT::CustomField-new($RT::SystemUser);
my $cf_name = Case ID;

my $content = $transaction-Content;
my $cf_value = $content =~ /ID(.*)\/ID/;
RT::Logger-debug($cf_value);

#RT::Logger-debug($cf_obj-Name); 

$cf_obj-LoadByName(Name=$cf_name);
$ticket-AddCustomFieldValue(Field=$cf_obj, Value=$cf_value);
return 1;
/
 
I have tried to simply put return 1; in both the prep and commit code and
still haven't had any luck getting this scrip to run. I am not really
concerned with the parsing logic at this point, I would just like to get it
to trigger On Create. Here is the alias I am using to submit my tickets via
the local PostFix install:

/dmcanotices:|/opt/rt4/bin/rt-mailgate --queue DMCA --action correspond
--url https://192.168.160.xxx/

Any help anyone can provide would be greatly appreciated. I am entering day
3 of this issue, and I'm out of ideas.




--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/User-Created-Scrip-Won-t-Run-On-Create-tp56616.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Draft of messages

2014-02-12 Thread Kevin Falcone
On Tue, Feb 11, 2014 at 04:28:11PM -0800, charlyc...@yahoo.com.ar wrote:
 Do you know if there is any extension that allows you to save
 messages when replying or commenting a ticket like a draft where
 you can go back and forth an different tickets and send them when
 they are ready?

First hit for drafts on metacpan.org is
https://metacpan.org/search?q=drafts
RT::Extension::Drafts - The author is an active RT developer, I don't
know which versions it supports.

-kevin


pgpmCpTAlei6X.pgp
Description: PGP signature
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

Re: [rt-users] Seeing strange error with RT 4.2.2

2014-02-12 Thread Kevin Falcone
On Tue, Feb 11, 2014 at 04:58:42PM -1000, Mathew Snyder wrote:
I attempted to log into an instance of RT that I've been helping set up 
 and found that it was
throwing an internal server error.
The log has the following entry on repeat

Those are debug messages telling you that RT::Authen::ExternalAuth is
probably misconfigured.

The httpd log has been showing read data timeout for mod_fcgid.
When I am able to get the interface, I enter my credentials and the RT log 
 indicates a
successful login authenticating against LDAP. It fails to load RT at a 
 glance, though, again,
throwing the internal server error.
Can anyone shed some light on this for me?

Unfortunately, you need an error message, not the debug messages.
If you're getting read data timeouts from the fast cgi interface, try
running RT standalone or manually run the fcgi server to sort out your
error.

-kevin


pgpw66d1ReRmg.pgp
Description: PGP signature
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

[rt-users] [rt-announce] Best Practical's First RT Training of 2014- Featuring RT 4.2!

2014-02-12 Thread Talena Gandy
Greetings!

Our first training for 2014 will take place in London, England on March 19-20. 
As we like to keep class sizes relatively intimate, register soon or we may not 
be able to guarantee you a seat. If you can't make London, we will have 
upcoming trainings this year in Dallas, Texas and Boston, Massachusetts. Please 
let us know at train...@bestpractical.com if you're interested in these other 
trainings, or if you have a suggestion for where we should hold one.

This training will introduce you to the new features in RT 4.2 as part of a 
comprehensive overview of RT. Whether you're an old hand at RT or a recent 
convert, you'll have a good understanding of all of RT's features and 
functionality by the end of the session.

The first day starts off with a tour of RT's web interface and continues with a 
detailed exploration and explanation of RT's functionality, aimed at 
non-programmer RT administrators. We'll walk through setting up a common 
helpdesk configuration, from rights management, constructing workflows and 
notifications, and the basics of Lifecycles.

The second day of training picks up with server-side RT administration and 
dives into what you need to safely customize and extend RT. We'll cover 
upgrading and deploying RT, database tuning, advanced Lifecycle configurations, 
writing tools with RT's API, building an extension, and demonstrate how to 
extensibly alter the web UI and internal functions.

It goes without saying that you'll get the most out of training if you attend 
both days of the course, but we've designed the material so that you can step 
out after the first day with a dramatically improved understanding of how to 
use RT or show up on the second day and get quickly up to speed on how to make 
RT do your bidding.

For both days, the cost is USD $1,495. Single days are USD $995. Each class 
includes training materials, a continental breakfast, and snacks (lunch is not 
provided).

If you'd like to pay with Visa, MasterCard or Discover, please visit Best 
Practical's online store. 
Unfortunately we are unable to accept American Express or PayPal. If you'd 
prefer to pay with a purchase order, please email us at  
train...@bestpractical.com. Be sure to include:

If you want to attend both days or a single day
Full names and email addresses of attendees
Please contact us at train...@bestpractical.com for discounted pricing if you 
are from an academic institution or if you'd like to send more than 3 people.___
rt-announce mailing list
rt-annou...@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

[rt-users] How to change the display of Date Time Custom field in Email

2014-02-12 Thread j.hubbard
Hi, I have searched around for a while now and cannot find an answer so far.

I have a DateTime Custom field called Effective.  The value of this field
is sent out in emails on ticket creation.  

So far I have changed settings in RT_SiteConfig for $DateTimeFormat and
$DateDayBeforeMonth but those don't affect the output in emails at all.

The output I see looks like '-mm-dd hr:min:sec'.  I want it in
'mm-dd-yyy hr:min:sec'.

Below is my template followed by an example email I receive.  Any help on
how to get the template to change the way the date is sent in email would be
very much appreciated.  Everything else in the template is working as
needed.

Thank you

--begin template--

Content-Type: text/html
To: exam...@example.com
Subject: {my $s=($Transaction-Subject||$Ticket-Subject||); $s =~
s/\[Comment\]\s*//g; $s =~ s/^Re:\s*//i; $s;} Alert -
{$Ticket-FirstCustomFieldValue('Site');}
RT-Attach-Message: yes

HTML
body


*New Termination Notification.*br
br
{$Transaction-Content() eq 'This transaction appears to have no content' ?
'' :
$Transaction-Content();
} 
br


*Employee:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Employee');}br

*Effective:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Effective');}br

*Term
Type:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Term
Type');}br


*Role:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Role');}br

*Role Detail:*nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Role
Detail');}br

*Site:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;{$Ticket-FirstCustomFieldValue('Site');}br

*Requestors:*nbsp;nbsp;nbsp; {$Ticket-RequestorAddresses}br

*Ticket:*nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
{RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id}br


br




br


/body
/HTML

--end template--


--begin email example--

New Termination Notification.

testing 123 
Employee:   Joe Somebody
Effective:2014-02-19 15:35:00
Term Type:  Type 1
Role:  Other
Role Detail: Test
Site:   New Mexico
Requestors:some...@example.com
Ticket:http://test-rt.company.local/Ticket/Display.html?id=9733

--end email example--




--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/How-to-change-the-display-of-Date-Time-Custom-field-in-Email-tp56622.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training