# Unable to install logstash-output-mongodb on Ubuntu 16.04

**URL:** https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855
**Category:** Logstash
**Created:** [February 21, 2017, 10:12am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855 "2017-02-21T10:12:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jstar](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jstar](https://discuss.elastic.co/u/jstar)
#### Post date: [February 21, 2017, 10:12am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855/1 "2017-02-21T10:12:28Z")

</div>

Hi,

I was able to install logstash-output-mongodb on ubuntu 14.04 but when I tried that on ubuntu 16.04, it fails with **ERROR: Installation aborted, verification failed for logstash-output-mongodb**. I'm using logstash 5.2.1.

```
root@mymachine:/usr/share/logstash# bin/logstash-plugin install logstash-output-mongodb
Validating logstash-output-mongodb
ERROR: Installation aborted, verification failed for logstash-output-mongodb

```

Any clue please?  
Thanks.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 21, 2017, 10:37pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855/2 "2017-02-21T22:37:34Z")

</div>

Based on the timestamps in the repo, I'd say this isn't compatible with 5.2.1 - [https://github.com/logstash-plugins/logstash-output-mongodb](https://github.com/logstash-plugins/logstash-output-mongodb)

---

<div class="post-metadata">

### Author: ![jstar](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jstar](https://discuss.elastic.co/u/jstar)
#### Post date: [February 23, 2017, 11:11am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855/3 "2017-02-23T11:11:25Z")

</div>

@warkolm Thanks for the response.

I was able to get it work with this work around

1- Download logstash-output-mongodb from [rubygems](https://rubygems.org)

```
wget https://rubygems.org/downloads/logstash-output-mongodb-3.0.1.gem

```

2- Install it by refering the path where it was downloaded

```
/usr/share/logstash/bin/logstash-plugin install /path/to/logstash-output-mongodb/logstash-output-mongodb-3.0.1.gem

```

Hope this helps.

---

<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: [March 23, 2017, 11:11am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-output-mongodb-on-ubuntu-16-04/75855/4 "2017-03-23T11:11:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
