-
-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: files getting deleted when syncing from another pc #3140
Comments
@ShadowMarter Your screen shot even is telling you to implement a few of these items. Please perform the required actions. |
@ShadowMarter |
@ShadowMarter |
I experience the same behaviour, and I also struggle to replicate it. As far as I can tell, it occurs when I make significant changes to a file either on another PC or online. Calling
on my Linux machine will remove the file (see image 1). If I then restore the file from Trash online, onedrive syncs just fine (image 2). This behaviour does not happen when performing a dry-run (image 3). You can see my config in Image 4. My onedrive and curl versions are
|
@daniellehot FYI - using dry run as an example is counter productive as everything is a no-op. |
@abraunegg Thanks for the tip, I will build the client manually and get back to you if the behaviour continues. In the meantime, please keep this issue open because, as I said before, I am unsure what triggers it. It might take a few days to confirm the bug is still present. Also, the dry run output was to show that the file is recognized as modified. What I find strange is that the file is fully downloaded but is removed right after (Image 2). |
If there is a bug, it will still be there - unless you are running an older version of the client - as this bugfix resolved this sort of behavior: #3015
Image 2 does not show any file being deleted however. Image 1 shows download failures - then a deletion (Issue 3015 maybe?) .. You also seem to be using using a Debian | Ubuntu system - I do not know if you self compiled 'curl' as per #2997 or if you are using a Ubuntu default package for v2.5.4 of the client and curl 8.11.x from Ubuntu 25.04 ..... either way - when you have issues with curl - you should deploy the fixes first:
These steps remediate much of the problematic issues caused by usually Ubuntu type platforms. Either way - a full debug log is needed to understand what is going on under the hood under this sort of scenario. |
Any update in generating a debug log for analysis ? |
I followed the advice from your last comment and manually updated curl as per #2997 and then installed the latest version of the client from the source. However, I haven't used OneDrive since, so I haven't had an opportunity to confirm that the issue has been resolved. I plan to get back to you with a log or a confirmation the bug is gone in the next few days. |
Describe the bug
I can't recreate it, but it happens with files modified on another PC. Most of them are synced. I use onedriveGUI.
Operating System Details
Linux ohad-zenbookux3402vaux3402va 6.13.3-arch1-1.3-g14 #1 SMP PREEMPT_DYNAMIC Sat, 22 Feb 2025 20:59:18 +0000x86_64 GNU/Linux LSB Version: n/a Distributor ID: Garuda Description: Garuda Linux Bird of Prey Release: Soaring Codename: BirdOfPrey
Client Installation Method
From Distribution Package
OneDrive Account Type
Business | Office365
What is your OneDrive Application Version
onedrive v2.5.4
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
Personal sync between PCs
Steps to reproduce the behaviour
Happens regularly. Can't figure out why it happens only to certain files
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
Additional context
No response
The text was updated successfully, but these errors were encountered: