For those interested, setting up #ElasticSearch was fairly straightforward. I mostly followed the official instructions at https://docs.joinmastodon.org/admin/elasticsearch/, with two minor modifications:
1. I installed OpenJDK (latest version in the Ubuntu repository)
2. I installed […]
1. I installed OpenJDK (latest version in the Ubuntu repository)
2. I installed […]
Comments
also, you could have skipped the OpenJDK, it's built in. unless you overrode it through a setting, the JDK you installed won't be used
• Set ES_CA_FILE=/path/to/selfsigned/cert
(b) I had to carefully set the maximum Java heap size, even though I thought I had plenty of RAM.
This last point confused me for sometime. I am running ES on the same VPS as my mastodon instance […]
Setting -Xmx2048m seems to result in a stable configuration with ES happily humming away […]
Ack.. JDK, I almost imagine that everything Java would slowly fade into the background, but I guess it’s the new COBOL, although I’m much more modern language to say the least