docker-atlassian-jira
docker-atlassian-jira copied to clipboard
chdir to cwd (\"/var/atlassian/jira\") set in config.json failed: permission denied
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.
You need to chown to uid=2 gid=2 your volume.
chown -R 2.2 /path/to/volume/of/var/atlassian/jira/