Sometimes latest changes get reverted (during sync?)

Yet another question popped up:

if I'm using NextCloud, does the server need to have a "joplin application" installed? Because I saw an error saying, that the Joplin application is not installed. In the logs I see this from that time:

 41 2020-03-28 21:37:13: "Total resources: 3007"
 40 2020-03-28 21:39:53: "Could not setup sync target:", "Error: Unsupported WebDAV URL format: https://REDACTED.TLD/remote.php/dav/files/REDACTED@REDACTED.TLD/Joplin
 39 Error: Unsupported WebDAV URL format: https://REDACTED.TLD/remote.php/dav/files/REDACTED@REDACTED.TLD/Joplin
 38     at Function.baseUrlFromNextcloudWebDavUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:60:19)
 37     at Object.baseUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/SyncTargetNextcloud.js:59:35)
 36     at JoplinServerApi.baseUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:53:43)
 35     at JoplinServerApi.<anonymous> (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:117:33)
 34     at Generator.next (<anonymous>)
 33     at /tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:8:71
 32     at new Promise (<anonymous>)
 31     at __awaiter (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:4:12)
 30     at JoplinServerApi.exec (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:99:16)
 29     at JoplinServerApi.<anonymous> (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:75:25)"
 28 2020-03-28 21:39:59: "Could not setup sync target:", "Error: Unsupported WebDAV URL format: https://REDACTED.TLD/remote.php/dav/files/REDACTED@REDACTED.TLD/Joplin
 27 Error: Unsupported WebDAV URL format: https://REDACTED.TLD/remote.php/dav/files/REDACTED@REDACTED.TLD/Joplin
 26     at Function.baseUrlFromNextcloudWebDavUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:60:19)
 25     at Object.baseUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/SyncTargetNextcloud.js:59:35)
 24     at JoplinServerApi.baseUrl (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:53:43)
 23     at JoplinServerApi.<anonymous> (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:117:33)
 22     at Generator.next (<anonymous>)
 21     at /tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:8:71
 20     at new Promise (<anonymous>)
 19     at __awaiter (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:4:12)
 18     at JoplinServerApi.exec (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:99:16)
 17     at JoplinServerApi.<anonymous> (/tmp/.mount_JoplingmrqfN/resources/app.asar/lib/JoplinServerApi.js:75:25)"

So... does Nextcloud require some special configuration before I point to it with the Nextcloud sync backend in Joplin? :thinking: And otherwise I have to use WebDav? :thinking:

EDIT: I just got an error and I see lots of locking errors! A sample:

2020-03-28 22:08:27: "Error: PUT 182720c314184719a00c952fcbb6befe.md: "Joplin/182720c314184719a00c952fcbb6befe.md" is locked (Exception OCA\DAV\Connector\Sabre\Exception\FileLocked) (423): <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>OCA\DAV\Connector\Sabre\Exception\FileLocked</s:exception>
  <s:message>"Joplin/182720c314184719a00c952fcbb6befe.md" is locked</s:message>
</d:error>

Does this look like a potential suspect for slow sync @laurent ?