Elasticsearch: ingest-attachment 6.3.0 can't be installed on elk 6.3.0

Created on 26 Jun 2018  路  3Comments  路  Source: elastic/elasticsearch

Hi,

I wan't to install ingest-attachment on elk 6.3.0 but got an error.

cmd:

bin/elasticsearch-plugin install ingest-attachment

error:

[=================================================] 100%??
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
* java.security.SecurityPermission insertProvider
* java.security.SecurityPermission putProviderProperty.BC
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Exception in thread "main" java.lang.IllegalStateException: unable to read from standard input; is standard input open and a tty attached?

I find an issue related:
https://github.com/elastic/elasticsearch/pull/29359

Please help, Thanks~

Most helpful comment

@xiaoxin01 Use can use the -b flag to ignore the check if you have no tty.

bin/elasticsearch-plugin install -b ingest-attachment

I encountered the same error while building my docker image which includes the plugin (docker build env has no tty).

All 3 comments

Are you running that command from the command line or from a script or from docker?

Anyway please ask this question on discuss.elastic.co where we can give a better support.
This space is only for confirmed issues or feature requests which have been discussed on discuss.elastic.co.

Thanks!

@xiaoxin01 Use can use the -b flag to ignore the check if you have no tty.

bin/elasticsearch-plugin install -b ingest-attachment

I encountered the same error while building my docker image which includes the plugin (docker build env has no tty).

Tks a lot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

makeyang picture makeyang  路  3Comments

rjernst picture rjernst  路  3Comments

abtpst picture abtpst  路  3Comments

DhairyashilBhosale picture DhairyashilBhosale  路  3Comments

abrahamduran picture abrahamduran  路  3Comments