GitLab CE 8.7 源码安装手册(Centos6/REHL6)

@yangcvo git@192.168.1.235:operation/ihaozhuo.git这个地址是需要生成密钥来使用的,你可以尝试HTTP开头的地址

0_1472633321176_1.png
执行到上面这一步的时候就报错
0_1472633331121_2.png
有知道是为什么吗?

@yeoman 根据字面意思GEM没有启动

此回复已被删除!

按照操作步骤装完后,通过SSH可以正常push和pull,但是通过HTTP时,报500错误:
fatal: unable to access ‘http://gitlab.xxx.xx/zeeler/zzzzzz-api.git/’: The requested URL returned error: 500
看了下/home/git/gitlab/log/production.log里面的日志,如下:
Started GET “/zeeler/xxxx-api.git/info/refs?service=git-upload-pack” for 192.168.1.107 at 2016-10-27 15:12:02 +0800
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“terry”, “project_id”=>“zzzzzz-api.git”}
Filter chain halted as :authenticate_user rendered or redirected
Completed 401 Unauthorized in 190ms (Views: 7.9ms | ActiveRecord: 6.9ms)
Started GET “/zeeler/xxx-api.git/info/refs?service=git-upload-pack” for 192.168.1.107 at 2016-10-27 15:12:08 +0800
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“terry”, “project_id”=>“privateme-api.git”}
Filter chain halted as :authenticate_user rendered or redirected
Completed 401 Unauthorized in 125ms (Views: 5.5ms | ActiveRecord: 5.3ms)
Started GET “/zeeler/xxx-api.git/info/refs?service=git-upload-pack” for 192.168.1.107 at 2016-10-27 15:12:08 +0800
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“terry”, “project_id”=>“zzzzzz-api.git”}
Completed 500 Internal Server Error in 202ms (ActiveRecord: 6.1ms)

JWT::DecodeError (Nil JSON web token):
lib/gitlab/workhorse.rb:120:in verify_api_request!' app/controllers/projects/git_http_client_controller.rb:154:inverify_workhorse_api!‘
lib/gitlab/request_profiler/middleware.rb:15:in call' lib/gitlab/middleware/go.rb:16:incall’

查了好多资料,都没搞清楚怎么回事

gitlab汉化小组
Completed 401 Unauthorized in 125ms (Views: 5.5ms | ActiveRecord: 5.3ms)

不是有这个错误提示吗, 验证失败.

@bubbleGitLab CE 8.7 源码安装手册(Centos6/REHL6) 中说:

Completed 401 Unauthorized in 125ms (Views: 5.5ms | ActiveRecord: 5.3ms)

不是有这个错误提示吗, 验证失败.

看下本机的git版本是否是1.7的如果是请使用源码升级git版本

@bubble 账号肯定没问题的,web登录都没啥问题

@zeeler
这篇文件有提示下面一个问题500
https://q.cnblogs.com/q/80835/
不知是否是版本自身的bug引起的

与 GitLab 中文交流社区 的连接断开,我们正在尝试重连,请耐心等待