Joplin sync infinite loop

Hello ! Dunno if it's the right place to ask for help but :

I'm trying to start using Joplin (2.1.8) and installed a webdav server
I was able to sync my android phone and then wanted my windows desktop to join the party
My windows desktop was never able to complete a sync (sync in progress forever)
It's able to send new notes but never get back the android ones (and the sync is stuck)

I tried to delete everything (windows profile, android data and all data on webdav folder) and started with the desktop sync
It's not able to complete a sync when alone either.

For other support queries please indicate:

I am not sure if the synctarget is extremely slow. For me it looks like it delets 3-4 notes per second and sync 2 notes per second also the check and lock of the target takes ~3 second.

2021-07-06 18:40:01: FileApi: "get info.json"
2021-07-06 18:40:01: "Sync target info:", "{"version":2}"
2021-07-06 18:40:01: FileApi: "list "
2021-07-06 18:40:01: FileApi: "list "
2021-07-06 18:40:01: FileApi: "put temp/timeCheck639340.txt", "null"
2021-07-06 18:40:02: FileApi: "stat temp/timeCheck639340.txt"
2021-07-06 18:40:02: FileApi: "delete temp/timeCheck639340.txt"
2021-07-06 18:40:02: FileApi: "put locks/sync_desktop_e02428ea076d43979fa2b0d757e980fe.json", "null"
2021-07-06 18:40:02: FileApi: "list "
2021-07-06 18:40:02: FileApi: "list "
2021-07-06 18:40:03: FileApi: "delta "

Maybe someone else sees something, but it looks like the sync will never be finished.

Yes it looks like it's just slow. And in the log the synchronisation is not finished so maybe just let it sync overnight to see if it completes?

on my android phone it took 3 sec (let's say instant)

There is nothing on the webdav it's empty right now and i have only like 10 notes

Maybe an explanation is that the app is making a request and never gets a response. How are the logs on WebDAV side, is there any error or something strange?

Ok i tried to sync my android phone again (was wiped)
So seems like the desktop was able to send the notes (i got them on android)
and i was able to complete the mobile sync in 14s

So the desktop was able to send, but doesn't seems to be able to receive, i'm gonna check webdav side

I tried with a 1.8.5 linux desktop client and i have same issue

Here is the logs from my webdav server :

time="2021-07-06T19:32:41Z" level=error msg="stat /data/gmarti/joplin/0779b6d839fa434b8072fac18d54a5ba.md: no such file or directory"
time="2021-07-06T19:32:41Z" level=info msg="Opened file" path=/data/gmarti/joplin/0779b6d839fa434b8072fac18d54a5ba.md user=gmarti
time="2021-07-06T19:32:41Z" level=error msg="stat /data/gmarti/joplin/4120d13fe28c437299dfd397d7410cd3.md: no such file or directory"
time="2021-07-06T19:32:42Z" level=info msg="Opened file" path=/data/gmarti/joplin/4120d13fe28c437299dfd397d7410cd3.md user=gmarti
time="2021-07-06T19:32:42Z" level=error msg="stat /data/gmarti/joplin/d51c0ea8a109405097301500cf3c208f.md: no such file or directory"
time="2021-07-06T19:32:42Z" level=info msg="Opened file" path=/data/gmarti/joplin/d51c0ea8a109405097301500cf3c208f.md user=gmarti
time="2021-07-06T19:32:42Z" level=error msg="stat /data/gmarti/joplin/2a5f661307604aa0b21ac24cd5c88f45.md: no such file or directory"
time="2021-07-06T19:32:43Z" level=info msg="Opened file" path=/data/gmarti/joplin/2a5f661307604aa0b21ac24cd5c88f45.md user=gmarti
time="2021-07-06T19:32:43Z" level=error msg="stat /data/gmarti/joplin/f344c66cc7cb46dabf8bd0206e606075.md: no such file or directory"
time="2021-07-06T19:32:43Z" level=info msg="Opened file" path=/data/gmarti/joplin/f344c66cc7cb46dabf8bd0206e606075.md user=gmarti
time="2021-07-06T19:32:43Z" level=error msg="stat /data/gmarti/joplin/095427d9a9c54753a99bffcfb704b2de.md: no such file or directory"
time="2021-07-06T19:32:44Z" level=info msg="Opened file" path=/data/gmarti/joplin/095427d9a9c54753a99bffcfb704b2de.md user=gmarti
time="2021-07-06T19:32:44Z" level=error msg="stat /data/gmarti/joplin/c6995be12f1a47c5bd3c0c62bec37d92.md: no such file or directory"
time="2021-07-06T19:32:44Z" level=info msg="Opened file" path=/data/gmarti/joplin/.resource/c6995be12f1a47c5bd3c0c62bec37d92 user=gmarti
time="2021-07-06T19:32:45Z" level=info msg="Opened file" path=/data/gmarti/joplin/c6995be12f1a47c5bd3c0c62bec37d92.md user=gmarti
time="2021-07-06T19:32:45Z" level=error msg="stat /data/gmarti/joplin/b496c225679a49678eaf178af6b0240a.md: no such file or directory"
time="2021-07-06T19:32:45Z" level=info msg="Opened file" path=/data/gmarti/joplin/.resource/b496c225679a49678eaf178af6b0240a user=gmarti
time="2021-07-06T19:32:45Z" level=info msg="Opened file" path=/data/gmarti/joplin/b496c225679a49678eaf178af6b0240a.md user=gmarti
time="2021-07-06T19:32:46Z" level=error msg="stat /data/gmarti/joplin/d77e202c3a734b888accfb30ba121bf5.md: no such file or directory"
time="2021-07-06T19:32:46Z" level=info msg="Opened file" path=/data/gmarti/joplin/.resource/d77e202c3a734b888accfb30ba121bf5 user=gmarti
time="2021-07-06T19:32:46Z" level=info msg="Opened file" path=/data/gmarti/joplin/d77e202c3a734b888accfb30ba121bf5.md user=gmarti
time="2021-07-06T19:32:41Z" level=error msg="stat /data/gmarti/joplin/0779b6d839fa434b8072fac18d54a5ba.md: no such file or directory"
time="2021-07-06T19:32:41Z" level=info msg="Opened file" path=/data/gmarti/joplin/0779b6d839fa434b8072fac18d54a5ba.md user=gmarti

Seems android app is not using the exact same protocol ?

Because i wiped my android again and i don't have those error logs when syncing

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