Package Details: elasticsearch 8.17.1-1

Git Clone URL: https://aur.archlinux.org/elasticsearch.git (read-only, click to copy)
Package Base: elasticsearch
Description: Free and Open, Distributed, RESTful Search Engine
Upstream URL: https://www.elastic.co/elasticsearch/
Licenses: custom:Elastic-2.0
Conflicts: elasticsearch-bin, elasticsearch7
Provides: elasticsearch
Submitter: hashworks
Maintainer: ipaqmaster
Last Packager: ipaqmaster
Votes: 11
Popularity: 0.87
First Submitted: 2022-01-08 16:30 (UTC)
Last Updated: 2025-01-21 16:49 (UTC)

Dependencies (2)

Required by (18)

Sources (9)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

dmw commented on 2025-01-16 13:01 (UTC)

Installation fails:

BUILD SUCCESSFUL in 27s
620 actionable tasks: 620 up-to-date
==> Betrete fakeroot Umgebung...
==> Beginne package()...
==> FEHLER: Ein Fehler geschah in package().
    Breche ab..

I coud track it down to PKGBUILD line 76: jdk_openjdk_version=$(pacman -Ql java-runtime | grep -Pom1 '/usr/lib/jvm/java-[0-9]+-openjdk/') which fails at grep. Changing the pacman query from java-runtime to jdk-openjdk resolves this issue as it now finds my java runtime /usr/lib/jvm/java-23-openjdk/

bjo commented on 2024-12-13 08:06 (UTC)

Sure, but the issue appeared with JDK17 and also with JDK21. But it was now fixed by installing JDK17 instead auf JRE17.

kode54 commented on 2024-12-13 07:52 (UTC)

@bjo: Every time you change major Java versions, you have to rebuild the Elasticsearch package, since it compiles a symlink to the installed Java version at build time, not install time.

bjo commented on 2024-12-12 21:28 (UTC)

BTW, regarding JAVA_HOME: ES_JAVA_HOME should work, see https://github.com/elastic/elasticsearch/issues/44139#issuecomment-1061775438

bjo commented on 2024-12-12 21:23 (UTC) (edited on 2024-12-12 21:24 (UTC) by bjo)

Refuses to start:

Dec 12 22:16:55 host.domain.org elasticsearch[1855877]: warning: ignoring JAVA_HOME=/usr/lib/jvm/default-runtime; using bundled JDK

Dec 12 22:16:56 host.domain.org elasticsearch[1855941]: Error occurred during initialization of boot layer
Dec 12 22:16:56 host.domain.org elasticsearch[1855941]: java.lang.module.FindException: Module jdk.attach not found, required by org.elasticsearch.entitlement
Dec 12 22:16:56 host.domain.org elasticsearch[1855877]: ERROR: Elasticsearch died while starting up, with exit code 1

but the symlink points to the jre:

lrwxrwxrwx   1 root          root            28 Dec 12 22:16 jdk -> /usr/lib/jvm/java-21-openjdk

kode54 commented on 2024-06-08 08:51 (UTC)

Issue affecting 8.14.0: https://github.com/elastic/elasticsearch/issues/109438

kode54 commented on 2024-06-08 07:14 (UTC) (edited on 2024-06-08 07:23 (UTC) by kode54)

Maybe someone on their repo needs to be notified instead. I'll file a bug report and link it here, or link to one if it already exists.

Edit: https://discuss.elastic.co/t/building-oss-release-version-of-elastic-search-6-3-1/142041/9

It looks like it needs to be provided a signing key to produce non-snapshot builds.

ipaqmaster commented on 2024-06-08 00:39 (UTC)

Its marked as a latest release on the github https://github.com/elastic/elasticsearch/releases. I'm not sure how

kode54 commented on 2024-06-07 22:23 (UTC)

The elasticsearch 8.14.0 that this installs is claiming it is pre-release software in my system logs:

Jun 07 02:27:19 laharl elasticsearch[3925]: [2024-06-07T02:27:19,817][WARN ][o.e.n.Node               ] [laharl] version [8.14.0-SNAPSHOT] is a pre-release version of Elasticsearch and is not suitable for production

ipaqmaster commented on 2024-05-12 05:03 (UTC) (edited on 2024-05-12 05:09 (UTC) by ipaqmaster)

The package has been flagged out of date for With 8.13.4's release but is still listed as the latest package on https://github.com/elastic/elasticsearch/releases which is where this programmatically gets its release information from. The script will bump things once they mark it as a release there. I might open an issue to see if there's anything going on.

If there's a major push to change this method I'll be happy to consider it.