# CONF\_FILE setting is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed

**URL:** <https://discuss.elastic.co/t/conf-file-setting-is-no-longer-supported-elasticsearch-yml-must-be-placed-in-the-config-directory-and-cannot-be-renamed/40485>\
**Category:** Elasticsearch\
**Created:** [January 29, 2016, 2:05pm UTC](https://discuss.elastic.co/t/conf-file-setting-is-no-longer-supported-elasticsearch-yml-must-be-placed-in-the-config-directory-and-cannot-be-renamed/40485 "2016-01-29T14:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucile\_Coutouly](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@Lucile\_Coutouly](https://discuss.elastic.co/u/Lucile_Coutouly)\
**Post date:** [January 29, 2016, 2:05pm UTC](https://discuss.elastic.co/t/conf-file-setting-is-no-longer-supported-elasticsearch-yml-must-be-placed-in-the-config-directory-and-cannot-be-renamed/40485/1 "2016-01-29T14:05:39Z")

</div>

i try to upgrade from a centos  
1.5 to 2.1  
i can't start elasticsearch  
CONF\_FILE setting is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.

i only install 2.1 from rpm repository

wath can i do now

---

<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 29, 2016, 2:18pm UTC](https://discuss.elastic.co/t/conf-file-setting-is-no-longer-supported-elasticsearch-yml-must-be-placed-in-the-config-directory-and-cannot-be-renamed/40485/2 "2016-01-29T14:18:42Z")

</div>

Could you describe all the steps you made to upgrade to 2.1?

---

<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 5, 2017, 11:20pm UTC](https://discuss.elastic.co/t/conf-file-setting-is-no-longer-supported-elasticsearch-yml-must-be-placed-in-the-config-directory-and-cannot-be-renamed/40485/3 "2017-07-05T23:20:21Z")

</div>


