Open DrPoldo opened 4 years ago
I just solved this for myself - I had elasticsearch set up on my local kubernetes cluster, following their recommended instructions... which automatically sets up SSL/TLS with a self-signed certificate. The PHP elasticsearch library refuses to connect if the certificate authority doesn't validate.
Your options are: add the issuing root certificate to the nextcloud system's certificate store, or disable SSL/TLS on elasticsearch. Obviously only do the latter if you're in a protected network environment, and even then think about it carefully first.
Hi, when i run:
sudo -u www-data ./occ fulltextsearch:index
I'm having the following error:
I'm new to nextcloud, docker and elasticsearch so it could easily be a my mistake but after various research i still haven't found any solution.
I'm currently running nextcloud 18.0.2.2 in a docker container thanks to nextcloudpi 1.23.1 The host os is raspbian buster with ip 192.168.1.118 and elasticsearch is running on it on the 9200 port. Elastisearch version is 6.6.2 (i also tested the 7.4.0 resulting with the same error) and is runnig without any security authentication. The content of elaticsearch.yml:
I've tested the connecetion from the nextcloud container with:
curl 192.168.1.118:9200
and the result seems ok:This is the output of
sudo -u www-data ./occ fulltextsearch:check
:Elasticsearch log doesn't show any error: