fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Locking Process: Fail

Open damike79 opened this issue 5 years ago • 6 comments

Hi i have the problem that new files arent indexed and i dont know why.

When i run a fulltextsearch:test i get

Testing your current setup: Creating mocked content provider. ok Testing mocked provider: get indexable documents. (2 items) ok Loading search platform. (Elasticsearch) ok Testing search platform. ok Locking process fail In RunningService.php line 86:

Index is already running

When i run a fulltextsearch:reset i get

In RunningService.php line 86:

Index is already running

Dont know whats the point i followed all the instructions imo.

damike79 avatar Mar 22 '19 07:03 damike79

Try removing from DB, table oc_fulltextsearch_ticks

bosonno avatar Apr 26 '19 16:04 bosonno

I really have an error. Any solution?

@edit I solved everything by reinstalling and using other versions.

elasticsearch-6.4.2.rpm and readonlyrest-1.18.0_en6.4.2.zip

4y55 avatar May 14 '19 01:05 4y55

@bosonno After having the same as @damike79 i dropped oc_fulltextsearch_ticks from DB:

Try removing from DB, table oc_fulltextsearch_ticks

Now with fulltextsearch:test i get

Locking process fail 
In ExceptionConverter.php line 67:
                                                                                                                                                
  An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "oc_fulltextsearch_ticks" does not exist

Some guidance to resolve is very welcome. thx

aakerbeere avatar Jan 20 '22 12:01 aakerbeere

I also tried removing the content of 'oc_fulltextsearch_ticks'. Locking process fail persists when doing fulltextsearch:test

aakerbeere avatar Jan 20 '22 16:01 aakerbeere

I guess fulltextsearch not to be compatible with recent releases of elasticsearch (actually 7.16.3). Downgrade as @4y55 not possible because 6.x not available for ARM (RPi4). I however downgraded for testing to 7.8.0 (first to support ARM), but no success.

aakerbeere avatar Jan 21 '22 23:01 aakerbeere

I have nextcloud-fulltext-elasticsearch-worker.service running and by coincidence found it to be the cause of the error. When i stop the service the test successfully runs. So may be when the service is running the error is expected. I don't know. If yes, sorry for the excitement. My apologies

aakerbeere avatar Jan 27 '22 20:01 aakerbeere