【问题标题】:Error 422 after installing gitlab on centos 7在centos 7上安装gitlab后出现错误422
【发布时间】:2019-08-18 06:47:54
【问题描述】:

CentOs7 上安装Gitlab 后我遇到了麻烦。我第一次被重定向到管理员密码创建页面,在管理员用户的密码之后,服务器发送错误。

422
The change you requested was rejected.

我已经根据站点指南设置了 url 值。

在/etc/gitlab/gitlab.rb中设置external_url:

external_url "https://example.com/gitlab"

我检查了以下链接是否有类似情况。我没有找到正确的答案。我的服务器在本地,无法访问互联网。

Error 422 after installing gitlab on Ubuntu 18.04

After Update Error: "422 The change you requested was rejected."

Error 422 after installing Gitlab on Ubuntu 16.04

【问题讨论】:

    标签: centos gitlab gitlab-ci


    【解决方案1】:

    我在安装 Gitlab 时犯了一个错误。在 /etc/gitlab/gitlab.rb 文件中,我将本地 gitlab 地址与 https 放在一起,但由于本地服务器设置,没有“让我们加密”服务,我不打算通过 ssl 访问该站点。我修改了文件中的地址,将“https”改为“http”。修改以下命令后,问题得到解决。

    sudo gitlab-ctl reconfigure


    sudo gitlab-ctl restart

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-12-02
      • 2016-08-26
      • 2018-12-27
      • 1970-01-01
      • 2021-10-09
      • 1970-01-01
      • 2015-09-25
      相关资源
      最近更新 更多