PendinCheck Fail

Moderator: crythias

Post Reply
lis9
Znuny newbie
Posts: 55
Joined: 13 Apr 2017, 11:27
Znuny Version: 6.5.4
Real Name: Daniel
Company: Komputronik S.A.

PendinCheck Fail

Post by lis9 »

Hello!

A would like to ask for Your opinions about this error. Daemon job PendingCheck returns error:

ERROR: OTRS-otrs.Console.pl-Maint::Ticket::PendingCheck-70 Perl: 5.26.3 OS: linux Time: Tue Jan 3 15:44:42 2023

Message: Need CustomerID!

Traceback (3972410):
Module: Kernel::System::CustomerCompany::CustomerCompanyGet Line: 176
Module: Kernel::System::CustomerUser::CustomerUserDataGet Line: 868
Module: Kernel::System::TemplateGenerator::_Replace Line: 1235
Module: Kernel::System::TemplateGenerator::NotificationEvent Line: 1119
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 199
Module: Kernel::System::EventHandler::EventHandler Line: 224
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 264
Module: Kernel::System::Console::Command::Maint::Ticket::PendingCheck::Run Line: 165
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37

I've checked every pending ticket in system, and any ticket has proper customerID. Does anybody has any idea how to identify the problem tickets?

Best Regards,
Daniel Lisiecki
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: PendinCheck Fail

Post by skullz »

try running pending command check manually first..

Code: Select all

su -c "bin/otrs.Console.pl Maint::Ticket::PendingCheck" -s /bin/bash otrs
lis9
Znuny newbie
Posts: 55
Joined: 13 Apr 2017, 11:27
Znuny Version: 6.5.4
Real Name: Daniel
Company: Komputronik S.A.

Re: PendinCheck Fail

Post by lis9 »

skullz wrote: 04 Jan 2023, 05:58 try running pending command check manually first..

Code: Select all

su -c "bin/otrs.Console.pl Maint::Ticket::PendingCheck" -s /bin/bash otrs
The result is the same, as in the first post:
ERROR: OTRS-otrs.Console.pl-Maint::Ticket::PendingCheck-70 Perl: 5.26.3 OS: linux Time: Wed Jan 4 12:25:53 2023

Message: Need CustomerID!

Traceback (4104744):
Module: Kernel::System::CustomerCompany::CustomerCompanyGet Line: 176
Module: Kernel::System::CustomerUser::CustomerUserDataGet Line: 868
Module: Kernel::System::TemplateGenerator::_Replace Line: 1235
Module: Kernel::System::TemplateGenerator::NotificationEvent Line: 1119
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 199
Module: Kernel::System::EventHandler::EventHandler Line: 224
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 264
Module: Kernel::System::Console::Command::Maint::Ticket::PendingCheck::Run Line: 165
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: /opt/otrs/bin/otrs.Console.pl Line: 37

[FOUR TIMES]

on the other hand, the sql query: select * from ticket where customer_id is null and ticket_state_id between 6 and 8; returns no rows.

Daniel Lisiecki
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: PendinCheck Fail

Post by skullz »

Then, I would check the ticket notification..
Receiver / ticket tag
Post Reply