You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a bug when using older version of ElasticSearch. I thought it would be nice to document it somewhere and help others save a bit of time finding the issue.
The docker-compose contains a line that can prevent ElasticSearch older versions (<7 I believe) to crash on startup: - cluster.initial_master_nodes=laradock-node
If present for old version, this will result in the following error unknown settings [cluster.initial_master_nodes] ...
Solution
Remove the line in docker-compose.yml
I don't know if this could be a conditional environment value
The text was updated successfully, but these errors were encountered:
jeremynikolic
changed the title
unknown settings [cluster.initial_master_nodes]
ElasticSearch unknown settings [cluster.initial_master_nodes]
Mar 11, 2020
Looks like both lines which were added in this commit should be commented out for older version: - node.name=laradock-node - cluster.initial_master_nodes=laradock-node
For me, it also required removing old ES volume: docker volume rm laradock_elasticsearch
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Description:
I encountered a bug when using older version of ElasticSearch. I thought it would be nice to document it somewhere and help others save a bit of time finding the issue.
The docker-compose contains a line that can prevent ElasticSearch older versions (<7 I believe) to crash on startup:
- cluster.initial_master_nodes=laradock-node
If present for old version, this will result in the following error
unknown settings [cluster.initial_master_nodes] ...
Solution
Remove the line in docker-compose.yml
I don't know if this could be a conditional environment value
The text was updated successfully, but these errors were encountered: