File: git_annex_with_local_apache_webdav_server.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
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