docker-atlassian-jira icon indicating copy to clipboard operation
docker-atlassian-jira copied to clipboard

chdir to cwd (\"/var/atlassian/jira\") set in config.json failed: permission denied

Open zzvara opened this issue 6 years ago • 1 comments
trafficstars

Tried to update 7.6.0 to 7.13.0 by simply changing the image and reattaching the named volume to /var/atlassian/jira. Encountered the following error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "chdir to cwd (\"/var/atlassian/jira\") set in config.json failed: permission denied": unknown.

Using docker Docker version 18.06.1-ce, build e68fc7a on Linux alpha 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.

Please advise on how to upgrade from 7.6.0 to 7.13.0. I see the image base has been changed as well.

zzvara avatar Jan 15 '19 19:01 zzvara

You need to chown to uid=2 gid=2 your volume.

chown -R 2.2 /path/to/volume/of/var/atlassian/jira/

blop avatar Apr 10 '19 17:04 blop