-
-
Notifications
You must be signed in to change notification settings - Fork 994
Improve Elasticsearch documentation with ES_PRESET
and security settings
#1279
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
Conversation
@renchap is attempting to deploy a commit to the Mastodon Team on Vercel. A member of the Team first needs to authorize it. |
Things that could be improved:
|
Renaud, thank you for writing this documentation. I had already started preparing to undertake the task of getting Elasticsearch up and running for Burnout Cafe. I had assembled some useful-looking how-to's at:
I also installed Elasticsearch 7.17.12 from the ES PPA. When I have Burnout Café up and running to perfection with full-text search, I would very much like to contribute work on documentation to the Mastodon project, and will contact you about that. You're also welcome to start that conversation, if you like, by mailing me at admin@burnout.cafe. I'll start the Elasticsearch setup right now and respond back to this ticket. |
Renaud, I did manage to get my Elasticsearch working on my instance following your instructions. Thank you for your time spent on that. Couple of little typo errors:
I'm not sure what the documentation is going to look like after the integration of your new content, but I would have a few comments:
In the existing documentation on Github it says I should execute:
However, I still haven't done that and full-text searching seems to work anyway. In the existing documentation at docs.joinmastodon.org, it says I should execute:
But I did not do that after today's seemingly-successful integration, and (as I said above) full-text searching seems to be working anyway. Note that the two commands stated in the Github documentation and the docs.joinmastodon.org documentation are different. Which should I execute? Both? Or are neither necessary?
For the two curl commands that do that, it was not stated that they should be executed from the Linux command line as root. Please feel free to contact me at admin@burnout.cafe if I can help you guys out with documentation writing. I have long experience in documentation copy-writing, as well as experience in end user technical support. |
Can you link to the documentation that instructs to do that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1279 (comment) points out a few issues
I'm a bit surprised to see direct calls to Elasticsearch's API, doesn't Elasticsearch provide CLI utilities for that? Otherwise this looks ok. Note that I'm not really knowledgeable in Elasticsearch though.
It's under 'Run chewy:deploy to create & populate index' at: https://github.com/martindale/mastodon-docs/blob/master/Running-Mastodon/Elasticsearch-guide.md In the documentation at docs.joinmastodon.org, it says I should execute:
|
Maybe in Kibana, but otherwise you are supposed to rely on
This repository is an old fork of the official documentation, and is very out of date. Please use docs.joinmastodon.org for our latest documentation.
They do not need to be executed as root, they can be from any user (and you should try to not execute anything as root when it is not needed, to reduce the risk for errors. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This adds the documentation for setting up ES authentication, as well as the new
ES_PRESET
settings from mastodon/mastodon#26483