Добрый день, пытаюсь поставить плагин
ingest-attachment.
1. С оф. руководства
sudo bin/plugin install ingest-attachment
2. Если сам беру с git и ставлю в папку plugins:
$ sudo journalctl --unit elasticsearchJan 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.
3. Качаю архив с оф. руководства и ставлю
$ sudo bin/plugin install file:plugins/ingest-attachment-5.1.2.zip-> 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
Ну сам elasticsearch работает конечно до плагинов и если $ES_HOME/plugins пустой
$ curl -X GET 'http://localhost:9200'{
"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)
Подскажите пожалуйста, как правильно это делается? Очень уж хочу что бы эластик у меня файлы мои индексировал и в laravel мой пихал ответики :)