Package Details: elasticsearch 8.17.0-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.049833
First Submitted: 2022-01-08 16:30 (UTC)
Last Updated: 2024-12-12 16:50 (UTC)

Dependencies (2)

Required by (18)

Sources (9)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14

kescherAUR commented on 2022-02-16 22:15 (UTC) (edited on 2022-02-16 22:16 (UTC) by kescherAUR)

I think "allow data to be a symlink" should be patched back in. Storing data anywhere under /usr/share is not a thing that should be done by default.

Alternatively, have the default config use a different path (using path.data in elasticsearch.yml, for instance).

brauliobo commented on 2022-02-16 00:22 (UTC)

this requires java 17 at least, so dependency should reflect it

brauliobo commented on 2022-02-15 22:20 (UTC) (edited on 2022-02-15 22:21 (UTC) by brauliobo)

also, the default config file provided comes with security enabled, contrary to the previous community package.

disabling can be done through xpack.security.enabled: false in the elasticsearch.yml config file, as explained at https://docs.bmc.com/docs/vulnerabilitymanagement/31/configuring-authentication-for-elasticsearch-862833993.html

brauliobo commented on 2022-02-15 22:03 (UTC)

Elasticsearch 8 doesn't allow /usr/share/elasticsearch/data to be a symlink, making it a directory make it start properly without the error below

brauliobo commented on 2022-02-15 13:21 (UTC) (edited on 2022-02-15 13:22 (UTC) by brauliobo)

I've had to run:

  • sudo systemctl daemon-reexec
  • sudo ln -sf /usr/lib/jvm/java-17-openjdk/ /usr/share/elasticsearch/jdk

But still getting the error below:

fev 15 10:19:05 bhavapower elasticsearch[354250]: org.elasticsearch.ElasticsearchException: failed to bind service
fev 15 10:19:05 bhavapower elasticsearch[354250]: Likely root cause: java.nio.file.FileAlreadyExistsException: /usr/share/elasticsearch/data
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:398)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/java.nio.file.Files.createDirectory(Files.java:700)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at java.base/java.nio.file.Files.createDirectories(Files.java:753)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:261)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.node.Node.<init>(Node.java:388)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.node.Node.<init>(Node.java:277)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:358)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.cli.Command.main(Command.java:77)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)
fev 15 10:19:05 bhavapower elasticsearch[354250]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)

hashworks commented on 2022-02-07 20:22 (UTC)

v7.17.0 is not provided with an Apache license, please adjust it.

https://github.com/elastic/elasticsearch/blob/master/LICENSE.txt

hashworks commented on 2022-01-28 17:29 (UTC)

Currently, this package has no maintainer. Feel free to adopt it and update it yourself.

You could also check out OpenSearch: https://wiki.archlinux.org/title/OpenSearch

brauliobo commented on 2022-01-28 17:16 (UTC)

any change this is updated to the latest 7.16+ version?