What is the problem you are having with rclone?
Attempting a server-side, Google-to-Google move results in an error:
googleapi: Error 404: File not found
What is your rclone version (output from rclone version
)
rclone v1.53.3
- os/arch: windows/amd64
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive (source and target, different domains)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone move SourceBR: TargetBR: --drive-server-side-across-configs -vv
The rclone config contents with secrets removed.
[SourceBR]
type = drive
scope = drive
client_id = ***
service_account_file = C:\Users\Chad\.config\rclone\source.json
[TargetBR]
type = drive
scope = drive
client_id = ***
service_account_file = C:\Users\Chad\.config\rclone\target.json
A log from the command with the -vv
flag
2021/01/22 01:39:35 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "move" "SourceBR:" "TargetBR:" "--drive-server-side-across-configs" "-vv"]
2021/01/22 01:39:35 DEBUG : Using config file from "C:\\Users\\Chad\\.config\\rclone\\rclone.conf"
2021/01/22 01:39:35 DEBUG : Creating backend with remote "SourceBR:"
2021/01/22 01:39:36 DEBUG : Google drive root '': root_folder_id = "0AI3Ru7siWxXlUk9PVA" - save this in the config to speed up startup
2021/01/22 01:39:36 DEBUG : Creating backend with remote "TargetBR:"
2021/01/22 01:39:36 DEBUG : Google drive root '': root_folder_id = "0AIpCWpkVAFFoUk9PVA" - save this in the config to speed up startup
2021/01/22 01:39:37 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/22 01:39:37 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/22 01:39:37 ERROR : Copy of Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 ERROR : Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 ERROR : Copy2 of Top 5 Analysis.pptx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 INFO : There was nothing to transfer
2021/01/22 01:39:37 ERROR : Attempt 1/3 failed with 3 errors and: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 ERROR : Copy of Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 ERROR : Copy2 of Top 5 Analysis.pptx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 ERROR : Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:37 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/22 01:39:37 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/22 01:39:37 INFO : There was nothing to transfer
2021/01/22 01:39:37 ERROR : Attempt 2/3 failed with 3 errors and: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:38 ERROR : Copy2 of Top 5 Analysis.pptx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:38 ERROR : Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:38 ERROR : Copy of Round2 Doc.docx: Couldn't move: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:38 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/22 01:39:38 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/22 01:39:38 INFO : There was nothing to transfer
2021/01/22 01:39:38 ERROR : Attempt 3/3 failed with 3 errors and: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
2021/01/22 01:39:38 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 3 (retrying may help)
Checks: 9 / 9, 100%
Elapsed time: 3.3s
2021/01/22 01:39:38 DEBUG : 16 go routines active
2021/01/22 01:39:38 Failed to move with 3 errors: last error was: googleapi: Error 404: File not found: 0AI3Ru7siWxXlUk9PVA., notFound
I have the impersonation users set in the environment:
RCLONE_CONFIG_SOURCEBR_IMPERSONATE=user@sourcebr.com
RCLONE_CONFIG_TARGETBR_IMPERSONATE=user@targetbr.com
I understand that the 404 error typically means that the target user doesn't have access to the files I am attempting to move. That's not the case here, though.
λ rclone lsf SourceBR:
Copy of Round2 Doc.docx
Copy2 of Top 5 Analysis.pptx
Round2 Doc.docx
subdir/
λ rclone lsf TargetBR: --drive-shared-with-me
Copy2 of Top 5 Analysis.pptx
Round2 Doc.docx
Since user@targetbr.com can access the two files from SourceBR: that are shared with it, I expect those files to move and not throw 404 errors.