# Plugin trouble: Plugin installation assumed to be site plugin, but contains source code, aborting installation

**URL:** <https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609>\
**Category:** Elasticsearch\
**Created:** [July 2, 2013, 1:06am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609 "2013-07-02T01:06:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toru](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toru/32/2250_2.png) [@Toru](https://discuss.elastic.co/u/Toru)\
**Post date:** [July 2, 2013, 1:06am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609/1 "2013-07-02T01:06:15Z")

</div>

I'd like to add MongoDB River Plugin and Mapper Attachments Type plugin.  
But, system said me,  
$bin/plugin -install richardwilly98/elasticsearch-river-mongodb  
-\> Installing richardwilly98/elasticsearch-river-mongodb...  
Trying  
[https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master](https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master)...  
(assuming site plugin)  
Downloading .................DONE  
Plugin installation assumed to be site plugin, but contains source code,  
aborting installation...

And,

$bin/plugin --url  
[https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip](https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip)  
--install river-mongodb  
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  
-h, --help : Prints this help message

[\*] Plugin name could be:  
elasticsearch/plugin/version for official elasticsearch plugins  
(download from [download.elasticsearch.org](http://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:  
Command [--url] unknown.

What should I do??  
Please help me.

My environment:  
Linux version 2.6.18-348.6.1.el5 (on local)  
java version "1.6.0\_45"  
elasticsearch 0.20.2 (used rpm)

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 2, 2013, 4:47am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609/2 "2013-07-02T04:47:21Z")

</div>

Try this:  
$bin/plugin -install richardwilly98/elasticsearch-river-mongodb/1.6.9

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

Le 2 juil. 2013 à 03:06, Toru [torutakahashi.ayashi@gmail.com](mailto:torutakahashi.ayashi@gmail.com) a écrit :

I'd like to add MongoDB River Plugin and Mapper Attachments Type plugin.  
But, system said me,  
$bin/plugin -install richardwilly98/elasticsearch-river-mongodb  
-\> Installing richardwilly98/elasticsearch-river-mongodb...  
Trying [https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master](https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master)... (assuming site plugin)  
Downloading .................DONE  
Plugin installation assumed to be site plugin, but contains source code, aborting installation...

And,

$bin/plugin --url [https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip](https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip) --install river-mongodb  
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  
-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:  
Command [--url] unknown.

What should I do??  
Please help me.

## My environment: Linux version 2.6.18-348.6.1.el5 (on local) java version "1.6.0\_45" elasticsearch 0.20.2 (used rpm)

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Toru](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toru/32/2250_2.png) [@Toru](https://discuss.elastic.co/u/Toru)\
**Post date:** [July 2, 2013, 6:44am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609/3 "2013-07-02T06:44:35Z")

</div>

Thank you David!

I could install elasticsearch-river-mongodb!

2013年7月2日火曜日 13時47分21秒 UTC+9 David Pilato:

> Try this:  
> $bin/plugin -install richardwilly98/elasticsearch-river-mongodb/1.6.9
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 2 juil. 2013 à 03:06, Toru \<[torutakaha...@gmail.com](mailto:torutakaha...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> I'd like to add MongoDB River Plugin and Mapper Attachments Type plugin.  
> But, system said me,  
> $bin/plugin -install richardwilly98/elasticsearch-river-mongodb  
> -\> Installing richardwilly98/elasticsearch-river-mongodb...  
> Trying  
> [https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master](https://github.com/richardwilly98/elasticsearch-river-mongodb/zipball/master)...  
> (assuming site plugin)  
> Downloading .................DONE  
> Plugin installation assumed to be site plugin, but contains source code,  
> aborting installation...
> 
> And,
> 
> $bin/plugin --url  
> [https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip--install](https://github.com/richardwilly98/elasticsearch-river-mongodb/archive/master.zip--install) river-mongodb  
> 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  
> -h, --help : Prints this help message
> 
> [\*] Plugin name could be:  
> elasticsearch/plugin/version for official elasticsearch plugins  
> (download from [download.elasticsearch.org](http://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:  
> Command [--url] unknown.
> 
> What should I do??  
> Please help me.
> 
> My environment:  
> Linux version 2.6.18-348.6.1.el5 (on local)  
> java version "1.6.0\_45"  
> elasticsearch 0.20.2 (used rpm)
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:28am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12609/4 "2017-07-06T02:28:42Z")

</div>


