fulltextsearch_elasticsearch icon indicating copy to clipboard operation
fulltextsearch_elasticsearch copied to clipboard

Can't performe a full index with occ fulltextsearch:index

Open GekoCH opened this issue 1 year ago β€’ 8 comments

I'm running Nextcloud: 28.0.2.5 elasticsearch: 8.8.2

I tried to do a full index with occ fulltextsearch:index but I get this error at file 123911 of 184926.

I can open the particular file without any problem so it0s not corrupt. Can someone help me to get this working? Thx

Memory: 607 MB                                                                                                                                                β”Œβ”€ Indexing  ────                                                                                                                                             β”‚ Action: indexDocument                                                                                                                                       β”‚ Provider: Files                Account: admin                                                                                                               β”‚ Document: 335204                                                                                                                                            β”‚ Info: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet                                                                                     β”‚ Title: xxx/yyy/test.xlsx
β”‚ Content size: 11952924
β”‚ Chunk:     48/1685
β”‚ Progress: 123911/184926
└──
β”Œβ”€ Results ────
β”‚ Result: 124110/124110
β”‚ Index: files:335196
β”‚ Status: ok
β”‚ Message: {"_index":"my_index","_id":"files:335196","_version":1,"result":"cr
β”‚ eated","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":123795,"_pri
β”‚ mary_term":1}
└──
β”Œβ”€ Errors ────
β”‚ Error:    630/630
β”‚ Index: files:335228
β”‚ Exception: Elastic\Elasticsearch\Exception\ClientResponseException
β”‚ Message: unknown error
β”‚
β”‚
└──
## x:first result ## c/v:prec/next result ## b:last result
## f:first error ## h/j:prec/next error ## d:delete error ## l:last error
## q:quit ## p:pause

In ElasticSearchPlatform.php line 202:

  [OCA\FullTextSearch\Exceptions\PlatformTemporaryException]

GekoCH avatar Feb 23 '24 06:02 GekoCH

same issue here. Following.

gianlucagilardi avatar Mar 07 '24 08:03 gianlucagilardi

Is this the same issue?


  occ fulltextsearch:index

  Memory: 82 MB
  β”Œβ”€ Indexing  ────
  β”‚ Action: fillDocument
  β”‚ Provider: Files                Account: animorph
  β”‚ Document: 286977
  β”‚ Info: httpd/unix-directory
  β”‚ Title: Directors/BDC/Sales/Prospecting
  β”‚ Content size: 0
  β”‚ Chunk:      3/24
  β”‚ Progress:    583/587
  └──
  β”Œβ”€ Results ────
  β”‚ Result:      5/5
  β”‚ Index: files:286977
  β”‚ Status: ok
  β”‚ Message: {"_index":"nextcloud_index","_id":"files:286977","_version":1,"result":"created","_shards":{"total":2,"successful":1,"fai 
  β”‚ led":0},"_seq_no":4,"_primary_term":1}
  β”‚
  └──
  β”Œβ”€ Errors ────
  β”‚ Error:     42/42
  β”‚ Index: files:6117
  β”‚ Exception: OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception\ClientResponseException
  β”‚ Message: unknown error
  β”‚
  β”‚
  └──
  ## x:first result ## c/v:prec/next result ## b:last result                                                                           
  ## f:first error ## h/j:prec/next error ## d:delete error ## l:last error                                                            
  ## q:quit ## p:pause                                                                                                                 
  Force Quit

trying again returns:

  occ fulltextsearch:index

  In RunningService.php line 86:

    Index is already running

chriscroome avatar Aug 02 '24 10:08 chriscroome

Having the same β€œIn ElasticSearchPlatform.php line 202:” issue on Nextcloud 29.0.4, since adding a new user with a bunch of files. No idea how to identify the culprit, probably a rogue file that grinds the indexing to a halt.

davidcrds avatar Aug 19 '24 19:08 davidcrds