Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup: JIRA couldn't create the jira.home directory #4

Open
egBean opened this issue Sep 5, 2023 · 6 comments
Open

Setup: JIRA couldn't create the jira.home directory #4

egBean opened this issue Sep 5, 2023 · 6 comments

Comments

@egBean
Copy link

egBean commented Sep 5, 2023

Setup: JIRA couldn't create the jira.home directory

求问这个咋解决啊

@kennedy-han
Copy link

the same question

@egBean
Copy link
Author

egBean commented Sep 5, 2023

登录docker容器
docker exec -it jira_srv /bin/bash
id //可以看到是以deamon用户登录的。查看docker-compose.yml可以发现目录映射是./jira/atlassian:/var/atlassian/jira 所以在宿主机修改权限。
chown -R daemon:daemon /usr/local/jira-docker/jira
然后重启启动jira容器即可。

我已经解决了。你试试

@kennedy-han
Copy link

still not working for me.
both I tried
chown -R daemon:daemon /usr/local/jira-docker/jira
and
chown -R daemon:daemon /var/atlassian/jira/
then docker-compose restart

@XinSean
Copy link

XinSean commented Dec 6, 2023

rovast added a commit to rovast/jira-docker that referenced this issue Dec 10, 2023
@GuaranteeFkb
Copy link

设置:JIRA 无法创建 jira.home 目录

求问这个咋解决啊

先退出容器:exit;
然后在root下用此行命令:chown -R daemon:daemon /usr/local/jira-docker/jira
最后重启:docker-compose restart

@zksfyz
Copy link

zksfyz commented May 11, 2024

chmod -R 755 /usr/local/jira-docker/jira

It's OK!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants