Forums

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

Clone of big repositories fails via http after server upgrade

Intelligent electronics
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!
September 29, 2018

Dear support team,

 

i upgraded my bitbucket server from 4.14.4 to 5.14.0.

Since this it fails to clone big repositories via http.

fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500

 

After a bit researching i found the reason in the log files:

"git-http-backend is missing or not executable"

 

I tried to add the path for the libexec to the bitbucket.properties like this:

plugin.bitbucket-git.path.libexec=C:\\Program Files\\Git\\mingw64\\libexec

(I tried also serveral other formats of the path)

But the it's every time the same result:

2018-09-29 13:49:07,224 WARN  [spring-startup]  c.a.s.i.scm.git.DefaultGitScmConfig libexec path "C:\Program Files\Git\mingw64\libexec" is not valid and will be ignored; git-http-backend is missing or not executable

 

Can you explain me what i'm doing wrong?

 

Kind regards

Florian

1 answer

0 votes
Rajath Veeramanchala September 30, 2018

Hi @Intelligent electronics ,

Instead of using HTTP protocol to clone, I suggest you use SSH protocol. You can create a public key in git bash using below command :

ssh-keygen -t rsa

This would create an id_rsa.pub under .ssh folder in your user folder. Copy the public key and paste in under SSH keys of your bitbucket account. This way you can authenticate via ssh easily and you wouldn`t find such issues like you found in HTTP.

Hope this helps

Regards,

Rajath

Intelligent electronics
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!
October 6, 2018

Hello Rajath,

it works. Thank you!

But why doesn't the http clone work anymore? I would prefer that ssh and http work.

 

Kind regards

Florian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events