Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #41918
Closed
Open
Created Jan 11, 2018 by Andreas Åhman@a.aahman

Backup restore warnings for repositories that seems ok.

We're running gitlab-ce 10.2.2 and 10.3.2 via sameersbn/docker-gitlab images in OpenShift.

When trying the backup/restore procedures we get the following errors on some repos.

* cicd/iosp-compose ... [WARNING] Executing /usr/bin/git clone --bare --mirror /backups/repositories/cicd/iosp-compose.bundle /home/git/data/repositories/cicd/iosp-compose.git Ignoring error on cicd/iosp-compose - Cloning into bare repository '/home/git/data/repositories/cicd/iosp-compose.git'... fatal: premature end of pack file, 20 bytes missing error: index-pack died fatal: bad object 7c165c5c508ba351eca226c3d3cb9e9e9123b432 fatal: remote did not send all necessary objects

After the restore when accessing the repo I get the following error: The repository for this project does not exist. This means you can not push code until you create an empty repository or import existing one.

Cloning from the existing repo is not an issue so the repo itself seems fine and something apparently happens during the backup of the same.

Anyone who've seen this and have any ideas on how to solve it?

Assignee
Assign to
Time tracking