What is the problem you are having with rclone?
I no longer get transfer data for server-side moves when using --stats-one-line-date
. This breaks reporting in our tooling, as we can no longer determine how much data was moved from one Google Drive account to another.
Run the command 'rclone version' and share the full output of the command.
Last working: 1.63.1
First broken: 1.64.0
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
"C:\\Users\\Chad\\Documents\\PowerShell\\Modules\\TMCTools\\bin\\rclone.exe" "move" "--checkers" "8" "--config" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939\\chad@cdsconsulting.co_stage1.conf" "--log-file" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939\\chad@cdsconsulting.co.log" "--low-level-retries" "3" "--retries" "1" "--stats" "5s" "--stats-file-name-length" "0" "--stats-one-line-date" "--temp-dir" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939" "--user-agent" "ISV|Transend Corporation|TMCTools/1.0" "--log-level" "DEBUG" "--max-depth" "20" "--drive-skip-dangling-shortcuts" "--drive-skip-shortcuts" "--check-first" "--create-empty-src-dirs" "--order-by" "size,mixed" "--transfers" "4" "--update" "--server-side-across-configs" "Source:" "Temp:"
The rclone config contents with secrets removed.
[Source]
type = drive
scope = drive
service_account_file = C:\Temp\key.json
impersonate = user@example.org
[Temp]
type = drive
team_drive = ...PVA
scope = drive
service_account_file = C:\Temp\key.json
impersonate = user@example.org
A log from the command with the -vv
flag
1.63.1
2023/12/04 12:03:31 DEBUG : rclone: Version "v1.63.1" starting with parameters ["C:\\Users\\Chad\\Documents\\PowerShell\\Modules\\TMCTools\\bin\\rclone.exe" "move" "--checkers" "8" "--config" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_120331\\chad@cdsconsulting.co_stage1.conf" "--log-file" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_120331\\chad@cdsconsulting.co.log" "--low-level-retries" "3" "--retries" "1" "--stats" "5s" "--stats-file-name-length" "0" "--stats-one-line-date" "--temp-dir" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_120331" "--user-agent" "ISV|Transend Corporation|TMCTools/1.0" "--log-level" "DEBUG" "--max-depth" "20" "--drive-skip-dangling-shortcuts" "--drive-skip-shortcuts" "--check-first" "--create-empty-src-dirs" "--order-by" "size,mixed" "--transfers" "4" "--update" "--server-side-across-configs" "Source:" "Temp:"]
2023/12/04 12:03:31 DEBUG : Creating backend with remote "Source:"
2023/12/04 12:03:31 DEBUG : Using config file from "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_120331\\chad@cdsconsulting.co_stage1.conf"
2023/12/04 12:03:31 DEBUG : Source: detected overridden config - adding "{aqL5q}" suffix to name
2023/12/04 12:03:32 DEBUG : Google drive root '': 'root_folder_id = 0AJMfyeX0r9BWUk9PVA' - save this in the config to speed up startup
2023/12/04 12:03:32 DEBUG : fs cache: renaming cache item "Source:" to be canonical "Source{aqL5q}:"
2023/12/04 12:03:32 DEBUG : Creating backend with remote "Temp:"
2023/12/04 12:03:32 DEBUG : Temp: detected overridden config - adding "{aqL5q}" suffix to name
2023/12/04 12:03:32 DEBUG : fs cache: renaming cache item "Temp:" to be canonical "Temp{aqL5q}:"
2023/12/04 12:03:32 INFO : Google drive root '': Running all checks before starting transfers
2023/12/04 12:03:32 DEBUG : Google drive root '': read info from Shared Drive "Intermediate_Source"
2023/12/04 12:03:32 DEBUG : 10MB.dat: Need to transfer - File not found at Destination
2023/12/04 12:03:32 DEBUG : Google drive root '': Waiting for checks to finish
2023/12/04 12:03:32 INFO : Google drive root '': Checks finished, now starting transfers
2023/12/04 12:03:32 DEBUG : Google drive root '': Waiting for transfers to finish
2023/12/04 12:03:33 INFO : 10MB.dat: Moved (server-side)
2023/12/04 12:03:33 INFO : There was nothing to transfer
2023/12/04 12:03:33 INFO : 2023/12/04 12:03:33 - 10 MiB / 10 MiB, 100%, 0 B/s, ETA -
2023/12/04 12:03:33 DEBUG : 10 go routines active
Note this line:
2023/12/04 12:03:33 INFO : 2023/12/04 12:03:33 - 10 MiB / 10 MiB, 100%, 0 B/s, ETA -
1.64.0
2023/12/04 11:59:39 DEBUG : rclone: Version "v1.64.0" starting with parameters ["C:\\Users\\Chad\\Documents\\PowerShell\\Modules\\TMCTools\\bin\\rclone.exe" "move" "--checkers" "8" "--config" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939\\chad@cdsconsulting.co_stage1.conf" "--log-file" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939\\chad@cdsconsulting.co.log" "--low-level-retries" "3" "--retries" "1" "--stats" "5s" "--stats-file-name-length" "0" "--stats-one-line-date" "--temp-dir" "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939" "--user-agent" "ISV|Transend Corporation|TMCTools/1.0" "--log-level" "DEBUG" "--max-depth" "20" "--drive-skip-dangling-shortcuts" "--drive-skip-shortcuts" "--check-first" "--create-empty-src-dirs" "--order-by" "size,mixed" "--transfers" "4" "--update" "--server-side-across-configs" "Source:" "Temp:"]
2023/12/04 11:59:39 DEBUG : Creating backend with remote "Source:"
2023/12/04 11:59:39 DEBUG : Using config file from "C:\\Users\\Chad\\Domains\\cdsconsulting.co\\logs\\Move-GOUserDrives_20231204_115939\\chad@cdsconsulting.co_stage1.conf"
2023/12/04 11:59:39 DEBUG : Source: detected overridden config - adding "{aqL5q}" suffix to name
2023/12/04 11:59:40 DEBUG : Google drive root '': 'root_folder_id = 0AJMfyeX0r9BWUk9PVA' - save this in the config to speed up startup
2023/12/04 11:59:40 DEBUG : fs cache: renaming cache item "Source:" to be canonical "Source{aqL5q}:"
2023/12/04 11:59:40 DEBUG : Creating backend with remote "Temp:"
2023/12/04 11:59:40 DEBUG : Temp: detected overridden config - adding "{aqL5q}" suffix to name
2023/12/04 11:59:40 DEBUG : fs cache: renaming cache item "Temp:" to be canonical "Temp{aqL5q}:"
2023/12/04 11:59:40 INFO : Google drive root '': Running all checks before starting transfers
2023/12/04 11:59:41 DEBUG : Google drive root '': read info from Shared Drive "Intermediate_Source"
2023/12/04 11:59:41 DEBUG : 10MB.dat: Need to transfer - File not found at Destination
2023/12/04 11:59:41 DEBUG : Google drive root '': Waiting for checks to finish
2023/12/04 11:59:41 INFO : Google drive root '': Checks finished, now starting transfers
2023/12/04 11:59:41 DEBUG : Google drive root '': Waiting for transfers to finish
2023/12/04 11:59:42 INFO : 10MB.dat: Moved (server-side)
2023/12/04 11:59:42 INFO : There was nothing to transfer
2023/12/04 11:59:42 INFO : 2023/12/04 11:59:42 - 0 B / 0 B, -, 0 B/s, ETA -
2023/12/04 11:59:42 DEBUG : 10 go routines active
Note this line:
2023/12/04 11:59:42 INFO : 2023/12/04 11:59:42 - 0 B / 0 B, -, 0 B/s, ETA -
I believe this may be caused by the following commit:
commit de185de215c273e787cb770c287b087f5b484022
Author: Nick Craig-Wood <nick@craig-wood.com>
Date: Sun Jul 30 05:39:01 2023 +0100
accounting: show server side stats in own lines and not as bytes transferred
Before this change we showed both server side moves and server side
copies as bytes transferred.
This made a nice easy to use stats display, but also caused confusion
for users who saw unrealistic transfer times. It also caused a problem
with --max-transfer and chunker which renames each chunk after
uploading which was counted as a transfer byte.
This patch instead accounts the server side move and copy statistics
as a seperate lines in the stats display which will only appear if
there are any server side moves / copies. This is also output in the
rc.
This gives users something to look at when transfers are running which
was the point of the original change but it now means that transfer
bytes represents data transfers through this rclone instance only.
Fixes #7183