Ugh thanks for telling me not to bother avoiding the default profile. And yes, I finally got tired of it doing 'fetching' for days. Today I wiped the one device (newest one), set up a second profile for the essentials, got that synced, then switched back to the default and started getting that one synced. It was done in a little over a hour! All 12,000+ notes. It fetched about 21,000 but that fits as usually one note has two 'items' in the fetched list.
However, when I hit sync again to make sure everything was fine, it started doing a fetch, nothing was added to the database (no creation/deletion etc) but it went through the entire sync target again. Then when I hit sync again, it did it again. So that was 3 times taking the same length of time as the first. On the 4th I canceled for now. So I really don't get it. I cleaned the sync target of revisions, and the device seemed to download all the notes (can see and read them in the profile). Yet it keeps doing fetches. Up until now I have had great syncing but now it has turned into a nightmare and never seems to finish and I have a problem on two different android devices. Granted I haven't tried clearing the older one yet, but with the newer one acting like this I am starting to wonder if I should bother lol. I might try letting the newer device sync again and see if it ever finishes, but it doesn't bode well fetching the entire database three times already (but not saving it to the profile as it is completely downloaded to begin with).
I canât comment on why the intial sync had to fetch 3 times already, but even if it takes a few times it should eventually stop and become stable (maybe try killing the app and starting it again). I think itâs normal to do a full fetch once after the intial sync, but I donât get it doing more than that using Dropbox on the newer versions of Joplin and donât need to kill the app to speed it up, but someone mentioned after the first run completes, that killing the app and restarting it makes it quicker
Well sadly I have âbaby-satâ the device all day and it kept fetching. I lost track of how many times it did a fetch batch. It didnât create anything, only fetch except one time when it got the full fetch it did create one or two entries but then it got a network error and stopped. After that it went back to fetching. It varies between 4,000 10,000 15,000 8,000 (or 4,500 10,500 etc) fetch before doing a âcompletedâ but as soon as I hit sync or it starts sure enough another big fetch batch. It doesnât get any new updates that were to the sync target. If I create/update something on the device, it will do those first THEN do long fetch. It doesnât ever do a full fetch now of 21,000. I guess the only thing left for me to try is the ânuclearâ method of wiping the sync target and reupload from the desktop. I have tried everything else.
I have noticed closing the app or switching profiles does speed it up if it has been open/been used for a long time.
Okay, I finally got it. Had to wipe/delete the Joplin folder on sync target (dropbox), then did a full upload from desktop using the âreupload data to sync targetâ option. After a few hours it was done (two or three), then wiped the storage on the new Android device and started a sync and in less than an hour it completed without issues. No repeated fetching. I was also amazed how fast the load was. The fetching was so much faster. Not sure if that was because of a fresh sync target (although when I set this all up before it wasnât that fast) or because I had turned off history. Either way so glad to finally have this working again. I still have other devices to do, but hopefully no other problems.
And I did do a full backup before I did any of this.