mholt/caddy-webdav

Every time you use webdav to sync photos, an error will be reported,

Offen

#24 geöffnet am 01.08.2021

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (37 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (316 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Caddy server is windows 10. The phone uses photosync+webdav to synchronize photos, and an error will be reported every time a photo is synchronized.

Error message: Cannot create a file when that file already exists

Tip: The error log will be output, but it does not affect the use

Caddyfile:

{
	order webdav before file_server
}

:7001 {
	webdav {
		root D:/_data
		prefix /
	}
}

error.log:

{"level":"error","ts":1627832105.3054144,"logger":"http.handlers.webdav","msg":"internal handler error","error":"mkdir D:\\_data\\手机相册\\Screenshots\\2020: Cannot create a file when that file already exists.

Contributor Guide