Plex & RClone not working since October 31st

What is the problem you are having with rclone?

Since Saturday (October 31st), none of my Plex media is playable. I get a generic error message complaining either about the transcoder or network.

  • Local media is playable without any issues.
  • Configuration has been working flawlessly for two years.
  • Google Drive -> Crypt -> Mount -> UnionFS mount, also tried setting Plex source directly to RClone mount path. No cake.

Am I missing an obvious change or update?

RClone mount options:

rclone mount gcrypt: $RemoteRoot/ \
    --allow-other \
    --buffer-size 1G \
    --timeout 5s \
    --stats 1m \
    --drive-chunk-size 16M \
    --dir-cache-time 5m \
    --buffer-size 32M \
    --cache-db-purge \
    --vfs-read-chunk-size 128M \
    --vfs-read-chunk-size-limit 1G \
    --vfs-cache-max-age 1h \
    --vfs-cache-max-size 100G \
    --gid 100 \
    --uid 99 \
    -v \
    --log-file=$LogsDir/RCloneMount_$(date ${LogDateFormat}).log &

What is your rclone version (output from rclone version)

v1.53.2

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

Unraid 6.8.3

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)

Paste command here

The rclone config contents with secrets removed.

Paste config here

type = drive
client_id = 804117892292-m5lm4sjlrb6abr7vri62dv5goq9t6h5l.apps.googleusercontent.com
client_secret = ####################
scope = drive
root_folder_id = 0AFteFV-YS45pUk9PVA
token = {"access_token":"####################","token_type":"Bearer","refresh_token":"#//####################","expiry":"2020-11-02T18:47:00.562496121+01:00"}

A log from the command with the -vv flag

Paste  log here

With no log file, there isn't much for us to help with. Reboot and test again?

I've done that numerous times already. Rebuilt Plex db from scratch too.
Is there anything else that would help with troubleshooting?

We'd need to see a log file to see what's going on unfortunately.

Shot in the dark here, but something similar happened to me last night. Turns out I had to re-authenticate. Ran this rclone config reconnect remote:, went through the steps, and everything is good again.

More info here: https://tip.rclone.org/commands/rclone_config_reconnect/

does rclone -vv lsd gcrypt: work? errors?

rclone -vv lsd gcrypt:
2020/11/02 19:03:13 DEBUG : rclone: Version "v1.53.2" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "-vv" "lsd" "gcrypt:"]
2020/11/02 19:03:13 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2020/11/02 19:03:13 DEBUG : Creating backend with remote "gcrypt:"
2020/11/02 19:03:13 DEBUG : Creating backend with remote "gdrive:/Data"
2020/11/02 19:03:14 DEBUG : fs cache: renaming cache item "gdrive:/Data" to be canonical "gdrive:Data"
          -1 2020-09-15 11:24:34        -1 audio
          -1 2020-08-07 12:47:59        -1 photos
          -1 2020-08-11 11:48:02        -1 prerolls
          -1 2020-09-15 11:22:58        -1 video
2020/11/02 19:03:14 DEBUG : 4 go routines active

I assume this works as intended.

User rate limit exceeded when attempting to empty the GDrive trash via RClone CLI:

2020/11/02 20:01:11 DEBUG : pacer: Rate limited, increasing sleep to 1.98188187s
2020/11/02 20:01:11 DEBUG : pacer: Reducing sleep to 0s
2020/11/02 20:01:11 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://#############, userRateLimitExceeded)

Google Drive API metrics:

Method Requests Errors
drive.about.get 3 0
drive.changes.list 73 0
drive.files.get 84 100%
drive.files.list 155 0

Replying to myself and anyone interested in the specific issue. I wrote the same question on the Plex subreddit and it seems as if more users are having the same issue.
I've created a new set of Google Drive API credentials and redid the RClone configuration. Accidentally lost my crypt password and had to purge my 55TB library, probably for the better.

As of right now, I'm moving (rclone move $LocalRoot/ gcrypt: --checkers 3 --min-age 1h --fast-list --log-file $LogsDir/RCloneMove_$(date ${LogDateFormat}).log -v --tpslimit 3 --transfers 3 --exclude-from $ScriptRoot/_excludes --delete-empty-src-dirs) and I'm not seeing any warnings or errors.

Is it me or you did not post any log for people to help you ?

I didn't have any relevant log files to share. After rebuilding everything, I'm not seeing any errors in the Google Drive API metrics dashboard.
My RClone move log shows the following:

2020/11/03 12:36:03 INFO  : 
Transferred:   	   16.162G / 59.410 GBytes, 27%, 5.641 MBytes/s, ETA 2h10m50s
Errors:                 3 (retrying may help)
Checks:                14 / 17, 82%
Deleted:                7
Renamed:                4
Transferred:            7 / 24, 29%
Elapsed time:      49m1.9s
Checking:

Transferring:
 * #############: 29% /4.370G, 2.710M/s, 19m28s
 * #############: 17% /4.369G, 2.839M/s, 21m37s
 * #############: 10% /3.275G, 1.503M/s, 33m7s

2020/11/03 12:36:03 INFO  : 
Transferred:   	  135.020G / 311.956 GBytes, 43%, 10.066 MBytes/s, ETA 4h59m59s
Errors:                18 (retrying may help)
Checks:                68 / 71, 96%
Deleted:               33
Renamed:               17
Transferred:           33 / 113, 29%
Elapsed time:    3h49m1.0s
Checking:

Transferring:
 * #############: 96% /4.371G, 3.227M/s, 42s
 * #############: 69% /4.370G, 1.597M/s, 14m1s
 * #############: 19% /4.369G, 936.641k/s, 1h5m26s

2020/11/03 12:36:03 INFO  : 
Transferred:   	   40.109G / 114.424 GBytes, 35%, 6.285 MBytes/s, ETA 3h21m48s
Errors:                12 (retrying may help)
Checks:                32 / 35, 91%
Deleted:               14
Renamed:                6
Transferred:           14 / 56, 25%
Elapsed time:    1h49m1.1s
Checking:

Transferring:
 * #############: 78% /4.370G, 1.256M/s, 12m29s
 * #############: 64% /4.371G, 1.887M/s, 14m10s
 * #############: 31% /4.370G, 2.241M/s, 22m52s

2020/11/03 12:36:36 INFO  : #############: Copied (new)
2020/11/03 12:36:36 ERROR : #############: Couldn't delete: remove #############: no such file or directory

My guess is that the errors in the RClone move log doesn't affect the API rate or the playback experience in Plex.

You'd need to share a mount log if there was an issue using the mount.

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