简体   繁体   English

Phabricator:请求的URL返回错误:git Push为500

[英]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: cloneremote是:

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.

相关问题 Phabricator clone请求的URL返回错误:500 - Phabricator clone The requested URL returned error: 500 git 推送错误:RPC 失败; HTTP 500 curl 22 请求的 URL 返回错误:500 - git push error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Git 推送失败 HTTP 500 curl 22 请求的URL返回错误:500 Internal Server Error - Git push failing HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error git push 错误:请求的 URL 返回错误 400 - git push error: the requested URL returned error 400 Git push说-请求的URL返回错误:403但带有sudo-正常 - Git push says - The requested URL returned error: 403 but with sudo - works git push error:HTTP请求失败:请求的URL返回504 - git push error: HTTP request failed: The requested URL returned 504 git push - 拒绝权限 - 请求的 URL 返回错误:403 - git push - Permission to denied - The requested URL returned error: 403 我在 GITLAB 中推送时出错(RPC 失败;HTTP 500 curl 22 请求的 URL 返回错误:500 内部服务器错误) - Error when i push in GITLAB (RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error) IDEA:更新失败无法访问'https://...git/':请求的URL返回错误:500 - IDEA: Update failed unable to access 'https://...git/': The requested URL returned error: 500 git push 挂起,错误:RPC 失败; HTTP 413 curl 22 请求的 URL 返回错误:413 - git push hangs, error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM