Forum Discussion
Waiting for sync issue
I have come across a new problem with onedrive for business.
The issue started about 2 weeks ago, the customer have a sharepoint online document library synced locally with onedrive. Some of the files are LOB application files. So the issue appears when the users are opening the files to make som changes, and after the user is done working with the file the user saves the file and closes the application. After that the files normally upload to Onedrive, but now the files is stuck in "Waiting for sync".
The only way i can get it to upload is to move the file from the onedrivefolder, wait for the file to be deleted from online, and then move it back and wait for it to be uploaded. But if i open the file again locally and save it, its stuck ad "waiting for sync"
I have tried to reset the onedrive sync, recreate it, but i still have the same error.
I have tried this on 2 different office 365 tenants, and 4 different computers, and its the same on them all.
I have found this in the onedrive logfile called: SyncDiagnostics.log
StallErrorSummary = [Source:1 Reason:340 Context:0 ScopeID:9a01bf47e3424c048754483eb1d4fa8a Files:1 Hits:5 Extensions:wka;]
3 Replies
- Sven-MatzenBrass Contributor
Psundel2310 : Did you ever solve that problem? I have the message
StallErrorSummary = [Source:1 Reason:325 Context:6
an MS support guides me through restart PC (which I did about 100x before), restart OneDrive, disconnect your PC from OneDrive, reset OneDrive, ...
I really hope they start issuing tickets to the development department of OneDrive or start adding a developer to the team that really uses it. I have about 300000 files with about 3 TB spread over 6 accounts with shares to each other. I know that this is a heavy load for OneDrive, but I think if they would add me to the team, I would be able to solve the issue.
- moshe1270Copper Contributor
Sven-Matzen did you ever get anywhere with this?
I'm having a similar error, pretty similar situation, a bit over 300,000 files.
Did all the basics, uninstall, reset sync etc.
I have a similar error in the sync diagnostics logs.
Did you ever make any progress on this?
- Sven-MatzenBrass Contributor
First of all: make a backup of your system before trying anything.
The problem was resolved for me when I did a 'Windows reset' and reinstalled all the programs.
I have scripted many installations using PowerShell (if you Google 'github interface007 devpc', you'll find the complete script), so reinstalling the programs after such a reset is no longer such a big effort.
Currently, OneDrive is running stably for me with 3.1 TB and just over 600,000 files. Part of the data is encrypted with Cryptomator (which works via WinFsp) – and it’s also running perfectly stable.
I’ve gotten into the habit of not digging deeper into these kinds of issues. My first approach is to solve the problem by resetting the computer. Every time I do this, I check if programs that I still have to install manually can be replaced by ones that can be installed via WinGet. Transferring some settings is a bit tricky since there are still programs that 'hide' their settings in places that OneDrive doesn’t back up – but this is becoming less common.
Therefore, my recommendation would be:
- Make a backup of your hard drive.
- Perform a Windows reset (https://support.microsoft.com/en-us/windows/give-your-pc-a-fresh-start-0ef73740-b927-549b-b7c9-e6f2b48d275e://support.microsoft.com/en-us/windows/give-your-pc-a-fresh-start-0ef73740-b927-549b-b7c9-e6f2b48d275e) using the 'Keep my files' option.
- Create a script similar to the one I use, and try to automate all installations and customizations to Windows settings through this script.
After the 'Reset PC', OneDrive should also run stably again. And the next time you encounter a problem, the 'Reset PC' will already be less work since you’ve already started the script.
VERY IMPORTANT: Make a complete backup beforehand! There are programs where reinstalling the license can be tricky. Or you may no longer be able to get the installer for the version you have a license for. Others save their data in 'unusual places,' making it difficult to restore everything to its original state – in such cases, a working backup is extremely valuable.