Offline installation of X-Pack


#1

I have downloaded x-pack-5.0.0.zipand extracted it in a folder like /setup/x-pack-5.0.0.zip. Here https://www.elastic.co/guide/en/x-pack/5.0/installing-xpack.html#xpack-installing-offline I have seen the command;

bin/elasticsearch-plugin install x-pack

But how can I specify the folder here? I have tried;

./elasticsearch-plugin install /setup/x-pack-5.0.0/elasticsearch

but it says;

A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - Removes a plugin from elasticsearch

Non-option arguments:
command

Option         Description
------         -----------
-h, --help     show help
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin /setup/x-pack-5.0.0/elasticsearch

How can I fix this?


(Mark Walkom) #2

There is nothing in the instructions around unzipping the file, you need to point the plugin command at the zip file instead.


#3

It's showing error;

ERROR: Unknown plugin /setup/x-pack-5.0.0.zip

(Mark Walkom) #4

Is that the full path to the file?


#5

yes it is


(Mark Walkom) #6

Per the docs, the command is bin/elasticsearch-plugin install file:///path/to/file/x-pack-5.0.0.zip So you need to do bin/elasticsearch-plugin install file:///setup/x-pack-5.0.0.zip.

You have not added the file:// part.


#7

That solved the problem. Thanks :slight_smile:


(system) #8

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