# Couchdb River plugin does not work after elastic search restart

**URL:** <https://discuss.elastic.co/t/couchdb-river-plugin-does-not-work-after-elastic-search-restart/8725>\
**Category:** Elasticsearch\
**Created:** [August 12, 2012, 7:14pm UTC](https://discuss.elastic.co/t/couchdb-river-plugin-does-not-work-after-elastic-search-restart/8725 "2012-08-12T19:14:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreeix](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sreeix/32/2774_2.png) [@sreeix](https://discuss.elastic.co/u/sreeix)\
**Post date:** [August 12, 2012, 7:14pm UTC](https://discuss.elastic.co/t/couchdb-river-plugin-does-not-work-after-elastic-search-restart/8725/1 "2012-08-12T19:14:16Z")

</div>

Hi,  
Apologies if it has been asked before, or is not the right place for the question.

I have elastic search integrated with couchdb, using the couch river plugin. But everytime i restart elastic search, i have to reissue the index creation command. Otherwise i get a NoShardAvailableActionException

Like  
curl -XPUT 'localhost:9200/\_river/registry/\_meta' -d '{  
"type" : "couchdb",  
"couchdb" : {  
"host" : "localhost",  
"port" : 5984,  
"db" : "registry",  
"ignore\_attachments":true,  
"filter" : null  
},  
"index" : {  
"index" : "registry",  
"type" : "registry",  
}  
}'

Is supposed to be this way or am i missing something?

Cheers  
Sreekanth

---

<div class="post-metadata">

**Author:** ![pedro\_goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_goncalves/32/80461_2.png) [@pedro\_goncalves](https://discuss.elastic.co/u/pedro_goncalves)\
**Post date:** [September 4, 2013, 8:43pm UTC](https://discuss.elastic.co/t/couchdb-river-plugin-does-not-work-after-elastic-search-restart/8725/2 "2013-09-04T20:43:08Z")

</div>

Hi sreeix,

I'm having the exact same issue as you. Were you able to overcome it somehow?

Thanks,  
Pedro

---

<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, 2:18am UTC](https://discuss.elastic.co/t/couchdb-river-plugin-does-not-work-after-elastic-search-restart/8725/3 "2017-07-06T02:18:11Z")

</div>


