-
-
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
Bug: Problems moving online files inside directories when using 'sync_list' #3041
Comments
Please can you test the PR below. First install all the require platform dependencies to build the client on your respective platforms. Please read https://github.com/abraunegg/onedrive/blob/master/docs/install.md#building-from-source---high-level-requirements and then follow correctly for your platform. Once this is done, to clone the PR to resolve your issue, you can use a script like the following:
This script will create a local folder called To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform When running the PR, your version should be: Validation with PR
|
Describe the bug
When you move online a file into a new subdirectory, the file does not get moved. It is deleted, both the original file and the subdirectory.
Operating System Details
uname -a pcaamelcon 5.14.21-150500.55.83-default #1 SMP PREEMPT_DYNAMIC Wed Oct 2 08:09:07 UTC 2024 (0d53847) x86_64 x86_64 x86_64 GNU/Linux
Client Installation Method
From Distribution Package
OneDrive Account Type
Business | Office365
What is your OneDrive Application Version
onedrive v2.5.3
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'
I use a windows machine with Microsoft Onedrive client and a Linux machine with this client, to have the files in sync. I also use another Linux machine to sync locally the same files as a backup device (same Linux system and version as the main Linux).
Steps to reproduce the behaviour
Hello,
I send the log file with
--verbose --verbose
and a brief explanation via E-mail, as requested.I explain what I did:
I start with a fresh file in:
I start the client in
--monitor
mode and wait to finish the first sync cycle.While the client in waiting, I do in a windows machine:
The microsoft Onedrive is running in the windows machine, so the online version is updated with these modifications.
Note that
test5
andtest6
only exist online. They are not created locally yet.Wait for the client to perform the next sync cycle.
Result locally is:
The file is correctly copied in
test5
The folder
test6
is removedThe original file
v1/amelcon/upct/PhdThesis/AOliva/mttJ24/Graphical_Abstract_TMTT.pptx
is removed.Complete Verbose Log Output
I sent the log file of the above test to this Email (in monitor mode though).
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: