Skip to content

feat(elasticsearch): reenable - #304

Merged
dargmuesli merged 1 commit into
mainfrom
feat/elasticsearch/reenable
Sep 7, 2026
Merged

feat(elasticsearch): reenable#304
dargmuesli merged 1 commit into
mainfrom
feat/elasticsearch/reenable

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

Elasticsearch has been scaled to zero since April 2026 and Zammad's integration with it was switched off a month later, so the helpdesk has been running without a search index ever since.
This reenables both.

The connection stays on HTTPS.
The certificate Elasticsearch generated for itself on first start is already imported into Zammad, and network.publish_host puts elasticsearch into that certificate's subject alternative names, so verification succeeds against the hostname Zammad connects to.

http.max_content_length is raised to 400mb because Zammad's es_total_max_size_in_mb defaults to 300, above Elasticsearch's 100mb limit, which would otherwise fail the index rebuild.
The healthcheck that was commented out is enabled unchanged, since it works as written.

docs/elasticsearch.md is new.
It records where the certificate comes from, how it gets into Zammad, and that neither the authority nor the server certificate is ever renewed automatically.
The server certificate expires around February 2028, after which search stops working until it is reissued by hand.

Zammad 7.1 supports Elasticsearch 9.x, and ingest-attachment ships as a bundled module there rather than a plugin, so nothing extra is needed for attachment indexing.

The Elasticsearch side is verified against a real 9.5.3 node; zammad-init actually building the index has not been exercised end to end.

@dargmuesli
dargmuesli merged commit 3894748 into main Sep 7, 2026
8 checks passed
@dargmuesli
dargmuesli deleted the feat/elasticsearch/reenable branch September 7, 2026 11:54
maevsi-bot pushed a commit that referenced this pull request Sep 7, 2026
## [21.2.0](21.1.0...21.2.0) (2026-09-07)

### Features

* **elasticsearch:** reenable ([#304](#304)) ([3894748](3894748))
@maevsi-bot

Copy link
Copy Markdown

🎉 This PR is included in version 21.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants