[SOLVED]6.0.1 Problem with FulltextIndexRebuildWorker

Moderator: crythias

Post Reply
osaang40
OTRS newbie
Posts: 2
Joined: 24 Nov 2017, 18:09
OTRS Version?: OTRS6

[SOLVED]6.0.1 Problem with FulltextIndexRebuildWorker

Post by osaang40 » 27 Nov 2017, 10:19

Hi all,
after migration from 5 to 6 i got every one minute this erron in the system log event:

Mon Nov 27 09:01:05 2017 error OTRS-otrs.Console.pl-Maint::Ticket::FulltextIndexRebuildWorker-14
There was an error executing Execute() in Kernel::System::Console::Command::Maint::Ticket::FulltextIndexRebuildWorker: Error: Active indexing process already running! Skipping...

Everything seems to be working fine except messages indexing.

How to resolve the problem?

it seems that another process is active, but i can't find it....
if i try to stop Daemon.pl the error goes away

Thanks in advance
Last edited by osaang40 on 28 Nov 2017, 10:00, edited 1 time in total.

osaang40
OTRS newbie
Posts: 2
Joined: 24 Nov 2017, 18:09
OTRS Version?: OTRS6

Re: 6.0.1 Problem with FulltextIndexRebuildWorker

Post by osaang40 » 28 Nov 2017, 09:58

As otrs user i ran this command:

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

and the problem goes away!!! :D :D :D :D :D :D :D :D

Rebuild the article search index for needed articles.
Usage:
otrs.Console.pl Maint::Ticket::FulltextIndexRebuildWorker [--children ...] [--limit ...] [--force-pid]

Options:
[--children ...] - Specify the number of child processes to be used for indexing (default: 4, maximum: 20).
[--limit ...] - Maximum number of ArticleIDs to process (default: 20000).
[--force-pid] - Start even if another process is still registered in the database.
[--help] - Display help for this command.
[--no-ansi] - Do not perform ANSI terminal output coloring.
[--quiet] - Suppress informative output, only retain error messages.

Maybe i can help someone.

Have a nice day.

ERPL
OTRS newbie
Posts: 4
Joined: 23 Apr 2018, 16:05
OTRS Version?: 6.06.00
Real Name: Andrea Pedinotti
Company: Erp Logic

Re: [SOLVED]6.0.1 Problem with FulltextIndexRebuildWorker

Post by ERPL » 27 Apr 2018, 12:32

Dear osaang40, thank you for yor contribution,

I had exactly the same issue, it generated enormous problems (I don't want to bore you listing them here).

I solved following the indications in an other post on this community.
Went into Admin console, under "System Configuration" and searched for
"ArticleSearchIndexRebuild".

Edited to add a new param, --force-pid

Appears to have stopped the messages. Hopefully didn't do any damage.
Apparently it worked for me.

Now it should be usefull to know what is better ran the command (by the way where? could you please explain a bit better? sorry I'm quite new)
or inserting the parameter?

This could help others.

Best Regards

dapugliese
OTRS newbie
Posts: 1
Joined: 22 Jul 2017, 21:10
OTRS Version?: OTRS4

Re: [SOLVED]6.0.1 Problem with FulltextIndexRebuildWorker

Post by dapugliese » 03 Oct 2018, 19:49

Dear all,

I tried to add a new param "--force-pid" as you said, but web I press the botton (+), the follow message was show:

"There was an error in communication with the server. Server might be experiencing some temporary problems, please reload this page to check if they have been resolved."


Does anyone know how we can solve this?

Thk.
Diego.

phackert
OTRS newbie
Posts: 14
Joined: 30 Jul 2018, 15:46
OTRS Version?: 6.0.8
Real Name: Patrick Hackert
Company: Heinz von Heiden GmbH

Re: [SOLVED]6.0.1 Problem with FulltextIndexRebuildWorker

Post by phackert » 21 Nov 2018, 17:24

Thanks for this hint!

(btw. you need to enter this command via the Linux CLI (SSH) in the /opt/otrs/ Folder)

I got the Message
Error: Active indexing process already running! Skipping...
for hours as I noticed it.
The provided command set it to an end. A command call without the --force-pid told me, no indexing needed.

So all is fine now!

Post Reply