Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
When I search with spotlight files appear twice:
  • /Users/username/Library/CloudStorage/OneDrive-Personal/
  • /Users/username/Library/Group\ Containers/somegibberishwhichisprobablyprivate.OneDriveSyncClientSuite/OneDrive.noindex/OneDrive/

I added the 'Containers' folder to the Privacy tab in Spotlight prefrences to solve that one.

Can't open files or folders directly from the activity pane on the app - it still links to the old directory. Anyone manage to find a solution?
 
I think that is intended behaviour, the file will not be copied to the "OneDrive" folder until needed. But, my testing, suggests that it will be downloaded to the cache (either the hidden .ODContainer-OneDrive folder on your external disk or ~/Library/Group Containers/UBF8T346G9.OneDriveSyncClientSuite/OneDrive.noindex/OneDrive folder) so that it is ready for use. Is it in your cache with a real on disk size?
Thanks. I'm feeling a bit better since the file is there at full size. I also disconnected the network (wifi and ethernet) and was able to open the file and see the "Not Downloaded" icon disappear.

I have to ask whether this really working as intended. What should a user think when they're shown "Not Downloaded"? Since the file really is on the computer, the clone should should have been created immediately to avoid the confusion. If this is working as intended then it's just a matter of taste; I really don't like it.

I am coming to think that this is working as intended and that any bugs (overlapping badges) are minor.

Even though the only bugs I've noticed are related to the icons, I don't consider them all minor. One of the bugs was being shown an icon with an exclamation point, with the hover reading "Error". If I hadn't just been experimenting, I would have had to pursue it to have confidence that my data was OK. That waste of time makes the bug more than minor. And, I have a nagging suspicion there really was some kind of error that the icon was reporting.

Anyway, thanks for replying. It was very helpful.
 
  • Like
Reactions: gilby101
I had this exact same issue - one other thing I noticed is that when I would open files from Finder, other colleagues that I knew were in the document didn’t appear and I couldn’t see their changes. When I opened the document from the website in my desktop app then I could see others and Autosave was turned on.

I resolved this by deleting OneDrive and reinstalling. Now everything opens in a “live” copy straight from Finder (autosave on and real-time changes).
Did you just delete the app in the finder and then download again from the app store? I tried that and so far no changes. Do I need to do something else to uninstall?
 
Spotlight searches:
My OneDrive cache is on an external APFS volume which has indexing enabled, but Spotlight (or Finder search) does not find anything in the hidden .ODContainer-OneDrive folder. This is for searches by name or by content and with hidden file visibility enabled.
How do I get Spotlight to work with the cache on external drive?
 
Spotlight searches:
My OneDrive cache is on an external APFS volume which has indexing enabled, but Spotlight (or Finder search) does not find anything in the hidden .ODContainer-OneDrive folder. This is for searches by name or by content and with hidden file visibility enabled.
How do I get Spotlight to work with the cache on external drive?

From the link @Wando64 posted just above, I found this quote near the bottom:

"Spotlight will not index our cache folder."
 
From the link @Wando64 posted just above, I found this quote near the bottom:

"Spotlight will not index our cache folder."

Hey @gilby101, I didn't mean to be terse. I know my answer is a terrible one.

If the intention is to keep the sync root mostly dataless (e.g. to save space on the root drive), then Spotlight will rarely be of use when searching for contents present in OneDrive files.
 
  • Like
Reactions: gilby101
Hey @gilby101, I didn't mean to be terse. I know my answer is a terrible one.
No worries.
If the intention is to keep the sync root mostly dataless (e.g. to save space on the root drive), then Spotlight will rarely be of use when searching for contents present in OneDrive files.
I don't think Microsoft understand how much some people use Spotlight. But is perhaps an Apple problem as the File Provider framework is theirs. It should be possible to read files from the cache when indexing the sync root. Feedback Assistant on my 12.3beta MacBook beckons.
Microsoft have just appended a FAQ (and some apologies) to the original blog post, answering most of the questions.
Ha! By trial and error, I had worked out most of the additions. Nevertheless very valuable (a must read) to have the info from an authoritative source. Can you imaging Apple doing that? (rhetorical question).
 
Microsoft have just appended a FAQ (and some apologies) to the original blog post, answering most of the questions.


1. The author's explanation for all the "Not Downloaded" (cloud) icons is that it's a limitation in Apple File Provider.

2. Next, he explains how to make all OneDrive files available offline for Mac by going through the convoluted steps of opening the OneDrive folder, changing to icon view, right clicking and selecting Always Keep on This Device. Then he develops selective amnesia and says "We're actively looking at ways to make this easier to configure on both macOS and Windows." Selective amnesia because he began that new FAQ by stating that he is "the architect for the OneDrive sync client. I'm the engineer who led the teams that designed and built Files On-Demand for Windows, macOS". With those credentials, he surely would have known about the checkbox in OneDrive for Windows and the Turn On/Turn Off buttons in OneDrive for Mac before the update:

1643723049474-png.1952517


1643723147233-jpeg.1952518


onedrive-open-at-login_7c4a12eb7455b3a1ce1ef1cadcf29289.png


3. Then he poses the question "Is there a technical reason that explains why Files On-Demand must always be enabled?" He spends several paragraphs extolling the virtues of Apple File Provider. He uses the same Apple PR style of saying "Only a very small number of users..." when trying to minimize issues with their own products. In this case, he says "Only a very small number of users disable Files On-Demand on both platforms". And he never answers his own question about why it must always be enabled with no way to turn it off.

Does Microsoft plan to do the same thing in OneDrive for Windows? If Microsoft really believes that this "new experience" is superior to having a simple checkbox, then they should want this superior experience for their own Windows OS. Put their money where their mouth is.
 
My OneDrive app update just finished re-syncing all the files, it took 3 days to do 1TB of data, but it is done. However, in IDLE state with no transfers going on in the background it gobbles up 5.5GB or ram, sometimes it jumps to 6GB (MacBook Air M1 16GB ram). This is with absolutely no OneDrive usage. As a comparison, Safari with 25 tabs opened needs 3.2 GB.

To me it is clear, it is time to move on, OneDrive is an absolute dead end from now on, it will only be a source of frustration and constant troubleshooting. This is the reason I switched away from Windows, I wanted a smoother experience; OneDrive keeps on reminding me why it is a good idea to stay away from Microsoft products as much as possible. Good bye OneDrive, we had a good run together.

Good luck to those brave enough to put up with it.
 

Attachments

  • One Drive.png
    One Drive.png
    103.3 KB · Views: 117
Last edited:
Disastrous seems to be attached at the hip with anything made by Microsoft for the Mac. The core 3 apps work decent enough (decent being "acceptable-at-best"), but literally everything else from MS seems to be a buggy ****-show.
 
  • Like
Reactions: decafjava
I use Spotlight all the time via Alfred; it’s my main way of interacting with files. The new version has killed that, because folders don’t populate until I open them up in Finder (even though I have “always keep on this device” selected). I can’t search for something with Spotlight unless I’ve manually opened the folder already, which makes it useless. This needs to be fixed.

At least the Autosave bug is being fixed.
 
Evidently there is a workaround to bring back the offline behaviour. See this comment:


Basically, you need to:

1. Choose "Always keep on this device" on your top level folders
2. Click on the cloud icon on your top level folders
3. Lots and lots of patience as both of these steps can't be done in batch if you have large amount of folders and files, but if you do it slowly you'll eventually get all the files truly available offline.

Poor effort from Microsoft, but at least this workaround would do for now.

This actually helped me. Thanks. It re-enables Alfred in-file searches too.
 
My OneDrive app update just finished re-syncing all the files, it took 3 days to do 1TB of data, but it is done. However, in IDLE state with no transfers going on in the background it gobbles up 5.5GB or ram, sometimes it jumps to 6GB (MacBook Air M1 16GB ram). This is with absolutely no OneDrive usage. As a comparison, Safari with 25 tabs opened needs 3.2 GB.

I stand corrected > the IDLE ram usage has ballooned to 11.42 GB and I have not synced any files over OneDrive today.

Is anyone at Microsoft reading this? How is it possible for a syncing app to eat so much ram? Do you expect us to buy a 32GB MacBook Pro to run OneDrive?

One Drive.png
 
  • Like
Reactions: ingsings
However, they seem be responding to posts made on their OneDrive blog post so you could post your complaint there if you want their attention.

They also seem to be responding on the new question thread specifically dealing with their Q&A update:

 
Just noticed another issue with the update to files on demand. Any aliases that were created prior to the update no longer work as they no longer point to a valid location (like favourites)…
 
I'm very sad to report to this thread, that I followed all the advice above and from Microsoft to:
  1. Click "Always Keep on This Device" for all folders in OneDrive folder; and then
  2. Press the "cloud with downwards arrow" icon to actually download the folder.
This worked, at first.

But I'm sorry to say:

After just two days, I created a large file on my hard drive (an iPhone backup), then I looked in my OneDrive folder and "cloud with downwards arrow" has returned, and "Get Info" shows each file is 0 kb.

That is so unfortunate.

So it looks like when your SSD starts to run out of space, the OneDrive "Always Keep on This Device" fails, the files get booted by MacOS, and you don't have your originals on your SSD anymore.

?‍♂️

This is a Microsoft problem. They do not have to enforce "Files on Demand" to be always on.

So now any time I want to do a Time Machine backup, I have to first click each folder and download it, then I have to wait while it downloads multiple GB of data, then I do my Time Machine backup.

An endless cycle of pressing the "cloud with downwards arrow", before I go to use my laptop anywhere. Thanks Microsoft.

I'm giving OneDrive engineers....let's say...30 days to fix this. Before I move to a different service.
 
Just noticed another issue with the update to files on demand. Any aliases that were created prior to the update no longer work as they no longer point to a valid location (like favourites)…

Yeah, only the top level "OneDrive" alias (if you had that) would continue to work.

I don't know why Microsoft didn't use the exact same model that iCould drive uses to back up the Desktop and Documents folder. On my computer I have symbolic links in ~/Library/Mobile Documents/com~apple~CloudDocs that point to the Desktop and Documents. My Desktop and Documents folder are simple directories; the recycle bin works normally, spotlight works, quicklook works, and local backups work. The symbolic links in the Mobile Documents folder keeps them synchronized with the cloud.

I have to think that Apple didn't provide the ability for third-parties to use this simple mechanism. They might have reserved it for themselves. If so, that puts third-party cloud services at a significant disadvantage.
 
  • Like
Reactions: Wando64
1.jpg


Well that was a fun presentation at the workplace to our major client. All the Word documents stored in our group OneDrive came up with this error. When you click "Yes", nothing happens. 1000's of Word documents.

Warning about our experience:
We now cannot trust anything to do with OneDrive, until Microsoft develops a fix.

For presentations, move your files off OneDrive.
 
Yeah, only the top level "OneDrive" alias (if you had that) would continue to work.

I don't know why Microsoft didn't use the exact same model that iCould drive uses to back up the Desktop and Documents folder. On my computer I have symbolic links in ~/Library/Mobile Documents/com~apple~CloudDocs that point to the Desktop and Documents. My Desktop and Documents folder are simple directories; the recycle bin works normally, spotlight works, quicklook works, and local backups work. The symbolic links in the Mobile Documents folder keeps them synchronized with the cloud.

I have to think that Apple didn't provide the ability for third-parties to use this simple mechanism. They might have reserved it for themselves. If so, that puts third-party cloud services at a significant disadvantage.

Because of this OD update I have switched to iCloud Drive and my main though so far is, why didn’t I do it earlier.
No more third party client apps, and more or less certainty of continued compatibility and integration with future versions of MacOS.

I think iCloud in general has a bad reputation because of the sync issues that sometimes can happen with stock Apple apps, but so far it would seem that iCloud Drive behaves as well as any other cloud service in that updates are immediately executed with clear visibility of progress.
 
Can I ask someone for help? I'd like to pre-create the content with command "ls -alR ~/OneDrive" typed in terminal, but terminal says it doesn't know the folder or file. I can't find what is right location of OneDrive folder. I tried almost every combination but can't find anything. I tried also with or without quote.
  • ls -alR ~/OneDrive (as Microsoft says)
  • ls -alR ~/OneDrive-LA-SOFTWARE,s.r.o (is written in information about OneDrive folder)
  • ls -alR ~/Users/JiriNovak/Library/CloudStorage/OneDrive-LA-SOFTWARE,s.r.o (just try)
  • ls -alR ~/Library/CloudStorage/OneDrive (just try)
Thanks for help!
 
I tried almost every combination but can't find anything.
  • ls -alR ~/Library/CloudStorage/OneDrive*
For a personal One Drive, the * is "-Personal", but as I have written it ls will report everything.

The ls command just lists what's there, it doesn't change anything. Don't be fooled because it reports all files with their full size - ls doesn't report size on disk.

I'd like to pre-create the content
If by pre-create you mean to download everything you need a cp command like:
  • cp -RX "/Users/<user>/Library/CloudStorage/OneDrive-Personal" /dev/null
I hope you have enough space on your home drive.
 
Thanks for a quick reaction. I actually mean, what is written in this article: https://techcommunity.microsoft.com...demand-experience-on-macos/bc-p/3106689#M2557

There is a part:
Why is it sometimes slow to browse folders in my OneDrive?
To save space and system resources, the File Provider platform doesn't actually create the files OneDrive is managing until the first time you need them. The first time you open a OneDrive folder, macOS will create them on-demand. This can sometimes take a moment.

To avoid this delay, you can force the system to pre-create all of these files and folders for you without downloading your content. To do this, open a Terminal window and type "ls -alR ~/OneDrive" (or the path to your OneDrive). This will ensure all of your files and folders are created, but not downloaded, before you browse.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.