personium / setup-vagrant

Vagrantfile and ansible for setting up of personium.io
Apache License 2.0
4 stars 9 forks source link

Java path error #10

Closed dixonsiu closed 6 years ago

dixonsiu commented 6 years ago
default: TASK [Install delete-by-query plugin] ******************************************
default: fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["/opt/elasticsearch-2.4.1/bin/plugin", "install", "delete-by-query"], "delta": "0:00:00.009506", "end": "2018-07-07 14:07:53.914319", "msg": "non-zero return code", "rc": 1, "start": "2018-07-07 14:07:53.904813", "stderr": "which: no java in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)", "stderr_lines": ["which: no java in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)"], "stdout": "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME", "stdout_lines": ["Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"]}
default: ...ignoring
dixonsiu commented 6 years ago

Root cause is the Window return code in scripts.
Closed by 35cbd02ed1edc0babdae10f9b4d9d4b677c83e55