# ERROR Unable to locate plugin type for IfFileName

**URL:** <https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398>\
**Category:** Elasticsearch\
**Created:** [January 13, 2018, 10:09am UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398 "2018-01-13T10:09:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilkiny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilkiny/32/26538_2.png) [@ilkiny](https://discuss.elastic.co/u/ilkiny)\
**Post date:** [January 13, 2018, 10:09am UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/1 "2018-01-13T10:09:17Z")

</div>

Hello there,

I am faced with such an error, what is the cause?

[Log](https://gist.github.com/ilkiny/e3c478f30595e62ad5d8fd8b5fce3f38)

Stay with love.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 13, 2018, 10:32am UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/2 "2018-01-13T10:32:58Z")

</div>

Dunno what you did exactly but do not run as root.

---

<div class="post-metadata">

**Author:** ![ilkiny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilkiny/32/26538_2.png) [@ilkiny](https://discuss.elastic.co/u/ilkiny)\
**Post date:** [January 13, 2018, 10:42am UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/3 "2018-01-13T10:42:56Z")

</div>

I created a user, but there is the same problem. [Log](https://gist.github.com/ilkiny/99629ff51d193a52c5698774430f6708) @dadoonet

---

<div class="post-metadata">

**Author:** ![ilkiny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilkiny/32/26538_2.png) [@ilkiny](https://discuss.elastic.co/u/ilkiny)\
**Post date:** [January 13, 2018, 12:25pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/4 "2018-01-13T12:25:10Z")

</div>

Is there anyone who can help? 😏

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 13, 2018, 12:32pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/5 "2018-01-13T12:32:48Z")

</div>

There will be, but it's the weekend and it's night time in a reasonable fraction of the world, so you may have to be a bit more patient.

Does `/var/lib/elasticsearch/elasticsearch` exist and is it writeable by the user as which Elasticsearch is running?

---

<div class="post-metadata">

**Author:** ![ilkiny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilkiny/32/26538_2.png) [@ilkiny](https://discuss.elastic.co/u/ilkiny)\
**Post date:** [January 13, 2018, 12:43pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/6 "2018-01-13T12:43:24Z")

</div>

> [@DavidTurner](#):
>
> There will be, but it's the weekend and it's night time in a reasonable fraction of the world, so you may have to be a bit more patient.
> 
> Does /var/lib/elasticsearch/elasticsearch exist and is it writeable by the user as which Elasticsearch is running?

Yes I created the user.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 13, 2018, 1:40pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/7 "2018-01-13T13:40:05Z")

</div>

Agreed.

Please read [this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and specifically the "Also be patient" part.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 13, 2018, 1:41pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/8 "2018-01-13T13:41:26Z")

</div>

How do you install elasticsearch in the first place? Did you read the installation guide? The official, not a blog post on internet...

---

<div class="post-metadata">

**Author:** ![ilkiny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilkiny/32/26538_2.png) [@ilkiny](https://discuss.elastic.co/u/ilkiny)\
**Post date:** [January 13, 2018, 1:50pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/9 "2018-01-13T13:50:55Z")

</div>

> [@dadoonet](#):
>
> How do you install elasticsearch in the first place? Did you read the installation guide? The official, not a blog post on internet...

Yes I have read the official letter.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 13, 2018, 3:01pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/10 "2018-01-13T15:01:23Z")

</div>

Can you write here what you did exactly?

---

<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:** [February 10, 2018, 3:01pm UTC](https://discuss.elastic.co/t/error-unable-to-locate-plugin-type-for-iffilename/115398/11 "2018-02-10T15:01:28Z")

</div>

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