nextcloud / nextcloud/fulltextsearch
Testing search platform. fail
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
I set up NC 16.0.3 and Elasticsearch 7.2.0/7.3.0 with my playbook:
https://github.com/ReinerNippes/nextcloud_on_docker/tree/elasticsearch
Elasticsearch is running and reachable from the NC container (curl).
Nevertheless the platform tests fail and no index is create.
ec2-user@ip-172-31-7-157:~/nextcloud-docker-git$ docker exec -u root nextcloud curl http://elasticsearch_tesseract:9200/?pretty
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{
"name" : "149d5d095127",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "QphMvW-8QuehxD0AzFaaqA",
"version" : {
"number" : "7.3.0",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "de777fa",
"build_date" : "2019-07-24T18:30:11.767338Z",
"build_snapshot" : false,
"lucene_version" : "8.1.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
100 508 100 508 0 0 4096 0 --:--:-- --:--:-- --:--:-- 4130
ec2-user@ip-172-31-7-157:~/nextcloud-docker-git$ docker exec -u www-data nextcloud 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. fail
In Test.php line 301:
Search platform (Elasticsearch) down ?
fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]
ec2-user@ip-172-31-7-157:~/nextcloud-docker-git$ docker exec -u www-data nextcloud php occ fulltextsearch:index
In Index.php line 381:
failed platform test.
fulltextsearch:index [--output [OUTPUT]] [-r|--no-readline] [--] [<options>]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the fulltextsearch:test command and the failure reported at Test.php line 301, then trace the platform check before reviewing Index.php line 381. Reproduce the failure with the reported Nextcloud and Elasticsearch versions; done means the platform test passes and fulltextsearch:index can create an index.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, php
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100