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

Closed
Open
Created Nov 20, 2014 by Administrator@rootOwner

Importing Existing Repositories Creates "Empty" Repos in Gitlab

Created by: strobe33333

I've been running 5.4 for a long time and decided it was high time to get up to latest stable. After a successful installation (of 7.5 stable,) I copied my repositories into my /home/git/repositories directory, replicating the structure that was present in 5.4.

I then ran sudo -u git -H bundle exec rake gitlab:import:repos RAILS_ENV=production which also reported to run successfully

I can see the repos under the appropriate namespace, but all of the projects show up as 0MB and display the screen that indicates they are new unused projects. I double checked the filesystem and they all consume varying amounts of space, so they are not empty on disk.

I did some googling and it seems this was an issue back during the 5.x time-frame, but I never saw a solution. I'm completely open to the possibility that I'm doing it wrong, so if anyone has guidance I would be very appreciative.

Thanks

Assignee
Assign to
Time tracking