Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9686

Closed
Open
Created Oct 01, 2015 by Administrator@rootOwner

can't clone repo via https after upgrade 8.0

Created by: cnzx219

i clone my repo via https, like this https://code.xxx.cn/cnzx219/test.It always show the following error:

Cloning into 'xxx'...
remote: Not Found
fatal: repository 'https://code.xxx.cn/g_xxx/xxx.git/' not found

nginx access log:

121.40.87.95 - cnzx219 [02/Oct/2015:05:19:46 +0800] "GET /g_xxx/xxx.git/info/refs?service=git-upload-pack HTTP/1.1" 404 10 "-" "JGit/unknown"

finnally, i found the gitlab-git-http-server startup script:

$ ps -ax | grep gitlab
 1532 ?        Ssl    0:00 /home/git/gitlab/../gitlab-git-http-server/gitlab-git-http-server -listenUmask 0 -listenNetwork unix -listenAddr /home/git/gitlab/tmp/sockets/gitlab-git-http-server.socket -authBackend http://127.0.0.1:8080 /home/git/repositories

gitlab-git-http-server read the repo path which is /home/git/repositories.

but in my gitlab.yml it is repos_path: /my/git/repositories/

i have use soft link to resolve. hope that it will be fix in next version

Assignee
Assign to
Time tracking