Your account is pending approval from your GitLab administrator and hence blocked.

在Docker环境下,通过执行一系列命令进入GitLab容器,使用gitlab-railsconsole重置了root用户的密码为12345678,以解决账户因待审批而被阻塞的问题。完成上述步骤后,用户应能使用新密码成功登录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

GitLab登录时报错,错误如下:

Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error.
在这里插入图片描述
解决办法:

[root@gitlab ~]# docker exec -it 89bc35417d8b bash
root@89bc35417d8b:/# cd /opt/gitlab/bin/
root@89bc35417d8b:/opt/gitlab/bin# 
root@89bc35417d8b:/opt/gitlab/bin# ls
gitlab-backup  gitlab-healthcheck  gitlab-rails  gitlab-redis-cli
gitlab-ctl     gitlab-psql         gitlab-rake   gitlab-ruby
root@89bc35417d8b:/opt/gitlab/bin# gitlab-rails con
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值