Hi, I've been having a problem for some days now. I had rclone setup and running, was able to add folders to Plex. I rebooted server for another problem and haven't been able to keep Google Drive mounted now. It appears to fail silently. I was issuing mount with VFS options before, now is just a bare mount with no flags other than allow-other and allow-non-empty
Currently I am just issuing 'rclone mount --allow-other --allow-non-empty gdrive: ~/mnt/gdrive and I cannot for the life of me find what is stopping it nor can my provider though they thought it was FS corruption with Google Drive.
I will omit non-empty in the future, thanks for that.
I also see quite a lot of starting and finishing in the log which looks like rclone is kicked off multiple times somewhere - can you check for that @nukey ?
Actually I think @Animosity022 was right all a long, if you didn't have --allow-non-empty you'd have a sensible error message in the log.
As to lots of starting and stopping, that's likely when I would restart after it would stop. What happens is that I issue the mount command, am returned to terminal prompt with a PID. I can enter the mount, I can ls. I then will go into Plex to see if I can add a folder, the mount is missing.
I may have fixed this. I removed --allow-non-empty and --contimeout=15s from the service file. I never requested the contimeout flag, so unless that's a default when you mount I have no clue how that ended up there. I'm still unclear what, exactly, was stopping the service however.
--contimeout should have made ERRORs in the log which I didn't see, but you don't need to change the default so removing it is the right choice.
What does your service file look like? Here is the one I use to serve beta.rclone.org (don't copy the options for this - it is a very specialized mount!).
That service file is after i removed --allow-non-empty and --contimeout=15s
It's working now and I'm not sure why. Thing is, when it was failing I didn't issue anything but the mount request I posted earlier. Which worked. And the service file was identical to what it is now only it still had the flags I removed.