我在Debian 6x32手动安装上设置GitLab服务器,并在检查gitlab安装时遇到问题。前端工作正常,但我甚至无法访问repos(尝试推送)。
当我跑步时
sudo -u git bundle exec rake gitlab:check RAILS_ENV = production
出现以下输出
stekotin@rserv /home/git/gitlab $ sudo -u git bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... no
Try fixing it:
sudo -u git -H "/usr/bin/git" config --global user.name "GitLab"
sudo -u git -H "/usr/bin/git" config --global user.email "git@domain.com"
sudo -u git -H "/usr/bin/git" config --global core.autocrlf "input"
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 2.2.0 ? ... OK (2.2.0)
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
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
Mikhail Kuzmin / test ... repository is empty
Daria Efimova / Amway ... repository is empty
Pavel Volobuev / IASBeaconTest ... repository is empty
Nikolay Shubenkov / iBeacon ... repository is empty
Sergei Tekotin / my ... repository is empty
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: FAILED. code: 401
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
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: ...
Sergei Tekotin / my ... yes
Projects have satellites? ...
Mikhail Kuzmin / test ... can't create, repository is empty
Daria Efimova / Amway ... can't create, repository is empty
Pavel Volobuev / IASBeaconTest ... can't create, repository is empty
Nikolay Shubenkov / iBeacon ... can't create, repository is empty
Sergei Tekotin / my ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.5)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Checking GitLab ... Finished
尝试了几乎所有在互联网上找到的解决方案,但都没有奏效。关于如何解决这个问题的任何想法?