gitlab无法登录问题

在我第一次安装gitlab的时候发现登录页面是

正常的页面应该是

这种情况的主要原因是不是第一次登录,所以我们要找到原先的密码

解决方式:

bash 复制代码
[root@gitlab ~]# vim /etc/gitlab/initial_root_password
bash 复制代码
# WARNING: This value is valid only in the following conditions
#          1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for the first time (usually, the first reconfigure run).
#          2. Password hasn't been changed manually, either via UI or via command line.
#
#          If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.

Password: 复制这里的内容

# NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.

在登录页面输入账号:root 密码:就是上文需要复制的地方。

如果对您有帮助的话可以点点赞,帮主播打打气,我会更加努力帮助大家解决问题,一起加油!!!

相关推荐
05大叔18 分钟前
大事件Day02
运维·服务器
五仁火烧27 分钟前
Vue3 项目的默认端口行为
服务器·vue.js·nginx·容器·vue
C Yu小白1 小时前
Linux系统调用与文件操作详解
linux·运维·服务器
ZFB00011 小时前
【麒麟桌面系统】V10-SP1 2503 系统知识——常见用户组简介
linux·运维·kylin
acrelgxy1 小时前
告别被动抢修与盲目巡检!安科瑞运维云平台,让电力系统实现预测性守护。
运维·电力监控系统·智能电力仪表
f***28141 小时前
Springboot中使用Elasticsearch(部署+使用+讲解 最完整)
spring boot·elasticsearch·jenkins
EndingCoder1 小时前
类的继承和多态
linux·运维·前端·javascript·ubuntu·typescript
Anyexyz2 小时前
【更新】境内 Docker 镜像状态监控——配置生成,一键复制!
运维·docker·容器
信创天地2 小时前
深耕金融政务核心场景:国产化数据库迁移的全流程架构设计与风险管控
运维·网络安全·系统架构·系统安全·运维开发
ZFB00012 小时前
【麒麟桌面系统】V10-SP1 2503 系统知识——添加用户
linux·运维·kylin