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

Closed
Open
Created Sep 11, 2014 by Administrator@rootOwner

Can't push copy of https://github.com/gitlabhq/gitlabhq.git to GitLab using default settings

Created by: bbodenmiller

Using the default GitLab timeout and size limitations as of 7.1.1 you cannot push a copy of the GitLab repo up to GitLab. It doesn't look like anything hasn't changed in 7.2 that would affect this.

Commands to reproduce:

$ git clone https://github.com/gitlabhq/gitlabhq.git
Cloning into 'gitlabhq'...
remote: Counting objects: 91167, done.
remote: Compressing objects: 100% (410/410), done.
remote: Total 91167 (delta 269), reused 28 (delta 20)
Receiving objects: 100% (91167/91167), 80.04 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (63840/63840), done.
Checking connectivity... done.
Checking out files: 100% (1564/1564), done.
$ cd gitlabhq/
$ git remote add origin2 https://mygitlab.com/tmp-gitlab-mirror.git
$ git push -u origin2 master
Counting objects: 89801, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (25252/25252), done.
Writing objects: 100% (89801/89801), 79.61 MiB | 0 bytes/s, done.
Total 89801 (delta 63256), reused 89801 (delta 63256)
efrror: RPC failed; result=22, HTTP code = 413
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

I would expect GitLab's default install to be able to accept a copy of its own code.

All checks are passing.

Increasing the max git size and allowed size in nginx seems to have fixed the issue.

Assignee
Assign to
Time tracking