Infos:
- Used Zammad version: 2.8.0
- Used Zammad installation source: package
- Operating system: 16.04.5
- Browser + version: 60.4.0esr (64-bit)
- Database + version: Postgresql 9.5+173ubuntu0.2
- Elasticsearch version: 5.6.13
Expected behavior:
- Elasticsearch should run all the time or Zammad shouldn’t be able to crash elasticsearch.
Actual behavior:
Elasticsearch sometimes crashes daily, sometimes it runs a few days without problems. If the elasticsearch daemon crashes, it cannot be started, because it crashes again immediately. If I quit Zammad, I can also start elasticsearch.
The only working procedure to get elasticsearch back to work is as follows:
Execute these commands in a shell:
- “systemctl stop zammad”
- “systemctl start elasticsearch”
- “zammad run rails c”
- Then execute the script found in this post: Failing background jobs.;Failed to run background job #1 'BackgroundJobSearchIndex' 10 time(s)
- wait until the messages on the screen stop, then press “CTRL + D”
- “systemctl start zammad”
Steps to reproduce the behavior:
- I have no idea why and how elasticsearch crashes. I fought my way through the log files of Zammad and elasticsearch and found nothing I could do with.