Mount a GD Shared folder using rclone+API error

What is the problem you are having with rclone?

  • Is it possible to use a google media folder which is shared among some people as a source for a library?

1- mount a edu/GD shared folder 2-add the mount point to Plex and library and 3-Scan the Plex library;
Getting the following error:
Read: read=0, err=open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded

  • I created a folder shortcut for the shared folder and use that shortcut folder to create a rclone drive.
  • I am not able to download the file from the google drive using chrome, and get the same error that the "number of download quota for this file has been exceeded"
    -Attach is also the Google API console:

What is your rclone version (output from rclone version)

rclone v1.52.0

  • os/arch: linux/amd64
  • go version: go1.14.3

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

Centos7

Which cloud storage system are you using? (eg Google Drive)

GoogleDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

/usr/bin/rclone mount ${RCLONE_REMOTE_MOUNT} ${RCLONE_LOCAL_MOUNT} \
--allow-other \
--read-only \
--config=${RCLONE_CONFIG} \
--drive-chunk-size 128M \
--dir-cache-time 1000h \
--log-level INFO \
--log-file /opt/rclone/log/rclone2.log \
--poll-interval 15s \
--acd-templink-threshold 0 \
--stats 30s \
--timeout 30s \
--contimeout 30s \
--tpslimit 8 \
--tpslimit-burst 10 \
--fast-list \
--bwlimit=5M \
--user-agent FlareStream \
--umask 022 \
--uid 1000 \
--gid 1000 \
--vfs-read-chunk-size 32M

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = 64
client_secret = 
scope = drive
token = 
root_folder_id = 

[gcrypt]
type = crypt
remote = gdrive:/media
filename_encryption = standard
directory_name_encryption = true
password = 

[gdrive2]
type = drive
client_id = 6414
client_secret = 
scope = drive
root_folder_id = 
token = 

A log from the command with the -vv flag

2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/: Lookup: name="Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4"
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/: >Lookup: node=gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4, err=<nil>
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: Attr:
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: >Attr: a=valid=1s ino=0 size=1598011333 mode=-rw-r--r--, err=<nil>
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: Open: flags=OpenReadOnly
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: Open: flags=O_RDONLY
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: >Open: fd=gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r), err=<nil>
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: >Open: fh=&{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}, err=<nil>
2020/06/23 15:04:34 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Read: len=131072, offset=0
2020/06/23 15:04:34 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: ChunkedReader.openRange at 0 length 33554432
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Read: read=0, err=open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Read: len=4096, offset=0
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: ChunkedReader.openRange at 0 length 33554432
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Read: read=0, err=open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Flush:
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Flush: err=<nil>
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Release:
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Release: err=<nil>
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: Open: flags=OpenReadOnly
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: Open: flags=O_RDONLY
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: >Open: fd=gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r), err=<nil>
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: >Open: fh=&{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}, err=<nil>
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Read: len=131072, offset=0
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: ChunkedReader.openRange at 0 length 33554432
2020/06/23 15:04:35 INFO  :
Transferred:      186.269M / 186.269 MBytes, 100%, 2.401 MBytes/s, ETA 0s
Transferred:            7 / 7, 100%
Elapsed time:      1m17.5s

2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Read: read=0, err=open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Read: len=4096, offset=0
2020/06/23 15:04:35 DEBUG : gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4: ChunkedReader.openRange at 0 length 33554432
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Read: read=0, err=open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Flush:
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Flush: err=<nil>
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: Release:
2020/06/23 15:04:35 DEBUG : &{gc_movies/MN_rs/Ride.Along.2. 2016.1080p.BRRip.x264.AAC-ETRG.mp4 (r)}: >Release: err=<nil>
2020/06/23 15:04:35 DEBUG : /: Lookup: name="gc_movies"
2020/06/23 15:04:35 DEBUG : /: >Lookup: node=gc_movies/, err=<nil>

Shared items tend to you have more limits than non shared stuff but all those are non published items from Google.

The error you got means the file was downloaded too many times and you'd just wait for the quota to reset on it.

  • Is this quota used just by me or all the users that this folder is shared with them?

Thanks

It's not published so I wouldn't be able to even fathom a guess.

1 Like

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