Actually I do have a question about your config. Earlier in your post, you seemed to use the vfs stuff, which I can't see in your current config. Can you tell me what makes you drop it?
+1 from me as well - very curious.
Do you ever get errors like these with your GD-find.service
?
● media_refresh.service - media_refresh (rclone)
Loaded: loaded (/etc/systemd/system/media_refresh.service; enabled; vendor preset: enabled)
Active: active (exited) since Tue 2020-05-05 00:58:44 IST; 12h ago
Main PID: 1488 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CGroup: /system.slice/media_refresh.service
May 05 00:58:44 pi4 systemd[1]: Started media_refresh (rclone).
May 05 00:58:45 pi4 rclone[1488]: {
May 05 00:58:45 pi4 rclone[1488]: "result": {
May 05 00:58:45 pi4 rclone[1488]: "": "couldn't list directory: googleapi: Error 401: Invalid Credentials, authError"
May 05 00:58:45 pi4 rclone[1488]: }
May 05 00:58:45 pi4 rclone[1488]: }
I didn't drop it per se, they were migrated to the defaults so for cleanliness, I took them out as I try not to keep something in the config the config that is not needed.
Was there a question about a particular one?
No, that's a strange one. That means your authentication is invalid.
Since my setup the mount and the GD-find use the same user and same rclone.conf, that should not happen. If it keeps happening, you may want to add some logging to it and validate it's using the right rclone.conf.
It works if I restart the systemd
after I notice slow Plex scanning...
I suspect it has to do with the timing, so I added sleep 20
to ExecStartPre
and I'm hoping that will fix it.
The location is only mentioned in the main systemd??
Do you still use vfs in your live environment?
Hmm, for consistency, I should probably put an Environment in there to be certain it picks it up right.
For me, I can see it's working on reboot.
felix@gemini:/etc/systemd/system$ systemctl status GD-find.service
● GD-find.service - GD find
Loaded: loaded (/etc/systemd/system/GD-find.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2020-05-04 21:25:32 EDT; 9h ago
Main PID: 1596 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 38325)
Memory: 0B
CGroup: /system.slice/GD-find.service
May 04 21:25:32 gemini systemd[1]: Started GD find.
May 04 21:26:36 gemini rclone[1596]: {
May 04 21:26:36 gemini rclone[1596]: "result": {
May 04 21:26:36 gemini rclone[1596]: "": "OK"
May 04 21:26:36 gemini rclone[1596]: }
May 04 21:26:36 gemini rclone[1596]: }
I'll make a change and add that to the GD-find.service for consistency.
VFS is the default/standard backend so the only way to not use it would be use to the cache backend, which I am not using.
ahh didn't realise VFS was the default now - thanks
Hi! I hope this is the right section to post. I've been all over Google and trying to read different posts but can't seem to figure it out. I followed a tutorial on how to install rclone on my synology nas. I got it installed and mounted, but when I try to Plex to add a library, my mounted Drive directory shows up, but it's grayed out and I can't select it. I've gone through trying to change permissions with no luck. Can someone help or point me in the right direction? Thank you so much!
If you could make a new post and use the Help and Support template, we can surely help you out.
This post is more related to any questions regarding my settings.
Hi mate. Thank you very much for your thread and your settings. It's been a great help for me in understanding the whole rclone and mergerfs process. I'm facing a slight problem and hope you can help me out here.
I'm using a seedbox and I've set up a mergerfs folder which mirrors my local and gdrive remote. Everything seems to be working properly. I make a folder in local and it appears in mergerfs, changes made directly to the remote gdrive outside of this server show up in mergerfs folder. The problem is that, the added file doesn't appear in Plex, with having "Run a partial scan when changes are detected" checked. Shouldn't this be enough as the mergerfs folder is now considered a "local" folder and Plex should be able to pick it up?
I use Sonarr and Radarr to notify Plex when a change happens. I know fuse is sometimes picky depending on the OS as Plex uses inotify to 'know' something changed to pick it up and that does not seem to always work in my testing so I keep that setting off and drive my updates when a change happens.
Thank you for the fast reply! Using Sonarr and Radarr to notify Plex would work for the local files, correct? How about a case where another person adds a folder to the gdrive directly, outside of this server and system? Mergerfs picks it up fine as it shows in the folder, but is there anyway of letting Plex know, short of doing a full scan as that defeats the purpose?
Why not let Plex do a full scan as it you can schedule that if you want.
You can also do Google Drive monitoring with something like GitHub - l3uddz/plex_autoscan: Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.
My use case is a single system and I don't have other folks adding files so I do not have that need.
Thank you! I shall explore the bundle that you linked.
Your local storage and FUSE rclone mount is bound together by mergerFS right?
Doesn't the lack of storage info bother you?
Yes.
I am not sure what you mean.
You're using 8TB local fs for staging. When you add the rclone mount to your merger mount, your used, free, total size numbers don't reflect actual numbers right? E.g. plain rclone mount shows used 0B, free and total size 1PB.
Also, what do you mean by "staging"?