Elasticsearch-head plugin not available through http://localhost:9200/_plugin/head/

i just upgraded to latest elasticsearch 0.20.2 and reinstalled the head
plugin, but i can't open it through the browser:

http://localhost:9200/_plugin/head/

the installation is fine, its installed into
/usr/local/var/lib/elasticsearch/plugins:

○ → ls /usr/local/var/lib/elasticsearch/plugins/head/_site/
LICENCE README.textile index.html lib

when i open
file://localhost/usr/local/var/lib/elasticsearch/plugins/head/_site/index.html
the plugin is there as expected.

is there some new configuration option, that needs to be enabled to run the
plugin? or did i miss anything related to site plugins?

--

Are you sure you open it with the ending slash "/"?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 janv. 2013 à 16:01, Peter Schröder phoetmail@googlemail.com a écrit :

i just upgraded to latest elasticsearch 0.20.2 and reinstalled the head plugin, but i can't open it through the browser:

http://localhost:9200/_plugin/head/

the installation is fine, its installed into /usr/local/var/lib/elasticsearch/plugins:

○ → ls /usr/local/var/lib/elasticsearch/plugins/head/_site/
LICENCE README.textile index.html lib

when i open file://localhost/usr/local/var/lib/elasticsearch/plugins/head/_site/index.html the plugin is there as expected.

is there some new configuration option, that needs to be enabled to run the plugin? or did i miss anything related to site plugins?

--

Yeah, I open it with the trailing slash. We need more information about
what error you are getting? 500? 404? Timeout?

On Tuesday, January 15, 2013 11:06:33 AM UTC-5, David Pilato wrote:

Are you sure you open it with the ending slash "/"?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 janv. 2013 à 16:01, Peter Schröder <phoe...@googlemail.com<javascript:>>
a écrit :

i just upgraded to latest elasticsearch 0.20.2 and reinstalled the head
plugin, but i can't open it through the browser:

http://localhost:9200/_plugin/head/

the installation is fine, its installed into
/usr/local/var/lib/elasticsearch/plugins:

○ → ls /usr/local/var/lib/elasticsearch/plugins/head/_site/
LICENCE README.textile index.html lib

when i open
file://localhost/usr/local/var/lib/elasticsearch/plugins/head/_site/index.html
the plugin is there as expected.

is there some new configuration option, that needs to be enabled to run
the plugin? or did i miss anything related to site plugins?

--

--

i verified it on another dev-machine. after the update, the plugin is gone.

|system| walter in ~
○ → curl -v "http://localhost:9200/_plugin/head/"

  • About to connect() to localhost port 9200 (#0)
  • Trying ::1... Connection refused
  • Trying 127.0.0.1... connected
  • Connected to localhost (127.0.0.1) port 9200 (#0)

GET /_plugin/head/ HTTP/1.1
User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4
OpenSSL/0.9.8r zlib/1.2.5
Host: localhost:9200
Accept: /

< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 0
<

  • Connection #0 to host localhost left intact
  • Closing connection #0

--

I just tried it with a fresh installation of elasticsearch and it works
fine. How did you install it?

~/Software› curl -O -L
http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 15.4M 100 15.4M 0 0 1577k 0 0:00:10 0:00:10 --:--:--
1615k
~/Software› tar -xzf elasticsearch-0.20.2.tar.gz
~/Software› cd elasticsearch-0.20.2
~/Software/elasticsearch-0.20.2› bin/plugin -install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/zipball/master...
(assuming site plugin)
Downloading ...................................DONE
Identified as a _site plugin, moving to _site structure ...
Installed head
~/Software/elasticsearch-0.20.2› bin/elasticsearch
~/Software/elasticsearch-0.20.2› curl -v http://localhost:9200/_plugin/head/

  • About to connect() to localhost port 9200 (#0)
  • Trying 127.0.0.1... connected
  • Connected to localhost (127.0.0.1) port 9200 (#0)

GET /_plugin/head/ HTTP/1.1
User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7
OpenSSL/0.9.8r zlib/1.2.3
Host: localhost:9200
Accept: /

< HTTP/1.1 200 OK
< Content-Type: text/html
< Content-Length: 1789
<

ElasticSearch Head ....

On Wednesday, January 16, 2013 6:58:58 AM UTC-5, Peter Schröder wrote:

i verified it on another dev-machine. after the update, the plugin is gone.

|system| walter in ~
○ → curl -v "http://localhost:9200/_plugin/head/"

  • About to connect() to localhost port 9200 (#0)
  • Trying ::1... Connection refused
  • Trying 127.0.0.1... connected
  • Connected to localhost (127.0.0.1) port 9200 (#0)

GET /_plugin/head/ HTTP/1.1
User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4
OpenSSL/0.9.8r zlib/1.2.5
Host: localhost:9200
Accept: /

< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 0
<

  • Connection #0 to host localhost left intact
  • Closing connection #0

--

i installed via homebrew. re-installing elasticsearch did not help, but
brute force did the trick:

rm -rf /usr/local/var/lib/elasticsearch/

now everything is fine, except that all indexes are gone :slight_smile:

--

stopped working again... no logs, nothing :frowning:

--