From d59a320244f348fa3647673df839943b9961004a Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk0GR7KgDF6PAzHTkLZCCkjAvJVB7ceXTY" Date: Sat, 27 Sep 2014 10:14:23 +0000 Subject: --- ...esource_you_tried_to_create_already_exists.mdwn | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/bugs/WebDAV_error_when_connecting_to_box.com:_The_resource_you_tried_to_create_already_exists.mdwn (limited to 'doc/bugs/WebDAV_error_when_connecting_to_box.com:_The_resource_you_tried_to_create_already_exists.mdwn') diff --git a/doc/bugs/WebDAV_error_when_connecting_to_box.com:_The_resource_you_tried_to_create_already_exists.mdwn b/doc/bugs/WebDAV_error_when_connecting_to_box.com:_The_resource_you_tried_to_create_already_exists.mdwn new file mode 100644 index 000000000..a61253066 --- /dev/null +++ b/doc/bugs/WebDAV_error_when_connecting_to_box.com:_The_resource_you_tried_to_create_already_exists.mdwn @@ -0,0 +1,33 @@ +### Please describe the problem. + +"git-annex enableremote box.com" fails with "git-annex: WebDAV test failed". The server returns error message "The resource you tried to create already exists" (see below). + +### What steps will reproduce the problem? + +1. I initialize box.com special remote in desktop. The path at box.com is at "gas/annex". + +2. I enable the box.com special remote in laptop. I got the error I described above. + +### What version of git-annex are you using? On what operating system? + + $ git annex version + git-annex version: 5.20140831-g62e6ad8 + build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash + key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL + remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar hook external + $ uname -a + Linux tkf-acer 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux + + +### Please provide any additional information below. + +I ran the following while with appropriate environment variable WEBDAV_USERNAM and WEBDAV_PASSWORD. + + me@desktop$ git-annex initremote box type=webdav url=https://dav.box.com/dav/gas/annex chunk=50mb encryption=shared + + me@laptop$ git-annex enableremote box.com + enableremote box.com (testing WebDAV server...) + + git-annex: WebDAV test failed: StatusCodeException (Status {statusCode = 405, statusMessage = "Method Not Allowed"}) [("Server","nginx"),("Date","Sat, 27 Sep 2014 09:36:42 GMT"),("Content-Type","application/xml; charset=utf-8"),("Content-Length","247"),("Connection","keep-alive"),("Vary","Host"),("Allow","OPTIONS, GET, HEAD, DELETE, PROPFIND, PUT, PROPPATCH, COPY, MOVE, REPORT, LOCK, UNLOCK"),("X-Response-Body-Start","\n\n Sabre_DAV_Exception_MethodNotAllowed\n The resource you tried to create already exists\n\n")] (CJ {expose = []}): user error + failed + git-annex: enableremote: 1 failed -- cgit v1.2.3