I post this a reference, since it might help others. From the following gh issue, which should have reported on the forum in the first place.
Cannot synchronize with WebDAV from my webspace provider (udmedia.de
). It gives an error with Joplin. The displayed error message after a few seconds waiting time is: PROPFIND .lock/: Unknown error 2 (500)
.
From Edge for example access seems to work. Folders “.sync”, “.resource”, “.lock” are created.
Environment
Joplin version: 1.0.175
Platform: Windows
OS specifcs: 10
Steps To Reproduce
- Get webspace from udmedia.de that includes webdav capability.
- Setup webdav with this webspace.
- Insert webdav URL in Joplin/Options/Synchronization
- Check synchronization status or click on synchronize in the main window
Describe what you expected to happen:
No error. Synching instead.
Logfile
No output in the console.
From log file:
2020-01-03 17:57:04: "Garbage collecting alarms..."
2020-01-03 17:57:04: "RevisionService::maintenance: Starting..."
2020-01-03 17:57:04: "RevisionService::maintenance: Service is enabled"
2020-01-03 17:57:04: "RevisionService::collectRevisions: Created revisions for 0 notes"
2020-01-03 17:57:04: "RevisionService::maintenance: Done in 107ms"
2020-01-03 17:57:09: "Scheduling sync operation..."
2020-01-03 17:57:09: "Preparing scheduled sync"
2020-01-03 17:57:09: "Starting scheduled sync"
2020-01-03 17:57:30: "Error: MKCOL .sync/: Unknown error 2 (500):
Code: 500
Error: MKCOL .sync/: Unknown error 2 (500):
at newError (C:\Program Files\Joplin\resources\app.asar\lib\WebDavApi.js:393:11)
at WebDavApi.exec (C:\Program Files\Joplin\resources\app.asar\lib\WebDavApi.js:423:10)
at process._tickCallback (internal/process/next_tick.js:68:7)"
2020-01-03 17:57:30: "Req 17:56:24: MKCOL https://webdav.frype.de/joplin/.sync/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-89702","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:24: "
2020-01-03 17:57:30: "Req 17:56:24: MKCOL https://webdav.frype.de/joplin/.lock/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-3623","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:24: "
2020-01-03 17:57:30: "Req 17:56:24: MKCOL https://webdav.frype.de/joplin/.resource/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-73280","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:24: "
2020-01-03 17:57:30: "Req 17:56:24: PROPFIND https://webdav.frype.de/joplin/.lock/ {"headers":{"Depth":1,"Authorization":"********","If-None-Match":"JoplinIgnore-34468","User-Agent":"Joplin/1.0","Content-Length":"190"},"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\t\t\t<d:propfind xmlns:d=\"DAV:\">\n\t\t\t\t<d:prop xmlns:oc=\"http://owncloud.org/ns\">\n\t\t\t\t\t<d:getlastmodified/><d:resourcetype/>\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>","timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:24: "
2020-01-03 17:57:30: "Req 17:56:28: PROPFIND https://webdav.frype.de/joplin/.lock/ {"headers":{"Depth":1,"Authorization":"********","If-None-Match":"JoplinIgnore-42848","User-Agent":"Joplin/1.0","Content-Length":"190"},"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\t\t\t<d:propfind xmlns:d=\"DAV:\">\n\t\t\t\t<d:prop xmlns:oc=\"http://owncloud.org/ns\">\n\t\t\t\t\t<d:getlastmodified/><d:resourcetype/>\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>","timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:28: "
2020-01-03 17:57:30: "Req 17:56:36: PROPFIND https://webdav.frype.de/joplin/.lock/ {"headers":{"Depth":1,"Authorization":"********","If-None-Match":"JoplinIgnore-87059","User-Agent":"Joplin/1.0","Content-Length":"190"},"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\t\t\t<d:propfind xmlns:d=\"DAV:\">\n\t\t\t\t<d:prop xmlns:oc=\"http://owncloud.org/ns\">\n\t\t\t\t\t<d:getlastmodified/><d:resourcetype/>\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>","timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:36: "
2020-01-03 17:57:30: "Req 17:56:46: PROPFIND https://webdav.frype.de/joplin/.lock/ {"headers":{"Depth":1,"Authorization":"********","If-None-Match":"JoplinIgnore-62908","User-Agent":"Joplin/1.0","Content-Length":"190"},"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\t\t\t<d:propfind xmlns:d=\"DAV:\">\n\t\t\t\t<d:prop xmlns:oc=\"http://owncloud.org/ns\">\n\t\t\t\t\t<d:getlastmodified/><d:resourcetype/>\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>","timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:56:46: "
2020-01-03 17:57:30: "Req 17:57:09: MKCOL https://webdav.frype.de/joplin/.sync/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-38486","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:57:09: "
2020-01-03 17:57:30: "Req 17:57:13: MKCOL https://webdav.frype.de/joplin/.sync/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-53983","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:57:13: "
2020-01-03 17:57:30: "Req 17:57:20: MKCOL https://webdav.frype.de/joplin/.sync/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-57958","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:57:20: "
2020-01-03 17:57:30: "Req 17:57:30: MKCOL https://webdav.frype.de/joplin/.sync/ {"headers":{"Authorization":"********","If-None-Match":"JoplinIgnore-76446","User-Agent":"Joplin/1.0"},"timeout":120000,"maxRetry":0}"
2020-01-03 17:57:30: "Res 17:57:30: "
2020-01-03 17:57:30: "Operations completed: "
2020-01-03 17:57:30: "Total folders: 1"
2020-01-03 17:57:30: "Total notes: 4"
2020-01-03 17:57:30: "Total resources: 3"
2020-01-03 17:57:30: "There was some errors:"
2020-01-03 17:57:30: "Error: MKCOL .sync/: Unknown error 2 (500):
Code: 500
Error: MKCOL .sync/: Unknown error 2 (500):
at newError (C:\Program Files\Joplin\resources\app.asar\lib\WebDavApi.js:393:11)
at WebDavApi.exec (C:\Program Files\Joplin\resources\app.asar\lib\WebDavApi.js:423:10)
at process._tickCallback (internal/process/next_tick.js:68:7)"