I don’t see the picture :
On Android : v1.0.234
Where are the ressources on Android ?
On my Mac :
Logs :
2019-02-12 19:25:34: “Running background sync on timer…”
2019-02-12 19:25:34: "Scheduling sync operation..."
2019-02-12 19:25:34: "Preparing scheduled sync"
2019-02-12 19:25:34: "Starting scheduled sync"
2019-02-12 19:25:34: "Operations completed: "
2019-02-12 19:25:34: "fetchingTotal: -"
2019-02-12 19:25:34: "Total folders: 28"
2019-02-12 19:25:34: "Total notes: 1306"
2019-02-12 19:25:34: "Total resources: 2048"
Size of ressources :
$ du -sh .config/joplin-desktop/resources/
908M .config/joplin-desktop/resources/
Max size of file : 1,4 Mo
$ du -sh .config/joplin-desktop/resources/*.jpg | grep “M” | sort | tail -1
1,4M .config/joplin-desktop/resources/fbd0826d1096474aabd70e1472c78433.jpg
WebDAV : 4117 files.
$ ls -l WebDAV/* | wc -l
4117
$ du -sh WebDAV/
2,0G WebDAV/
There’s a bug on Android with this (on all platforms actually). You might need to close Joplin completely and re-open.
In fact I think it's issue on synchronisation , when I add lot of ressource ... i don't see all request on WebDAV logs server :
$ grep "Request" /Users/.../Library/Containers/com.schimera.WebDAVNavServer/Data/Library/Logs/WebDAVNavServer/log-*.txt | awk '{print $1 " " $2}' | sed 's/
/g' | awk '{print $2 " " $3}' | uniq -c
2246 2019/02/14 21
192 2019/02/14 20
4196 2019/02/14 21
77 2019/02/14 22
189 2019/02/12 22
3 2019/02/12 23
21 2019/02/13 21
4477 2019/02/14 20
753 2019/02/11 22
310 2019/02/12 19
990 2019/02/12 21
45 2019/02/12 22
539 2019/02/14 22
I see 539 requests/2000 new ressources ... strange.
Resources are handled a bit differently - they are downloaded in parallel so they might arrive some times after the note (or before). If you let it run long enough, they should eventually all get there, but I need to fix that bug anyway.
I don’t understand the log above, what anomaly did you find?