Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,374
Community Members
 
Community Events
176
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

Hi @Ed Cook 

I am having similar issue to what you are experiencing, wanted to see if you end up compiling Git with HTTP extensions? Or found a package that came with extensions? Appreciate if you share your fix for this.

Thank you

Moses

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.0
TAGS

Atlassian Community Events