Gitlab – 不能:创build新项目,列出团队成员,添加SSH密钥或克隆/推送

我刚刚在我的Centos 6.4上安装了Gitlab。

乍一看似乎一切正常,但由于某种原因,我有以下问题:

添加一个新项目:

(添加新的SSH密钥或列出项目成员时出现类似问题)


克隆或推送

  • 克隆时出错

     Cloning into 'Vermello'... Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 
  • 推送时请求git密码。


请注意,我使用gitlab-shell脚本手动添加了我的SSH密钥,因为我无法使用该接口。


Sidekiq.log

  • 我已检查了有关此问题的以下链接,但没有解决我的问题( https://github.com/gitlabhq/gitlabhq/issues/1063#issuecomment-6854410 )

  • 日志:

      ERROR: getaddrinfo: Name or service not known ERROR: /usr/local/lib/ruby/gems/1.9.1/gems/redis-3.0.4/lib/redis/connection/ruby.rb:119:in `getaddrinfo' 
  • /home/git/gitlab-shell/config.yml

      # GitLab user. git by default user: git # Url to gitlab instance. Used for api calls. Should end with a slash. gitlab_url: "http://gitlab.vermello-designs.com/" ... 

输出

  • sudo -u git -H bundle exec rake gitlab:check RAILS_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.0 ? ... OK (1.7.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 post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... Vermello / Vermello ... repository is empty 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 satellites? ... Vermello / Vermello ... can't create, repository is empty Redis version >= 2.0.0? ... yes Your git bin path is "/usr/bin/git" Git version >= 1.7.10 ? ... yes (1.7.11) Checking GitLab ... Finished 

输出

  • sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production

     System information System: CentOS release 6.4 (Final) Current User: git Using RVM: no Ruby Version: 1.9.3p0 Gem Version: 1.8.17 Bundler Version:1.3.5 Rake Version: 10.1.0 GitLab information Version: 6.0.0.pre Revision: f602be2 Directory: /home/gitlab/gitlabhq DB Adapter: mysql2 URL: http://gitlab.vermello-designs.com HTTP Clone URL: http://gitlab.vermello-designs.com/some-project.git SSH Clone URL: [email protected]:some-project.git Using LDAP: no Using Omniauth: no GitLab Shell Version: 1.7.0 Repositories: /home/git/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git 

谢谢你的时间,你的帮助非常感谢!