I've been traveling in areas where there is no connection to the Internet. I notice that I've been getting a lot of files in my Conflicts folder. My understanding is that this will happen if you suspend Joplin (e.g. switch to a different app) before the sync finishes. My problem is that it's pretty much guaranteed that this will happen every time I edit a note in a remote location, because I'll have to switch to Google Maps to navigate, and of course the sync can't finish until I'm back in range of data service.
I don't know much at all about how the sync mechanisms work, let alone why there is this phenomenon of getting a Conflicts file every time a sync isn't allowed to finish.
I guess I should first ask: in the context of there being no other machine editing the notes, if I swipe to a different app, then later swipe back to Joplin when data service is available, will I get a Conflict file? In other words, can Joplin continue the sync gracefully if it is suspended for a while, then allowed to resume when there's an Internet connection?
My thought / request is that the be an enhancement that takes advantage of the knowledge that there is no Internet service available to prevent the whole Conflicts file issue. I don't know how this could work, but maybe it would involve saving some extra state information into a local file (the point being that there would be ample time to do this).
Edit: it occurs to me to wonder what it means for a sync to "finish". I'm using Dropbox. Is it the case that Joplin can push data out to the Dropbox software, and consider the sync to be finished, even though no data has left my phone?
Thoughts?
Update: with no data communication, sync will show "completed". FWIW I use Dropbox. A day of using Joplin with no connectivity has not generated any conflict files. What can I say. I'll report back if I get another conflict file.
If you are only using one device, you should not be getting any conflicts, regardless of the network status when you sync. What version of Joplin are you using and is it on iOS or Android?
So that's the only Joplin client you ever used? Or did you set up the sync on desktop originally?
Also would you mind sharing a log please? Go to configuration > tools > log, press the 3 dots menu and share it with an application which will allow you to save the log, do you can upload it here.
Ok so I see the log, but it's only for today, and I didn't get any conflict file today. Will that be useful, or do I need to capture a log when I get a Conflict file?
How am I supposed to share the log? It's not obvious how to attach a file here. Right now I have it sitting as an attachment to an email. Should I copy it all to the clipboard and paste it in?
Update: in the log display if I click Errors Only, I see errors going back much further, including one network request failure.
Ideally it should include when a conflict happened, but the current log is still worth a check in case I see any obvious issues. If you zip the log file, you should be able to attach it on a forum post
Is your issue resolved now, or are you still getting conflicts? It's possible there was a one off issue which is now resolved, or possibly even Dropbox modified your data, and that caused the conflicts