cptactionhank / docker-atlassian-jira-software

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

Update from pre-7.7.1 fails, daemon uid changed #40

Open mss opened 6 years ago

mss commented 6 years ago

After updating from 7.4 to 7.8, Jira failed to start due to permission problems for the log files.

The "HEADS UP" in the README pointed me to the right direction since I ran into this issue a few times before when switching between Debian and CentOS: On Debian, the user daemon has the uid 1 whereas on CentOS and apparently on Alpine it runs as uid 2. Since other people might be less lucky than me, I think it would be good if the HEADS UP was updated. A chown -R 2:2 on the data volume fixed the issue.

Thanks for your great work BTW!

iopsthecloud commented 6 years ago

Just for others replace chmod by chown to make the solution works.

BiohZn commented 6 years ago

Thanks for the solution, so the complete working command is chown -R 2:2 <directory>

cptactionhank commented 6 years ago

yes

iamdevnull commented 5 years ago

hello,

why is this issue still open ?!