Stick to this and you’re fine. In addition to that remember that ES 7.5.0 doesn’t like indices build with an earlier version. You’d need to reindex them or the simple way: just delete all indices before upgrading and let zammad rebuild them after the upgrade. This can take a lot of time depending on your env (takes about 2h on my system) and while the indices are deleted a few functions won’t be available in zammad (search, users in the backend, autofill for mail contacts,…).
@dvnkln
Thank you for this Informations. I must update from 5.6 to the newest Version. I hope i found some time in the Holiday Time to update Elasticsearch.
Actually i got some Indices Problem (some Users won’t be found), so the Update could solve this.
Can i ask how big your env is (How much Agents are working at the same time with Zammad)?
Concurrent agents aren’t relevant for your indices. What matters is the index store.size and the docs.count.
You can check those by firing this command on your es server: curl -X GET "localhost:9200/_cat/indices/zammad*?v&s=index&pretty"
Or on any remote server that is allowed to connect to your es server but you’d have to adjust localhost (or even the port depending on your conf) in that case. My indices look like this currently (our env is rather small):
Hint: As you probably can tell (at least for the big players here ticket/user) the docs.count is equal to the actual number of tickets/users in zammad. If you have no indeces build yet you can just ask zammad directly via: zammad run rails r 'puts Ticket.all.count' zammad run rails r 'puts User.all.count'
You Indices are looking completly different from mine. If i put you Command on the Server iam getting this:
health status index uuid pri rep docs.count docs.d eleted store.size pri.store.size
yellow open zammad_production 415qksLgQLGdF9h43hWbIg 5 1 11734 168 133.2mb 133.2mb
How i can see the Status of the Index is yellow, so it looks like that something is not okay. Why you got so many Indices and i got only one?
Oh okay sorry can’t help you with this.
Zammad usually creates these indices via: zammad run rake searchindex:rebuild (at least on my setup). It’s nothing i do manually.
Maybe someone from the zammad team can explain why they’re different on our env.
What’s your setup? Mine is:
Used Zammad version: 3.2.0-1575624531.d79c85cf.stretch
Used Zammad installation source: package
Operating system: deb 9
Mine are yellow too btw. That’s perfectly fine for me because it just means i could lose my data if something goes downtown with my node since i’m not running a cluster. That’s a risk i’m willing to take because in that case i just need to let zammad rebuild my indices. If you want it to be displayed as green you could set the number of replicas to 0 manually. That way es shouldn’t complain anymore.
P.S.: Maybe it looks different on your side because we have different es versions, just a guess though because i didn’t have a look at it with es 5.6.