d46505pl
Goto Top

Nextcloud Volltextsuche (OCR)

Hallo Zusammen,

ich habe Nextcloud auf einem Debian 8 laufen und die Erweiterung "Elaticsearch" installiert.
Wenn ich ein Dokument per Nextcloud hochlade, sehe ich die Datei in der Live ansicht, allerdings erzeugt diese jedesmal ein Fehler (siehe unten) und die Volltextsuche funktioniert nicht:


root@fink:/var/www/filer.meine-domain.tld/web# sudo -u web17 /opt/php-7.3/bin/php occ fulltextsearch:live --no-readline
The current PHP memory limit is below the recommended value of 512MB.

Memory: 25 MB
┌─ Indexing ────
│ Action: waiting
│ Provider: Files Account: test1
│ Document: 1106
│ Info: application/pdf
│ Title: test.pdf
│ Content size: 1314208
└──
┌─ Results ────
│ Result: 2/2
│ Index: files:1106
│ Status: ok
│ Message: {"_index":"filer","_type":"standard","_id":"files:1106","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"_seq_n
│ o":0,"_primary_term":1}

└──
┌─ Errors ────
│ Error: 1/1
│ Index: files:1106
│ Exception: Elasticsearch\Common\Exceptions\BadRequest400Exception
│ Message: pipeline with id [attachment] does not exist


Hat hier jemand eine gute Idee?

Content-Key: 441404

Url: https://administrator.de/contentid/441404

Printed on: April 24, 2024 at 14:04 o'clock

Member: falscher-sperrstatus
falscher-sperrstatus Apr 18, 2019 at 23:40:46 (UTC)
Goto Top
Keine Idee, aber Augen aufmachen oder ein Grundkurs english:

The current PHP memory limit is below the recommended value of 512MB.

Was liest du daraus? ;)
Member: D46505Pl
D46505Pl Apr 19, 2019 at 08:48:47 (UTC)
Goto Top
Den Wert habe ich in der php.ini schon gesetzt gehabt. Er stand zuvor auf 128. leider keine Veränderung.
Member: stefaan
stefaan Apr 19, 2019 at 08:52:37 (UTC)
Goto Top
Servus!

Zitat von @D46505Pl:
leider keine Veränderung.

Dieselbe Fehlermeldung, auch wenn du den Wert >= 512MB setzt?
Apache/Nginx/... neu gestartet?

Grüße, Stefan
Mitglied: 139374
139374 Apr 19, 2019 updated at 14:40:17 (UTC)
Goto Top
./occ fulltextsearch:reset
./occ fulltextsearch:index
Wird wohl ein korruptes File sein, das zu nem Pufferüberlauf führt.
https://www.google.de/search?q=Exception:+Elasticsearch%5CCommon%5CExcep ...
Member: D46505Pl
D46505Pl Apr 22, 2019 at 18:24:37 (UTC)
Goto Top
Was ist nicht verstehe, im Master Value der php.inf ignoriert er die Anpassung. Lokal (über ein .htacess Datei) erkennt er zwar die 512 MB an, aber im Skript bemängelt er weiterhin, das es nicht auf 512MB steht.

root@fink:/var/www/filer.meine-domain.tld/web# sudo -u web17 /opt/php-7.3/bin/php occ fulltextsearch:live --no-readline
The current PHP memory limit is below the recommended value of 512MB.

Vielleicht erkennt jemand von Euch meinen Fehler. Screenshorts in der Anlage...
php-info
2019-04-22 20_19_33-php 7.3.4 - phpinfo()
2019-04-22 20_20_11-php 7.3.4 - phpinfo()