-
-
Notifications
You must be signed in to change notification settings - Fork 869
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
Multiple copies of files (binary files) are saved #824
Comments
@soheilred Critically missing is what version you are running, what configuration you are using and a debug log. |
@soheilred All this log is showing is the following:
Please can you provide a debug log that clearly details and shows the issue you are facing. You 'might' need to manually run the application in monitor mode (--monitor) and perform your replication steps. Please also do not attempt to sanitise the debug log file as in doing so you are destroying any correlative information that could be walked through to understand what is going on. Additionally, what applications are you using to:
This will assist with re-creation steps if required. |
Thanks for your response. I will try to replicate the problem and have it in the debug file. I didn't want to share the information about the files I have in my onedrive. That's why I removed the file names in the debug file. |
@soheilred |
Debug file is sent to you. |
@soheilred Please can you:
|
I can confirm that I am running the latest version on all of my systems. In the debug file that I have sent, it shows ChengRo13.pdf is created three times when I edited it. Now I have the following files in my directory:
Can you see all of these in the debug file? |
@soheilred The log file that has been provided thus far shows NO edit / creation / rename activities - thus does NOT show why this is occurring. You probably need to capture the log file on 3 systems:
My current thoughts here is - this 'feels' like one of the original 'skilion' bugs where the 'hostname' of the linux system is added to the file name when there is a conflict. This I KNOW was fixed. Please check ALL your systems - you may even need to uninstall any 'package', do a 'search on your system' to determine if there is any 'onedrive' binary still present, and if so remove it. Then compile and install from source to ensure you have the RIGHT version installed on all your systems. |
@soheilred On the system, where the 'duplication' is happening, you will see this sort of entry in your debug log file:
The 'rename' ONLY occurs if:
If the local file is newer, & in the database, you will get this sort of message and no rename:
or
So - please can you:
|
Alright! this is what I have done so far:
The problem has not gone away yet. |
If you followed the instructions, you should have v2.3.13-24-g4cb0ebb on all your systems
This is not correct & should not happen - are you starting the application manually and not relying on any systemd / init.d script ? |
I use systemd to enable and start the application. |
@soheilred |
Oh, I am sorry about that! I wasn't aware of it. The debug directions Generate debug log for support didn't specify that though. |
@soheilred
This will sync only once, then finish. If you want a continuous sync, replicating what the systemd service does, use:
|
Analysis of log files performed. There is some sort of 'process' modifying the files locally. This needs to investigated and fixed first before further analysis can be done. |
Update:
As such, this issue is 100% not an issue with this application as, if a file is modified locally - either by process, or manually, the local file will be out-of-sync with OneDrive, and will be renamed to preserve existing file to prevent data loss IF there is also a modified & newer file listed as a change on OneDrive to download. PR #831 has been written to provide a 'work around' for when these applications modify files locally - but really, none of them should be and I consider that they are actually misbehaving as they should never be editing / updating the modified timestamp of a file. Closing this issue as not a bug. OP should open issue tickets with offending applications and complain to them and ask why is their application is modifying the timestamps of files in the way that it does. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Application and Operating System Details:
onedrive --display-config
I have three computers (2 running Manjaro Cinnamon, and one running Kubuntu 19.04), and I use onedrive to sync my files. Whenever I change a binary file (edit a pdf, or compile a code which generates a bunch of executable file), onedrive starts to save a multiple copies of the changed files, which is very annoying. Sometimes it just doesn't stop, and populates tens of copies. Is there any way around this problem?
The text was updated successfully, but these errors were encountered: