Installing elasticsearch-head plugin without internet access

This is my first post so want to start with how awesome and easy to
use ES. Great job Shay and community!
We are starting to migrate and elasticsearch-head looks like a nice
tool for admin. However the box where we are installing it does not
have internet access and I cannot figure out how to install it without
the plugin -install command. I can scp files and I dropped the
download in the plugin directory but that didn't work(gives 404).

I understand I can run the plugin without installing(and that works),
however I read that installing as plugin is somewhat better. Is their
any way to install plugin manually by providing the file instead of
downloading from internet?

Thank you!

Hi Nakul,

I have installed head (and also bigdesk) without an internet
connection

Steps:

Online:

1] Download the tar.gz by hand (just noticed I forgot to document this
step - but I think when you do a "plugin -install" it lists the
different URLs it's visiting, "curl" to one of those worked)

Offline:

2] untar into the plugins directory

(sounds like you already got this far?)

3] At this point, the URL

http://:9200/_plugin/head/ should work (don't forget the
trailing /)

(You don't have to restart)

Possible reasons for not working:

  • No trailing /
  • ES_HOME not set correctly
  • File permissions in the plugins directory

Nothing too insightful I'm afraid, but with luck the knowledge that
it's possible and straightforward will help you find the problem!

Thank you, I will give it another try.

On Feb 8, 12:22 pm, Alex at Ikanow apigg...@ikanow.com wrote:

Hi Nakul,

I have installed head (and also bigdesk) without an internet
connection

Steps:

Online:

1] Download the tar.gz by hand (just noticed I forgot to document this
step - but I think when you do a "plugin -install" it lists the
different URLs it's visiting, "curl" to one of those worked)

Offline:

2] untar into the plugins directory

(sounds like you already got this far?)

3] At this point, the URL

http://:9200/_plugin/head/ should work (don't forget the
trailing /)

(You don't have to restart)

Possible reasons for not working:

  • No trailing /
  • ES_HOME not set correctly
  • File permissions in the plugins directory

Nothing too insightful I'm afraid, but with luck the knowledge that
it's possible and straightforward will help you find the problem!

Yea, there is nothing really smart about the plugin installation, it just downloads the relevant zip file and extracts it (possibly the git master). Note, for site plugins, the content needs to be under _site, so, for elasticsearch-head, it should be under plugins/head/_site (index.html and so on).

Btw, the site plugins are just served as is, so you can definitely host them yourself, there really isn't a difference.

On Wednesday, February 8, 2012 at 8:45 PM, Nakul Jhalani wrote:

Thank you, I will give it another try.

On Feb 8, 12:22 pm, Alex at Ikanow <apigg...@ikanow.com (http://ikanow.com)> wrote:

Hi Nakul,

I have installed head (and also bigdesk) without an internet
connection

Steps:

Online:

1] Download the tar.gz by hand (just noticed I forgot to document this
step - but I think when you do a "plugin -install" it lists the
different URLs it's visiting, "curl" to one of those worked)

Offline:

2] untar into the plugins directory

(sounds like you already got this far?)

3] At this point, the URL

http://:9200/_plugin/head/ should work (don't forget the
trailing /)

(You don't have to restart)

Possible reasons for not working:

  • No trailing /
  • ES_HOME not set correctly
  • File permissions in the plugins directory

Nothing too insightful I'm afraid, but with luck the knowledge that
it's possible and straightforward will help you find the problem!

Thank Shay, the trick for me was putting it in subdirectory "_site". It
works now!.. Thank you!