Infos:
- Used Zammad version: 7.01-1776088456.8a5307eb.bullseye
- Used Zammad installation type: Package
- Operating system: Debian 11
- Browser + version: Chrome Browser
Expected behavior:
- Start elasticsearch without error
Actual behavior:
systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2026-04-13 18:56:29 EDT; 1s ago
Docs: https://www.elastic.co
Process: 409 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 409 (code=exited, status=1/FAILURE)
CPU: 15.584s
Apr 13 18:56:08 zammad-22.pbzinc.loc systemd[1]: Starting Elasticsearch…
Apr 13 18:56:28 zammad-22.pbzinc.loc systemd-entrypoint[409]: ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/elasticsearch.log
Apr 13 18:56:29 zammad-22.pbzinc.loc systemd-entrypoint[409]: ERROR: Elasticsearch died while starting up, with exit code 1
Apr 13 18:56:29 zammad-22.pbzinc.loc systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 18:56:29 zammad-22.pbzinc.loc systemd[1]: elasticsearch.service: Failed with result ‘exit-code’.
Apr 13 18:56:29 zammad-22.pbzinc.loc systemd[1]: Failed to start Elasticsearch.
Apr 13 18:56:29 zammad-22.pbzinc.loc systemd[1]: elasticsearch.service: Consumed 15.584s CPU time.
zammad-22:/# cat /etc/elasticsearch/certs/http_ca.crt | zammad run rails r ‘SSLCertificate.create!(certificate: STDIN.read)’
Steps to reproduce the behavior:
- I recently upgraded elasticsearch from 7 to 9. I ran
zammad run rake zammad:searchindex:rebuild - rake aborted!
Unable to process GET request to elasticsearch URL ‘https://localhost:9200’. Elasticsearch is not reachable. It’s possible that it’s not running. Please check whether it is installed.
Response:
#<UserAgent::Result:0x00007f5fb720aeb8 @success=false, @body=nil, @data=nil, @code=0, @content_type=nil, @error=“#<Errno::ECONNREFUSED: Failed to open TCP connection to localhost:9200 (Connection refused - connect(2) for "localhost" port 9200)>”, @header=nil>
Payload:
null
Payload size: 0M
/opt/zammad/lib/search_index_backend.rb:49:in ‘SearchIndexBackend.info’
/opt/zammad/lib/tasks/zammad/search_index_es.rake:64:in ‘block (3 levels) in ’
/opt/zammad/vendor/bundle/ruby/3.4.0/gems/rake-13.3.1/exe/rake:27:in ‘<top (required)>’
/opt/zammad/bin/bundle:121:in ‘Kernel#load’
/opt/zammad/bin/bundle:121:in ‘’
Tasks: TOP => zammad:searchindex:rebuild => zammad:searchindex:version_supported
(See full trace by running task with --trace)
Zammad 7 is accessible from the web URL, however, even though I have users, I can’t search for them when changing customer on a ticket.
I am also trying to reset the elasticsearch user password without success /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic
ERROR: Failed to determine the health of the cluster., with exit code 69