# 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/12610>\
**Category:** Elasticsearch\
**Created:** [July 2, 2013, 1:08am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610 "2013-07-02T01:08:29Z")\
**Posts on this page:** 5\
**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:08am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610/1 "2013-07-02T01:08:29Z")

</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??  
I could installed Elasticsearch Head Plugin.  
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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [July 2, 2013, 1:23am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610/2 "2013-07-02T01:23:58Z")

</div>

Github no longer allows downloads, so projects cannot (easily) distribute  
binaries. You can either clone the repo and build it locally or find a  
hosted maven repo. Looks like it is hosted on various maven sites:  
[http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb](http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb)

For the latter, you need to use the groupId/artifactId/version syntax.

--  
Ivan

On Mon, Jul 1, 2013 at 6:08 PM, Toru [torutakahashi.ayashi@gmail.com](mailto:torutakahashi.ayashi@gmail.com) wrote:

> 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-](https://github.com/**richardwilly98/elasticsearch-)  
> river-mongodb/zipball/master.[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-](https://github.com/**richardwilly98/elasticsearch-)\*\*  
> river-mongodb/archive/master.\*\*zip[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??  
> I could installed Elasticsearch Head Plugin.  
> 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, 1:49am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610/3 "2013-07-02T01:49:54Z")

</div>

Thank you, Ivan!!

I could add these plugins!

2013年7月2日火曜日 10時23分58秒 UTC+9 Ivan Brusic:

> Github no longer allows downloads, so projects cannot (easily) distribute  
> binaries. You can either clone the repo and build it locally or find a  
> hosted maven repo. Looks like it is hosted on various maven sites:
> 
> [http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb](http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb)
> 
> For the latter, you need to use the groupId/artifactId/version syntax.
> 
> --  
> Ivan
> 
> On Mon, Jul 1, 2013 at 6:08 PM, Toru \<[torutakaha...@gmail.com](mailto:torutakaha...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > 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-](https://github.com/**richardwilly98/elasticsearch-)  
> > river-mongodb/zipball/master.[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-](https://github.com/**richardwilly98/elasticsearch-)\*\*  
> > river-mongodb/archive/master.\*\*zip[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??  
> > I could installed Elasticsearch Head Plugin.  
> > 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:** ![Thomas\_Maiaroto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomas_maiaroto/32/1974_2.png) [@Thomas\_Maiaroto](https://discuss.elastic.co/u/Thomas_Maiaroto)\
**Post date:** [November 18, 2013, 7:00pm UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610/4 "2013-11-18T19:00:22Z")

</div>

I just followed these  
instructions: [Home · richardwilly98/elasticsearch-river-mongodb Wiki · GitHub](https://github.com/richardwilly98/elasticsearch-river-mongodb/wiki)

$/usr/share/elasticsearch/bin/plugin -i  
com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb/1.7.2

Seemed to work for me just fine. Though I also had the same issue at first  
when trying to install it via other means.

On Monday, July 1, 2013 8:49:54 PM UTC-5, Toru wrote:

> Thank you, Ivan!!
> 
> I could add these plugins!
> 
> 2013年7月2日火曜日 10時23分58秒 UTC+9 Ivan Brusic:
> 
> > Github no longer allows downloads, so projects cannot (easily) distribute  
> > binaries. You can either clone the repo and build it locally or find a  
> > hosted maven repo. Looks like it is hosted on various maven sites:
> > 
> > [http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb](http://maven-repository.com/artifact/com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb)
> > 
> > For the latter, you need to use the groupId/artifactId/version syntax.
> > 
> > --  
> > Ivan
> > 
> > On Mon, Jul 1, 2013 at 6:08 PM, Toru [torutakaha...@gmail.com](mailto:torutakaha...@gmail.com) wrote:
> > 
> > > 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-](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-](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??  
> > > I could installed Elasticsearch Head Plugin.  
> > > 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).  
> > > 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:06am UTC](https://discuss.elastic.co/t/plugin-trouble-plugin-installation-assumed-to-be-site-plugin-but-contains-source-code-aborting-installation/12610/5 "2017-07-06T02:06:25Z")

</div>


