安装12-0-0版本并进行汉化后,开始创建其他组用户。使用其他用户登陆页面时候出现500错误
首先查看gitlab运行状态,发现并无异常
[root@gitlab ~]# gitlab-ctl status
查网上资料得知,GitLab发现报500错误,大意为DB数据关系错误,需要升级数据库关系。
查看数据库状态
[root@gitlab ~]#
gitlab-rake db:migrate:status
发现有2个down
down 20190719122333 Add login recaptcha protection enabled to application settings
down 20190816151221 Add active jobs limit to plans
执行下面命令,升级数据库关系
[root@gitlab ~]#
gitlab-rake db:migrate:status发现有2个down
down 20190719122333 Add login recaptcha protection enabled to application settings
down 20190816151221 Add active jobs limit to plans
执行下面命令,升级数据库关系
gitlab-rake db:migrate
gitlab-ctl reconfigure
gitlab-ctl restart
gitlab-ctl reconfigure
gitlab-ctl restart
重新登陆WEB页面,问题解决
重新登陆WEB页面,问题解决