Cannot start Elasticsearch after upgrade to 2.0

I did a upgrade from 1.7.3 to 2.0 via apt-get and after this I cannot start it via init.d script.

[2015-10-30 11:37:36,442][INFO ][bootstrap ] es.default.config is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.

When I check the init.d script it seems correct and the elasticsearch.yml is present in /etc/elasticsearch.

Could it be that you have the same issues like here:

I haven't installed Marvel.

I checked and found some difference between and my local file, however if I replace mine with that one I get "Bad substitution" error

Yeah - the title of the issue is misleading. I meant the answer given here

might actually be related to your problem as well.

What exactly was the difference?


I've tried to do a search for es.default.config in /etc/ but didn't find anything.

Mine is to the left.

At least line 100 is what's giving you the parsing error.

On the one from repository?

Anyone else have any suggestions?

@tlrx gave a great answer there:

But I installed it via a packet manager, so as far as I understand I shouldn't start it that way?

Anyway, if I try I get errors about logging.



Hi Did you run the migration check before running the upgrade of ES from 1.7 to 2.0