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

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 "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 "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 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

GIT version in the bitbucket docker image is 2.15.0

1 answer

0 vote

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,782 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you