# Error in restart and upgrade

**URL:** <https://discourse.joplinapp.org/t/error-in-restart-and-upgrade/10946>\
**Category:** Support\
**Created:** [8 September 2020 15:52 UTC](https://discourse.joplinapp.org/t/error-in-restart-and-upgrade/10946 "2020-09-08T15:52:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdk](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@rdk](https://discourse.joplinapp.org/u/rdk)\
**Post date:** [8 September 2020 15:52 UTC](https://discourse.joplinapp.org/t/error-in-restart-and-upgrade/10946/1 "2020-09-08T15:52:10Z")

</div>

The sync target could not be upgraded due to an error. For support, please copy the complete content of this page and paste it in the forum: https://discourse.joplinapp.org/

The full error was:

PUT locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json: “Joplin/locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json” 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](http://sabredav.org/ns)”\> \<s:exception\>OCA\DAV\Connector\Sabre\Exception\FileLocked\</s:exception\> \<s:message\>“Joplin/locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json” is locked\</s:message\> \</d:error\>

Error: PUT locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json: “Joplin/locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json” 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](http://sabredav.org/ns)”\>  
\<s:exception\>OCA\DAV\Connector\Sabre\Exception\FileLocked\</s:exception\>  
\<s:message\>“Joplin/locks/exclusive\_desktop\_37460a5a86c54c3184070f7c64c6a1d6.json” is locked\</s:message\>  
\</d:error\>

```
at newError (C:\Users\richard\AppData\Local\Programs\Joplin\resources\app.asar\lib\WebDavApi.js:399:11)
at WebDavApi.exec (C:\Users\richard\AppData\Local\Programs\Joplin\resources\app.asar\lib\WebDavApi.js:426:11)
at async FileApiDriverWebDav.put (C:\Users\richard\AppData\Local\Programs\Joplin\resources\app.asar\lib\file-api-driver-webdav.js:201:10)
at async tryAndRepeat (C:\Users\richard\AppData\Local\Programs\Joplin\resources\app.asar\lib\file-api.js:37:19)
```

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [8 September 2020 16:11 UTC](https://discourse.joplinapp.org/t/error-in-restart-and-upgrade/10946/2 "2020-09-08T16:11:23Z")

</div>

> [@Error when sync target upgrade](https://discourse.joplinapp.org/t/error-when-sync-target-upgrade/10936):
>
> 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](https://joplinapp.org/debugging) Error: DELETE locks/exclusive\_desktop\_6bb70228e3ef4c05afa0e54d9c910fc6.json: "Joplin/locks/exclusive\_desktop\_6bb70228e3ef4c05afa0e54d9c910fc6.json" is locked, existing lo…

---

<div class="post-metadata">

**Author:** ![houdini69](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/houdini69/32/4965_2.png) [@houdini69](https://discourse.joplinapp.org/u/houdini69)\
**Post date:** [8 September 2020 18:38 UTC](https://discourse.joplinapp.org/t/error-in-restart-and-upgrade/10946/3 "2020-09-08T18:38:34Z")

</div>

I fixed this issue by removing filelocking with Redis in my Nextcloud config file.  
Joplin restart and upgrade gracefully!

Laurent
