No such file or directory

I am sorry for asking such a (LINUX) beginners question. But I hope that someone here will be able to point me in the right direction.

I followed the installation instruction but running into an issue that the installation zip file is not found:

bin/elasticsearch-plugin install file:///opt/readonlyrest.zip

-bash: bin/elasticsearch-plugin: No such file or directory

ReadonlyREST: readonlyrest-1.16.18_es6.2.3.zip
Elasticsearch: 6.2.3-1

Already thank you for your help :slight_smile:

So Github keeps on creating a “release” every time I create a tag. This is annoying because people think they can download the zip file from GH and install it. This clearly will not work because inside the zip file there’s just java source code.

IF ANYBODY KNOWS HOW TO DISABLE THE GITHUB RELEASES TAB, PLEASE TELL ME.

In the meanwhile, @xiaodie please download the installable plugin package from the self service download area instead.

Hi @sscarduzio,

thank you for your reply.

I did download it from the download area - the content looks like this:

I received the download link today:

Download ReadonlyREST 1.16.18 for Elasticsearch 6.2.3
Download your ReadonlyREST build


ReadonlyREST installation instructions
Download the zip file
cd to the Elasticsearch home
bin/elasticsearch-plugin install file:///download-folder/readonlyrest-1.16.18_es6.2.3.zip
Edit elasticsearch.yml and add your configuration snippets

Checksum: readonlyrest-1.16.18_es6.2.3.zip.sha1

Enjoy!

Simone 

Copyright © 2016 ReadonlyREST, All rights reserved.

It is clearly compiled. I also tried downloading it again and checked permissions. It looks ok …

you are not in the right directory! Go inside the right directory using cd /usr/share/elasticsearch

Ah yes,

sorry, I tried a few things before I posted the issue. But this:

[root@CentOS-72-64-minimal plugins]# cd /usr/share/elasticsearch/
[root@CentOS-72-64-minimal elasticsearch]# /bin/elasticsearch-plugin install file:///temp/readonlyrest-1.16.18_es6.2.3.zip
-bash: /bin/elasticsearch-plugin: No such file or directory

did not work either.

bin//usr/share/elasticsearch not /bin/usr/share/elasticsearch

I found my mistake - I just had a stupid typo there (temp instead of tmp). :roll_eyes: I am sorry for the trouble.

Everything seems to be working now.

Thank you for your help @sscarduzio