Jan 02 2022 09:50 PM
I use OneDrive to synch all my files with another computer at work and just upgraded to Monterey. I need to be able to search for data in the files using Spotlight/Quick Look etc. so I typically do a full sync and disable files on demand.
Since this is no longer an option with Monterey, I have instead enabled "Always Keep On This Device" from the OneDrive root folder. However, I am now seeing files that are both "Always Available on this Device" and "Not Downloaded". Aren't these two mutually exclusive?
Is there any way to disable Files on demand?
MacOS is 12.1
OneDrive is Version 21.245.1128.0002 (Standalone) with Insider Preview Updates enabled
Thanks.
Jan 03 2022 01:26 AM
SolutionJan 03 2022 04:58 AM
@PeterRisingThanks for this. I tried adding
<key>FilesOnDemandEnabled</key>
<false/>
to the plist file and restarted the Mac but didn't seem to make a difference. OneDrive happily tells me "You're all set. All files are in sync" but I am still seeing the following in Finder
Philip
Jan 03 2022 07:31 AM
Jan 13 2022 12:48 AM
Same issue here.
Two icons are shown next to the file name
Tootip for icon on the left states: "Shared and Always Available on this device"
Tooltip for icon on the right states: "Not Downloaded"
Likewise, "Files on demand" cannot be turned off.
It seems like a quirk rather than a bug, as if files on demand were turned on automatically.
As a result, spotlight indexing doesn't always work with such files.
Utterly annoying.
Jan 19 2022 10:03 AM
Have you managed to resolve this issue? I am running into the same problem with the same symptoms.
Clicking on each "Not Downloaded" icon forces the file system to recognize that the files are local. It does not appear to actually download anything. However, this regularly resets to showing both icons.
In addition to spotlight indexing not working for files that are local but flagged as "Not Downloaded" other programs that require the files to be local error when the files show as "Not Downloaded"
Jan 19 2022 10:20 AM
Jan 19 2022 07:45 PM
@ABCorbettUnfortunately, I have not been able to resolve it. Have been with MS support on this and so far, have not received a solution or a workaround. They did send me the documentation several times to say select "Always on my device" even though, from the beginning, I had told them that it was set (and they had seen that during a remote session).
An additional interesting test when I was with support was that when I disabled internet access, I could click on the "Not Downloaded" icon and was able to get the file locally. So it looks like the file is local but OD is responding to Spotlight/Quick Look that it's not.
For now, I've disabled OD and only fire it up to synch when I start then shut it down once the sync is complete. And once more before I shutdown to synch changes that I have made. Not great for Spotlight and not ideal but until they fix it, the only other alternative is downgrade to Big Sur.
Philip
Jan 20 2022 01:28 PM
Jan 25 2022 11:00 AM
Same problem for me. I cannot imagine why this was changed by Apple. I have found when I look at the OneDrive icon in the top toolbar, it shows a files as being synced/downloaded. But it is not in the spot in OneDrive where it should be. Also, when you click the OneDrive with down arrow icon and download files, it any file is added by someone who shares the folder, the icon reverts to undownloaded. Then you have to redo the download.
MS tech's only solution was to use Sharepoint. If you have done so and it works, please let me know. Thanks.
Jan 25 2022 12:32 PM
Jan 25 2022 01:58 PM
Today, struggling with this, I notice the fan on my MacBook Pro is running a lot. Used to run only when I had Parallels open and was using Windows. Now, about half of the time it is running.
Jan 25 2022 07:33 PM
I have a 2020 mac mini that I recently updated OneDrive on and also ran in to this issue. I use CloudBerry to back up my OneDrive folder so it's very useful to be able to disable files on demand.
I did find the option to right click on the top level folder and select always keep on this device, but that didn't seem to work as expected.
My silly solution is to first set the top level folder to always keep on this device and to then run a recursive md5 check sum on every file in the OneDrive folder.
find . -type f -exec md5 '{}' \;
After the md5 check sum finished each file no longer showed the cloud icon and only showed the always available on this device icon. I was also then able to successfully run a backup of the folder.
This isn't my favorite solution, but it seems to be working. I though others mind find this useful.
BTW my 2015 mac book pro hasn't gotten the most recent update to OneDrive that changed the behavior of disabling files on demand.
Jan 25 2022 09:55 PM
Jan 25 2022 10:01 PM
Jan 26 2022 06:55 AM
I am having the same problem. The app automatically updated and killed my day and still struggling. The option "always keep on device" does not download the files and all my work projects are under One Drive and I could not work today and still cannot work. I don't know how to solve this issue, at worst I will manually download files and work them locally with out using One Drive but I am not sure how to update it maybe do it manually time to time. This is a huge epic fail and very bad breaking change for all of us.
Jan 26 2022 10:12 AM
I did some more testing and found that files that are created on another system will show up as "Always Available on This Device" but won't be downloaded and will cause my backup to stall. To remediate this I created a small BASH script that finds any file modified since yesterday and runs the MD5 checksum on it. I then have my backup plan configured to run the script before running the backup. Hopefully this will cause any new files to be downloaded / actually available on this device.
#!/bin/bash
find /Users/MYUSERNAME/OneDrive/ -type f -newermt $(date -v -1d +'%Y-%m-%d') -exec md5 '{}' \; > /Users/MYUSERNAME/pre-backup.log
Hopefully this will work for other backup solutions as well.
Jan 26 2022 10:35 AM
Jan 26 2022 10:54 AM
This problem completely killed me, literally killed me. Thanks to Microsoft and One Drive super uber developers and testers. I had a perfect life before this Files on Demand feature.
I even cannot see what's happening behind the scenes. Many files are downloading uploading etc. My available hard disk size is changing between 150GB to 70GB it is not stable.
Tomorrow I have to work and I don't know what to do. Probably I will download very important folders manually and I will delete this stupid version and wait for a proper fix.
This version created a very very bad problems. In the future, synching files will be a pain and I have to do it manually.
Jan 03 2022 01:26 AM
Solution