zappe
October 30, 2015, 10:43am
1
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.
mainec
(Isabel Drost-Fromm)
October 30, 2015, 10:55am
2
Could it be that you have the same issues like here:
zappe
October 30, 2015, 11:09am
3
I haven't installed Marvel.
I checked and found some difference between https://github.com/elastic/elasticsearch/blob/e95af69fb71d67c3fb2a2806da24214dc4805140/distribution/deb/src/main/packaging/init.d/elasticsearch and my local file, however if I replace mine with that one I get "Bad substitution" error
mainec
(Isabel Drost-Fromm)
October 30, 2015, 11:17am
4
Yeah - the title of the issue is misleading. I meant the answer given here
opened 11:16PM - 28 Oct 15 UTC
closed 09:46AM - 30 Oct 15 UTC
Hi
I've got an odd issue, I'm running a vanilla install on Elasticsearch 2.0 pu… lled from the deb repository, it start after the initial installation, but then I installed Marvel and now seeing the following
[2015-10-28 23:11:13,025][INFO ][bootstrap ] es.default.config is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.
The only config file I have for Elasticsearch is /etc/elasticsearch/elasticsearch.yml, I've also tried uninstall Marvel and still seeing the same issue.
Cheers
might actually be related to your problem as well.
What exactly was the difference?
Isabel
zappe
October 30, 2015, 11:25am
5
I've tried to do a search for es.default.config in /etc/ but didn't find anything.
See DiffNow .
Mine is to the left.
mainec
(Isabel Drost-Fromm)
October 30, 2015, 11:26am
6
zappe:
Mine is to the left.
At least line 100 is what's giving you the parsing error.
zappe
October 30, 2015, 11:32am
7
On the one from repository?
zappe
November 2, 2015, 8:21am
8
Anyone else have any suggestions?
dadoonet
(David Pilato)
November 2, 2015, 8:37am
9
zappe
November 2, 2015, 9:49am
10
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.
justnj
(justin)
November 26, 2015, 11:57am
13
Hi Did you run the migration check before running the upgrade of ES from 1.7 to 2.0