# "The sync target needs to be upgraded.."

**URL:** <https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261>\
**Category:** Support\
**Created:** [1 July 2022 11:00 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261 "2022-07-01T11:00:29Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [1 July 2022 11:00 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/1 "2022-07-01T11:00:29Z")

</div>

About synchronization

Hello everyone, Joplin is a great product, but I have one problem.

Every few days I get a message that **"The sync target needs to be upgraded.."** and the program forces me to reboot it manually. This upsets me, I would like that this inscription was not.

1. Why do we need a reload mechanism for synchronization? I can't figure it out myself, maybe somewhere you can read more about the synchronization mechanism?
2. What can be done to automate the reboot? I just want to use it, I don’t overload Joplin manually)

Please write your thoughts about it. I will be very grateful to you

Using Joplin on 4 PCs on Ubuntu 20.04 with WebDAV sync

Thank you!

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [1 July 2022 11:26 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/2 "2022-07-01T11:26:15Z")

</div>

It shouldn't be doing that in normal operation, can you provide version information and logs as per the support template?

---

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [4 July 2022 06:37 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/3 "2022-07-04T06:37:22Z")

</div>

Thanks for the reply. I can't find information about the correct filing of logs and the Joplin version. Could you give me a link about this so that I send the logs correctly

PS I can post joplin-desktop/log.txt but it takes 54 MB (3 MB in a zip archive)

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [4 July 2022 08:11 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/4 "2022-07-04T08:11:52Z")

</div>

When you create a new support post there is a pre-formatted message with the following:

> For other support queries please indicate:
> 
> - The version you are using. LATEST VERSION is not a version number!
> - If it is a sync issue, please let us know what you are syncing with.
> - If you report a problem with upgrading, please let us know both versions (from/to).
> - If you report a problem with the editor, please tell us which editor you are using (WYSIWYG/Markdown).
> - The operating system you are using.
> 
> If you can also please provide a log, as described here: [https://joplinapp.org/debugging](https://joplinapp.org/debugging)
> 
> **Posts that do not at least state the version number and operating system will not be answered.**

You can get the version info from `Help > About Joplin`

If the logs are too big to upload then you can snip the section around where you get the issue and indicate what timestamp we should be looking at.

---

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [4 July 2022 08:39 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/5 "2022-07-04T08:39:13Z")

</div>

- Jopplin 2.8.8
- pCloud WebDav
- Ubuntu 20.04 4PC, sometimes Windows 11

The problem started on an earlier version (v2.7.15) and stretches to the current one (all clients have upgraded to (v2.8.8)

[log 04.07.2022.zip](https://discourse.joplinapp.org/uploads/short-url/zNvdQCoSSUjiJlbcudn7y9iKzGB.zip) (19.1 KB)  
In the morning, this also happened again, I attach the log of the current client for that day

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [4 July 2022 09:03 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/6 "2022-07-04T09:03:28Z")

</div>

It seems like there are a whole bunch of errors relating to accessing the target.  
It is worth noting that Joplin currently [doesn't support PCloud](https://joplinapp.org/faq/#the-following-webdav-hosts-are-not-supported).

Your best bet might be to reset your sync target.  
i.e.

- Back up everything (JEX exports from Joplin or install the simple backup plugin), back up your `joplin-desktop` dir.
- Rename/move your existing Joplin sync target folder on your WebDAV so you have a new, empty Joplin folder
- Pick a "master" client to use which has everything up to date (and you have backed up) and then in `Tools > Options > Synchronisation > Show advanced settings` use `Re-upload local data to sync target` to "push" your local data up. You probably also want to turn the `Synchronisation interval` to Disabled whilst you do this.

Also probably best to keep your other devices offline or at least not have Joplin running whilst you do this.  
Once it has been done you will want to use the other button on those clients in the same menu `Delete local data and re-download from sync target` (or just rename/move your local profile and start over).

As it is pCloud though there is a possibility you will run into other issues that people have reported with them, I don't know the specifics but I believe it relates to a faulty WebDAV implementation,

---

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [4 July 2022 09:22 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/7 "2022-07-04T09:22:21Z")

</div>

Thanks for the tips. I will do everything you wrote and write here about the results.

pCloud is a free service with WebDAV. Can you recommend an analogue?

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [4 July 2022 09:28 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/8 "2022-07-04T09:28:07Z")

</div>

Generally the only "good" free services tend to be the ones with large corporate backing and infrastructure - OneDrive and Dropbox (and OneDrive is a problem in its own way due to API changes).

There have been so many stories of bad free NextCloud and WebDAV providers who have severe limits on what their free tiers are capable of (for example limited number of calls per day, database locking issues etc.).  
I originally used a free NextCloud provider but had so many problems and ended up hosting my own NextCloud on a Raspberry Pi which is what I'm still using whilst I get a proper server set up to host my own Joplin Server instance.

---

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [5 July 2022 06:38 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/9 "2022-07-05T06:38:15Z")

</div>

I tried everything on the advice of Daurexa, no, unfortunately the next morning, the same inscription "The synctarget needs to be upgraded.."  
Now I think it's the pCloud service itself, I'll try **OneDrive (5GbFree)** or **DropBox (3Gb Free)**. This is a pleasant surprise for me, I thought they didn't have free tariffs.  
Thanks to Daurexa 🤝 for the help. It will be interesting to look at the behavior of the database in OneDrive b DropBox services, I will write here about the results.

PS And yet I am haunted by the inscription `"The synctarget needs to be upgraded.."` what did it mean? What is Joplin trying to do?

---

<div class="post-metadata">

**Author:** ![Daeraxa](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/daeraxa/32/6172_2.png) [@Daeraxa](https://discourse.joplinapp.org/u/Daeraxa)\
**Post date:** [5 July 2022 08:12 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/10 "2022-07-05T08:12:01Z")

</div>

> [@gbp2006](#):
>
> PS And yet I am haunted by the inscription `"The synctarget needs to be upgraded.."` what did it mean? What is Joplin trying to do?

Usually this is when Joplin is trying to upgrade the sync target from an older version to a new one, often to add new items into the metadata. I'm not sure why it would be showing when created fresh from a local client though.

---

<div class="post-metadata">

**Author:** ![gbp2006](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/gbp2006/32/14190_2.png) [@gbp2006](https://discourse.joplinapp.org/u/gbp2006)\
**Post date:** [11 July 2022 09:44 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/11 "2022-07-11T09:44:32Z")

</div>

7 days since I use OneDrive instead of pCloud. There are no problems. So I admit WebDAV in pCloud is incompatible with Joplin synchronization, do not use it. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [10 August 2022 09:45 UTC](https://discourse.joplinapp.org/t/the-sync-target-needs-to-be-upgraded/26261/12 "2022-08-10T09:45:04Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
