Answer the question
In order to leave comments, you need to log in
How to install plugins on elasticsearch?
Good afternoon, I'm trying to install the ingest-attachment plugin .
1. From office. guides
-> Installing ingest-attachment...
Trying https://download.elastic.co/elasticsearch/release/... ...
Failed: FileNotFoundException[https://download.elastic.co/elasticsearch/release/... nested: FileNotFoundException[https://download.elastic.co/elasticsearch/release/...
Jan 19 15:54:22 limitless-snowflake elasticsearch[8035]: [2018-01-19 15:54:22,678][INFO ][node ] [komplex-node] version[2.3.1], pid[8035], build[bd98092/2016-04-04T12:25:05Z]
Jan 19 15:54:22 limitless-snowflake elasticsearch[8035]: [2018-01-19 15:54:22,680][INFO ][node ] [komplex-node] initializing ...
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: Exception in thread "main" java.lang.IllegalStateException: Could not load plugin descriptor for existing plugin [ingest-attachment]. Was the plugin built before 2.0?
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: Likely root cause: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/ingest-attachment/plugin-descriptor.properties
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at java.nio.file.Files.newByteChannel(Files.java:317)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at java.nio.file.Files.newByteChannel(Files.java:363)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at java.nio.file.Files.newInputStream(Files.java:108)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:87)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:378)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.plugins.PluginsService.(PluginsService.java:128)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.node.Node.(Node.java:158)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.node.Node.(Node.java:140)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Jan 19 15:54:23 limitless-snowflake elasticsearch[8035]: Refer to the log for complete error details.
Jan 19 15:54:23 limitless-snowflake systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jan 19 15:54:23 limitless-snowflake systemd[1]: elasticsearch.service: Unit entered failed state.
-> Installing from file:plugins/ingest-attachment-5.1.2.zip...
Trying file:plugins/ingest-attachment-5.1.2.zip ...
Downloading ....................................................................................................................................................................................................................DONE
Verifying file:plugins/ingest-attachment-5.1.2.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Plugin [ingest-attachment] must be at least a jvm or site plugin
{
"name" : "komplex-node",
"cluster_name" : "komplex-cluster",
"version" : {
"number" : "2.3.1",
"build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
"build_timestamp" : "2016-04-04T12:25:05Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}
$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Answer the question
In order to leave comments, you need to log in
Now set like this
MacBook-Pro:elasticsearch-5.1.1 leah$ ./bin/elasticsearch-plugin install ingest-attachment
-> Downloading ingest-attachment from elastic
[=================================================] 100%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* 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.
Continue with installation? [y/N]y
-> Installed ingest-attachment
MacBook-Pro:elasticsearch-5.1.1 leah$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question