tlrx/elasticsearch-river-ldap

Exception when trying to install it on Elasticsearch 1.2.x

istvano opened this issue · 2 comments

Hi,

It is not possible to install it on ES 1.2 branch

Error while installing plugin, reason: IllegalArgumentException: Plugin installation assumed to be site plugin, but c ontains source code, aborting installation.

do you have any plans porting it to newer version of ES ?

Thanks

Same here. I'm running ElasticSearch 1.1

$ sudo bin/plugin -install tlrx/elasticsearch-river-ldap/0.0.2
-> Installing tlrx/elasticsearch-river-ldap/0.0.2...
Trying http://download.elasticsearch.org/tlrx/elasticsearch-river-ldap/elasticsearch-river-ldap-0.0.2.zip...
Trying http://search.maven.org/remotecontent?filepath=tlrx/elasticsearch-river-ldap/0.0.2/elasticsearch-river-ldap-0.0.2.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/tlrx/elasticsearch-river-ldap/0.0.2/elasticsearch-river-ldap-0.0.2.zip...
Trying https://github.com/tlrx/elasticsearch-river-ldap/archive/v0.0.2.zip...
Trying https://github.com/tlrx/elasticsearch-river-ldap/archive/master.zip...
Downloading ............DONE
Installed tlrx/elasticsearch-river-ldap/0.0.2 into /usr/share/elasticsearch/plugins/river-ldap
Usage:
    -u, --url     [plugin location]   : Set exact URL to download the plugin from
    -i, --install [plugin name]       : Downloads and installs listed plugins [*]
    -t, --timeout [duration]          : Timeout setting: 30s, 1m, 1h... (infinite by default)
    -r, --remove  [plugin name]       : Removes listed plugins
    -l, --list                        : List installed plugins
    -v, --verbose                     : Prints verbose messages
    -s, --silent                      : Run in silent mode
    -h, --help                        : Prints this help message

 [*] Plugin name could be:
     elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
     groupId/artifactId/version   for community plugins (download from maven central or oss sonatype)
     username/repository          for site plugins (download from github master)

Message:
   Error while installing plugin, reason: IllegalArgumentException: Plugin installation assumed to be site plugin, but contains source code, aborting installation.

I forgot about this plugin, then was excited to see that it existed, then was dismayed that I was getting an error when installing, then surprised to find a message from myself already! I have already done this once before and forgot! wow.