I try to install siren-federate plugin with Docker and ES 7.6.1.
I’ve an error during the plugin installation :
Step 1/7 : FROM elasticsearch:7.6.1
—> 41072cdeebc5
Step 2/7 : RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file://siren-federate-7.3.2-19.0-proguard-plugin.zip
—> Running in 00c710919d88
→ Installing file://siren-federate-7.3.2-19.0-proguard-plugin.zip
→ Downloading file://siren-federate-7.3.2-19.0-proguard-plugin.zip
→ Failed installing file://siren-federate-7.3.2-19.0-proguard-plugin.zip
→ Rolling back file://siren-federate-7.3.2-19.0-proguard-plugin.zip
→ Rolled back file://siren-federate-7.3.2-19.0-proguard-plugin.zip
Exception in thread “main” java.net.UnknownHostException: siren-federate-7.3.2-19.0-proguard-plugin.zip
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
at java.base/java.net.Socket.connect(Socket.java:603)
at java.base/sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:961)
at java.base/sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:923)
at java.base/sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1018)
at java.base/sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1004)
at java.base/sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:312)
at java.base/sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:418)
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:449)
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:329)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:251)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:224)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:91)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
The zip fil is found but installation is not terminate. I try with ES 7.3.2, it’s the same problem.
org.elasticsearch.secure_sm.ThreadPermission modifyArbitraryThreadGroup
See Permissions in the JDK
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?
at org.elasticsearch.cli.Terminal$SystemTerminal.readText(Terminal.java:173)
at org.elasticsearch.plugins.PluginSecurity.prompt(PluginSecurity.java:74)
at org.elasticsearch.plugins.PluginSecurity.confirmPolicyExceptions(PluginSecurity.java:67)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:811)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:785)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:231)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)