Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic Search: [ERROR][o.e.g.GatewayMetaState ] [swoqVS5] failed to read local state, exiting... #5

Closed
nbogda opened this issue Apr 14, 2020 · 9 comments

Comments

@nbogda
Copy link

nbogda commented Apr 14, 2020

I managed to get the page pulled up at 0.0.0.0:3000, but when I try to upload the Kaggle autism screening for toddlers data set, I run into the same issue as Issue #2.

website_issue

It is definitely a problem with elastic search, based on the below error messages. The application then outputs a message that elastic search has exited with code 1. This causes kibana to repeatedly output that there is no live connection at http://elasticsearch:9200.

elastic_search_error

I saw that Issue #2 is similar to mine, but I am unsure how to follow since the repository has a very different structure now. I tried downloading elastic search and putting it into the directory manually, but that didn't seem to work. Thanks in advance.

@slrbl
Copy link
Owner

slrbl commented Apr 14, 2020

Are you able to load 0.0.0.0:9200 in your browser?

@nbogda
Copy link
Author

nbogda commented Apr 14, 2020

I am not able to load it, no.

@slrbl
Copy link
Owner

slrbl commented Apr 14, 2020

Could you try to use a higher version of Elasticsearch ? you can upgrade it in docker-compose.yml line 9, and then build/up again

@nbogda
Copy link
Author

nbogda commented Apr 15, 2020

I used a higher version of elasticsearch, and then tried to upgrade kibana as well (both to 7.6.2). I am now getting an error that the bootstrap checks failed and that the process is exiting with code 78.

image

@slrbl
Copy link
Owner

slrbl commented Apr 15, 2020

You need to remove the ./elasticserach folder before building with t he new version

@nbogda
Copy link
Author

nbogda commented Apr 15, 2020

I deleted it before rebuild and am still getting the same error.

@slrbl
Copy link
Owner

slrbl commented Apr 15, 2020

This could help you this docker/kitematic#5029
Have a look and us know if it works

@nbogda
Copy link
Author

nbogda commented Apr 16, 2020

Yes, that worked. I had to add the line
discovery.type=single-node
under the environment variables for elasticsearch to bypass the bootstrap error.

I was then getting an issue with not having enough memory for elasticsearch, so I had to increase the allowed memory resource in Docker. After fixing this, elasticsearch began working.

@nbogda nbogda closed this as completed Apr 16, 2020
@slrbl
Copy link
Owner

slrbl commented Apr 16, 2020

Happy to hear it. I hope that you find Tornado useful. Don't hesitate start/share with your community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants