Reputation: 879
I am trying to install elastisearch elasticsearch-readonlyrest-plugin. Now on its installation page Install,-Uninstall,-Build it was mentioned to use command sudo bin/plugin install https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip
.
I tried to use above command but got error
-> Installing from https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticse
arch-readonlyrest-v1.5_es-v2.1.1.zip...
Trying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonl
yrest-v1.5_es-v2.1.1.zip ...
Failed: FileNotFoundException[https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/downloa
d/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip]; nested: FileNotFoundException[https://github.com/sscarduzio/el
asticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip];
I also tried to download the plugin from this url download, and also got an email from them where it was mentioned to use below steps.
Download the zip file cd to the Elasticsearch home
bin/elasticsearch-plugin install file:///download-folder/readonlyrest-1.13.1_es2.4.4.zip
Edit elasticsearch.yml and add your configuration snippets
So i downloaded my readonlyrest plugin but when i tried to use command bin/elasticsearch-plugin install file:///download-folder/readonlyrest-1.13.1_es2.4.4.zip
i got below error
-bash: bin/elasticsearch-plugin: No such file or directory
Can anyone please tell me what is the proper way to install elasticsearch readonlyrest plugion in my elasticsearch-cluster properly i am trying from last three days and haven't found anything useful.
UPDATE
I used below command but still got an error
sum1er99@elasticsearch-2-1-vm:/usr/share/elasticsearch$ sudo bin/plugin install https://github.com/sscarduzio/el
asticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip
-> Installing from https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip..
.
Trying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip ...
Downloading ....................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
..........................................................DONE
Verifying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip checksums
if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip
sum1er99@elasticsearch-2-1-vm:/usr/share/elasticsearch$
Upvotes: 0
Views: 2052
Reputation: 6188
The downloads policy of ReadonlyREST has changed, you can't install by url anymore (unless you host the zip file somewhere yourself).
I will repeat here what I said in GitHub issue #153:
I opted to have an official website as a single point of download for various reasons:
Upvotes: 1