Error on OTRS 6 after migration on FulltextIndexRebuildWorker

Jesús Zuleta <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <CAE+UB0UcEOuHENtSnRithMXJYEcCE2TbXaMjfLUQXkDtMT6DVw@mail.gmail.com>
After the migration to OTRS 6 I see constantly the error of the Worker that
rebuilds the Index.

Indicates that you can not build the DateTime object but I do not know the
reason for it


The command I am using to manually execute the Worker is the following:

bin/otrs.Console.pl Maint::Ticket::FulltextIndexRebuildWorker --force-pid
--limit 700000

And error is:

ERROR: OTRS-otrs.Console.pl-Maint::Ticket::FulltextIndexRebuildWorker-01
Perl: 5.16.3 OS: linux Time: Tue Feb 27 15:10:41 2018

Message: Error creating DateTime object.

Traceback (9498):
   Module: Kernel::System::DateTime::new Line: 154
   Module: Kernel::System::ObjectManager::_ObjectBuild Line: 306
   Module: Kernel::System::ObjectManager::Create Line: 241
   Module: Kernel::System::Ticket::TicketGet Line: 1339
   Module: Kernel::System::Ticket::TicketArchiveFlagGet Line: 4040
   Module:
Kernel::System::Console::Command::Maint::Ticket::FulltextIndexRebuildWorker::ArticleIndexRebuild
Line: 168
   Module:
Kernel::System::Console::Command::Maint::Ticket::FulltextIndexRebuildWorker::Run
Line: 103
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: bin/otrs.Console.pl Line: 38

Error: Can't call method "Delta" on an undefined value at
/opt/otrs/Kernel/System/Ticket.pm line 1346.


The error appears when I execute it manually as waiting for the
CronSchulder to execute it. As a major background run a FullTextIndex
rebuild and the process is stuck in 74.8%.

bin/otrs.Console.pl Maint::Ticket::FulltextIndex --rebuild

bin/otrs.Console.pl  Maint::Ticket::FulltextIndex --status
Indexed Articles: 74.8% (493212/659331)

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.