gitlab导入项目报错信息处理()

从一台gitlab服务器(A)向另外一个gitlab服务器(B)导入项目遇到错误,报错以下git

出现以上问题的缘由是:A-gitlab服务器使用的端口为81端口(非默认端口),因此须要修改/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/url_blocker.rb服务器

Old code: VALID_PORTS = [22, 80, 443].freeze
New code: VALID_PORTS = [22, 80, 81, 443].freeze

添加一个81端口,而后从新读取配置文件,重启gitgitlab

In order for this change to take affect, I used the following commands:this

gitlab-ctl reconfigure
gitlab-ctl restart
gitlab-ctl reconfigure

参考连接:https://gitlab.com/gitlab-org/gitlab-ce/issues/32581url

相关文章
相关标签/搜索