Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up ES for Zammad #91

Closed
teolemon opened this issue Feb 18, 2022 · 5 comments · Fixed by #96
Closed

Set up ES for Zammad #91

teolemon opened this issue Feb 18, 2022 · 5 comments · Fixed by #96
Assignees

Comments

@teolemon
Copy link
Member

What

  • Set up ES for Zammad to ensure everything can be searched

{"error":"Unable to process GET request to elasticsearch URL 'http://localhost:9200/zammad_production_ticket/_doc/_search'. Elasticsearch is not reachable, probably because it's not running or even installed.\n\nResponse:\n#\u003cUserAgent::Result:0x0000561b14f220d0 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error=\"#\u003cErrno::ECONNREFUSED: Failed to open TCP connection to localhost:9200 (Connection refused - connect(2) for \\\"localhost\\\" port 9200)\u003e\", @header=nil\u003e\n\nPayload:\n{\"query\":{\"bool\":{\"must\":[{\"range\":{\"created_at\":{\"from\":\"2021-12-31T23:00:00Z\",\"to\":\"2022-12-31T22:59:59Z\"}}}],\"must_not\":[{\"term\":{\"state.name.keyword\":\"merged\"}}]}},\"size\":0,\"aggs\":{\"time_buckets\":{\"date_histogram\":{\"field\":\"created_at\",\"interval\":\"month\",\"time_zone\":\"Europe/Paris\"}}},\"sort\":[{\"updated_at\":{\"order\":\"desc\"}},\"_score\"]}\n\nPayload size: 0M"}

@alexgarel
Copy link
Member

@CharlesNepote FYI

@alexgarel alexgarel self-assigned this Feb 18, 2022
@alexgarel
Copy link
Member

https://docs.zammad.org/en/latest/install/elasticsearch.html relevant documentation. We can use system packages for ES so that should not be difficult.

@alexgarel alexgarel assigned cquest and unassigned alexgarel Feb 22, 2022
@alexgarel
Copy link
Member

@cquest this is on your server, so I can't do anything. There is no immediate urgency, but we would like to use the knowledge base of zammad to improve user experience. Searching requires to have ES setup (I would also benefit from it for I'm using Zammad for support, and I would be able to search my previous answers).

@alexgarel alexgarel assigned alexgarel and unassigned cquest Mar 2, 2022
@alexgarel
Copy link
Member

@CharlesNepote gives me access to the machine so I will try to do it.

@alexgarel
Copy link
Member

This is fixed, that was not trivial.

Documentation to be merged there : #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants