che icon indicating copy to clipboard operation
che copied to clipboard

"Error response from docker API, status: 500, message: error while creating mount source path '/home/user/eclipse-che/lib/linux_amd64/exec': mkdir /home/user: permission denied

Open lahirugayanga opened this issue 8 years ago • 10 comments

Description

Followed the documentation of EclipseChe to build sample Ide and server extension but it gives this when setting up the workspace.

screenshot from 2018-10-14 17-39-22

Error: Failed to run the workspace: "Error response from docker API, status: 500, message: error while creating mount source path '/home/user/eclipse-che/lib/linux_amd64/exec': mkdir /home/user: permission denied

Run command docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /home/lahglk/Documents/che:/data eclipse/che start

Reproduction Steps

Follow the documentation

OS and version:
Ubuntu 18.04.1 LTS

Please clarify this problem, Thanks.

lahirugayanga avatar Oct 14 '18 12:10 lahirugayanga

I tried this in windows and I got this error when following up the IDE extension guideLink

ide-extension deployment error

lahirugayanga avatar Oct 15 '18 05:10 lahirugayanga

@LahiruT94 on Windows, it's perhaps OOM. How much ram does your Docker VM have?

On Ubuntu, this is a known issue. I think https://github.com/eclipse/che/issues/11587 and https://github.com/eclipse/che/issues/10473 describe the same problem.

ghost avatar Oct 16 '18 05:10 ghost

Memory: 2048 Swap:1024

lahirugayanga avatar Oct 16 '18 09:10 lahirugayanga

@LahiruT94 you will need at least 5-6GB

ghost avatar Oct 16 '18 09:10 ghost

any update on this bug? we having the same issue

DOCKER] e5b263a2921a: Extracting 267B/267B [DOCKER] e5b263a2921a: Extracting 267B/267B [DOCKER] e5b263a2921a: Pull complete [DOCKER] ac798989fa78: Extracting 98.3kB/9.175MB [DOCKER] ac798989fa78: Extracting 1.966MB/9.175MB [DOCKER] ac798989fa78: Extracting 3.637MB/9.175MB [DOCKER] ac798989fa78: Extracting 5.8MB/9.175MB [DOCKER] ac798989fa78: Extracting 9.175MB/9.175MB [DOCKER] ac798989fa78: Pull complete [DOCKER] Digest: sha256:dc2c37e60afc90530a6fbf5c4294d541d673614b8b316de8d9a1ed8b07729f62 [DOCKER] Status: Downloaded newer image for eclipse/ubuntu_python:latest Error: Failed to run the workspace: "Error response from docker API, status: 500, message: error while creating mount source path '/home/user/eclipse-che/lib/linux_amd64/terminal': mkdir /home/user: permission denied

dshakey avatar Nov 01 '18 09:11 dshakey

64gb of ram on the host

dshakey avatar Nov 07 '18 06:11 dshakey

Has there been any movement on this? I'm still experiencing this issue.

DOCKER] latest: Pulling from eclipse/ubuntu_python 
[DOCKER] Digest: sha256:dc2c37e60afc90530a6fbf5c4294d541d673614b8b316de8d9a1ed8b07729f62 
[DOCKER] Status: Image is up to date for eclipse/ubuntu_python:latest 
Error: Failed to run the workspace: "Error response from docker API, status: 500, message: error while creating mount source path '/home/thoyt/.che-data/instance/data/workspaces/workspacezs202k1yhefdpyhm': mkdir /home/thoyt/.che-data/instance/data/workspaces: permission denied
"
```

CodeCorrupt avatar Jan 18 '19 10:01 CodeCorrupt

Has there been any movement on this? I'm still experiencing this issue.

DOCKER] latest: Pulling from eclipse/ubuntu_python 
[DOCKER] Digest: sha256:dc2c37e60afc90530a6fbf5c4294d541d673614b8b316de8d9a1ed8b07729f62 
[DOCKER] Status: Image is up to date for eclipse/ubuntu_python:latest 
Error: Failed to run the workspace: "Error response from docker API, status: 500, message: error while creating mount source path '/home/thoyt/.che-data/instance/data/workspaces/workspacezs202k1yhefdpyhm': mkdir /home/thoyt/.che-data/instance/data/workspaces: permission denied
"

just back looking at this tool again and with fresh install still get the same issue

dshakey avatar Mar 21 '19 10:03 dshakey

@dshakey I found an article a while back that suggested it may be an issue with Ubuntu. I installed on a plain Debian install and it worked

CodeCorrupt avatar Mar 23 '19 22:03 CodeCorrupt

Closing due to inactivity

skabashnyuk avatar Aug 24 '19 06:08 skabashnyuk