/bin/plugin install error Plugin installation assumed to be site plugin for jetty


(alap) #1

hi all

in the readme : it said to use uRL https :XXXXXXXXXXXXXXXXXXXXXXX, but i
dont have internet for this sever. so i use a file source

[root@XXXXXXXXXXXXXX]# /usr/share/elasticsearch/bin/plugin -url
file:///home/admin/elasticsearch-jetty-0.90.0.zip --install
elasticsearch-jetty-0.90.0
-> Installing elasticsearch-jetty-0.90.0...
Trying file:/home/admin/elasticsearch-jetty-0.90.0.zip...
Downloading .DONE
Installed elasticsearch-jetty-0.90.0 into
/usr/share/elasticsearch/plugins/jetty-0.90.0
Usage:
-u, --url [plugin location] : Set exact URL to download the
plugin from
-i, --install [plugin name] : Downloads and installs listed
plugins [*]
-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.
[root@UXXXXX _site]# curl -i http://localhost:9200
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 318

{
"ok" : true,
"status" : 200,
"name" : "XXXXXXXXX",
"version" : {
"number" : "0.90.6",
"build_hash" : "e2a24efdde0cb7cc1b2071ffbbd1fd874a6d8d6b",
"build_timestamp" : "2013-11-04T13:55:15Z",
"build_snapshot" : false,
"lucene_version" : "4.5.1"
},
"tagline" : "You Know, for Search"

I need to compile somethings, or delete folder ?
and how ?

regards thanks by advance.

alap

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(David Pilato) #2

You can not install a JVM plugin just by downloading source Project.

I answered you as well on the french mailing list.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 21 nov. 2013 à 15:38, alap arnaud.alapaquette@gmail.com a écrit :

hi all

in the readme : it said to use uRL https :XXXXXXXXXXXXXXXXXXXXXXX, but i dont have internet for this sever. so i use a file source

[root@XXXXXXXXXXXXXX]# /usr/share/elasticsearch/bin/plugin -url file:///home/admin/elasticsearch-jetty-0.90.0.zip --install elasticsearch-jetty-0.90.0
-> Installing elasticsearch-jetty-0.90.0...
Trying file:/home/admin/elasticsearch-jetty-0.90.0.zip...
Downloading .DONE
Installed elasticsearch-jetty-0.90.0 into /usr/share/elasticsearch/plugins/jetty-0.90.0
Usage:
-u, --url [plugin location] : Set exact URL to download the plugin from
-i, --install [plugin name] : Downloads and installs listed plugins [*]
-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.
[root@UXXXXX _site]# curl -i http://localhost:9200
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 318

{
"ok" : true,
"status" : 200,
"name" : "XXXXXXXXX",
"version" : {
"number" : "0.90.6",
"build_hash" : "e2a24efdde0cb7cc1b2071ffbbd1fd874a6d8d6b",
"build_timestamp" : "2013-11-04T13:55:15Z",
"build_snapshot" : false,
"lucene_version" : "4.5.1"
},
"tagline" : "You Know, for Search"

I need to compile somethings, or delete folder ?
and how ?

regards thanks by advance.

alap

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3