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

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

相关推荐
skywalk81633 分钟前
使用官方提供的 bump-pydantic 工具 来自动化部分迁移pydantic代码
运维·自动化
杜子不疼.5 分钟前
浏览器秒连服务器!WebSSH 实战体验,远程运维再也不折腾
运维·服务器·人工智能
她说彩礼65万5 分钟前
C语言 整形提升及算数转换
linux·服务器·c语言
loockluo6 分钟前
NFS网络存储部署与性能优化实战:家用服务器的学习与实践
服务器·网络·性能优化
RenPenry7 分钟前
2026 在Linux上搭建CS2插件服务器
linux·运维·服务器·cs2·debian13
流年笙歌_8 分钟前
(超详细)手把手教你安装银河麒麟高级服务器操作系统 V11
运维·服务器
爱学习的小囧8 分钟前
VCF 私有 AI 服务(PAIS)自签名 TLS 证书配置避坑指南
服务器·esxi·虚拟化·vcf
微学AI8 分钟前
code-server 体验:一行命令把 VS Code 跑在服务器上,随时用浏览器写代码
运维·服务器
嫂子开门我是_我哥9 分钟前
一文讲透服务器:普通人也能看懂的服务器科普,网站为啥离不开它?
运维·服务器
qq_2328887510 分钟前
麒麟V10服务器安装搜狗输入法
运维·服务器