ElasticSearch 8.14.1 is installed along with Kibana on a separate machine from Nextcloud
xpack is used instead of ReadonlyREST as an authentication and security provider so that I can monitor the instance through Kibana
Users, roles, and indices access are correctly setup and tested
The ElasticSearch machine has a strict firewall installed, but communications on local port 9200 (ElasticSearch) TO and FROM the Nextcloud machine are allowed
The ElasticSearch machine has a FQDN/reverse-DNS with LetsEncrypt SSL correctly installed and configured w/ ElasticSearch
cURL requests to the ElasticSearch instance from the Nextcloud machine are successful with command curl -vvv -u username:password "https://elasticsearch.host.com:9200/nextcloud_index/_stats?pretty". You may find the actual response below.
Same host, port, username, and password is used in the app configuration in the correct format
The app settings are correct
What is wrong?
I can see through Kibana that documents are being indexed (more than 31000 at this point and still increasing), however when I use the full text search page, no matter what string I search for, no results are returned everytime in less than 2ms. Obviously I am searching for strings that I know are included in the documents.
Also, through Kibana, for ALL document entries I can see that the contents field is ALWAYS empty no matter whay kind of document it is or what the provider is (see screenshot).
The app settings are adjusted to index everything everywhere.
The fulltextsearch:test OCC command returns the following:
.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. fail
In Test.php line 304:
Search platform (Elasticsearch) down ?
fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]
cURL command output to STATS endpoint:
Identifying information has been redacted, the rest of the response is left intact.
Nextcloud Version: Nextcloud Hub 8 (29.0.3) ElasticSearch Version: 8.14.1 OS: Debian 12 x64 Authentication Provider: xpack
Installation specifications:
curl -vvv -u username:password "https://elasticsearch.host.com:9200/nextcloud_index/_stats?pretty"
. You may find the actual response below.What is wrong?
I can see through Kibana that documents are being indexed (more than 31000 at this point and still increasing), however when I use the full text search page, no matter what string I search for, no results are returned everytime in less than 2ms. Obviously I am searching for strings that I know are included in the documents.
Also, through Kibana, for ALL document entries I can see that the contents field is ALWAYS empty no matter whay kind of document it is or what the provider is (see screenshot).
The app settings are adjusted to index everything everywhere.
The fulltextsearch:test OCC command returns the following:
cURL command output to STATS endpoint:
Identifying information has been redacted, the rest of the response is left intact.