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
  • #3578

Closed
Open
Created Apr 12, 2013 by Administrator@rootOwner

Upgrade from 4.2, SSH fatal: The remote end hung up unexpectedly

Created by: Leegorous

I just followed the Update guides to update Gitlab from 4.2 to 5.0.

Everything is good, all green, but when i do git pull or clone on the former project, it ends with

> git clone [email protected]:leegorous/one-project.git
Cloning into 'one-project'...
fatal: The remote end hung up unexpectedly

And than, i test SSH

> ssh -T [email protected]
Welcome to GitLab, Anonymous!

That's weird.

I can't git over SSH, but the HTTP runs well

> git clone http://mygitlab.com/leegorous/one-project.git
...
Receiving objects: 100% (10616/10616), 12.81 MiB | 552 KiB/s, done.
Resolving deltas: 100% (7783/7783), done.

I can't see any related error log under /home/git/gitlab/log/

Do anyone have some idea?

The env:info

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

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

GitLab information
Version:    5.0.1
Revision:   951273f
Directory:  /home/git/gitlab
DB Adapter: mysql2
URL:        http://mygitlab.com
HTTP Clone URL: http://mygitlab.com/some-project.git
SSH Clone URL:  [email protected]: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
Assignee
Assign to
Time tracking