gitlab手残点错关闭注册No authentication methods configured on login page
Gitlab - 如何解決 "No authentication methods configured on login page" ? (gitlab version : 8.11.2)
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 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
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
时来天地皆同力,运去英雄不自由