Forum archive
GIT appliance - push error
Hi,
I am new to git so please excuse if I'm using any wrong terminology here.
I downloaded the appliance (/gitlab) and deployed it on esxi. everything installed correctly and i can access the git server from other computers.
I have a development server (on the same vm host as the git appliance) and I am trying to push the files from the development server to the git server, so the master is the development server.
I setup a group and then setup a project.
On the dev server (ubuntu 14.04) after i installed git, i run the following command in the directory i want to push:
cd signup <- that's the folder name
git init
git remote add origin http://abc.mydomain.com/groupname/signup.git
git add .
git commit -m "initial push"
so far everything works without a problem.
When i enter the following command:
git push -u origin master
I am asked for
Username for 'http://abc.mydomain.com'
and i enter gitlab-admin (which is the administrator username)
I am then asked for a password and after i enter the password i get the following error:
error: Cannot access URL http://abc.mydomain.com/groupname/signup.git/, return code 22
fatal: git-http-push failed
if I enter different credentials I get the following expected error:
fatal: Authentication failed for 'http://abc.mydomain.com/groupname/signup.git/'
I have searched the internet far and wide for the last 2 days and I can't get a solution to this.
How can I resolve this?
Thanks in advance,
Amir
TBH when I tested and gave you the instructions previously as per always I was quite pressed for time. As I didn't have a GitLab appliance running already, I made do with a LAMP appliance that I had running already. Whilst it worked fine for me, I hadn't considered all the factors directly relevant to the GitLab appliance. Apologies on that.
I really need to spend some time to sit down and look into it more closely. Unfortunately I'll have to come back to this as I'm trying to catch up on my backlog. I'm really sorry for your sub-par experience and my incomplete info.