# Sync issues

**URL:** <https://discourse.joplinapp.org/t/sync-issues/21482>\
**Category:** Support\
**Created:** [3 November 2021 22:12 UTC](https://discourse.joplinapp.org/t/sync-issues/21482 "2021-11-03T22:12:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bre](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bre/32/16423_2.png) [@bre](https://discourse.joplinapp.org/u/bre)\
**Post date:** [3 November 2021 22:12 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/1 "2021-11-03T22:12:07Z")

</div>

2.5.10  
MacOS 10.0.1

My issues with sync continue.

I decided to encrypt my notes and added encryption password on iPad.  
Soon thereafter I got a FileLock error which appears to be a known nexcloud bug.

Since the nextcloud does not belong to me and I am not an admin, I can not add redis, which is what @laurent suggested.

I decided to delete the encryption - deleted it on iPad, but it still can not sync due to a sync error.

OK. I went to nexcloud and deleted all files. Next opened Joplin on Mac and asked it to force sync all files to the cloud - it gives me an error the the file is locked again?! There is nothing on Nextcloud, what is locked now?! Attempts of enabling the encryption failed as it asks me for a master password - which master password? I've never set up one. Found this thread: [Confused about encryption password](https://discourse.joplinapp.org/t/confused-about-encryption-password/4419) which appears to recommend to remove the main directory of joplin - does not make any sense - it would delete all my files. It seems that every few days I am struggling to just maintain my sync going. What can I do to fix it?

Thank you.

---

<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:** [3 November 2021 22:48 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/2 "2021-11-03T22:48:41Z")

</div>

Before doing anything else you need to change your Nextcloud provider because that one is not reliable, and you can't fix it on Joplin side. The encryption is not an issue.

If you want something free, consider using Dropbox maybe, which is slow but at least it works.

---

<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:** [3 November 2021 23:26 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/3 "2021-11-03T23:26:39Z")

</div>

I had a lot of issues with a cheap NextCloud provider with constant file locks that I couldn't remove even after deleting the entire content of the sync target and making it from scratch. I moved to a locally hosted NextCloud server running on an RPi and haven't had a single issue since (even without redis). (Although I plan to create a Joplin Server instance when I have the time and a strong enough desire)

---

<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:** [4 November 2021 00:39 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/4 "2021-11-04T00:39:21Z")

</div>

I wonder if it depends on the file system. Every time I tried running a Nextcloud instance with default settings, it would lock within 5 minutes of use, so I'm surprised it doesn't in your case.

---

<div class="post-metadata">

**Author:** ![bre](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bre/32/16423_2.png) [@bre](https://discourse.joplinapp.org/u/bre)\
**Post date:** [4 November 2021 03:41 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/5 "2021-11-04T03:41:37Z")

</div>

Followed your advice, @laurent and switched to Dropbox for a trial. In fact I exported the database in jex format, started completely new joplin database and imported jex data in. Set up Dropbox as a sync target. It synced 1001 notes and got stuck, nothing happening for an hour. Restarted Joplin - now it is stuck on "created remote item 1" for an hour.

Reset the database as above again. The encryption is disabled. No problems syncing. So I tend to think it is likely to do with encryption.

---

<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:** [4 November 2021 09:02 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/6 "2021-11-04T09:02:14Z")

</div>

Any error in the log? [How to enable debugging | Joplin](https://joplinapp.org/debugging)

---

<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 November 2021 09:16 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/7 "2021-11-04T09:16:48Z")

</div>

Sorry I inadvertently lied, I just checked and it does have redis memcaching configured, it was just a default option of the package I installed for nextcloud. Either way, a million times better than the hosted solution I was using.

---

<div class="post-metadata">

**Author:** ![bre](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bre/32/16423_2.png) [@bre](https://discourse.joplinapp.org/u/bre)\
**Post date:** [4 November 2021 22:57 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/8 "2021-11-04T22:57:58Z")

</div>

Apologies, I since completely reversed back to the unencrypted notes and there is no way for me to re-create the error log without going back and encrypting notes again. I will plan to do it again when I will have time and energy to go through this process again.

---

<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:** [4 December 2021 22:58 UTC](https://discourse.joplinapp.org/t/sync-issues/21482/9 "2021-12-04T22:58:12Z")

</div>

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