# Error "fatal: Not a git repository (or any of the parent directories): .git" when trying to install a plugin in offline mode with LS 1.5.5 or newer

**URL:** <https://discuss.elastic.co/t/error-fatal-not-a-git-repository-or-any-of-the-parent-directories-git-when-trying-to-install-a-plugin-in-offline-mode-with-ls-1-5-5-or-newer/37032>\
**Category:** Logstash\
**Created:** [December 12, 2015, 6:14am UTC](https://discuss.elastic.co/t/error-fatal-not-a-git-repository-or-any-of-the-parent-directories-git-when-trying-to-install-a-plugin-in-offline-mode-with-ls-1-5-5-or-newer/37032 "2015-12-12T06:14:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christiangalsterer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christiangalsterer/32/6447_2.png) [@christiangalsterer](https://discuss.elastic.co/u/christiangalsterer)\
**Post date:** [December 12, 2015, 6:14am UTC](https://discuss.elastic.co/t/error-fatal-not-a-git-repository-or-any-of-the-parent-directories-git-when-trying-to-install-a-plugin-in-offline-mode-with-ls-1-5-5-or-newer/37032/1 "2015-12-12T06:14:05Z")

</div>

Starting with Logstash 1.5.5 I get the following error message when trying to install with a downloaded gem file.

```
Validating /tmp/logstash-input-salesforce-0.1.1.gem
Installing logstash-input-salesforce
fatal: Not a git repository (or any of the parent directories): .git

```

I also tested with Logstash 1.5.6 and with different plugins but it is always the same error. With LS 1.5.4 everything works without problems.

It seems that now the gem spec file is now handled differently. Does somebody else has this problem and is there a way to fix it?

---

<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, 5:18am UTC](https://discuss.elastic.co/t/error-fatal-not-a-git-repository-or-any-of-the-parent-directories-git-when-trying-to-install-a-plugin-in-offline-mode-with-ls-1-5-5-or-newer/37032/2 "2017-07-06T05:18:45Z")

</div>


