Redmine错误日志致命

Redmine错误日志致命

本文介绍了Redmine错误日志致命:不是git存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在git服务器(gitlab)上安装了redmine,这是我们的主要git服务器(同一台机器).

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

当我通过gitlab在Redmine Web中添加存储库信息时,

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

redmine日志显示:

The redmine log says:

但是当我使用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

我试图更改一些与权限有关的事情:将所有者更改为www-data并将权限更改为777.它仍然无法正常工作.

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

推荐答案

相似线程,检查运行Redmine的帐户:该帐户是否有权访问/data/gitlab/git-data/repositories/woojs/RedmineTestProject.git? (或/data/gitlab/git-data/repositories/下的所有内容?)

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.

这篇关于Redmine错误日志致命:不是git存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 03:01