I am trying to install x-pack offline. I don't know why it is failing. I put the same url in the browser and it downloaded the file.
D:\kibana-5.1.2-windows-x86\bin>kibana-plugin.bat install file:///D:/x-pack-5.1.
2.zip
Attempting to transfer from file:///D:/x-pack-5.1.2.zip
Error: ENOTFOUND
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugin
s/file:///D:/x-pack-5.1.2.zip/file:///D:/x-pack-5.1.2.zip-5.1.2.zip
Plugin installation was unsuccessful due to error "No valid url specified."
After installing xpack and starting kibana. I cannot access kibana anymore. The logs show
log [20:15:03.362] [warning][license][xpack] License information could not b
e obtained from Elasticsearch. [illegal_argument_exception] No endpoint or opera
tion is available at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":
"No endpoint or operation is available at [_xpack]"}],"type":"illegal_argum
ent_exception","reason":"No endpoint or operation is available at [_xpack]"
},"status":400}"}
Unhandled rejection [illegal_argument_exception] No endpoint or operation is ava
ilable at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"{"error":
{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoi
nt or operation is available at [_xpack]"}],"type":"illegal_argument_excepti
on","reason":"No endpoint or operation is available at [_xpack]"},"status
":400}"}
at respond (D:\kibana-5.1.2-windows-x86\node_modules\elasticsearch\src\lib\t
ransport.js:289:15)
at checkRespForFailure (D:\kibana-5.1.2-windows-x86\node_modules\elasticsear
ch\src\lib\transport.js:248:7)
at HttpConnector. (D:\kibana-5.1.2-windows-x86\node_modules\elast
icsearch\src\lib\connectors\http.js:164:7)
at IncomingMessage.wrapper (D:\kibana-5.1.2-windows-x86\node_modules\elastic
search\node_modules\lodash\lodash.js:4968:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
It looks like you did not install x-pack in Elasticsearch, but only in Kibana.
Install it in Elasticsearch as well and restart Elasticsearch. The command should be almost identical. It could be that you do need three slashes for the path here
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.