繁体   English   中英

在gitlab的CI过程中获取错误500

[英]Get error 500 in gitlab's CI process

我使用自己的Nginx安装了gitlab(我禁用了内置的nginx),在尝试在其中使用CI之前,一切正常。

在我提交管道之后,启动并给出消息:

Running with gitlab-runner 10.1.0 (c1ecf97f)
on the runner for wxEditor (fccd792d)
Using Docker executor with image node:8.8.1 ...
Using docker image 
sha256:c3a98397674933da01d4fc1e90dc880b1fb0760fedc43515e7660dcc58c6af28 for 
predefined container...
Pulling docker image node:8.8.1 ...
Using docker image node:8.8.1 
ID=sha256:d575940ea42b064ac3fa5b00c36ec099968ce2ae542488d1d8673f100dc0a622 for 
build container...
Running on runner-fccd792d-project-2-concurrent-0 via vps143760...
Cloning repository...
Cloning into '/builds/zhaozhong/wxEditor'...
fatal: unable to access 'http://gitlab-ci-
token:xxxxxxxxxxxxxxxxxxxx@gitlab.dingshao.cc/zhaozhong/wxEditor.git/': The 
requested URL returned error: 500
ERROR: Job failed: exit code 1

我在这里呆了整整一天。

Gitlab EE:10.1.0,Ubuntu 16.04

谢谢

问题解决了!

我使用现有的nginx运行gitlab并使用了旧的nginx配置文件,并且应该有nginx + passenger以确保gitlab能够正常工作。

阅读完此答案后 ,我与乘客一起重新安装了Nginx,并将捆绑的Nginx的配置文件gitlab-http.conf复制到Nginx的sites-enable文件夹中,然后一切正常。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM