Jump to content

Why not iCloud sync for Alfred preferences?


Recommended Posts

Hello,

I have set up synchronisation with iCloud today, however one thing bothers me. The documentation says, that "we don't recommend using iCloud or Google Drive". The documentation later states, that Dropbox is more reliable than Google Drive.

What are technical/objective reasons for such remarks? I just ask of curiosity.

Link to comment

@Nuno iCloud isn't currently recommended due to being slower at syncing (sometimes not syncing at all for a long period of time), being less reliable and doing a poor job of file conflict resolution.

 

In our internal testing and when supporting users who chose to use iCloud, we saw preferences being lost, especially due to file conflicts where iCloud loses files or reverts to old versions when it's unable to resolve them.

 

We're very keen to improve the sync options and already have a broad plan for this. There are quite a few aspects to doing this well, such as adding an automatic local backup option, ensuring that if syncing goes wrong, you have a recent backup you can go back to, so we'll be looking into this further once Alfred 5 is out and settled. :)

 

Having said that, if you'd like to experiment with using iCloud, you can do it; Just make sure you keep your preferences backed up using Time Machine or another regular backup service of your choice.

Link to comment

Hey @vitor, overall it's been pretty messy and definitely not easy to migrate, though that's due more to their lack of documentation/communication and overall dropboxyness of the process. Nothing specific to report or ask for help on. Overall it seems to be working a lot closer to how icloud does, hence my curiosity.

Link to comment
  • 4 weeks later...
51 minutes ago, luckman212 said:

Syncthing has a version that's bundled as a macOS native app. It's open-source, a universal binary so runs well on M1, and hasn't let me down once in over 2 years syncing my Alfred prefs along with 30+GiB of other files between 2 Macs. Highly recommended.

 

https://github.com/syncthing/syncthing-macos

I read it briefly and will try. Is there a option to set sync option such as Two way, one way? How does it resolve conflicts? How much resources it consumes during syncing? For office files, I use onedrive but it takes lot of resources - ram, battery etc.

Link to comment
  • 1 month later...

I have two Macs, and I like to have Alfred running on both. I would like the preferences to sync between the two. 

 

The sync settings help page basically just tells me I can either 1) install Dropbox or 2) use iCloud Drive only if Optimize Storage is disabled. Unfortunately I can't disable it because I don't have room on my secondary Mac. Since I'm not willing to install and run Dropbox continually just for Alfred, I'm in a bind. Under iCloud's Optimized Storage, Alfred's preferences are often the only thing in the folder they're in that gets purged. When I look at the file's modification date, I see it's many years old. Is there some way at least that Alfred can modify this file in such a way that iCloud Drive regards it as "actively used" so it doesn't get purged? 

 

As an aside, why does Alfred not support some kind of proper built-in syncing mechanism? I find it just a bit frustrating that sync is left to the user to sort out. Pretty much every other app on my Mac uses iCloud and it works well generally. If Agenda and Ulysses and half the other applications I own can do this, why can't Alfred after all these years and all these PowerPack upgrades?

Edited by octothorpe
clarity
Link to comment
11 hours ago, octothorpe said:

If Agenda and Ulysses and half the other applications I own can do this, why can't Alfred after all these years and all these PowerPack upgrades?

 

@octothorpe I've merged your thread with the existing one where I've answered this question a few months ago. But in a more detailed response to the examples you give, the type of data some other apps need to sync is very lightweight and basic compared to the always-on nature of Alfred where your preferences are updated and used constantly.

 

As I mentioned earlier, in our tests, we saw iCloud sync data slowly or not sync at all for a long period of time. This can lead to file conflicts if you've edited your workflow or snippets collection on your second Mac - and iCloud handles these file conflicts terribly compared to other sync services. 

 

If you have preferred alternative services to Dropbox, go ahead and try them out. The requirements are that it's 1. A service that keeps your data on your Mac at all times, not just a virtual file reference, and 2. Is available at startup.

 

Ideally, keep a Time Machine backup (or your preferred backup alternative) so it's easy to jump back to a recent version of your preferences if for any reason, your backup fails. 

 

Hope this context is helpful :)

 

Cheers,
Vero

Link to comment

I'm sorry to throw more cold water on the idea @octothorpe but I very much agree with what Vero said about iCloud. It's just so unreliable. I am extremely glad I don't have to worry about losing important data, workflow changes, prefs etc because of Apple's incompetence when it comes to cloud sync. I'm syncing my Alfred settings with Syncthing and it's a joy.

 

I have some apps that sync with iCloud (the one that comes to mind is Drafts.app) and I'm constantly babysitting them- resetting them when the sync breaks, dealing with old data from the wrong device overwriting newer data, duplicated data showing up, or things I deleted suddenly re-appearing. It's a disaster and I'm so glad I don't have to put up with it for something as near and dear as Alfred. I hope Apple gets their sh^t together one day with iCloud, but until then—hard pass.

 

 

Link to comment
4 hours ago, Vero said:

As I mentioned earlier, in our tests, we saw iCloud sync data slowly or not sync at all for a long period of time. This can lead to file conflicts if you've edited your workflow or snippets collection on your second Mac - and iCloud handles these file conflicts terribly compared to other sync services. 

 

If you have preferred alternative services to Dropbox, go ahead and try them out. The requirements are that it's 1. A service that keeps your data on your Mac at all times, not just a virtual file reference, and 2. Is available at startup.

 

Thanks for the clarification. iCloud does have weird roadbumps and is not particularly transparent about what it's doing. When it works, it works brilliantly but as @luckman212 points out, it's maddening to troubleshoot when it doesn't. For what it's worth, the only issue I ever run into is iCloud Drive purging my local copy of Alfred's settings. Once syncing is re-established I see changes in my Alfred settings sync between my Macs more or less instantly.

 

I still think Alfred should provide some mechanism for syncing its settings between Macs. I don't think it's a great user experience to say, essentially, "install Dropbox or maybe try something else. Good luck!"

 

I'm an avid user of Things, which seems to manage quite nicely with its own sync service. Before that, I used Omnifocus, which similarly handles sync itself on its own terms. If Apple's inbuilt sync service is problematic for Alfred to use, I think an alternative should be provided to paying users. 

Edited by octothorpe
Link to comment

Don’t forget those apps sync at most a couple of MBs, and by using iCloud they get syncing for free. Alfred preferences can be hundreds of MBs if you have many workflows installed. Hosting and bandwidth for all that is a recurring cost and Alfred is not a subscription service. The math doesn’t work the same.

Link to comment
  • 6 months later...

@gr8 Glad you're all sorted! As with my suggestion earlier in this thread, we very much recommend backing up your preferences to Time Machine, so that if there are any issues with cloud-hosted services, you have a regular automatic backup you can go back to. :)

Link to comment

iCloud Drive is very frustrating for this. One one of my Macs I have iCloud set to sync Documents and Desktop folders -- which ends up including Alfred's preferences. I don't have enough room on the Mac to keep my whole 1 TB of files downloaded, so I have to use Optimize Storage. 

 

Thing is -- and this is definitely iCloud Drive's fault -- it seems to purge the Alfred preferences very frequently. Even when there are other neighboring files that are larger or much less often used, somehow the sync system sees fit to boot Alfred.alfredpreferences first. Unfortunately there's no way to "pin" a file, so I just end up manually downloading the preferences over and over to keep Alfred running.

 

I did notice that this preferences file shows a modification date many years old. Although its contents are frequently updated, the file looks in the Finder as if it hasn't been touched in the 9+ years I've been using (and paying for) Alfred. Is there any way to have Alfred game this logic a bit and make it clear when it's modified Alfred.alfredpreferences, which would hopefully keep it from being auto-purged so much?

 

Alfred is a Mac-specific app, and like it or not iCloud is a very deeply integrated part of MacOS at this point. Anything Alfred can do to play along with it better would be much appreciated by us iCloud Drive users. 

 

 

Edited by octothorpe
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...