problem i am having is that plex will not play any of my old media and it will only play recently added media just fine. i keep getting the "Error 403: The download quota for this file has been exceeded". @animosity022 Do you know how to prevent this from happening in plex scan settings?
What is your rclone version (output from rclone version)
version: 1.53.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Unraid
Which cloud storage system are you using? (eg Google Drive)
GDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
#PlexAutoUpload script #Moves files from /mnt/user/PlexAutoUpload to the (new) Gdrive location
#Lock the file so only one of these scripts can run at once. #lockfile -r 0 /tmp/uploadscript.lock || exit 1
##loop until we detect files in the upload folder, then perform rclone upload command and exit
while true
do
if [ -z "$(ls -A /mnt/user/PlexAutoUpload)" ]; then
echo "Empty - no files to upload. Checking again later." && sleep 900
else
echo "Files found. Starting upload." && rclone move /mnt/user/PlexAutoUpload PlexUnionUpload: --min-age 30m --order-by size,mixed,50 --delete-empty-src-dirs -v --bwlimit 2M
fi
done
#sleep 900 => retry every 15 minutes if the folder was empty #feel free to adjust this as needed
--bwlimit 2M means a limit of 2MB/sec (or 2.5 * 8 = 16Mbit/sec)
I've been helping Shed a bit with his setup (unrelated to this issue). There should be no basic configuration issues here I think because I've looked over it myself and helped with some of the setup.
Let me narrow down the problem here to it's essence:
He is seeing a lot of "Error 403: The download quota for this file has been exceeded" errors - or rather I identified this was the issue on the files that were having issues after the fact. This should mean that something is repeatedly accessing the same file a lot in a relatively short amount of time to trigger the "anti-mass-distribution" lockout that google drives has. The drive/files are not shared - so it's being triggered by something on his server via rclone. Let me be precise and say that spesific files see this issue, although somewhat randomly, and a lot of them. It's not an account/user related thing.
Usually when I see this problem it means Plex is acting up with it's scanning (and Shed is indeed using Plex). Unfortunately I'm not really an expert on Plex (I don't use it myself), so I wanted to check if any forum regulars with more Plex experience can give us some more spesific information about what Plex settings are known to work well via rclone (to gdrive). Without that I can only kind of guess...
Also - hello, and sorry for staying out of touch for so long Hoping to get back into things eventually.
Plex like rclone doesn't really "act up" and there are very few settings to change in Plex as the majority of the defaults are fine. A scan in Plex of added media just takes a minute or two in most situation as it's just reading the file size / modtime and validating what it has in the database for that file so usually super fast.
I had already shared some gotcha Plex settings with him via a PM so he already has all the information I would think as turning certain things on in Plex would trigger a full file read but that's a one time thing as well and not constant.