# Es.default.config is no longer supported. when upgrading from 1.6 to 2.4.4, ubuntu 14.04

**URL:** <https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471>\
**Category:** Elasticsearch\
**Created:** [February 9, 2017, 7:57am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471 "2017-02-09T07:57:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shams](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@shams](https://discuss.elastic.co/u/shams)\
**Post date:** [February 9, 2017, 7:57am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/1 "2017-02-09T07:57:13Z")

</div>

Hi,  
I was trying to upgrade my elasticsearch version 1.6 to 2.4.4 on my Ubuntu 14.04. What i did is i downloaded `elasticsearch-2.4.4.deb` from your site and installed it.  
At the time of installation it asked me to change `/etc/elasticsearch/elasticsearch.yml` and `/etc/init.d/elasticsearch` and i said `N`.

After installation when i try to start elasticsearch, in log it says:  
`[2017-02-09 12:46:17,129][INFO][bootstrap] es.default.config is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.`

And elasticseach didn't get started.  
Any help please.

---

<div class="post-metadata">

**Author:** ![wenpos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wenpos/32/15326_2.png) [@wenpos](https://discuss.elastic.co/u/wenpos)\
**Post date:** [February 9, 2017, 9:29am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/2 "2017-02-09T09:29:29Z")

</div>

have a try:  
$ES\_HOME/bin/elasticsearch -Des.path.conf=/etc/elasticsearch/

---

<div class="post-metadata">

**Author:** ![shams](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@shams](https://discuss.elastic.co/u/shams)\
**Post date:** [February 9, 2017, 9:48am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/3 "2017-02-09T09:48:03Z")

</div>

Hey wenpos, It worked, but it has issues:

1. I used .deb package so that Elasticsearch can work as a service. And by this it will run on console.
2. i need to change the permissions of folders as `don't run elasticsearch as root`
3. Logs are printed on console, not in /var/log/elasticsearch/. I need to put one more parameter for log file location may be. Well i need to pass every location like `data`, `pid` directories.

Thanks for this but i don't think this is a solution to use on production.

---

<div class="post-metadata">

**Author:** ![shams](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@shams](https://discuss.elastic.co/u/shams)\
**Post date:** [February 10, 2017, 2:54pm UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/4 "2017-02-10T14:54:59Z")

</div>

Any suggestion, Please. Or is this eligible for an issue?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 10, 2017, 10:26pm UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/5 "2017-02-10T22:26:33Z")

</div>

You should have overwritten those files during the upgrade as there are major changes between 1.X and 2.X with them.

---

<div class="post-metadata">

**Author:** ![shams](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@shams](https://discuss.elastic.co/u/shams)\
**Post date:** [February 14, 2017, 7:28am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/6 "2017-02-14T07:28:42Z")

</div>

Hi Mark,  
Yes i think so, i needed to take a backup of old config files and then try to upgrade it. But the thing is that i haven't found any clue for this in any up-gradation doc.

---

<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 14, 2017, 7:28am UTC](https://discuss.elastic.co/t/es-default-config-is-no-longer-supported-when-upgrading-from-1-6-to-2-4-4-ubuntu-14-04/74471/7 "2017-03-14T07:28:56Z")

</div>

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