Problem installing X-pack

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.
Attempting to transfer from file:///D:/
Attempting to transfer from
Plugin installation was unsuccessful due to error "No valid url specified."

the problem is most likely that for Kibana you only need two slashes after file:

Let me know if this works for you. I just noticed that our docs do not reflect this, so we'll change it as soon as possible.


It worked thanks

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":"
"No endpoint or operation is available at [_xpack]"}],"type":"illegal_argum
ent_exception","reason":"No endpoint or operation is available at [_xpack]"
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
at respond (D:\kibana-5.1.2-windows-x86\node_modules\elasticsearch\src\lib\t
at checkRespForFailure (D:\kibana-5.1.2-windows-x86\node_modules\elasticsear
at HttpConnector. (D:\kibana-5.1.2-windows-x86\node_modules\elast
at IncomingMessage.wrapper (D:\kibana-5.1.2-windows-x86\node_modules\elastic
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

1 Like

fixed this after re-starting elastic search

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.