Problem: Unable to Clear 200+ Files Waiting to Sync

I have been using oDrive for years and it’s worked fine (currently running on Win 11). From time to time I get to a point when 200+ files are waiting to sync, so I exit oDrive and then start it up again, and the 200+ files eventually sync.

Now I have a persistent issue where 200+ files simply won’t sync. I’ve tried rebooting, reinstalling the latest oDrive client but to no avail.

All of the files appear to be old Git files, which haven’t changed for years.

I have also seen numerous requests to reauthorize recently. Way more than normal, and I am also suffering from some issue over files ending up in conflict when I change them. No idea why that is either.

All a bit odd. If anyone has any advice, would be great to hear from you!

Hi @nigel1,
I’m sorry to hear you are running into issues here.
Which storage are you working with?

1 - 200 waiting items

  • Check the sync activity log for more detail on these items and why they are unable to sync. What does it say?
  • Send a diagnostic from the odrive tray menu so that we can take a closer look. Make sure to let us know when it is sent, so we know to look for it.

2 - Frequent auth

  • This could be due to encountering persistent/frequent errors or rate limits.
  • Are you using odrive on more than one computer, concurrently?

3 - Git files

  • Are these .git tracking objects, or code files?
  • If you are sure they haven’t changed, you could unsync the folder to turn it back into a placeholder file and remove the items from the queue.

4 - Conflicts

  • The sync activity log records details about any conflicts encountered. It will show why something was considered in conflict. Generally it will be due to changes being seen in both local and remote within the same sync window.

Just sent diagnostics. Will check other bits in the morning! :slight_smile:

Hi @nigel1,
Right off the bat it looks like the .git structures are causing a lot of churn. The reason for it appears to be that Microsoft changed their cTags, which is triggering resyncing.

My immediate recommendation is to add .git to the custom blacklist to exclude these folders. That will remove pretty much all errors and churn you are seeing.

To do this:

  1. double-click to open the odrive_user_premium.conf file in the root of the odrive folder.
  2. Find the blackListNames section
  3. Replace ‘thumbs.db’ with ‘.git’
  4. Save the file

This will prevent odrive from trying to sync the .git folders which will be huge, sprawling structures and almost always do not need to be synced.

Thanks for the advice - this has resolved the issue.

1 Like