Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

usagora

macrumors 601
Original poster
Nov 17, 2017
4,873
4,465
Posted this in the Microsoft Community forums as well, but wanted to see if anyone here has any clue how to fix this issue:

I've been using OneDrive for years, and this is the first time I've had an issue that I haven't been able to resolve on my own. I've tried restarting my iMac, quitting and restarting OneDrive, pausing and resuming syncing, and even reinstalling OneDrive. None of these things resolves the issue. The issue is OneDrive is stuck on syncing ONE file. The problem is, it doesn't tell which file it's trying to sync. It says it's 31.7 KB, but when I search my OneDrive folder in Finder, there are no files that show up as that exact size. There are many that are close, but there are hundreds of them across many different folders in the 31-32 KB range. It would take hours to go through them one by one, moving them off OneDrive and hoping it's the culprit. And none of the folders in my OneDrive folder in Finder show the "sync in progress" icon - they all show either the blue cloud (online only), green circle with check (locally synced), or solid green circle with check (always keep on device).

So is there a way to know for sure which file is the issue, or is my only other option now to completely delete everything from OneDrive (by moving all the files onto a local volume) and then moving everything back after I ensure OneDrive online shows no files? I'm afraid that might cause more issues and would rather "surgically" fix the problem than go the "nuclear" route each time this happens.

Here's a video showing the syncing issue:

 
Try showing hidden files (Command + Shift + Period). Then look through the One Drive folder for the non-synced file. Same command will hide them again.
 
Try showing hidden files (Command + Shift + Period). Then look through the One Drive folder for the non-synced file. Same command will hide them again.

Thanks for the idea, but unfortunately I found no hidden files that were the size of the mystery culprit file. I just don't understand why OneDrive isn't displaying this one file that it's attempting to sync. All other files that I make changes to, add, or delete, show up there with progress bars as they sync.
 
With similar application I found this info in Console. That is where all applications are suppose to write messages of this type. Onedrive does create log in LogReports, at least when it runs update. If it writes in its own log when it is running, I do not know. But searching through all messages in Console may work...
 
Try this:

Open a terminal.
Change into the OneDrive folder:
cd /where/ever/it/is
Then change the permissions of all files inside to 755:
chmod 755 *

EDIT: If your OneDrive folder is in the default user home location you can get there by issuing cd ~/OneDrive after which you can issue the command above.
 
With similar application I found this info in Console. That is where all applications are suppose to write messages of this type. Onedrive does create log in LogReports, at least when it runs update. If it writes in its own log when it is running, I do not know. But searching through all messages in Console may work...

Try this:

Open a terminal.
Change into the OneDrive folder:
cd /where/ever/it/is
Then change the permissions of all files inside to 755:
chmod 755 *

EDIT: If your OneDrive folder is in the default user home location you can get there by issuing cd ~/OneDrive after which you can issue the command above.

Did you try to log in to your drive via web browser and look at your files there?

Thank you for your suggestions. I actually received a reply from a Microsoft agent on the other forum who suggested I reset OneDrive. So I've done that and am waiting for it to sync everything again, which will take some time. If that fails to resolve the issue, I will look into the above suggestions. If those don't yield results, I will then follow the Microsoft's agent's other suggestion which is to get remote support via the OneDrive app Help menu so they can examine log files to determine which file is causing the issue.

EDIT: A few seconds after posting this reply, OneDrive shows it's up to date with no remaining files to sync, so resetting OneDrive appears to have solved the issue. I didn't know about that procedure before, so I'm glad to have that troubleshooting tool in my arsenal now for future!

1629990458228.png
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.