Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install of Fulltextsearch failing #2528

Closed
thatstheplace opened this issue Jul 23, 2023 · 9 comments
Closed

Install of Fulltextsearch failing #2528

thatstheplace opened this issue Jul 23, 2023 · 9 comments

Comments

@thatstheplace
Copy link

Steps To Reproduce

Install fulltextsearch.

Expected Result

fulltextsearch installing, indexing and running.

Actual Result

Waiting for a few seconds before indexing starts...
 
.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 304:
                                          
  Search platform (Elasticsearch) down ?  
                                          

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

Screenshots, Videos, or Pastebins

No response

Additional Context

curl -X GET "localhost:9200/?pretty"

is giving me:

Unauthorized

Build Version

27.0.1

Environment

By using the scripts

Environment Details

No response

@enoch85
Copy link
Member

enoch85 commented Jul 24, 2023

Yes, this is known. Thanks for reporting!

@Ark74

@Ark74
Copy link
Collaborator

Ark74 commented Jul 24, 2023

You need to pass the credentials in order to get a response,

curl -XGET "credential:password@localhost:9200/"

The opensearch server is working, the nextcloud client is what changed since version 26.

Edit: Opened an issue on the subject: nextcloud/fulltextsearch_elasticsearch#271

@enoch85
Copy link
Member

enoch85 commented Jul 24, 2023

@Ark74 What's your opinion on this? https://github.com/R0Wi/elasticsearch-nextcloud-docker Could we replace your docker with that one?

@Ark74
Copy link
Collaborator

Ark74 commented Jul 24, 2023

My opinion is that you'll be depending on what R0Wi does with the image he hosts.
The current setup uses the main Opensearch image, not any third user/developer hosted one, not even me.

Another thought is about the Elastic Search license from Apache to SSPL change, IIRC it will affect SaaS providers using their fts engine, at what point that could become an issue as an automated installation system?

That was the second point we targeted while moving to the Opensearch one.

@thatstheplace
Copy link
Author

Ok, this is getting me a response. I think for you its no surprise and because I don't know how private the response is, I don't post it here, except you need it.

curl -XGET "credential:password@localhost:9200/"

@enoch85
Copy link
Member

enoch85 commented Jul 25, 2023

After disucssions with @Ark74 this is something that @ArtificialOwl needs to fix (implement support for OpenSearch) since we are using that in our implementation due to licensing and other stuff - @Ark74 correct me if I'm wrong.

@Ark74
Copy link
Collaborator

Ark74 commented Jul 25, 2023

Nope, that's the main issue.
We hope @ArtificialOwl could take our petition into account, and by restoring ES 7 retro-compatibility this can be solved.

At some point maybe we could work together with him on the future Opensearch 2.x support if he sees fit.
Regards

@dualizeo
Copy link

this might be the problem which is causing the proxmox vm to run at 100% all the time

This was referenced Jul 28, 2023
@enoch85
Copy link
Member

enoch85 commented Aug 14, 2023

This is now fixed, please run the installer again: #2541

@enoch85 enoch85 closed this as completed Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants