在Suse SLES 11上安装Gitlab-无法登录Gitlab GUI

在Suse SLES 11上安装Gitlab-无法登录Gitlab GUI,gitlab,suse,Gitlab,Suse,安装成功后,我仍然无法登录gitlab GUI。它不断抛出“无效电子邮件或密码” 以下是其他人建议的建议解决方案的输出: sudo -u git -H bundle exec rake gitlab:check RAI LS_ENV=production Checking Environment ... Git configured for g

安装成功后,我仍然无法登录gitlab GUI。它不断抛出“无效电子邮件或密码”

以下是其他人建议的建议解决方案的输出:

sudo -u git -H bundle exec rake gitlab:check RAI                                                                             LS_ENV=production
Checking Environment ...

Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.1 ? ... OK (1.7.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... can't check, you have no projects

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes

Checking Sidekiq ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.12)

Checking GitLab ... Finished

现在的问题是,我触发了url,并进入了登录屏幕,但不幸的是,当我输入上面生成的凭据时,我不断收到关于无效电子邮件/密码的错误


您建议如何克服该错误消息?

这似乎是一个反复出现的问题,请参见

建议的一些解决办法包括:

命令gitlab rake gitlab:setup RAILS_ENV=production解决了这个问题

不可能以
root
身份登录,但可以登录新的标准用户,他们可以正常登录;发生这种情况时,命令
gitlab-rake-gitlab:setup-RAILS\u ENV=production
会修复root登录(我想可能会删除数据库中的所有其他内容)


确认这是一个设置问题(AD设置有错误的用户和密码),一旦修复,setup命令将恢复系统。

您好,gitlab二进制文件中缺少gitlab rake。。。。我是不是遗漏了什么?还有别的办法解决这个问题吗?我可以安装gitlab rake二进制文件吗?请帮忙~/gitlab>gitlab-rake gitlab:setup RAILS_ENV=production如果“gitlab-rake”不是打字错误,您可以运行以下命令来查找包含二进制代码的包:command not found gitlab-rake-bash:gitlab-rake:command notfound@KronnorK这可能会有所帮助:我尝试了以下方法:bundle exec rake gitlab:setup RAILS\u ENV=production已创建管理员帐户:登录。。。。。。。。。admin@local.host密码……5iveL!如果我仍然收到无效凭据错误。。。我试过root/admin/admin@local.host和密码组合,但仍然是failing@KronnorK在gitlab rake-gitlab:setup RAILS\u ENV=production之后,您是否重新启动了所有程序?
bundle exec rake db:seed_fu RAILS_ENV=production                                                                             
== Seed from /home/git/gitlab/db/fixtures/production/001_admin.rb
INFO: Sidekiq client using redis://localhost:6379 with options {:namespace=>"resque:gitlab"}

Administrator account created:

login.........admin@local.host
password......5iveL!fe