当我尝试使用自制软件安装时,elasticsearch-full返回错误

dphi5xsq  于 2023-10-17  发布在  ElasticSearch
关注(0)|答案(2)|浏览(195)

我正在尝试使用自制软件安装elasticsearch-full。我使用下面的命令。

brew tap elastic/tap     
brew install elastic/tap/elasticsearch-full

并且返回波纹管错误。

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the elastic/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:9

Error: No such file or directory - /usr/local/var/homebrew/linked/elasticsearch-full

请找到Java版本,x1c 0d1x
谁能帮我把这个修好。谢谢.

dfuffjeb

dfuffjeb1#

我今天刚碰到这个问题。我在elastic repo的问题评论中找到了解决方案。我将在下面链接评论,但这里是我采取的步骤来解决这个问题:

brew remove elasticsearch-full
brew untap elastic/tap
brew update -v
brew tap elastic/tap
brew update -v
brew install elasticsearch-full

您可以通过在elasticsearch-full之后添加软件包名称来对任何其他受影响的软件包执行此操作
以下是原始问题评论的链接:https://github.com/elastic/homebrew-tap/issues/110#issuecomment-964778575

ghhkc1vu

ghhkc1vu2#

看看这里的评论。这很管用!https://github.com/elastic/homebrew-tap/issues/146#issuecomment-1616542113

in /opt/homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:68.

对我很有效。或

service do
    run opt_bin/"elasticsearch"
    require_root false
    working_dir var
    log_path var/"elasticsearch.log"
    error_log_path var/"elasticsearch.log"
    environment_variables ES_JAVA_HOME: "/Library/Java/JavaVirtualMachines/jdk-11.0.11.jdk/Contents/Home"
  end

相关问题