Copying GDocs from a shared drive in one GSuite to a shared drive in another GSuite gives 404's

What is the problem you are having with rclone?

Copying GDocs from a shared drive in one GSuite to a shared drive in another GSuite gives 404's.
I'm using server_side_across_configs = true as suggested in these forums.

Non GDocs have no problems.
Copying it first to local drive and then uploading works also (but converts the gdocs of course)
I don't think it's permission problem because the uploading from local works.

What is your rclone version (output from rclone version)

rclone v1.51.0

  • os/arch: darwin/amd64
  • go version: go1.13.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

macos

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)

rclone -P    copy BSTEAM:test/ MSTEAM:test/

The rclone config contents with secrets removed.

[BSTEAM]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = {}
team_drive = 0ACRoy62Kt2nrUXXXX
server_side_across_configs = true

[MSTEAM]
type = drive
client_id = YYY
client_secret = YYY
scope = drive
token = {}
team_drive = 0AAli0iqU3klMUXXXX
server_side_across_configs = true

A log from the command with the -vv flag

❯❯❯ rclone -P copy BSTEAM:test/ MSTEAM:test/ -vv                                                                                                                             ✘ 1
2020/05/26 23:40:32 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "-P" "copy" "BSTEAM:test/" "MSTEAM:test/" "-vv"]
2020/05/26 23:40:32 DEBUG : Using config file from "/Users/XX/.config/rclone/rclone.conf"
2020-05-26 23:40:33 INFO  : Google drive root 'test': Waiting for checks to finish
2020-05-26 23:40:33 INFO  : Google drive root 'test': Waiting for transfers to finish
2020-05-26 23:40:34 ERROR : test.docx: Failed to copy: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
2020-05-26 23:40:34 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
2020-05-26 23:40:34 INFO  : Google drive root 'test': Waiting for checks to finish
2020-05-26 23:40:34 INFO  : Google drive root 'test': Waiting for transfers to finish
2020-05-26 23:40:35 ERROR : test.docx: Failed to copy: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
2020-05-26 23:40:35 ERROR : Attempt 2/3 failed with 1 errors and: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
2020-05-26 23:40:35 INFO  : Google drive root 'test': Waiting for checks to finish
2020-05-26 23:40:35 INFO  : Google drive root 'test': Waiting for transfers to finish
2020-05-26 23:40:36 ERROR : test.docx: Failed to copy: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
2020-05-26 23:40:36 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         1.5s
2020/05/26 23:40:36 Failed to copy: googleapi: Error 404: File not found: 1RznRHJbQZ6B8sg9835NRTLEhoUOxjoh_4XbSGnk1DnA., notFound

while copying to local and uploading works:

❯❯❯ rclone -P copy BSTEAM:test/ .                                                                                                                                            ✘ 1
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                 1 / 1, 100%
Elapsed time:         0.0s
❯❯❯ rclone -P copy . MSTEAM:test/
Transferred:   	   44.646k / 44.646 kBytes, 100%, 10.140 kBytes/s, ETA 0s
Transferred:            8 / 8, 100%
Elapsed time:         4.4s

and copying within one GSuite also works:

rclone -P copy BSTEAM:test/ BSTEAM:test2/

Did you share that doc with the other suite? Its trying to do a server side copy because you've specified server_side_across_configs.

First try was no permission. Second was shared with the other drive.

root@s163042:/data/www# rclone lsf robgs:test.docx
test.docx
root@s163042:/data/www# rclone copy robgs:test.docx robgd: --drive-server-side-across-configs -vv
2020/05/27 12:14:21 DEBUG : rclone: Version "v1.51.0-371-gc08617c7-beta" starting with parameters ["rclone" "copy" "robgs:test.docx" "robgd:" "--drive-server-side-across-configs" "-vv"]
2020/05/27 12:14:21 DEBUG : Using config file from "/root/.rclone.conf"
2020/05/27 12:14:22 DEBUG : fs cache: renaming cache item "robgs:test.docx" to be canonical "robgs:"
2020/05/27 12:14:22 DEBUG : robgd: Loaded invalid token from config file - ignoring
2020/05/27 12:14:22 DEBUG : robgd: Saved new token in config file
2020/05/27 12:14:23 DEBUG : test.docx: Need to transfer - File not found at Destination
2020/05/27 12:14:23 ERROR : test.docx: Failed to copy: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:23 ERROR : Attempt 1/3 failed with 1 errors and: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:23 DEBUG : test.docx: Need to transfer - File not found at Destination
2020/05/27 12:14:24 ERROR : test.docx: Failed to copy: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:24 ERROR : Attempt 2/3 failed with 1 errors and: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:24 DEBUG : test.docx: Need to transfer - File not found at Destination
2020/05/27 12:14:25 ERROR : test.docx: Failed to copy: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:25 ERROR : Attempt 3/3 failed with 1 errors and: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
2020/05/27 12:14:25 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         1.1s

2020/05/27 12:14:25 DEBUG : 8 go routines active
2020/05/27 12:14:25 Failed to copy: failed to read description for Google Doc: googleapi: Error 404: File not found: 19l3pQLX7dFhFOAy-uczxCc2ncWS2Jx06dK1rLI46QHU., notFound
root@s163042:/data/www# rclone copy robgs:test.docx robgd: --drive-server-side-across-configs -vv
2020/05/27 12:14:53 DEBUG : rclone: Version "v1.51.0-371-gc08617c7-beta" starting with parameters ["rclone" "copy" "robgs:test.docx" "robgd:" "--drive-server-side-across-configs" "-vv"]
2020/05/27 12:14:53 DEBUG : Using config file from "/root/.rclone.conf"
2020/05/27 12:14:53 DEBUG : fs cache: renaming cache item "robgs:test.docx" to be canonical "robgs:"
2020/05/27 12:14:54 DEBUG : test.docx: Need to transfer - File not found at Destination
2020/05/27 12:14:57 INFO  : test.docx: Copied (server side copy)
2020/05/27 12:14:57 INFO  : 
Transferred:   	       off / off, -, 0 Bytes/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         3.2s

2020/05/27 12:14:57 DEBUG : 6 go routines active

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.