Skip to content

gitlab关闭了sign-in,web端无法登录 #20

@itstrive

Description

@itstrive

有些人部署完gitlab以后,想着关掉注册,结果可能手贱(或者网上的文章坑人),把sign-in给关闭了,结果你重新登录,发现没入口了。

别急,数据改改就好:

  • 进入到 gitlab部署的server服务器
  • 进入postsql
gitlab-psql gitlabhq_production
  • 执行Update语句修改即可
update application_settings set password_authentication_enabled = true;

输入: \q 退出

  • 重启gitlab服务器
gitlab-ctl restart

出现502别急,在稍微等等,服务器还在启动中。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions