git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
SDSean Davis <sdavis2@mail.nih.gov>
Date
Sep 22, 2008, 23:51 UTC
Message-ID
<264855a00809221651i170c7f93o4f063f0cedeae13c@mail.gmail.com>

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

Message 1 of 1 in “git http-push and MKCOL error (22/409)”
  1. Sean DavisSep 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.