# Error Installing the Plugin

**URL:** <https://discuss.elastic.co/t/error-installing-the-plugin/226989>\
**Category:** Logstash\
**Created:** [April 7, 2020, 6:46pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989 "2020-04-07T18:46:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hlogan](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hlogan](https://discuss.elastic.co/u/hlogan)\
**Post date:** [April 7, 2020, 6:46pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/1 "2020-04-07T18:46:39Z")

</div>

Hi , I am getting error while installing the plugin #bin/logstash-plugin install logstash-input-salesforce  
Validating logstash-input-salesforce  
Installing logstash-input-salesforce  
Plugin version conflict, aborting  
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "faraday":  
In snapshot (Gemfile.lock):  
faraday (= 0.15.4)

In Gemfile:  
logstash-input-elasticsearch java was resolved to 4.6.0, which depends on  
faraday (~\> 0.15.4) java

```
logstash-input-salesforce java was resolved to 3.0.5, which depends on
  restforce (~> 2.4.2) java was resolved to 2.4.2, which depends on
    faraday (~> 0.9.0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "logstash-core":  
In snapshot (Gemfile.lock):  
logstash-core (= 7.6.1)

In Gemfile:  
logstash-core java

```
logstash-core-plugin-api java was resolved to 2.1.16, which depends on
  logstash-core (= 7.6.1) java

logstash-input-syslog java was resolved to 3.4.1, which depends on
  logstash-filter-grok java was resolved to 4.3.0, which depends on
    logstash-core (>= 5.6.0) java

logstash-input-salesforce java was resolved to 0.1.1, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

logstash-integration-jdbc java was resolved to 5.0.1, which depends on
  logstash-core (>= 6.5.0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "logstash-core-plugin-api":  
In snapshot (Gemfile.lock):  
logstash-core-plugin-api (= 2.1.16)

In Gemfile:  
logstash-devutils (~\> 1) java was resolved to 1.3.6, which depends on  
logstash-core-plugin-api (\>= 2.0, \<= 2.99) java

```
logstash-input-salesforce java was resolved to 2.0.4, which depends on
  logstash-core-plugin-api (~> 1.0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.

Please help

Thanks,  
Hlogan

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 7, 2020, 8:06pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/2 "2020-04-07T20:06:15Z")

</div>

There is an [open issue](https://github.com/logstash-plugins/logstash-input-salesforce/issues/21) for this. I don't think anyone has worked on this input in a long time. The dependencies need to be fixed, but I wouldn't hold your breath waiting for that to happen.

---

<div class="post-metadata">

**Author:** ![hlogan](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hlogan](https://discuss.elastic.co/u/hlogan)\
**Post date:** [April 7, 2020, 8:32pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/3 "2020-04-07T20:32:01Z")

</div>

Thanks for the updates Badger, can see this input plugin available for longtime, any other doc to refer, suggestion?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 7, 2020, 11:57pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/4 "2020-04-07T23:57:12Z")

</div>

Sorry, there is not much more I can say. There appear to have been updates to the salesforce input a couple of years ago to support logstash 5.x , yet we see

```
logstash-input-salesforce java was resolved to 0.1.1, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

```

which I think means the input you have cannot support logstash 2.0 or above, and obviously that means it cannot support 7.6.1.

It looks like you are installing 3.0.5, which is the most recent version, so I have no ideas on why the input was updated to support 5.x yet the dependencies still restrict it to 1.x. I have to wonder if the problem is actually in something the input depends on. And I do not know how to get super verbose logging of the dependency chain that might allow you to find where the issue is.

For example, one of the questions that needs answering is "Why did logstash-input-salesforce java resolve to 0.1.1?"

---

<div class="post-metadata">

**Author:** ![hlogan](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hlogan](https://discuss.elastic.co/u/hlogan)\
**Post date:** [April 8, 2020, 2:58pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/5 "2020-04-08T14:58:52Z")

</div>

No Problem, Thank you so much for your updates,  
Will try to install logstash 5.x version to see if that works, not sure if kibana and elastic search in higher version 7.x and logstash alone in 5.x will work, let me try this and see

---

<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:** [May 6, 2020, 2:58pm UTC](https://discuss.elastic.co/t/error-installing-the-plugin/226989/6 "2020-05-06T14:58:55Z")

</div>

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