# FSCrawler Ubuntu

**URL:** <https://discuss.elastic.co/t/fscrawler-ubuntu/202115>\
**Category:** Elasticsearch\
**Created:** [October 3, 2019, 8:38am UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115 "2019-10-03T08:38:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![glondres](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@glondres](https://discuss.elastic.co/u/glondres)\
**Post date:** [October 3, 2019, 8:38am UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/1 "2019-10-03T08:38:35Z")

</div>

Hello!  
I was running Elastic in Windows but now I have to migrate to Ubuntu in a cloud server.

The problem is that I was using FSCrawler to ingest the files to the stack, which runs smooth on Windows. However, there is no DEB/RPM packages yet for Linux, as previously discussed [here](https://discuss.elastic.co/t/how-to-install-fs-crawler-in-ubuntu/166932).

The turn around I found was using the installed and working FSCrawler in Windows and feeding the Linux stack via SSH (available in FSCrawler).  
Despite configuring it with SSH, and it being able to read the file in the server, I am getting an error: **WARN [f.p.e.c.f.FsParserAbstract] Error while crawling /tmp/sandbox: String index out of range: -1**

So, I would like to make two questions:  
1 - Do you have any tip/instruction on how to properly install FSCrawler in linux?  
2 - What can I do to solve the error?

Thanks!

---

<div class="post-metadata">

**Author:** ![glondres](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@glondres](https://discuss.elastic.co/u/glondres)\
**Post date:** [October 8, 2019, 5:02pm UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/2 "2019-10-08T17:02:42Z")

</div>

Any tips, folks?

---

<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:** [October 8, 2019, 5:15pm UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/3 "2019-10-08T17:15:24Z")

</div>

Could you try to run it with `--trace` option and share here the full logs?  
Are you using the 2.7-SNAPSHOT version?

---

<div class="post-metadata">

**Author:** ![glondres](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@glondres](https://discuss.elastic.co/u/glondres)\
**Post date:** [October 9, 2019, 9:21am UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/4 "2019-10-09T09:21:54Z")

</div>

Hi David,

Today while trying to run it again, it worked. Sending the files hosted in my Windows machine to the cloud.

Anyway, I would like to thank you for the attention and, enjoying the opportunity, ask if the FSCrawler RPM/DEB is in the agenda? This way I'll be able to run it fully in the cloud.

Thanks,

---

<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:** [October 9, 2019, 2:52pm UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/5 "2019-10-09T14:52:50Z")

</div>

No. Nothing planned but PRs are welcome 😉

A Docker image is on its way though.

---

<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:** [November 6, 2019, 2:52pm UTC](https://discuss.elastic.co/t/fscrawler-ubuntu/202115/6 "2019-11-06T14:52:53Z")

</div>

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