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