Infos:
- Used Zammad version: 6.1.0-1697809120.a1de05d1.bullseye amd64
- Used Zammad installation type: package
- Operating system: Debian GNU/Linux 11 (bullseye)
- Browser + version: Firefox 119.0 (64-Bit)
Expected behavior:
- After installing Zammad from package, I initialize the system via
auto_wizard.json
. When I login and click on Reports (this is how I check if ElasticSearch is working properly), I’m expecting to see the initial reports chart.
Actual behavior:
I’m getting a HTTP 500 with the following message:
Unable to process GET request to elasticsearch URL 'http://localhost:9200/zammad_production_ticket/_search'. Check the response and payload for detailed information:
Response:
#<UserAgent::Result:0x00007f439f537098 @success=false, @body=nil, @data=nil, @code="404", @content_type=nil, @error="No such file http://localhost:9200/zammad_production_ticket/_search, 404!", @header={"x-elastic-product"=>"Elasticsearch", "warning"=>"299 Elasticsearch-7.17.14-774e3bfa4d52e2834e4d9d8d669d77e4e5c1017f \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.\"", "content-type"=>"application/json; charset=UTF-8", "content-length"=>"473"}>
Payload:
{"size":0,"query":{"bool":{"must":[{"range":{"created_at":{"from":"2022-12-31T23:00:00Z","to":"2023-12-31T22:59:59Z"}}},{"bool":{"must":[{"bool":{"must_not":[{"term":{"state.name.keyword":"merged"}}]}}]}}]}},"aggs":{"time_buckets":{"date_histogram":{"field":"created_at","calendar_interval":"month","time_zone":"Europe/Berlin"}}},"sort":[{"updated_at":{"order":"desc"}},"_score"]}
Payload size: 0M
This seems to be caused by the missing index zammad_production_ticket
:
root@zammadtest:~# curl -XGET -s http://localhost:9200/_cat/indices
green open .geoip_databases a1bWZZoJRnSSOAHG88zaXA 1 0 40 0 37.9mb 37.9mb
yellow open zammad_production_stats_store TK9OoaAaScWDHQCg2OMr5w 1 1 1 1 61.7kb 61.7kb
yellow open zammad_production_organization 3aflmL8BQhewlfKeGQcPJg 1 1 1 3 190.9kb 190.9kb
yellow open zammad_production_user 6vVS_mCyQoux-fDkyY1qHw 1 1 2 9 322kb 322kb
yellow open zammad_production_group r70j7h7GRFmY7qVYgNiIIQ 1 1 1 2 77.6kb 77.6kb
As soos as I change anything in the ticket Welcome to Zammad!, the index is created and everything works as expected.
Is this a bug, or something that may be related to the auto_wizard.json
?
Thanks in advance
@Access-InTech