# Fscrawler and elasticsearch 8

**URL:** <https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422>\
**Category:** Elasticsearch\
**Created:** [February 28, 2022, 3:42pm UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422 "2022-02-28T15:42:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_Plas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emile_plas/32/84542_2.png) [@Emile\_Plas](https://discuss.elastic.co/u/Emile_Plas)\
**Post date:** [February 28, 2022, 3:42pm UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422/1 "2022-02-28T15:42:51Z")

</div>

Hey!

I am using Elasticsearch 8 on a local server and fscrawler. Fscrawler logs the following error at the moment of startup:

```auto
WARN [f.p.e.c.f.c.ElasticsearchClient] failed to create index [dbrc], disabling crawler...
13:12:43,655 FATAL [f.p.e.c.f.c.FsCrawlerCli] We can not start Elasticsearch Client. Exiting.
java.lang.IllegalArgumentException: Mapping file _settings.json does not exist for elasticsearch version 8 in [/root/.fscrawler/_default] dir

```

I guess that this is an error due to incompatibility with Elasticsearch 8, but just to confirm: should I revert to Elasticsearch 7? I am using fscrawler 2.10 snapshot.

Thanks and kind regards!  
E.

---

<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:** [March 1, 2022, 12:58am UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422/2 "2022-03-01T00:58:22Z")

</div>

FSCrawler does not support yet elastic 8.  
But the good news is that I started today working on it.  
Not ready yet though.

Stay tuned 😉

In the meantime, you could try to create a dir named 8 and copy the same files that you find in dir 7.

You will need to change the mapping and change `dateOptionalTime` to `date_optional_time`.

Not sure if this will work though.

---

<div class="post-metadata">

**Author:** ![Emile\_Plas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emile_plas/32/84542_2.png) [@Emile\_Plas](https://discuss.elastic.co/u/Emile_Plas)\
**Post date:** [March 1, 2022, 6:46am UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422/3 "2022-03-01T06:46:11Z")

</div>

Ok! Thanks for the confirmation and thanks for making fscrawler publicly accessible! Greatly appreciated.

Will try to give it a spin, otherwise I revert back to es7

---

<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 29, 2022, 6:46am UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422/4 "2022-03-29T06:46:53Z")

</div>

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