Redmine error log fatal:not a git repository

2019-05-25 03:06发布

I installed redmine on git server (gitlab), which is our main git server (same machine).

When I add the repository (through gitlab) information in redmine web,

The redmine log says:

/usr/local/redmine/log/production.scm.stderr.log < fatal: Not a git repository: '/data/gitlab/git-data/repositories/woojs/RedmineTestProject.git/'

But when I check the whether bare or non-bare using git command, I get this:

root@gitserver:/data/gitlab/git-data/repositories/woojs/RedmineTestProject.git# git rev-parse --is-bare-repository
true

I tried to change some things related to permissions: Changing owner to www-data and changing permissions to 777. It's still not working.

1条回答
再贱就再见
2楼-- · 2019-05-25 03:47

Similar to this old thread, check the account which runs for redmine: does that account has the right to access /data/gitlab/git-data/repositories/woojs/RedmineTestProject.git? (or anything under /data/gitlab/git-data/repositories/?)

This usually is a right access issue.

查看更多
登录 后发表回答