Search does not work over all

Infos:

  • Used Zammad version: 3.0
  • Used Zammad installation source: centOS package
  • Operating system: centOs
  • Browser + version: Chrome 75

Expected behavior:

  • when using the search field (left side at the top) to search for ticket the search results should be prompted

Actual behavior:

  • when using the search field the search does not work

Steps to reproduce the behavior:

  • we have a ticket with topic “IT-Monitor”
  • select the search field and type in it-monitor
  • system answers there is no match for your search

from elasticsearch.log:
[2019-07-08T11:45:15,713][DEBUG][o.e.a.b.TransportShardBulkAction] [ticket.gfr-center.de] [zammad_production][0] failed to execute bulk item (index) index {[zammad_production][Organization][2], source[n/a, actual length: [26.3kb], max length: 2kb]}
java.lang.IllegalArgumentException: Rejecting mapping update to [zammad_production] as the final mapping would have more than 1 type: [StatsStore, Organization]

and

[2019-07-08T11:45:15,711][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [ticket.gfr-center.de] failed to put mappings on indices [[[zammad_production/wKOMdvh_RBKnSFDGziLrxg]]], type [Organization]
java.lang.IllegalArgumentException: Rejecting mapping update to [zammad_production] as the final mapping would have more than 1 type: [StatsStore, Organization]

from curl http://127.0.0.1:9200:
{
“name” : “ticket.gfr-center.de”,
“cluster_name” : “elasticsearch”,
“cluster_uuid” : “zeZMUxsyS8e4oo3ZKeeuRQ”,
“version” : {
“number” : “7.1.0”,
“build_flavor” : “default”,
“build_type” : “rpm”,
“build_hash” : “606a173”,
“build_date” : “2019-05-16T00:43:15.323135Z”,
“build_snapshot” : false,
“lucene_version” : “8.0.0”,
“minimum_wire_compatibility_version” : “6.8.0”,
“minimum_index_compatibility_version” : “6.0.0-beta1”
},
“tagline” : “You Know, for Search”
}

Two things:
Please note that your Zammad instance is reachable via HTTP via Internet. This is a potential security issue.

Now to the main issue:

You’re running a unsupported elasticsearch version which is why you’re having this trouble.

For more information see: https://docs.zammad.org/en/latest/prerequisites-software.html#elasticsearch

We’re planning to change that soon^™: https://github.com/zammad/zammad/issues/1688

Yes many thanks. That was the reason. i downgraded elastic search and it seems to work.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.