I hope someone could point out a solution for my problem, I am at my wit's end.
I am running a VPS (CentOS 7.5, WHM) with elasticsearch.noarch installed from the repo (6.5.1-1) and the latest ingest-attachment-plugin.
The elasticsearch service is up an running:
$ sudo systemctl status elasticsearch.service ● elasticsearch.service - LSB: This service manages the elasticsearch daemon Loaded: loaded (/etc/rc.d/init.d/elasticsearch; bad; vendor preset: disabled) Active: active (exited) since Do 2018-11-29 11:46:52 CET; 40min ago Docs: man:systemd-sysv-generator(8) Process: 2181 ExecStop=/etc/rc.d/init.d/elasticsearch stop (code=exited, status=0/SUCCESS) Process: 2188 ExecStart=/etc/rc.d/init.d/elasticsearch start (code=exited, status=0/SUCCESS) Nov 29 11:46:47 server systemd: Starting LSB: This service manages the elasticsearch daemon... Nov 29 11:46:47 server elasticsearch: sysctl: permission denied on key 'vm.max_map_count' Nov 29 11:46:47 server runuser: pam_unix(runuser:session): session opened for user elasticsearch by (uid=0) Nov 29 11:46:52 server runuser: pam_unix(runuser:session): session closed for user elasticsearch Nov 29 11:46:52 server elasticsearch: Starting elasticsearch: [ OK ] Nov 29 11:46:52 server systemd: Started LSB: This service manages the elasticsearch daemon.
But I can't connect to localhost:
curl http://localhost:9200 curl: (7) Failed connect to localhost:9200; connection refused
Therefore the fulltextsearch app in Nextcloud won't work:
No alive nodes found.
The relevant settings in elasticsearch.yml:
network.host: 127.0.0.1 network.bind_host: localhost
There are no entries in /var/log/elasticsearch related to that issue.