Error when sync target upgrade

To report a bug, please let us know:

  • The version you are using. Joplin 1.0.242 (prod, darwin)

  • If you report a problem with upgrading, please let us know both versions (from/to).

  • The operating system you are using. macOS 10.14.6

If you can also please provide a log, as described here: https://joplinapp.org/debugging

Error: DELETE locks/exclusive_desktop_6bb70228e3ef4c05afa0e54d9c910fc6.json: "Joplin/locks/exclusive_desktop_6bb70228e3ef4c05afa0e54d9c910fc6.json" is locked, existing lock on file: 2 shared locks (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/locks/exclusive_desktop_6bb70228e3ef4c05afa0e54d9c910fc6.json" is locked, existing lock on file: 2 shared locks</s:message>
</d:error>

    at newError (/Applications/Joplin.app/Contents/Resources/app.asar/lib/WebDavApi.js:399:11)
    at WebDavApi.exec (/Applications/Joplin.app/Contents/Resources/app.asar/lib/WebDavApi.js:426:11)
    at async FileApiDriverWebDav.delete (/Applications/Joplin.app/Contents/Resources/app.asar/lib/file-api-driver-webdav.js:206:4)
    at async tryAndRepeat (/Applications/Joplin.app/Contents/Resources/app.asar/lib/file-api.js:37:19)

I got that when trying to upgrade sync target " The sync target needs to be upgraded before Joplin can sync. The operation may take a few minutes to complete and the app needs to be restarted. To proceed please click on the link. Restart and upgrade"

Laurent