# Fs river - Error while reading content

**URL:** <https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829>\
**Category:** Elasticsearch\
**Created:** [September 16, 2014, 11:49pm UTC](https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829 "2014-09-16T23:49:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Preeti\_Jain](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@Preeti\_Jain](https://discuss.elastic.co/u/Preeti_Jain)\
**Post date:** [September 16, 2014, 11:49pm UTC](https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829/1 "2014-09-16T23:49:43Z")

</div>

Hi,

I'm using elasticsearch version 1.0.1 that is installed on linux machine.  
I have created fs river to index content from file system. The river  
definition is

curl -XPUT '[http://localhost:9200/\_river/riverTest/\_meta](http://localhost:9200/_river/riverTest/_meta)' -d '{  
"type": "fs",  
"fs": {  
"url": " /data01/test/NewVehicleFiles1/",  
"json\_support" : true

},  
"index": {  
"index": "investigations",  
"type": "Vehicle"  
}  
}'

The river gets started, however, the indexing fails due the error mentioned  
below

[fr.pilato.elasticsearch.river.fs.river.FsRiver] [North] [fs][riverTest]  
Error while indexing content from /data01/test/NewVehicleFiles1

ES user has full access to the content directory(  
/data01/test/NewVehicleFiles1).  
What could be the issue?

Regards,  
Preeti

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/835a870f-a29f-4c33-b260-afc92d13b8c7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/835a870f-a29f-4c33-b260-afc92d13b8c7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![sumit\_gupta\_sgt](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@sumit\_gupta\_sgt](https://discuss.elastic.co/u/sumit_gupta_sgt)\
**Post date:** [September 17, 2014, 4:15am UTC](https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829/2 "2014-09-17T04:15:19Z")

</div>

Hi,

Before some days ago I am also facing same issue with 1.0.1..  
You can check with elasticsearch-0.90.9 Version.I think it's working fine.  
I am not sure if any update in FS River.

Thanks,  
Sumit Gupta

---

<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:** [September 17, 2014, 6:07am UTC](https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829/3 "2014-09-17T06:07:32Z")

</div>

Could you turn on debug?

See [https://github.com/dadoonet/fsriver#debug-mode](https://github.com/dadoonet/fsriver#debug-mode)

Also, which versions are you using?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 sept. 2014 à 01:49, Preeti Jain [itspreeti@gmail.com](mailto:itspreeti@gmail.com) a écrit :

Hi,

I'm using elasticsearch version 1.0.1 that is installed on linux machine.  
I have created fs river to index content from file system. The river definition is

curl -XPUT '[http://localhost:9200/\_river/riverTest/\_meta](http://localhost:9200/_river/riverTest/_meta)' -d '{  
"type": "fs",  
"fs": {  
"url": " /data01/test/NewVehicleFiles1/",  
"json\_support" : true

},  
"index": {  
"index": "investigations",  
"type": "Vehicle"  
}  
}'

The river gets started, however, the indexing fails due the error mentioned below

[fr.pilato.elasticsearch.river.fs.river.FsRiver] [North] [fs][riverTest] Error while indexing content from /data01/test/NewVehicleFiles1

ES user has full access to the content directory( /data01/test/NewVehicleFiles1).  
What could be the issue?

Regards,  
Preeti

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/835a870f-a29f-4c33-b260-afc92d13b8c7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/835a870f-a29f-4c33-b260-afc92d13b8c7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9595C49D-D58C-4609-99C8-827CDE137805%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/9595C49D-D58C-4609-99C8-827CDE137805%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:01am UTC](https://discuss.elastic.co/t/fs-river-error-while-reading-content/19829/4 "2017-07-06T01:01:46Z")

</div>


