# Upgrade Elastichearch 6.6 to 7.0 will not start

**URL:** <https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906>\
**Category:** Elasticsearch\
**Created:** [April 22, 2019, 9:52pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906 "2019-04-22T21:52:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elkdummy](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@elkdummy](https://discuss.elastic.co/u/elkdummy)\
**Post date:** [April 22, 2019, 9:52pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/1 "2019-04-22T21:52:20Z")

</div>

Just as the title says. Ran through all documents I could find via search. Let me know what to provide to help resolve. Thank you.

---

<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:** [April 22, 2019, 11:17pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/2 "2019-04-22T23:17:49Z")

</div>

It's best to default to providing as much info as you can - logs, OS info, the steps you followed to upgrade.

Please also format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<div class="post-metadata">

**Author:** ![elkdummy](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@elkdummy](https://discuss.elastic.co/u/elkdummy)\
**Post date:** [April 23, 2019, 4:43pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/3 "2019-04-23T16:43:48Z")

</div>

I am very new trying to figure this out. Sorry for my ignorance. This is a Redhat 7.5 Enterprise. I followed the path on the site which was to shutdown the elastic service, install the new software via YUM. It detected that it was to upgrade and completed successfully. All the yml files seem to be correct. The only log file that seems to update when trying to start it is the gc.log. I noticed in the elasticsearch.log got a boot strap error, but I do have the cluster.initail\_master\_nodes in the yml file.  
[1] bootstrap checks failed  
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hosts, discovery.seed\_providers, cluster.initial\_master\_nodes] must be configured

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 23, 2019, 6:38pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/4 "2019-04-23T18:38:37Z")

</div>

> [@elkdummy](#):
>
> I do have the cluster.initail\_master\_nodes in the yml file.

The message is really indicating that this setting isn't there. Are you sure you've set it in the right file? Are you sure it's spelled correctly (there's a typo in your post).

If you introduce a bogus setting in this file, e.g. `not.a.setting: "bogus"` do you get this kind of error?

```plaintext
java.lang.IllegalArgumentException: unknown setting [not.a.setting] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:148) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.node.Node.<init>(Node.java:341) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.node.Node.<init>(Node.java:251) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) [elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-7.0.0.jar:7.0.0]
	at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.0.0.jar:7.0.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.0.0.jar:7.0.0]

```

If not, you're not editing the right file.

---

<div class="post-metadata">

**Author:** ![elkdummy](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@elkdummy](https://discuss.elastic.co/u/elkdummy)\
**Post date:** [April 23, 2019, 8:14pm UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/5 "2019-04-23T20:14:49Z")

</div>

Searching the system I only have one log file at /var/log/elasticsearch/elasticsearch.log  
and one yml file /etc/elasticsearch/elasticsearch.yml. There is only one service installed. Nothing shows up in the elastisearch.log any longer. gc.log is the only file that updates and that does not seem to provide anything. I have renamed the yml file and try to start the service and nothing happens.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 24, 2019, 7:55am UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/6 "2019-04-24T07:55:30Z")

</div>

Sorry, I'm not too knowledgeable about how things are installed with `yum`, nor how to find out what it's done or where it's put everything. If it's not logging anything then it sounds like it's not properly installed: Elasticsearch always logs something shortly after starting.

---

<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:** [May 22, 2019, 7:55am UTC](https://discuss.elastic.co/t/upgrade-elastichearch-6-6-to-7-0-will-not-start/177906/7 "2019-05-22T07:55:32Z")

</div>

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