Nothing provides elasticsearch

Infos:

  • Used Zammad version: zammad-6.0.0-1691402172.2296ccd0.centos8.x86_64
  • Used Zammad installation type: package
  • Operating system: Almalinux 8.8
  • Browser + version: Chromium Version 115.0.5790.110

Expected behavior:

  • Install package without any error via package manager after installing ElasticSearch

Actual behavior:

  • Error:
    Problem: cannot install the best candidate for the job
    • nothing provides elasticsearch needed by zammad-6.0.0-1691402172.2296ccd0.centos8.x86_64
      (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Steps to reproduce the behavior:

  • Setup a fresh and updated server
# install postgres
> dnf install postgresql-server
> /usr/bin/postgresql-setup --initdb
> systemctl enable --now postgresql.service

# install java
> dnf install java-11-openjdk

# install ElasticSearch
> dnf install elasticsearch-oss
> curl http://127.0.0.1:9200
{
  "name" : "de-sd-01",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "bXwXFtONQIeOAFaAWR4KSw",
  "version" : {
    "number" : "7.10.2",
    "build_flavor" : "oss",
    "build_type" : "rpm",
    "build_hash" : "747e1cc71def077253878a59143c1f785afa92b9",
    "build_date" : "2021-01-13T00:42:12.435326Z",
    "build_snapshot" : false,
    "lucene_version" : "8.7.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

# install Zammad
> rpm --import https://dl.packager.io/srv/zammad/zammad/key
> wget -O /etc/yum.repos.d/zammad.repo \
  https://dl.packager.io/srv/zammad/zammad/stable/installer/el/8.repo
> dnf install zammad

I’ve tried to reboot without any luck.
Could it be that the RPM build has an dependency issue or am I doing it wrong?

Please read the software dependency page:
https://docs.zammad.org/en/latest/prerequisites/software.html#elasticsearch-optional

Thanks. I accidentaly overread this part:

Please note that CentOS requires elasticsearch

After installing ElasticSearch with the default flavor everything runs fine.

2 Likes

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