fulltextsearch_elasticsearch icon indicating copy to clipboard operation
fulltextsearch_elasticsearch copied to clipboard

Your ElasticSearchPlatform is not configured properly

Open Jugosloven opened this issue 4 years ago • 3 comments

Hello,

Recently installed ElasticSearch 7.8.0 , running Nextcloud App 1.5.1 (Nextcloud is running 18.0.6 version).

In Nextcloud configuration using: http://localhost:9200 for Address.

[user@server public_html]$ curl -XGET 'http://localhost:9200' { "name" : "server.hostname", "cluster_name" : "elasticsearch", "cluster_uuid" : "fhYWT7VpQ0uJBlcSbeX8CQ", "version" : { "number" : "7.8.0", "build_flavor" : "default", "build_type" : "rpm", "build_hash" : "757314695644ea9a1dc2fecd26d1a43856725e65", "build_date" : "2020-06-14T19:35:50.234439Z", "build_snapshot" : false, "lucene_version" : "8.5.1", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }

However, when doing this test: php occ fulltextsearch:test

I am seeing this error:

.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 ok
Removing test. fail
Error detected, unlocking process ok In ConfigService.php line 144:

Your ElasticSearchPlatform is not configured properly

fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]

Not sure what i am doing wrong here, any help is greatly appriciated.

Thank you!

Jugosloven avatar Jun 26 '20 23:06 Jugosloven

Verify that you have filled in all fields in "Settings" -> "Full text search" -> "Elastic Search":

  • Address of the Servlet
  • Index

By default they display placeholders which should be explicitly overwritten (with same values, if you like).

priiduonu avatar Jul 17 '20 20:07 priiduonu

.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 ok
Removing test. fail
Error detected, unlocking process ok In ConfigService.php line 144:

Your ElasticSearchPlatform is not configured properly

how to fix the problem ?

PonusJang avatar Jul 20 '20 09:07 PonusJang

Test with ElasticSearch 6.8.x, I don't think it's compatible with ElasticSearch 7

GeorgioLPB avatar Aug 24 '20 14:08 GeorgioLPB