nextcloud / fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
https://apps.nextcloud.com/apps/fulltextsearch_elasticsearch
GNU Affero General Public License v3.0
81 stars 30 forks source link

No alive nodes found in your cluster #124

Open ldwcmx opened 3 years ago

ldwcmx commented 3 years ago

nextcloud19.0.1 es7.8.1

[root@kdc nextcloud]# sudo -u daemon php ./occ fulltextsearch:test

.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. ok
Pausing 3 seconds 1 2 3 ok
Initializing index mapping. ok
Indexing generated documents. ok
Pausing 3 seconds 1 2 3 ok
Retreiving content from a big index (license). (size: 32386) ok
Comparing document with source. ok
Searching basic keywords:

page search nextcloud.log

{"reqId":"X7dyxkCxILM4yVM1RYGliQAAAAA","level":2,"time":"2020-11-20T07:41:58+00:00","remoteAddr":"10.171.20.56","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/fulltextsearch/v1/search?request=%7B%22providers%22%3A%22files%22%2C%22search%22%3A%22Java1%22%2C%22page%22%3A1%2C%22options%22%3A%7B%22files_within_dir%22%3A%22%22%2C%22files_local%22%3A%22%22%2C%22files_extension%22%3A%22%22%7D%2C%22size%22%3A20%7D","message":"500 - {\"request\":{\"providers\":[\"files\"],\"author\":\"admin\",\"search\":\"Java1\",\"empty_search\":false,\"page\":1,\"size\":20,\"parts\":[\"comments\"],\"queries\":[],\"options\":{\"files_within_dir\":\"\",\"files_local\":\"\",\"files_extension\":\"\"},\"metatags\":[],\"subtags\":[],\"tags\":[]},\"version\":\"1.4.2\",\"status\":-1,\"exception\":\"Elasticsearch\\Common\\Exceptions\\NoNodesAvailableException\",\"message\":\"No alive nodes found in your cluster\"}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36","version":"19.0.1.1"}