Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,955
Community Members
 
Community Events
165
Community Groups

how to resolve git error - git: 'http-backend' is not a git command.

I am trying to upgrade git from 2.19.1 to 2.35.1 on bitbucket server 7.21.0 running on linux

when I try to clone from the test bitbucket instance I upgraded to git 2.35.1 I get an error "fatal: unable to access 'http://10.148.16.111:7990/scm/dev/inrush.git/': The requested URL returned error: 500"

 

the bitbucket log shows the following

2022-05-27 16:35:08,871 ERROR [http-nio-7990-exec-10] @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.c.m.a.ApplicationServiceGeneric Directory 'Dev Internal Jira (6717441)' is not functional during authentication of 'test'. Skipped.

2022-05-27 16:35:08,917 WARN  [http-scmrequest-handler:thread-2] test @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.s.i.s.g.p.http.CgiStdoutHandler Unexpected EOF copying SCM hosting process output to response

2022-05-27 16:35:08,919 ERROR [http-scmrequest-handler:thread-2] test @1AC2ZMCx995x82x0 10.148.22.245 "GET /scm/dev/inrush.git/info/refs HTTP/1.1" c.a.s.i.s.g.p.h.GitSmartExitHandler DEV/inrush[54]: Read request from 10.148.22.245 failed: com.atlassian.utils.process.ProcessException: Non-zero exit code: 1

The following was written to stderr:

git: 'http-backend' is not a git command. See 'git --help'.

1 answer

0 votes

Hi Ed,

This usually means that the git binary you're using was not compiled with the HTTP extensions enabled. You'll either need to recompile it yourself or get one of the vanilla binaries from git-scm.com

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.0
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you