WebFaction
Community site: login faq

I'd like to upgrade the git installed on my webfaction account from 1.7.2 to the most recent. I think I upgraded git on my home computer, and I am now getting this error:

error: no DAV locking support on http://url.to.git.repo/repo.git/
fatal: git-http-push failed

Do I need to recompile, or is there some way to more easily replace the binaries and whatnot.

asked 20 May '11, 11:31

quasiyodel's gravatar image

quasiyodel
112
accept rate: 0%

Are you looking to upgrade the version of Git inside a specific application or the "global" version for your account?

(20 May '11, 11:43) David L ♦♦ David%20L's gravatar image

I am looking to change the version used by my git server, so whatever it takes, but probably just the copy inside an app.

(20 May '11, 11:45) quasiyodel quasiyodel's gravatar image

That's a bit trickier. What you'll have to do is

  1. Compile git into your application somewhere (say, ~/webapps/<app>/src/git-1.7.5.2).

  2. Update your app's git.cgi and auth/git.cgi to point the new git-http-backend binary.

Sadly you can't compile pre-built binaries of git because it hardcodes the paths to other binaries. Moving them from their original build location causes segfaults :(

(This was a major reason for the decision to install Git globally on our servers.)

(20 May '11, 11:54) David L ♦♦ David%20L's gravatar image

So I put the new version in, updated the paths, and I still got the same error as above. Any ideas? I am using git 1.7.5.2 on both the server my client. Do I need to somehow upgrade the repositories themselves?

(20 May '11, 14:37) quasiyodel quasiyodel's gravatar image

It's possible. To test this, are you able to create a new empty repository on the server, clone it, and push to it over http? (Please ensure that you use the new git binary to create the new repository)

(20 May '11, 19:45) ryans ♦♦ ryans's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106
×37

question asked: 20 May '11, 11:31

question was seen: 2,670 times

last updated: 20 May '11, 19:54

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM