-
Notifications
You must be signed in to change notification settings - Fork 314
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
Issue with writing to /usr/share/elasticsearch/data/elasticsearch #42
Comments
possibly a perms issue, I'm having issues with the data dir as well.
from within the container, and that corrected some of my problems. That might correct your issues, alas elasticsearch is still not seeing my old data. |
I see this error when using boot2docker on Mac with the latest image. |
You might post the output of |
I can't run a command on the container if I attach the volume because it fails during startup. If there's a way around that, please let me know. Here's the output without the volume attached: Toms-MacBook-Pro:docker tom$ docker exec search ls -lR /usr/share/elasticsearch/data /usr/share/elasticsearch/data/elasticsearch: /usr/share/elasticsearch/data/elasticsearch/nodes: /usr/share/elasticsearch/data/elasticsearch/nodes/0: /usr/share/elasticsearch/data/elasticsearch/nodes/0/_state: |
|
Logs are as follows: [2015-06-10 12:10:59,770][INFO ][node ] [Arclight] version[1.4.5], pid[1], build[2aaf797/2015-04-27T08:06:06Z]
|
I can also confirm this issue |
I'm new to ElasticSearch.. I download it on a windows 8.1 system and I'm getting the same issue. Save version of Java on both by the way. |
I'd kind of like to know why variable data is being stored in /usr anyhow? It makes it look like we have no idea about unix conventions, nor that variable data is stored in /var |
In case it is helpful to anyone else, I used the tip provided by @bradgessler (boot2docker/boot2docker#581 (comment)). Adding this to my Dockerfile resolved the problem: |
@richie5um did you mean perhaps?
|
@joshuacox Oh, yes, thanks. Fixed. |
I have the same problem with new ES1.7 on Windows7 and "subst" disk. |
any updates on this issue ? I'm running the same on 5.1/5.2 |
yes same here. are there any updates? |
I encountered the same problem, because there is another es process has been opened, not be killed |
so you got a solution or was is just a notice? |
Maybe same problem as discussed in: https://discuss.elastic.co/t/cant-create-lock-file-when-sharing-data-path-folder-between-docker-and-host/81617 |
Unable to launch elasticsearch container when trying to mount data to volume using
Docker version 1.6.2, build 7c8fca2
.Simple example as shown in docs:
returns error (in this case I was using boot2docker):
I also had tried similar command on centos 7 and get similar error (always goes back to the inability to write).
I had been running similar container run command with
Docker version 1.5.0-dev, build fc0329b/1.5.0
a week or so ago - and had no problems.Anyone seen this in recent docker builds?
The text was updated successfully, but these errors were encountered: