STOP and READUSE THIS TEMPLATENO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
Any rclone command ignoring the --onedrive-no-versions flag
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
Which cloud storage system are you using? (eg Google Drive)
Onedrive Business
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Hi, I ended up putting the wrong information, now the information is correct, I'm using Onedrive Business, I know that Onedrive Personal doesn't create versions and isn't even compatible with --onedrive-no-versions
So I started to notice this these days, I believe I didn't have this problem before and the most annoying thing is that after renaming the files I have to run the cleanup command and then I end up being limited by Microsoft
Here is the output of the command I ran
edson@Optiplex:~# rclone moveto --onedrive-no-versions -vv --no-update-modtime "Onedrive1-E:/Series/CSI New York/S02 1080p/CSI NY S02E01 - Summer In The City.mkv" "Onedrive1-E:/Series/CSI New York/S02/CSI NY S02E01 - Summer in the City [HDTV-1080p].mkv"
2023/12/14 14:28:54 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "moveto" "--onedrive-no-versions" "-vv" "--no-update-modtime" "Onedrive1-E:/Series/CSI New York/S02 1080p/CSI NY S02E01 - Summer In The City.mkv" "Onedrive1-E:/Series/CSI New York/S02/CSI NY S02E01 - Summer in the City [HDTV-1080p].mkv"]
2023/12/14 14:28:54 DEBUG : Creating backend with remote "Onedrive1-E:/Series/CSI New York/S02 1080p/CSI NY S02E01 - Summer In The City.mkv"
2023/12/14 14:28:54 DEBUG : Using RCLONE_CONFIG_PASS password.
2023/12/14 14:28:54 DEBUG : Using config file from "/edson/.config/rclone/rclone.conf"
2023/12/14 14:28:54 DEBUG : Creating backend with remote "Onedrive1:/AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/MR_2ZVbOrHukxKaNDCiXIA/Iaf0h76hPOBfuR5wf4-sp-Pu80f08g_-7VLQl6DbvzcRX6rgVoiAGcCG_A8ywUto"
2023/12/14 14:28:54 DEBUG : Onedrive1: detected overridden config - adding "{kWaC5}" suffix to name
2023/12/14 14:28:56 DEBUG : fs cache: adding new entry for parent of "Onedrive1:/AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/MR_2ZVbOrHukxKaNDCiXIA/Iaf0h76hPOBfuR5wf4-sp-Pu80f08g_-7VLQl6DbvzcRX6rgVoiAGcCG_A8ywUto", "Onedrive1{kWaC5}:AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/MR_2ZVbOrHukxKaNDCiXIA"
2023/12/14 14:28:56 DEBUG : Creating backend with remote "Onedrive1-E:/Series/CSI New York/S02/"
2023/12/14 14:28:56 DEBUG : Creating backend with remote "Onedrive1:/AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/UUHMFeq1VJxXMPuJ6uVQiQ"
2023/12/14 14:28:56 DEBUG : Onedrive1: detected overridden config - adding "{kWaC5}" suffix to name
2023/12/14 14:28:57 DEBUG : fs cache: renaming cache item "Onedrive1:/AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/UUHMFeq1VJxXMPuJ6uVQiQ" to be canonical "Onedrive1{kWaC5}:AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/UUHMFeq1VJxXMPuJ6uVQiQ"
2023/12/14 14:28:57 DEBUG : fs cache: switching user supplied name "Onedrive1:/AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/UUHMFeq1VJxXMPuJ6uVQiQ" for canonical name "Onedrive1{kWaC5}:AXzlC_kho9e4c4lH7552hw/-nYYiSRB91GHupePQB4atw/UUHMFeq1VJxXMPuJ6uVQiQ"
2023/12/14 14:28:57 DEBUG : CSI NY S02E01 - Summer In The City.mkv: Need to transfer - File not found at Destination
2023/12/14 14:28:58 INFO : CSI NY S02E01 - Summer In The City.mkv: Moved (server-side) to: CSI NY S02E01 - Summer in the City [HDTV-1080p].mkv
2023/12/14 14:28:58 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 1 / 1, 100%
Renamed: 1
Server Side Moves: 1 @ 798.811 MiB
Elapsed time: 3.6s
2023/12/14 14:28:58 DEBUG : 8 go routines active
Do you know if the same behavior happens if you rename/move the file using the Onedrive website? Do a new version get created if you touch the file "rclone touch"?
I would imagine that the flag only works when rclone is writing content to the file and not just moving parameters (moving/touching, etc)
Next would be to see if it's rclone not sending the correct flags to avoid creating the version, or if it's a onedrive API limitation.
So if I rename it in the browser it doesn't create another version and about a month ago the flag worked perfectly even moving, renaming and copying. I'm thinking that Microsoft changed something recently in its Api
Try downgrading to 1.64.2 and try to see if it still happens. Lot of changes happened in 1.65.0 for Onedrive that might have created this. If it still happens with older versions, we can most likely infer it's Microsoft issue and we need to report it there.
I downgraded rclone and ran the synchronization copy and mount commands and moveto (renaming) and rclone still creates the versions, but if I rename or copy in the Onedrive web interface it does not create versions.
As for the logs, there is no information.
All Commands executed were without the union bakend.