File: git_annex_with_local_apache_webdav_server.mdwn

package info (click to toggle)
git-annex 5.20151208-1~bpo8%2B1
  • links: PTS
  • area: main
  • in suites: jessie-backports
  • size: 48,312 kB
  • sloc: haskell: 48,234; sh: 1,540; ansic: 484; makefile: 267; perl: 145
file content (23 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hi, 

trying to make git annex work locally with an apache webdav server.

I have the webdav server working without issue on computers. When we try to init the repository there we get the following error:

WEBDAV_USERNAME=user WEBDAV_PASSWORD=xxxxxx git annex initremote webdavtest type=webdav url=http://webdavserver/webdavsgare/annextest4 encryption=none 
initremote webdavtest (testing WebDAV server...)

git-annex: WebDAV failed to delete file: "Locked": user error
failed
git-annex: initremote: 1 failed


Does anyone have any thoughts? I can post config of webdav if it helps, though the error I receive in the error_log of apache is as follows:

This resource is locked and an "If:" header was not supplied to allow access to the resource.  [423, #0]

but I can manage the files through command line, web interface and mounted drive with no issue.

thank you in advance.

Damien