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

Jira had problems starting up #46

Closed granttrevor closed 5 years ago

granttrevor commented 5 years ago

I'm hitting the error page when trying to run the quick start docker run command.

docker run --platform=linux --detach --publish 8080:8080 cptactionhank/atlassian-jira-software:latest

With the message

Setup: JIRA can't create a lock for your jira.home directory Your jira.home directory /var/atlassian/jira can only be used by one running JIRA instance. This instance needs to create a lock to make sure another instance can't access the jira.home directory. Ensure JIRA has read and write access to the jira.home directory. Review our documentation for more information on setting your JIRA home.

I've tried deleting the lock file inside /var/atlassian/jira and stoping/starting jira via the jira-stop.sh and jira-start.sh inside /opt/atlassian/jira/bin/ but with no luck.

I've tried this with latest and 7.12.0

Any guidance on to what I might be hitting here.

granttrevor commented 5 years ago

Closing this - the issue was caused by a limitation with running linux and windows containers side by side using the --platform=linux switch. The current approach doesn't support locks being obtained on files