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

Closed
Open
Created Feb 03, 2014 by Administrator@rootOwner

Fork fails if namespace does not exist yet

Created by: nudgegoonies

Trying to fork a project while the user hasn't created project yet, fails with the following message in the gitlab-shell log:

E, [2014-02-03T09:38:57.590259 #15146] ERROR -- : fork-project failed: destination namespace </var/lib/gitlab/repositories/USERNAME> does not exist.
I, [2014-02-03T09:38:58.193282 #15153]  INFO -- : Removing project USERNAME/PROJECT.wiki.git from </var/lib/gitlab/repositories/USERNAME/PROJECT.wiki.git>.
I, [2014-02-03T09:38:58.222668 #15151]  INFO -- : Removing project USERNAME/PROJECT.git from </var/lib/gitlab/repositories/USERNAME/PROJECT.git>.

After creating a new project the fork works.

My environment is this:

System:     Debian 7.1
Current User:   git
Using RVM:  no
Ruby Version:   1.9.3p194
Gem Version:    1.8.23
Bundler Version:1.1.4
Rake Version:   10.1.0

GitLab information
Version:    6.5.1
Revision:   9c8f584
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.8.0
Git:        /usr/bin/git
Assignee
Assign to
Time tracking