threads / discuss / 15629

git http-push and MKCOL error (22/409)

Subject: git http-push and MKCOL error (22/409)

## tl;dr

One message between Sep 22, 2008 and Sep 22, 2008.

replies: 0people: 1as markdown or json

Sean Davis· Sep 22, 2008, 23:51 UTC · lore

I built git from source for mac os and after updating curl to the latest version and installing the latest expat (both from source), I have git-http-push installed. I have a bare repository in the webDAV directory (which was placed there over a webDAV mount, so it appears that webDAV is working). When I try to push to it, I get the following:

sdavis$ git push http://sdavis@example.com/git/stuff.git master
Fetching remote heads...
  refs/
  refs/heads/
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   f1ea50f8f60497ea3eca2355c10c141734db6451
    sending 3070 objects
MKCOL d7a940ff6c7bbc924f6e2d2c319aea22b8b0fdac failed, aborting (22/409)
MKCOL c9ac4c17871308e520a9944e12d846be9f24f91d failed, aborting (22/409)
MKCOL 1ac1bf55510deade68b14debd71357e3d929fe1c failed, aborting (22/409)
MKCOL da5e8ff9649c2b6ee0fde2280163ab4b399a1f1a failed, aborting (22/409)
MKCOL 87fc8ecfa98c36e0f9e44ed772d49d02378fc191 failed, aborting (22/409)
UNLOCK HTTP error 500
error: failed to push some refs to 'http://sdavis@example.com/git/stuff.git'
The apache error log shows:

[Mon Sep 22 19:48:53 2008] [error] [client 156.40.148.25] File does not exist: /home/www/git/stuff.git/info [Mon Sep 22 19:48:53 2008] [error] [client 156.40.148.25] File does not exist: /home/www/git/stuff.git/objects [Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such file or directory: Cannot create collection; intermediate collection does not exist. [409, #0] [Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such file or directory: Cannot create collection; intermediate collection does not exist. [409, #0] [Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such file or directory: Cannot create collection; intermediate collection does not exist. [409, #0] [Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such file or directory: Cannot create collection; intermediate collection does not exist. [409, #0] [Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such file or directory: Cannot create collection; intermediate collection does not exist. [409, #0]

Any ideas?

Thanks, Sean

← back to recent threads