ElasticSearch on an external server

Hi all.

I already have an ElasticSearch 9.0.1 server on one of my vps.
It can usually be reached as https://MY.EXTERNAL.URL

On seafevents.conf I tried

external_es_server = true
es_host = MY.EXTERNAL.URL
es_port = 443
scheme = https
username = MYUSER
password = MYPASS

But Seafile can’t seem to be able to connect to it.
It complains about the schema.

Is there anything that I should change in order to make this work?

Thank you.

I had the same problem ages ago. But I can’t find my solution right now. But I think that you also have to add the https:// to the es_host.

This is also described here in the example.
https://manual.seafile.com/12.0/config/details_about_file_search/#how-to-rebuild-the-index-if-something-went-wrong