Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #3558

Closed
Open
Created 12 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Generated .git link do not lead to the repo .git, 404 not found

Closed

Generated .git link do not lead to the repo .git, 404 not found

Created by: wonson

I type a link like this in browser: http://servername.com:port/subDirectory/user/project.git and it returns 404. Is it normal?

Gitlab is in a sub-directory "gitlab". Is it related?

BTW I dunno if it is working for Git. Because I have "fatal: the remote end hung up unexpectedly" using SSH link when I am doing "git push" to create a repo for my new project.

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: wonson

      I think the 2 issues mentioned above are the same problem - wrong path.

      Since following the tutorial, the repo is in /home/git/repositories, but the path generated are

      • ssh://git@servername.com:port/user/project.git
      • http://servername.com:port/gitlab/user/project.git

      That cause the problem of 404 and "fatal: the remote end hung up unexpectedly"

      By Administrator on 2013-04-11T04:59:41 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: migroh

      Same problem here. I've installed version 5.0-stable.

      You can access the repository by adding "repositories" to the path (even if your repos_path is configured for /home/git/repositories in the gitlab & gitlab-shell config).

      • git clone git@servername:repositories/user/project.git

      By Administrator on 2013-04-11T16:51:34 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: migroh

      Found it.

      check if your authorized_keys files for the user git is not manually filled. Only import SSH keys over the GitLab web interface.

      By Administrator on 2013-04-11T17:06:43 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: wonson

      git works now. nice.

      By Administrator on 2013-04-12T09:38:34 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help