docker hub image dbconfig.xml has incorrect permissions

Adam Collins August 20, 2019

/var/atlassian/application-data/jira/dbconfig.xml seems to be owned by root instead of the user jira when pulling the latest docker image atlassian/jira-software:latest (8.3.2)

Is this correct? it prevents the installation completing with a permission denied error

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 22, 2019

Hi Adam,

I think that's not right. I would recommend running through How to fix JIRA Directories permission in Linux and correcting your permissions. Let us know if that helps.

Regards,

Shannon

Adam Collins August 22, 2019

I know "how" to fix the error... the problem is that because it is part of the docker image, whenever I restart the container or pull a fresh install, it is broken.

I need to manually change the permissions and docker commit the image to prevent it getting reset when the docker container is restarted. This is also related to 

https://community.atlassian.com/t5/Jira-questions/Jira-docker-container-recreates-dbconfig-xml-when-restarting/qaq-p/1158438

Suggest an answer

Log in or Sign up to answer