# Error on offline plugin install, verification failed

**URL:** https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631
**Category:** Logstash
**Created:** [August 3, 2017, 3:01am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631 "2017-08-03T03:01:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TaurusD](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@TaurusD](https://discuss.elastic.co/u/TaurusD)
#### Post date: [August 3, 2017, 3:01am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/1 "2017-08-03T03:01:11Z")

</div>

Hi, I'm using logstash 5.5.1 and trying to install some plugin offline on WINDOWS.

I have already have my plugins ready on my PC, and I used

> bin\logstash-plugin prepare-offline-packages logstash-input-\* logstash-filter-\*

Then, I got my `logstash-offline-plugins-5.5.1.zip` file. I copied it to the offline machine which already had logstash 5.5.1. I ran the command

> bin\logstash-plugin install logstash-offline-plugins-5.5.1.zip

Then I got error message below:

> Validating logstash-offline-plugins-5.5.1.zip  
> Plugin logstash-offline-plugins-5.5.1.zip does not exist  
> ERROR: Installation aborted, verification failed for logstash-offline-plugins-5.5.1.zip

I think I followed the instruction on [Offline Plugin Management](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) except the instruction uses `/` in command examples but in windows we should use `\`.

So can anyone help me on this? Thank you!

---

<div class="post-metadata">

### Author: ![TaurusD](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@TaurusD](https://discuss.elastic.co/u/TaurusD)
#### Post date: [August 3, 2017, 4:00am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/2 "2017-08-03T04:00:02Z")

</div>

And, if I use the command

> bin\logstash-plugin install file:///e:\path\logstash\logstash-offline-plugins-5.5.1.zip

or

> bin\logstash-plugin install file:\\e:\path\logstash\logstash-offline-plugins-5.5.1.zip

I will always get error message like below

> ERROR: Something went wrong when installing file:///e:\ELK\logstash-5.5.1\logstash-offline-plugins-5.5.1.zip, message: bad URI(is not URI?): [https://artifacts.elastic.co/downloads/logstash-plugins/file://e:\ELK\logstash-5.5.1\logstash-offline-plugins-5.5.1.zip/file:///e:\ELK\logstash-5.5.1\logstash-offline-plugins-5.5.1.zip-5.5.1.zip](https://artifacts.elastic.co/downloads/logstash-plugins/file://e:%5CELK%5Clogstash-5.5.1%5Clogstash-offline-plugins-5.5.1.zip/file:///e:%5CELK%5Clogstash-5.5.1%5Clogstash-offline-plugins-5.5.1.zip-5.5.1.zip)

---

<div class="post-metadata">

### Author: ![TaurusD](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@TaurusD](https://discuss.elastic.co/u/TaurusD)
#### Post date: [August 3, 2017, 6:26am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/3 "2017-08-03T06:26:28Z")

</div>

Can any expert solve this problem? Thank you!  
@magnusbaeck @val @thomasneirynck @guyboertje

---

<div class="post-metadata">

### Author: ![TaurusD](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@TaurusD](https://discuss.elastic.co/u/TaurusD)
#### Post date: [August 3, 2017, 6:28am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/4 "2017-08-03T06:28:51Z")

</div>

Meanwhile, about this discuss system, I recently found that when I click `reply` to any post, it doesn't really reply to the person. It seems just post a new reply but not showing who I'm replying.

---

<div class="post-metadata">

### Author: ![TaurusD](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@TaurusD](https://discuss.elastic.co/u/TaurusD)
#### Post date: [August 3, 2017, 10:04am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/5 "2017-08-03T10:04:21Z")

</div>

Ok, here I come to answer this by myself to let people who saw this post be avoided of the same issue.

The problem is that the official instruction [Offline Plugin Management](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) is **misleading!!!**

In the official instruction [installing-offline-packs](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#installing-offline-packs), the windows example shows:

> bin/logstash-plugin install file:///c:/path/to/logstash-offline-plugins-5.5.1.zip

which is **wrong** because windows defaultly usw `\` in path. So the part `bin/logstash-plugin` will let windows think `bin` is a command but not a folder, which leads to error.

At the same time, the `file:///c:/path/to/logstash-offline-plugins-5.5.1.zip` part is required by logstash, so if you choose

> bin\logstash-plugin install file:///c:/path/to/logstash-offline-plugins-5.5.1.zip

will also cause error.

The solution is that you should avoid using `\` by `cd` into `bin` directory and run command

> logstash-plugin install file:///c:/path/to/logstash-offline-plugins-5.5.1.zip

directly. This will let you install plugin successfully.

---

<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: [August 31, 2017, 10:04am UTC](https://discuss.elastic.co/t/error-on-offline-plugin-install-verification-failed/95631/6 "2017-08-31T10:04:25Z")

</div>

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