DEVONthink cloudkit sync not reliable - what is the alternative?

To confirm, the second ID on another device not the ID on the device holding the databases? Interesting. Unless the database folders shared in a network permissions I am surprised.

Yes, and just to more fully explain, on the host computer, you enable incoming connections and set a password. The default port is typically fine. The databases on this host computer are in ~/Databases, which isnā€™t a shared folder.

On any guest/client computer or phone/tablet on the network, you then see that host computer show up as a sync option. You enter the password you set when you connect for the first time. Then you can see the remote databases and sync like normal. The guest device also doesnā€™t keep its databases in a shared folder.

Screenshot 2023-01-24 at 2.12.32 PM

Itā€™s an elegant setup. Iā€™m just experimenting with using solely Bonjour right now, but may keep doing it.

4 Likes

Really cool. Thanks for trying and explaining. Useful to others.

1 Like

thanks a lot for the suggestions and sharings

yes, I think I need to consider using Webdav instead of Cloudkit sync

I just checked, I only turned on Bonjour on one Mac. That probably explains why Bonjour wasnā€™t helping

just wondering I should turn off Cloudkit sync if I enable Bonjour? Anyway, I guess this only works when I am at home

sorry, I should be more clear, I am referring to the Dropbox native app for Apple Silicon. Also I only have a free account , I do not want to pay more on the subscription as my databases are taking over 250Gb of storage space

sorry, donā€™t quite understand this part. Do you mean that if I do not install Dropbox client on my Macs, then I do not have to pay for Dropbox storage above the free plan. Do not quite know how this works

1 Like

If you donā€™t want to use their app, it is not necessary to install on your Mac to use DT dropbox sync so you get around the limit of devices if you do not pay for a subscription. My sync is 1.1 gb so way below the free 6GB I have on my Dropbox account. So I do not need a paid subscription. If your sync is beyond what is free with dropbox, yes you will need to subscribe.

ah, got it, thank you

Multiple sync methods can work in conjunction with each other, but Iā€™m not sure of the limitations. Iā€™d try only enabling both on the host computer, and either Bonjour or CloudKit but not both on the others.

Bonjour to accept ā€œincomingā€ should be turned ā€œonā€ on only one Mac in a network. Consider that the server. Bonjour turned on with my only iMac on the network. If ā€œonā€ for multiple machines, things wonā€™t work.

You can keep Appleā€™s Cloudkit turned on even if Bonjour enabled. If and when Appleā€™s sync will work is another matter as many report itā€™s unreliable. I use Bonjour and Webdav on local NAS. No cloud sync running as a normal matter. Even when Iā€™m "out and about, when I return home it all catches up. If I want ā€œeverythingā€ when out, I take the Macbook. Otherwise itā€™s an iPhone with only what Iā€™m working on or reading.

If DEVONthink allowed only one sync type at a time, they would have prevented that setup on the Settings for sync. That is not the case.

Re your Dropbox account questions. To get good advice, suggest you re-ask this on the DEVONthink forum. I use it occasionally for when I know I might want access to documents not yet synced to the iPhoneā€“that rare. When I use it, it just works.

Like @ismh86 I use Dropbox, itā€™s rock solid.

Yes Iā€™m paying $$, but it works and I have to think about it.

2 Likes

After just getting repeated sync errors with CloudKit, Iā€™m giving Dropbox a try. I really want this to work. I like Devonthink too much, but I also like being able to capture stuff when I only have my phone with me. Help me, Dropbox, youā€™re my only hope.

Yes, Appleā€™s CloudKit is unreliable for some, and not just limited to DEVONthink app if the chat on that interweb thing is correct ā€¦

In addition to using Dropbox (which works well) when you are away from home/office network, setup Bonjour to sync when at home/office network. Fast and reliable. For my way of working, I can rely on Bonjour with no internet syncing as all changes catch up quickly on return to home/office network.

1 Like

This thread title is a little misleading. DevonThink doesnā€™t own CloudKit - Apple does - and the failures with CloudKit are Appleā€™s responsibility, not DevonThinkā€™s. Theyā€™re not app-specific failures.

I was one of the ā€œchosen fewā€ who hadnā€™t had problems with CloudKit and didnā€™t know what everyone else was muttering about, until Christmas. Since then, I see almost daily errors on DT, and Iā€™ve given any hope of Apple Notes being in sync (I maintain one device now as my ā€œsource of truthā€ for Apple Notes, with the understanding that eventually the changes might filter out to other devices if Iā€™m luckyā€¦ it takes days!). (iCal is another app where the problems are obvious, I guess because people who use a calendar app across multiple devices are in there multiple times a day and will spot a missing sync immediately. I tend to only use a calendar on one device so havenā€™t spotted syncing errors here myself.)

There have long been reports of CloudKit sync issues, but there were a flurry of reports around Christmas of sudden issues emerging with CloudKit sync, and they donā€™t seem to have abated. (You can observe this in forums like this one, and DTā€™s, but also Google searches peaked at Christmas and have continued to fluctuate at a higher level than before Christmas.)

We call a lot of data through DTā€™s sync (or I do), and its error log is visible (and thorough), so youā€™re seeing the problem in real-time, but youā€™ll be experiencing the same issue with other apps running on CloudKit too, you just might not be aware of it because the error logs arenā€™t visible, youā€™re not calling up fresh data in real-time, the app may present local data until it can sync, etc. (As an example, Iā€™ve also been getting a lot of conflicts in NotePlan this year, but as I use that less in iOS it isnā€™t so annoying.)

Anyway all of this is to say Apple has fallen asleep at the wheel on CloudKit and really should fix whatever they broke at Christmas. (Iā€™ve read from actual people with expertise - i.e. not me - that the problem is most likely that they expanded the service too rapidly without reliable infrastructure for handling such a large number of syncs. Iā€™m guessing thatā€™s a huge problem to now retro-actively fix without further jeopardising the service.)

I have found that sometimes closing DT and waiting a few minutes before re-opening is enough to kickstart CloudKit (that trick doesnā€™t work with Apple Notes).

3 Likes

+1 for Bonjour syncing. No cloud needed.

2 Likes

I should add that Iā€™m testing having all my devonthink DBs on a small pocket ssd. This is working very well, although I should add that I no longer use iOS or iPadOS to any real extent. I replaced my iPad with a MBP and it made me realise just how poor the iPad is for real work.

1 Like

NotePlan is the only sync that I rely on in real time. NotePlan occasionally reports that CloudKit seems to be down but its fallback behavior is robust and my changes always get through. I expect errors to sometimes be reported in any networked system. Failure and recovery is a fact of life in a network. I try to minimize problems by making changes on one device at a time (waiting if possible to see that data has synced before switching to the other device). And also not going wild re-organizing all at once the data in an app that I want to sync other places.

Sorry, off-topic but we would appreciate it if theyā€™d finally fix PDFKit as well :stuck_out_tongue:

4 Likes

Indeed! Our sync engine talks directly to Dropboxā€™s servers so it has no need for the Dropbox application on your Mac or even your Apple mobile device, at least not for syncing our apps.

4 Likes

:100: agree with this approach. And as I know you :wink: Iā€™m assuming you have these small SSDs added to your primary/secondary backup strategies.

1 Like

Sometimes I quite fancy leaving iPadOS. At one point I didnā€™t have an iPad for maybe 2 years and I just used my laptop like in ye olden days, as an actual ā€œmobile deviceā€ (I also used my phone a lot more then, that was in the era of the smaller iPhones too, maybe 6-8 years ago!). My mistake was creating a nice desk system for my MBP, with external monitor, keyboard, etc. Now I think ā€œdo I really need to unplug my MBP to use it somewhere elseā€ and I end up back on my iPad.

Maybe this is a sign that I should buy an iMac and move my MBP back to mobile work as it was intended :rofl::rofl::rofl:

(Iā€™m joking. Iā€™ve idly thought about this before but I have a mental distinction of the MBP as the ā€œhome hubā€ where everything is maintained, and unless my MBP was syncing to my iMac I donā€™t think Iā€™d like it.)

Do you do any reading on screen? (I mean more than this forum - reports or books or whatever!) If so, are you using your MBP or something else?

1 Like

Just got a new laptop, and DT managed the resync transition perfectly. iCloud Drive (and documents) are, however, now stuck ā€œuploadingā€, which is blocking all other iCloud uploads and syncing. Sigh.