@Animosity022 not sure if you're monitoring this thread anymore but I'm in need of help before I kick the cat lol
I've got a pretty basic setup in terms of my server that I want plex to run on. It's basically going to act purely as the server to stream from my Google Drive. All the uploading is done elsewhere via a seedbox.
I'm running Linux Mint 19.2 at the moment.
I've worked through A LOT of guides to try and get this to work but not having much luck. So where I'm up to at the moment is.
rclone is installed and I can manually mount the remote by typing this rclone mount gdrive:TV/Chris /home/christof21/Media/ which result in the remote being mounted and being able to navigate it and play the content direct.
I've got PMS installed and this isn't able to add the media from the mount to the library for some reason. The mount is greyed out in the file selection list.
So couple of things.
how do I get the remote to mount on system start rather than manually having to do it?
how do I get PMS to actually be able to add the mount to a library?
rclone.service - RClone Service
Loaded: loaded (/etc/systemd/system/rclone.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-11-05 12:12:37 GMT; 9s ago
Process: 7961 ExecStart=/usr/bin/rclone mount --config=/root/.config/rclone/rclone.conf --allow-other --attr-timeout 1000h --buffer-size 128M --dir-c
Main PID: 7961 (code=exited, status=1/FAILURE)
Nov 05 12:12:37 chrisproxmox systemd[1]: rclone.service: Service hold-off time over, scheduling restart.
Nov 05 12:12:37 chrisproxmox systemd[1]: rclone.service: Scheduled restart job, restart counter is at 5.
Nov 05 12:12:37 chrisproxmox systemd[1]: Stopped RClone Service.
Nov 05 12:12:37 chrisproxmox systemd[1]: rclone.service: Start request repeated too quickly.
Nov 05 12:12:37 chrisproxmox systemd[1]: rclone.service: Failed with result 'exit-code'.
Nov 05 12:12:37 chrisproxmox systemd[1]: Failed to start RClone Service.
@theglove I'm not sure as I don't know if you using my setup or not. If you have a question related to my settings, post here.
If the question is not directly related but something isn't working, you can start a new thread and use the question template and I'll be happy to help as that gets all the relevant information.
On your config, I noticed you dropped the -vfs-read-chunk-size and -vfs-read-chunk-size-limit settings from your more recent mount config. What's the rationale behind that? Or were they never in there?
The reason a lot of things dropped is we made a lot of those things defaults in rclone so there is no need.
That flag is just the range request it sends to Google Drive for a range of data so the defaults are just fine for that as it limits the number of API hits to stream and gets more data per call as my use case is streaming via Plex so the pattern is almost always watching a TV show or movie in a linear fashion.
How are you handling Radarr when it comes to upgrading existing movies? Do you keep things full read-write and let Radarr delete directly off the rclone mount (via the mergerfs mount though). If you configure a recycle bin, how does that work? If Radarr deletes and recycles a file from the rclone mount, then it's "delete" would be copying down a potentially huge movie file to a local path.
Just curious how you're approaching that scenario.
Right, I'm using a similar setup. I'll describe the relevant details (made up paths for brevity's sake) and where I'm running into a snag. Well, not so much as snag as that I'm nervous that Radarr will attempt a mass-rename of my movie library or accidentally trash something.
rclone move /radarr/movies gcrypt:/media/movies (I run this every 5 minutes because I have a small staging drive, as opposed to once nightly)
rclone mounts as umask 022 so that radarr, sonarr, etc, can't delete off the mount
Radarr's root path for my movie library is mapped to /merged/movies. When I download a movie that I don't already have, Radarr is able to import the new movie to /merged/movies because it's writing to /radarr/movies. When I download a better version of a movie I already have, Radarr can't import it because while it can write to /merged/movies (RW on /radarr/movies), it doesn't have write access to /rclone/movies to delete the previous version. Radarr will throw up an error about a failed import. To get it to import, I just have to delete (as my rclone user) the old movie directory, at which point Radarr will import the new movie at the next completed download scan.
I can live with this setup for the safety aspect of nothing being able to delete from rclone, deletes only happen when I run a command. But I also want to know how others are doing this to see if there's perhaps a better way.
True, that's a fair point. Is there a topic or discussion you're familiar with that talks about how to move accidentally-deleted-files out of trash and back into the directory structure? Obviously with the web interface showing just the encrypted names, it could be a bit challenging.
@Animosity022 Thank you for your guide! I'm trying to replicate the same outcome on my Synology NAS, but I can't for the life of me figure out how to install mergerfs on a Synology. Any ideas or any other solution?
Love to help but I unfortunately have never used a Synology NAS so would not be sure offhand. You can always try to maybe post on their forums and ask.
I F****** LOVE YOU @benba ! You have no idea! I've been searching for a while for a solution or something similar to mergerfs and couldn't find anything and going crazy. Such a lifesaver! If you have Venmo or something I can throw a few bucks your way.
If you have a question regarding my settings, please use my thread.
If you have a question on a different guide and are having issues, please do not use this thread and create something else rather than hijacking this one.
Ok this is helpful but way too geeky. Where can I get the exact steps to set this up so I can watch mkv files that are in my google drive via the Plex app on my Samsung TV?