Join GitHub today
I'm trying to follow Snapshot And Restore | Elasticsearch Reference [2.4] | Elastic, and in order to proceed, I have to define
I added 3 following lines in addition to existing lines of
yet, I'm unable to connect to elasticsearch (localhost:9200)
last 21 lines of
however, if I follow Persisting log data and run it like this:
Everything works as expect it!
Unfortunately I can't seem to reproduce your issue: your set-up is working absolutely fine on my side, both with
You could try to destroy the volume and all the containers, and then try again.
Additionally, if the volume is bind-mounted to a directory on the host, you may want to check the permissions (which is what Elasticsearch appears to be complaining about according to your logs): the (mounted) directory on the host should be writable by Elasticsearch (UID and GID 991).
Hope that helps, because other than that, nothing springs to mind.