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

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

相关推荐
杨云龙UP几秒前
Windows SQL Server 备份无法传输至异地共享目录排查处理
运维·服务器·数据库·windows·共享·smb·异地备份传输
Thomas.Chan15 分钟前
数据中心动环监控系统架构详解
运维·网络·计算机网络·其他·系统架构·数据中心
想你依然心痛24 分钟前
AtomCode 在 DevOps 场景中的实战:CI/CD 流水线脚本自动生成
运维·ci/cd·docker·devops·自动化部署·github actions
spider_xcxc1 小时前
Redis 深度实践:安全管控、性能压测与持久化分析(二)
运维·前端·redis·云计算·bootstrap·运维开发
云絮.1 小时前
计算机相关工作原理
服务器·前端·数据库
Mortalbreeze1 小时前
深入 Linux 线程机制(三):线程互斥——竞争条件与互斥锁的本质
linux·运维·服务器·c++·算法
鱼听禅2 小时前
CentOS 源码模式配置SVNAdmin2管理SVN仓库
linux·svn·centos
Tian_Hang2 小时前
Eclipse Mosquitto 安装及介绍
java·运维·服务器·ide·sql·mysql·eclipse
是大强2 小时前
Docker中文件修改的三种方法
运维·docker·容器
薄荷椰果抹茶2 小时前
计算机导论_第4章_笔记
服务器·网络·笔记