OneDrive sync failing - Deletes local files

Hi Mia,

I’m experiencing the same issue with my own OneDrive on Arch Linux. What I have noticed however is it only seems to affect folders that have been shared to my primary OneDrive account from another account.

I’m not sure if your engineers are aware but there is a longstanding issue with OneDrive sync using the native Windows client and shared folders to do with account migration from the old v1 SharePoint backend to the new v2 SharePoint backend. What happens is while the backend is being migrated, these shared folders are suddenly converted to .lnk files with the native OneDrive client until the migration is complete after which they are then restored as folders:

I can confirm that some of the folders in my own Onedrive affected by the above issue are currently being migrated as I experienced the same issue with OneDrive on Windows on another PC (I was able to fix the issue by switching sync to Insync on Windows instead). However, the same folders are also affected by the local file delete/re-sync issue on Linux.

Could this re-sync issue multiple users are experiencing be linked to the account migration in the backend?

1 Like

Hey @TPA_PR,

I sincerely apologize for the long-standing issue that you and many others have experienced. On behalf of our team, I would like to express my gratitude-- we truly appreciate your time and effort in sharing these! Allow me to forward them to our engineer-in-charge as they continue to work on the leads and develop the necessary fixes to put this to rest.

I’m having the same exact issue on Kubuntu 22.04 as @bouil mentioned, with almost every directory suddenly ended with a (2). Luckily I noticed this in time and shut down insync for good. It seems that no real damage has been done.

@Hansen_Xavier My deepest apologies for the trouble! Do you have the logs.db and out.txt files still on your computer? We have leads on the unsyncing issue, but would need to investigate what could have led to the duplication.

Just adding my name to the list of affected users. I’ve had a support case open w/Mara for a while now, but just came across this topic. Pretty sure this is exactly what we’ve been trying to diagnose.

Ubuntu 24.04 LTS, 2-way sync to OneDrive Personal account.

Hi @chrisu, my apologies for the huge trouble. I sent you a DM so I can properly trace the email address you’re using to correspond with us. Thank you!

I’m having this problem too. And I might have missed some folders, because while trying to recover several files from the recycle bin in the OneDrive browser, I got an internal error. =(

└─$ lsb_release -a
No LSB modules are available.
Distributor ID:	Kali
Description:	Kali GNU/Linux Rolling
Release:	2025.2
Codename:	kali-rolling

└─$ apt-cache policy insync
insync:
  Installed: 3.9.6.60027-trixie
  Candidate: 3.9.6.60027-trixie
  Version table:
 *** 3.9.6.60027-trixie 500
        500 http://apt.insync.io/debian trixie/non-free amd64 Packages
        100 /var/lib/dpkg/status

@liukiti My apologies for the trouble. Am I understanding that you’re experiencing cloud deletion as well? If so, kindly share these files that can be found in ~/.config/Insync:

  • logs.db
  • out.txt
  • data folder
  • live folder
  • 2-3 file names that were deleted from the cloud

You can upload the logs in the cloud and send a shared link in case it’s too be to attach.

Thank you!

@liukiti Forgot to mention to send it to support@insynchq.com, including the link to this Forums post.

Thank you once again!

Any update? :anguished:

Thanks!

Ubuntu 24.04 LTS, OneDrive Personal account.

Hello, @sserrano ! We will announce as soon as the fix has been deployed. It is still under testing environment to make sure that we release a stable version.

Thank you!

1 Like

Hello Mia,
Any update about this? I think the fix is already in windows? in linux, is it already implemented? Thanks!

Apologies for the late revert, @Mario_Gtz! We have not released an explicit fix for this as major OneDrive issues are still under priority investigation to ensure that any and all fixes we deploy do not introduce any other issues.

In the meantime, may I know if you’ve tried the workaround to remove-readd your OneDrive account?

I did but a time ago. I’ve been using rclone for shared files, but still don’t like the “manual” part of it. I’ll wait for a definitive trusty solution. Thanks!

1 Like