[英]Phabricator: The requested URL returned error: 500 with git Push
I had set up Phabricator with Diffusion today and have been fighting a 我今天通过扩散设置了Phabricator ,并且一直在与
The requested URL returned error: 500
请求的URL返回错误:500
while trying to git push over http/s (also with clone requests). 同时尝试通过git推送http / s(也适用于克隆请求)。
I know the remote is correct and I have the VCS password set and diffusion.allow-http-auth
is set to true. 我知道遥控器是正确的,并且已经设置了VCS密码,并且
diffusion.allow-http-auth
设置为true。 I am also not getting any (setup) errors in the control panel. 我也没有在控制面板中收到任何(设置)错误。
The Sudoer file is set as follows: Sudoer文件设置如下:
# User privilege specification
root ALL=(ALL:ALL) ALL
daemon-user ALL=(ALL:ALL) ALL
www-user ALL=(daemon-user) SETENV: NOPASSWD: /usr/lib/git-core/git-http-backend
git ALL=(daemon-user) SETENV: NOPASSWD: /usr/lib/git-core/git-upload-pack, /usr/lib/git-core/git-receive-pack
The clone
and remote
is: clone
和remote
是:
http://[SUB.DOMAIN]/diffusion/[CALLSIGN]/[REPO].git
I do not know how to set up SSH (yet) on ComputeEngine because GCE uses port 22 for the online terminal... :P So for now I am stuck using git over HTTP. 我不知道如何在ComputeEngine上设置SSH(因为),因为GCE使用22端口作为在线终端...:P因此,现在我被HTTP上的git所困扰。
If anyone out there has any ideas, it would be greatly appreciated. 如果有人有任何想法,将不胜感激。
Is there a line Defaults requiretty
in /etc/sudoers
? /etc/sudoers
是否有一行Defaults requiretty
? If it's there, it must be commented out, otherwise phabricator is not allowed to run the commands without a terminal (and of course it has no terminal ...). 如果存在,则必须将其注释掉,否则,不允许phabricator在没有终端的情况下运行命令(当然,它也没有终端...)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.