cptactionhank / docker-atlassian-jira-software

Atlassian JIRA Software wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-software
MIT License
270 stars 168 forks source link

User rights problem with mounted JIRA_HOME path #25

Closed ain closed 7 years ago

ain commented 7 years ago

According to the manual configuration page, one should be able to mount /var/atlassian/jira to host.

When doing so, e.g. with Docker Compose, the startup fails with:

JIRA has no permission to either create or write to subdirectory 'caches' of jira.home '/var/atlassian/jira'

Clearly the mount is done under root, but JIRA runs under daemon.

I understand the issue is not an easy one, a generic Docker problem, but what could be the tips to resolve it?

ain commented 7 years ago

Dupe of #4. Resolved.