Hi all:
I just want to share that I am using
Nextcloud Hub 9 (30.0.1) & Nextcloud Hub 10 (31.0.4)
Elasticsearch 8.6.1
I have both Nextcloud and Elasticsearch running in Unraid docker each one of them is getting ip from my router seperately.
After setting up the elasticsearch 8.6.1 container, I did the followings
1. disable secruity and SSL with the ENV set to false for xpack.security.enabled and xpack.ml.enabled
- the container will stop because the folder permission is incorrect.
- it is important to change the elasticssearch folder in the appdata folder to 777.
- restart the container.
2. setup the elasticsearch in fulltextsearch in NC without the username and password (since there is no need for it anymore)
3. test out with occ command in the following
php occ fulltextsearch:test
4. if the above is sucessful, then index with the following command
php occ fulltextsearch:index
Apparently, the xpack.security.enabled and xpack.ml.enabled keys set the container to require no username and password when I set the NC. This doesn't seem too safe, but I got it working. Thank you all for the help. Greatly appreciate all the previouse posts.
If any one know how to turn off the SSL but not the password, then please shed some light. Maybe, it is another ENV key somewhere. Thanks.