# Syncing forever

**URL:** <https://discourse.joplinapp.org/t/syncing-forever/7323>\
**Category:** Support\
**Created:** [24 March 2020 16:30 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323 "2020-03-24T16:30:20Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [24 March 2020 16:30 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/1 "2020-03-24T16:30:20Z")

</div>

client versions: 1.0.195 (desktop, linux), 1.0.324 (android)  
OS: Ubuntu Linux 19.10 x86\_64

Since some days ago I was having issues with a locked file on my nextcloud provider, I choosed to start over in another folder: so I downloaded via web browser old folder and reuploaded it in another one using nextcloud client (too many files to handle with web ui), after that I started to switch folder into clients configuration and disable encryption (I was having also encryption issues), since then, apart of mine android client that performed successfully a complete sync, desktop clients keeps writing over and over again remote files which don’t produce any local file change in any of connected clients.

In console I didn’t found nothing but I have some lines in log.txt telling something about synchronization action, which I attach.[log.txt](https://discourse.joplinapp.org/uploads/short-url/2YX7cjDBsgA3WtdHgEhzAP1I62F.txt) (312.1 KB)

To make this long first sync I choose to run joplin at the same time in both desktops, could be this the problem source? Maybe their trying to write and rewrite over and over again same files?

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [24 March 2020 18:19 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/2 "2020-03-24T18:19:38Z")

</div>

What does `uname -a` produce? Please paste the terminal output here. Thanks

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [24 March 2020 18:41 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/3 "2020-03-24T18:41:25Z")

</div>

yes, it is

$ uname -a  
Linux pavilion 5.3.0-42-generic #34-Ubuntu SMP Fri Feb 28 05:49:40 UTC 2020 x86\_64 x86\_64 x86\_64 GNU/Linux

on both systems

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [24 March 2020 19:10 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/4 "2020-03-24T19:10:42Z")

</div>

Good deal. It’s not the 5.5 bug. Can you try something crazy, though? I wanna see if maybe this fix fixes other issues here on Linux mostly.

> [@Joplin Freezing on Linux Distros Running Kernel 5.5 Bug Update](https://discourse.joplinapp.org/t/joplin-freezing-on-linux-distros-running-kernel-5-5-bug-update/6558/8):
>
> One of the people helping me with this bug found a quick and easy way to get around it: Whenever Joplin Freezes during sync, go to Options=\>Tools Click the WebClipper tab up top Enable and then Disable Webclipper Click Apply Go back to business as usual. smiley Here's a demo:

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [24 March 2020 19:29 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/5 "2020-03-24T19:29:59Z")

</div>

Mine sync doesn’t freeze, it goes on and on forever, anyway I’ll try the solution posted and let you know how it goes.

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [24 March 2020 19:35 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/6 "2020-03-24T19:35:02Z")

</div>

I completely understand. I’m asking because that solution linked shouldn’t fix the issue it does but does for the time being and may do something for you. Your log shows the same error that pops up when the 5.5 bug happens.

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [24 March 2020 19:54 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/7 "2020-03-24T19:54:35Z")

</div>

I tried the procedure shown in video you posted but nothing seems to change.  
In options -\> web clipper I enabled and disabled service.

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [24 March 2020 20:12 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/8 "2020-03-24T20:12:28Z")

</div>

Thanks for trying that.

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [25 March 2020 11:59 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/9 "2020-03-25T11:59:30Z")

</div>

Any other suggestion? A safe way to start over without losing data and possibly fix this issue? Any other suggestion that would fix this? Do you need further information to better diagnose the problem?

---

<div class="post-metadata">

**Author:** ![bedwardly-down](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bedwardly-down/32/3236_2.png) [@bedwardly-down](https://discourse.joplinapp.org/u/bedwardly-down)\
**Post date:** [25 March 2020 12:40 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/10 "2020-03-25T12:40:12Z")

</div>

I don’t have other suggestions right now that are fixes but the more information you can give that’s very specific, including possible video or gifs of what’s happening, the better others can help you.

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [25 March 2020 14:05 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/11 "2020-03-25T14:05:10Z")

</div>

do you mean I need to show a gif or a video where the count of remotely updated elements slowly increases over and over again ? This is what happen everytime I launch Joplin and wait to begin sync , or I start it clicking the button. I think that is nothing interesting, the application seems going well, synchronizing elements and giving no errors.

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [26 March 2020 09:21 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/12 "2020-03-26T09:21:16Z")

</div>

just to understand better what is going on, I also sync via nextcloud client, the notes folder, I choose to disable encryption to be able to sync faster also other devices after that and then start to crypt notes from a speedy joplin for android : when joplin resyncs due to disabled encryption, it updates only encrypted notes or all notes?  
I can see the note content of last note is changing over time, so something is running, I’m using this little script :  
while true; do sleep 30; clear; fn=`ls -rth | tail -1` ; head -30 $fn; done

But if I grep on md files and count the encrypted ones like this :  
`grep encryption_applied\:\ 1 * | wc -l`  
The number remains the same over time.

---

<div class="post-metadata">

**Author:** ![magowiz](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/magowiz/32/3032_2.png) [@magowiz](https://discourse.joplinapp.org/u/magowiz)\
**Post date:** [26 March 2020 14:39 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/13 "2020-03-26T14:39:36Z")

</div>

I realized that when disabling encryption, Joplin syncs all files, also ones already decrypted on webbdav location.

I’m saying this because I watched for a while these numbers:

- recently updated file (today)
- total files
- still encrypted files

I used this snippet:  
`watch -n30 "find -mtime 0 | wc -l; find | wc -l; grep encryption_applied\:\ 1 * | wc -l"`

IMHO this behavior is a bug, especially while the linux client is so slow syncing.  
Could you please at least fix this? If you need an issue report I will do it.

---

<div class="post-metadata">

**Author:** ![tfawcett](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tfawcett/32/2522_2.png) [@tfawcett](https://discourse.joplinapp.org/u/tfawcett)\
**Post date:** [27 March 2020 02:08 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/14 "2020-03-27T02:08:47Z")

</div>

I also have had a problem with this in the past week or so. Sync will keep spinning forever, but not sync some items. I’m running the latest (1.0.195).

I’m on a Mac, I’m not using encryption. I’m syncing via dropbox. I realize this isn’t enough info to debug the problem. What info would be helpful?

I checked the Sync Status window. Everything looks normal except for the line “Not downloaded: 3” which never decreases. Canceling and restarting the sync doesn’t change it.

Thanks!

-Tom

---

<div class="post-metadata">

**Author:** ![ksteuer](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@ksteuer](https://discourse.joplinapp.org/u/ksteuer)\
**Post date:** [2 January 2022 14:29 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/15 "2022-01-02T14:29:42Z")

</div>

I noticed Joplin synchronization (to Dropbox) was on-going and never stopped...reporting some vague error, and I noticed that recent notes were not available on my Android phone app.

I'm also using Mac (Monterey) and Joplin 2.6.10. Primarily, I take notes on my Mac and view them on my phone.

On my Mac, I performed a re-upload of local data to the synch target under Preferences\Synchronization\Advanced. This seemed slow but reported no errors and when I reopened Joplin on my phone it synched and the newer notes were available.

---

<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:** [2 January 2022 19:41 UTC](https://discourse.joplinapp.org/t/syncing-forever/7323/16 "2022-01-02T19:41:30Z")

</div>


