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:

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

    at newError (/Applications/
    at WebDavApi.exec (/Applications/
    at async FileApiDriverWebDav.delete (/Applications/
    at async tryAndRepeat (/Applications/

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"