[rt-users] Upgrade from 4.0.0 to 4.0.7 - Mailgate broken

Damian Hess dhess at newsroomsolutions.com
Tue Oct 9 09:15:10 EDT 2012


Hi,



Upgraded from a working RT  4.0.0 installation to 4.0.7.  E-mail processing
w/ rt-mailgate works 30% of the time.  I’ve been through the install and
upgrade docs and I don’t see a step that I have missed.  I’ve run the
upgrade utility against the database and no errors were reported.



Here is the output of a working call to rt-mailgate which successfully
generates a ticket:



cat /tmp/test | /var/www/rt/bin/rt-mailgate --debug --queue Support
--action correspond --url http://rt



/var/www/rt/bin/rt-mailgate: temp file is '/tmp/VyNUuzDC71/yMNeSbTNLG'

/var/www/rt/bin/rt-mailgate: connecting to
http://rt/REST/1.0/NoAuth/mail-gateway

okTicket: 105913Queue: Owner: NobodyStatus: Subject: Requestor:



However, at other times I run the command and mailgate will die at either
User.pm or Principal.pm:



cat /tmp/test | /var/www/rt/bin/rt-mailgate --debug --queue Support
--action correspond --url http://rt

/var/www/rt/bin/rt-mailgate: temp file is '/tmp/kJGZbU3Fpg/CL0uaMl5Cq'

/var/www/rt/bin/rt-mailgate: connecting to
http://rt/REST/1.0/NoAuth/mail-gateway

Not a CODE reference at /var/www/rt/sbin/../lib/RT/User.pm line 1112.



Stack:

  [/var/www/rt/sbin/../lib/RT/User.pm:1112]

  [/var/www/rt/sbin/../lib/RT/User.pm:1206]

  [/var/www/rt/sbin/../lib/RT/Ticket.pm:284]

  [/var/www/rt/sbin/../lib/RT/Interface/Email.pm:1530]

  [/var/www/rt/share/html/REST/1.0/NoAuth/mail-gateway:61]



RT server error.



The RT server which handled your email did not behave as expected. It

said:



Not a CODE reference at /var/www/rt/sbin/../lib/RT/User.pm line 1112.



Stack:

  [/var/www/rt/sbin/../lib/RT/User.pm:1112]

  [/var/www/rt/sbin/../lib/RT/User.pm:1206]

  [/var/www/rt/sbin/../lib/RT/Ticket.pm:284]

  [/var/www/rt/sbin/../lib/RT/Interface/Email.pm:1530]

  [/var/www/rt/share/html/REST/1.0/NoAuth/mail-gateway:61]



And here it dies at Principal.pm:



cat /tmp/test | /var/www/rt/bin/rt-mailgate --queue Support --action
correspond --url http://rt

RT server error.



The RT server which handled your email did not behave as expected. It

said:



DBD::mysql::db selectcol_arrayref failed: MySQL server has gone away at
/var/www/rt/sbin/../lib/RT/Principal.pm line 621.



Stack:

  [/var/www/rt/sbin/../lib/RT/Principal.pm:621]

  [/var/www/rt/sbin/../lib/RT/Principal.pm:531]

  [/var/www/rt/sbin/../lib/RT/Principal.pm:447]

  [/var/www/rt/sbin/../lib/RT/Principal.pm:330]

  [/var/www/rt/sbin/../lib/RT/User.pm:1206]

  [/var/www/rt/sbin/../lib/RT/Queue.pm:1289]

  [/var/www/rt/sbin/../lib/RT/Queue.pm:1245]

  [/var/www/rt/sbin/../lib/RT/Queue.pm:1223]

  [/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm:423]

  [/var/www/rt/share/html/REST/1.0/NoAuth/mail-gateway:66]



Any thoughts?



Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121009/cb4bc114/attachment.htm>


More information about the rt-users mailing list