Closed deanishe closed 5 years ago
Never mind. Figured it out after faffing around with my Caddyfile.
For anyone else having issues with Seafile's WebDAV and Caddy, this seems to work:
Caddyfile
:
example.com/seafdav {
proxy / localhost:8080/seafdav {
without /seafdav
transparent
}
...
}
seafdav.conf
:
[WEBDAV]
enabled = true
port = 8080
fastcgi = false
share_name = /seafdav
Operating system
Application
I'm trying to sync via Seafile, but Joplin isn't uploading any notes, and I'm getting the following error in both the Mac and iOS clients:
My
WebDAV URL
in the config ishttps://example.com/seafdav/Joplin
I have verified that it works correctly with other WebDAV clients.
Here's the debug log from the desktop client:
The directories
.sync/
and.resource/
are created, but are empty. No notes are uploaded.Here's what I'm getting in the webserver logs:
Here's the (prettified) response from running
curl -i --basic --user 'myuser@example.com' -X PROPFIND https://example.com/seafdav/Joplin/.sync --upload-file - -H "Depth: 1" <<end
Clearly, this is where the dud path is coming from.
Any ideas?