Replies: 4 comments 10 replies
-
The first question I have is which system is used to create|modify the files?
This would mean that the files are still local which is why they were uploaded
Firstly, by generating a debug log to understand what the client is doing - please read https://github.com/abraunegg/onedrive/wiki/Generate-debug-log-for-support The next aspect is to understand where are you making file changes. If nothing is meant to change on the Ubuntu platform, I would use Secondly, disable any/all file indexing on Ubuntu .. as this process , depending on what you are using , will modify your files in the background to add their metadata to track it has been indexed .. which, then triggers the client to upload the file (because it was modified). Some file indexers also delete & re-create the file ... which, could also account for your experience. Understanding how your system is setup and how you are modifying your files and comparing this to what you are experiencing is key. A diagram to illustrate what you are expecting and/or wanting this to work would go a long way. |
Beta Was this translation helpful? Give feedback.
-
The ubuntu vms are updating the files, but one was updated by a win11 editor lately so I'm not sure of anything, any host/vm can update. First, I'll run the service with the --verbose flags, and think about disabling the tracking once I understand better. Thank you for the info! |
Beta Was this translation helpful? Give feedback.
-
It seems the ubuntu tracker can modify files meta (write back feature - https://wiki.gnome.org/Attic/Tracker/Documentation/Writeback) but it's supposed to be disabled by default and I could not find any user config overwriting it. I'm testing megasync now, we'll see what happens. |
Beta Was this translation helpful? Give feedback.
-
damned! but why letting the service run with a shitty dependency? |
Beta Was this translation helpful? Give feedback.
-
Hello!
I run onedrive on ubuntu 2404, v2.5.2-1, as a service.
I found out some local files (text) are empty, and just found one file has been truncated.
The remote files are ok (the content is what I expect).
The files can be updated by other clients (win11 or ubuntu hosts or vms) for the same account.
I stopped the service and ran onedrive with the --resync arg.
It downloaded some files, and uploaded some old files (which had been removed days ago), and did not recover the truncated or empty files.
How can I debug this?
Beta Was this translation helpful? Give feedback.
All reactions