Upgrade elasticsearch 7 to 8

Hi there,

we want to upgrade the installed elasticsearch version on our zammad server from version 7 to version 8.
I have already read in some threads that a simple upgrade does not seem to be the best solution.
Is there anyone who has already successfully performed the upgrade and might be able to describe the procedure?

Regards

Infos:

  • Used Zammad version: 6.5.0
  • Used Zammad installation type: package
  • Operating system: Ubuntu 22.04
  • Browser + version: Chrome 138.0.7204.102

I did upgrade elasticsearch several times already. There are good guides in the documentation from elasticsearch. But to be honest, after a few times I simply started uninstalling ES7 first and install a fresh ES8. The Zammad data in the ES index can be re-created anytime using a searchindex:rebuild.

If you have a really large instance and a rebuild takes hours or days, it might be worth upgrading. If you can do a searchindex:rebuild within a few hours, I would just replace.

And regarding the timing, you might consider waiting for Zammad 7.0, as it will support ES9 by then.