Elasticsearch is not listed under the FTS settings

Hi

I am trying to set FTS , I have a working Elastic install and I can curl to it with successfull response from local Elastic. I also installed the FTS app. However when I try to enable elastic search from the admin settings panel for FTS nothing is listed there adn I see the error below in nextcloud.log

NC 17
Debian Buster Apache/2.4.41

Type: mysql

Version: 10.3.20

Size: 1.1 GB


Php
 Version: 7.1.20

Memory Limit: 512 MB 
curl -X GET localhost:9200                  
{
  "name" : "OVpGFFX",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "IVY8CdgAQs6OUsYXchFgoQ",
  "version" : {
    "number" : "6.8.5",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "78990e9",
    "build_date" : "2019-11-13T20:04:24.100411Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.2",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

,"app":"fulltextsearch","method":"GET","url":"\/NC\/index.php\/apps\/fulltextsearch\/admin\/settings","message":"Issue while loading Provider: ocsms\/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla\/5.0 (Windows NT 10.0; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"17.0.1.1"}

try to install elasticserch 7 .

im also have problem before using ver6 but when installed 7 with ingest-attachement and java8

no problem encounter…

1 Like

Thanks, I purged v6 and installed v7 and I still have the same issue

`
java -version :frowning:
openjdk version “1.8.0_212”
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)

`

`
curl -X GET localhost:9200 :frowning:
{
“name” : “xxxx”,
“cluster_name” : “elasticsearch”,
“cluster_uuid” : “IVY8CdgAQs6OUsYXchFgoQ”,
“version” : {
“number” : “7.4.2”,
“build_flavor” : “default”,
“build_type” : “deb”,
“build_hash” : “xxxxxxxxxx”,
“build_date” : “2019-10-28T20:40:44.881551Z”,
“build_snapshot” : false,
“lucene_version” : “8.2.0”,
“minimum_wire_compatibility_version” : “6.8.0”,
“minimum_index_compatibility_version” : “6.0.0-beta1”
},
“tagline” : “You Know, for Search”
}

`

I got it working. I had to remove the existing FTS app and reinstall them back in NC. It works now.

1 Like