Hello all,
I am new to Elastic products, so forgive my ignorance.
I've installed Zammad on a Debian server today, everything went well but the search indexing, even though Elasticsearch service is up and running.
When testing the site on the server via browser I receive the Apache test site, although I have disabled it. But testing it from client side I cannot reach anything. Zammad works well.
When testing in Zammad, I receive the following error:
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:0x00007fbc361326e0 @success=false, @body="<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL was not found on this server.</p>\n<hr>\n<address>Apache Server at localhost Port 9200</address>\n</body></html>\n", @data=nil, @code="404", @content_type=nil, @error="No such file http://localhost:9200/zammad_production_ticket/_search, 404!", @header={"date"=>"Fri, 24 Jan 2025 21:42:33 GMT", "server"=>"Apache", "content-length"=>"257", "connection"=>"close", "content-type"=>"text/html; charset=iso-8859-1"}>
Payload:
{"size":0,"query":{"bool":{"must":[{"range":{"created_at":{"from":"2024-12-31T23:00:00Z","to":"2025-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/Budapest"}}},"sort":[{"updated_at":{"order":"desc"}},"_score"]}
Payload size: 0M
The port is open, I have tried decommenting network.host in elasticsearch.yml, but same results. When trying to do search indexing, I receive the same 'Unable to process...' error with the Apache test site's HTML showing below it.
Probably something have distracted my attention while installing, can you please how can I fix this? I'm pretty sure Apache's site showing is not right, but I'm not sure how I can get rid of it.
I appreciate your help in advance.