I used your forum for a lot issues, it's great. But now there is a problem I can't find here.
When there is a new ticket created, I get an error mail.
Everything seems to work fine, I mean tickets get created and notifications are sent, but I learned a thing: never ignore warnings.
I think the main points in there are: "Message: Column 'owner_id' cannot be null," and " Message: No such TicketID".
If any body has an idea, I would be so happy,
Thanks
Update: there was a bug two years ago. And I used a generic agent to remove some testing tickets. Still no solution.
Edit: Only new tickets trigger this error.
https://dev.ib.pl/ib/otrs/commit/45e528 ... 8fbd935394
Code: Select all
OTRS Scheduler Daemon Cron: MailAccountFetch
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-73 Perl: 5.20.2 OS: linux Time: Fri Jan 15 13:40:09 2016
Message: No such TicketID (102)!
Traceback (16146):
Module: Kernel::System::Ticket::TicketGet Line: 1152
Module: Kernel::System::Ticket::HistoryAdd Line: 5550
Module: Kernel::System::Ticket::TicketCreate Line: 474
Module: Kernel::System::PostMaster::NewTicket::Run Line: 229
Module: Kernel::System::PostMaster::Run Line: 372
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 222
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 436
Module: Kernel::System::Console::BaseCommand::Execute Line: 430
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-73 Perl: 5.20.2 OS: linux Time: Fri Jan 15 13:40:09 2016
Message: No such TicketID (102)!
Traceback (16146):
Module: Kernel::System::Ticket::TicketGet Line: 1152
Module: Kernel::System::Ticket::HistoryAdd Line: 5559
Module: Kernel::System::Ticket::TicketCreate Line: 474
Module: Kernel::System::PostMaster::NewTicket::Run Line: 229
Module: Kernel::System::PostMaster::Run Line: 372
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 222
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 436
Module: Kernel::System::Console::BaseCommand::Execute Line: 430
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-73 Perl: 5.20.2 OS: linux Time: Fri Jan 15 13:40:09 2016
Message: No such TicketID (102)!
Traceback (16146):
Module: Kernel::System::Ticket::TicketGet Line: 1152
Module: Kernel::System::Ticket::HistoryAdd Line: 5568
Module: Kernel::System::Ticket::TicketCreate Line: 474
Module: Kernel::System::PostMaster::NewTicket::Run Line: 229
Module: Kernel::System::PostMaster::Run Line: 372
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 222
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 436
Module: Kernel::System::Console::BaseCommand::Execute Line: 430
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-73 Perl: 5.20.2 OS: linux Time: Fri Jan 15 13:40:09 2016
Message: No such TicketID (102)!
Traceback (16146):
Module: Kernel::System::Ticket::TicketGet Line: 1152
Module: Kernel::System::Ticket::HistoryAdd Line: 5577
Module: Kernel::System::Ticket::TicketCreate Line: 474
Module: Kernel::System::PostMaster::NewTicket::Run Line: 229
Module: Kernel::System::PostMaster::Run Line: 372
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 222
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 436
Module: Kernel::System::Console::BaseCommand::Execute Line: 430
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138
[Fri Jan 15 13:40:09 2016] otrs.Daemon.pl: DBD::mysql::db do failed: Column 'owner_id' cannot be null at /opt/otrs/Kernel/System/DB.pm line 449.
ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-73 Perl: 5.20.2 OS: linux Time: Fri Jan 15 13:40:09 2016
Message: Column 'owner_id' cannot be null, SQL: 'INSERT INTO ticket_history (name, history_type_id, ticket_id, article_id, queue_id, owner_id, priority_id, state_id, type_id, create_time, create_by, change_time, change_by) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?,
'2016-01-15 13:40:09'
, ?,
'2016-01-15 13:40:09'
, ?)'
Traceback (16146):
Module: Kernel::System::Ticket::HistoryAdd Line: 5595
Module: Kernel::System::Ticket::TicketCreate Line: 474
Module: Kernel::System::PostMaster::NewTicket::Run Line: 229
Module: Kernel::System::PostMaster::Run Line: 372
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 222
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch::Run Line: 94
Module: (eval) Line: 436
Module: Kernel::System::Console::BaseCommand::Execute Line: 430
Module: (eval) Line: 147
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 131
Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
Module: (eval) Line: 316
Module: main::Start Line: 316
Module: /opt/otrs//bin/otrs.Daemon.pl Line: 138