Elasticsearch dependency installing zammad

Infos:

  • Used Zammad version:
  • Used Zammad installation type: package
  • Operating system: debian 10
  • Browser + version:

Expected behavior:

  • elasticsearch isn’t a dependency package

Actual behavior:

  • apt-get install zammad
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

The following packages have unmet dependencies:
zammad : Depends: elasticsearch but it is not installable or
elasticsearch-oss but it is not installable
E: Unable to correct problems, you have held broken packages.

In the debian package there is a dependency on elasticsearch. This is very unfelxible in my opinion.
Scenario 1: You want to use an external elasticsearch node.
That’s not really that rare, is it?
Scenario 2: You want to use an alternative search engine like opensearch, which might be the better choice for future opensource projects.
What do you think?

In the Zammad universe it technically doesn’t happen too often.
However, the documentation covers that situation by telling you to break dependencies if needed. You could also deactivate the local installation but what do I know.

See: Software — Zammad System Documentation documentation

Zammad is tested on elasticsearch(-oss) and does support the oss branch since Zammad 4.0 in it’s packages. You should update to the latest version to have that.
The documentation also covers that use case: Set up Elasticsearch — Zammad System Documentation documentation

For any other search engines:
They’re not supported and thus we can’t provide any feedback on other third party tools out there.

If you want another search engine to be supported, the best catch would be to create a feature request on this board and see what others think.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.