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 密码:就是上文需要复制的地方。

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

相关推荐
鹤落晴春1 小时前
RH124问答3:从命令行管理文件
linux·运维·服务器
guslegend2 小时前
大模型驱动大数据SRE智能运维
大数据·运维
遇见火星2 小时前
Docker Compose 完全入门:一键启动所有容器
运维·docker·容器·docker compose
火山上的企鹅2 小时前
Codex实战:APP远程升级服务搭建(三)后台管理页面(APK 上传、版本管理、多应用页签)
服务器·网络·数据库·oracle·qgc
小啊曼2 小时前
CIO实战方法论_11_组织变革打破部门墙
运维
❀搜不到3 小时前
远程服务器codex使用本地cc-switch的deepseek api
运维·服务器
袁小皮皮不皮3 小时前
3.HCIP OSPF补充知识(优化版)
服务器·网络·数据库·网络协议·智能路由器
虾壳云官方3 小时前
OpenClaw 2.7.9 Windows 一键部署教程:零基础也能搭建 AI 自动化助手
运维·人工智能·windows·自动化·openclaw·openclaw一键部署
江南风月3 小时前
WGCLOUD保姆级教程最新版整理
运维·zabbix·运维开发·prometheus·日志审计
志栋智能4 小时前
超自动化巡检:知识沉淀与团队协作的新载体
大数据·运维·网络·数据库·人工智能·自动化