I followed the documentation and thought that I set all credentials needed.
What I did for the credentials:
sudo /usr/share/elasticsearch/bin/elasticsearch-setup-passwords auto
sudo zammad run rails r "Setting.set('es_url', 'https://localhost:9200')"
zammad run rails r "Setting.set('es_password', '<password>')"
Where I replaced with the one I got for user elastic in the first step.
I am sorry for my german post in between. That wasn’t on purpose.
I solved the errors I got from the precheck (“sudo curl --insecure -uelastic:${es_password} https://127.0.0.1:9200/_migration/deprecations| jq”). Then I went on and ran into other errors. I opened one moe post because the other one was already closed. And the system asked me kind of to do so. Was that not the right way to go?
Zammad defaults to an empty `es_user`. It’s not needed if you’re using it unauthenticated. So if you begin to use authentication, setting a password is not enough - you’ll also need the elasticsearch user to be known to Zammad.
`elastic` is the default administrative account - Zammad doesn’t force you on a specific username (for good reasons) and thus you don’t have to provide elastic, but could use an own account, if you’d wanted to.