Having gitlab successfully installed and running, I tried to import an existing project. To do so I created an empty project and then got a list of instructions on the projects page, how to push my existing repo data into the gitlab project:
cd existing_git_repo git remote add origin firstname.lastname@example.org:root/testproject.git git push -u origin master
But when doing so, I get the following message:
fatal: 'root/testproject.git' does not appear to be a git repository fatal: Could not read from remote repository.
When looking into my repositories folder, the repository has been created there by gitlab and when using the http-URL instead of the git-URL everything is working as expected.
How is git push supposed to know how to resolve from "email@example.com:root/testproject.git" to "firstname.lastname@example.org:/home/gitlab/repositories/root/testproject.git"? Is gitlab supposed to create the git server? If so, where should I start digging to find out why no repository is found where gitlab told me to point my remote at?
Edit: when greping for "root/testproject.git" I get the following results:
[gitlab@gitlab gitlab]# grep -r "root/testproject.git" * gitlab/log/sidekiq.log:Initialized empty Git repository in /home/gitlab/repositories/root/testproject.git/ gitlab-shell/gitlab-shell.log:I, [2014-01-23T16:38:16.974051 #5390] INFO -- : Adding project root/cashio.git at </home/gitlab/repositories/root/testproject.git>.
Edit2: If that helps: using git remote set-url gitlab email@example.com:/home/gitlab/repositories/root/testproject.git instead works as expected.