-
|
After reporting a potential bug #3393 I have yet to replace the onedrive code with the master branch build. However I was hoping to understand if it 100% certain that the issues caused by bug #3344 are also responsible for the many files that where uploaded to onedrive in the cloud. I am aware that this suffix addition is the default behavior of the os to deal with copies created with the same name but I have no idea why the client did this and why some caused duplicates while other fully replaced the files. This was a painful mess to resolve. I had to one by one resolve the re-naming issue and individually check if the renamed versions where actually the most recent files. Was this some kind of interaction of the local file system trying to deal with copies that the onedrive client then dutifully tried to synchronise? It also did this with directory names and not just files. Why and how could this have happened as I never changed the names of or deleted any directories before this failure occurred. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@aidyw
This client does not add any suffix of (1) or similar to any file. The older 'skilion' client may be responsible for that - I cant recall. This client performs 'safe rename' operations as per https://github.com/abraunegg/onedrive/blob/master/docs/client-architecture.md#file-conflict-handling---default-operational-modes v2.5.2 and below: in v2.5.3 and above: This client has never used a suffix of (1) for any rename operation.
Potentially you have something odd going on with your system. Your log files show zero events of this application performing any 'rename' to a suffix of (1) or any other numerical value. If you are 100% convinced that this client is at fault, please do the following:
The code that performs the safeBackup routine starts here: Line 58 in 4301c2e |
Beta Was this translation helpful? Give feedback.
@aidyw
The 'Client returns an error about local file system : No such file or directory then deletes the file from OneDrive even though it has not successfully synced' (your #3393 issue) is 100% caused by bug #3344 and has been fixed.
This client does not add any suffix of (1) or similar to any file.
The older 'skilion' client may be responsible for that - I cant recall.
This client performs 'safe rename' operations as per https://github.com/abraunegg/onedrive/blob/master/docs/client-architecture.md#file-con…