gitlab手残点错关闭注册No authentication methods configured on login page

Gitlab - 如何解決 "No authentication methods configured on login page" ? (gitlab version : 8.11.2)

转载 2016年12月19日 21:45:33
1. 安裝 postgresql-client-common & postgresql-client

$sudo apt-get install postgresql-client postgresql-client-common

2. 連線資料庫

$sudo gitlab-psql gitlabhq_production

PS. 可以用 sudo gitlab-psql -l 查看資料庫列表

3. 進入 client 界面後輸入:

UPDATE application_settings set signin_enabled=true;
\q
4. 重新啟動 gitlab

$sudo gitlab-ctl restart
=======================================
解决方法:
sudo gitlab-psql gitlabhq_production
(打开注册)UPDATE application_settings set signup_enabled=true;
(打开登录)update application_settings set password_authentication_enabled = true
\q
重新启动 gitlab
sudo gitlab-ctl restar
 
 
posted @ 2017-11-29 21:03  滴滴滴  阅读(963)  评论(0编辑  收藏  举报