Infos:
- Used Zammad version: zammad-5.0.3-1646129126.fba5cdc8.centos7.x86_64
- Used Zammad installation type: rpm package
- Operating system: CentOS 7
I’ve upgraded our zammad setup this morning. However it looks like this new version of zammad is not compatible with the elasticsearch 6 that I’m running on this server. It refers to the documentation which only states how to install elasticsearch 7. I tried to upgrade to elasticsearch 7, however that fails because the indices that are in this setup were created by the elasticsearch 5 back then.
I read up and prepared reindexing of the zammad indices, however there are two strange things happening:
-
Reindexation of tickets results in much less documents in the elasticsearch:
-
reindex of the index zammad_production is not working at all due to the error that from elasticsearch 6 onwards it’s only possible to have one type.
“type” : “illegal_argument_exception”,
“reason” : “Rejecting mapping update to [zammad_production-reindex] as the final mapping would have more than 1 type: [KnowledgeBase::Translation, Ticket]”
It seems like the command zammad run rake searchindex:rebuild does only reindex a part of the used indices. Is there some other possibility from within zammad to move the indices to the next version? Maybe I could downgrade zammad again and further use the zammad commands which at the moment state:
rake aborted!
Version 6.8.23 of configured elasticsearch is not supported.
What would be the steps needed to fix this?