nextcloud / nextcloud/fulltextsearch

ElasticSearchPlatform is not configured properly

Open
#579 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Can someone point me in the right direction with this issue. ElasticSearch is setup properly on my server, but for some reason Nextcloud doeesn't like it.

[root@www nextcloud]# sudo -u apache php occ fulltextsearch:test --platform_delay 30

.Testing your current setup:
Creating mocked content provider. ok
Testing mocked provider: get indexable documents. (2 items) ok
Loading search platform. fail
In ConfigService.php line 125:

Your ElasticSearchPlatform is not configured properly

fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported php occ fulltextsearch:test --platform_delay 30 command and inspect ConfigService.php around line 125, where loading the search platform fails. Compare the configured platform settings with what the test expects; done means the platform loads successfully and the command completes without the configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.