Skip to content
GitLab
项目 群组 主题 代码片段
  • /
  • 帮助
    • 帮助
    • 支持
    • 社区论坛
    • 提交反馈
  • 登录
  • L large
  • 项目信息
    • 项目信息
    • 动态
    • 标记
    • 成员
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者统计
    • 分支图
    • 比较修订版本
  • 议题 21
    • 议题 21
    • 列表
    • 看板
    • 服务台
    • 里程碑
  • 合并请求 12
    • 合并请求 12
  • CI/CD
    • CI/CD
    • 流水线
    • 作业
    • 产物
    • 计划
  • 部署
    • 部署
    • 环境
    • 发布
  • 软件包与镜像库
    • 软件包与镜像库
    • 软件包库
    • 容器镜像库
    • Terraform 模块
    • 模型实验
  • 监控
    • 监控
    • 事件
  • 分析
    • 分析
    • 价值流
    • CI/CD
    • 仓库
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 动态
  • 分支图
  • 创建新议题
  • 作业
  • 提交
  • 议题看板
收起侧边栏
  • 王权利
  • large
  • 议题
  • #3424

Could not read from remote repository

Created by: alfons24

Hello, i've installed GitLab 5 first time.

I get fhe following error while:

git push -u origin master fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

My ssh key is working fine, when i look at tail -f /var/log/auth.log

Mar 27 15:33:30 ugitbuntu sshd[1802]: pam_unix(sshd:session): session opened for user git by (uid=0) Mar 27 15:33:31 ugitbuntu sshd[1935]: Received disconnect from 10.100.2.172: 11: disconnected by user Mar 27 15:33:31 ugitbuntu sshd[1802]: pam_unix(sshd:session): session closed for user git

What happens? What can I do?

$ gitlab-shell/bin/check Check GitLab API access: OK Check directories and files: /home/git/repositories: OK /home/git/.ssh/authorized_keys: OK

gitlab$ bundle exec rake gitlab:env:info RAILS_ENV=production

System information System: Ubuntu 12.04 Current User: git Using RVM: no Ruby Version: 1.9.3p327 Gem Version: 1.8.23 Bundler Version:1.3.4 Rake Version: 10.0.3

GitLab information Version: 5.1.0pre Revision: a31fe1a6 Directory: /home/git/gitlab DB Adapter: postgresql URL: https://ugitbuntu HTTP Clone URL: https://ugitbuntu/some-project.git SSH Clone URL: git@ugitbuntu:some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 1.2.0 Repositories: /home/git/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git

gitlab$ 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? ... OK (1.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 post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... stefan / blabla ... 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? ... stefan / blabla ... can't create, repository is empty

Checking GitLab ... Finished

Now I'm testing one week ago, but I won't get it work.

Regards Stefan

指派人
分配到
工时统计