The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

problem pushing, using atlassian/bitbucket-server:5.5.5 docker image

Paul French
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2018

I follow the instructions given by bitbucket to create a repository and then clone it. This works. However when I try to push back to the repo I get this error in the log (I switchd on debugging for more info)

 

2018-01-11 11:54:27,556 DEBUG [http-nio-7990-exec-2] bitbucket_admin @1TJH6S0x714x149x0 192.168.1.183 "POST /scm/jclient/scrap.git/git-receive-pack HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed /usr/bin/git http-backend
2018-01-11 11:54:27,558 ERROR [http-nio-7990-exec-2] bitbucket_admin @1TJH6S0x714x149x0 192.168.1.183 "POST /scm/jclient/scrap.git/git-receive-pack HTTP/1.1" c.a.s.i.s.g.p.h.GitSmartExitHandler JCLIENT/scrap[22]: Write request from 192.168.1.183 failed
The following was written to stderr:
git: 'http-backend' is not a git command. See 'git --help'.
com.atlassian.utils.process.ProcessException: Non-zero exit code: 1

As you can see it fails due to the git-http-backend command not existing. I checked the docker image and it does not exist.

What's the issue?

My GIT client is version 2.9.2.windows.1

GIT version in the bitbucket docker image is 2.15.0

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Paul French
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2018

The latest 5.5 image (5.5.5) does not contain the git-http-backend command. I've just tried the 5.6.2 image and this does. It is now working.

TAGS
AUG Leaders

Atlassian Community Events