I've been trying to get rclone to mount my goole remote on system startup and have Plex read that mount. Been trying to do this for what feels like an age now.
I'm running everything on Linux Mint 19.2
I've started again from a clean slate as I might have messed things up over the last few days.
I've just done a clean install of rclone and gone through the config to set up a new remote to my google drive.
I've created a mount point for the remote and updated the permissions for it.
sudo mkdir /home/christof21/Media
I've gone on to install fuse by following the guide from @Animosity022 and edited /etc/fuse.conf to comment out "user_allow_other"
I can now mount the remote by doing the following "rclone mount gdrive:TV/Chris /home/christof21/Media" and can navigate to those files and run the contents of them fine.
This is where I have then become stuck. I want to have that remote mount on startup and be able to read from it via Plex Media Server.
At the moment I haven't gone any further as this is where I've messed things up in the past. I've not created any other commands or service files.
The below is what happens when I try to set the library up in PMS
When I run systemctl start rclone I get this error See "systemctl status rclone.service" and "journalctl -xe" for details.
Looking at the systemctl status rclone.service gives me this
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 16:06:11 GMT; 30s ago
Process: 6581 ExecStart=/usr/bin/rclone mount gdrive:TV/Chris /home/christof21/Media --allow-other --bind 192.168.1.30 --buffer-size 256M --dir-cache-time 72h --drive-chunk-size
Main PID: 6581 (code=exited, status=1/FAILURE)
Nov 05 16:06:11 chrisproxmox systemd[1]: rclone.service: Service hold-off time over, scheduling restart.
Nov 05 16:06:11 chrisproxmox systemd[1]: rclone.service: Scheduled restart job, restart counter is at 5.
Nov 05 16:06:11 chrisproxmox systemd[1]: Stopped RClone Service.
Nov 05 16:06:11 chrisproxmox systemd[1]: rclone.service: Start request repeated too quickly.
Nov 05 16:06:11 chrisproxmox systemd[1]: rclone.service: Failed with result 'exit-code'.
Nov 05 16:06:11 chrisproxmox systemd[1]: Failed to start RClone Service.
I'm afraid I'm a bit stuck at this point as it's exhausted my terminal/linux knowledge.
2019/11/05 16:17:35 NOTICE: Config file "/data/rclone/rclone.conf" not found - using defaults
2019/11/05 16:17:35 Failed to create file system for "gdrive:TV/Chris": didn't find section in config file```
When I do systemctl status rclone I still get this error though
Loaded: loaded (/etc/systemd/system/rclone.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-11-05 16:17:36 GMT; 15h ago
Main PID: 829 (code=exited, status=1/FAILURE)
Nov 05 16:17:36 chrisproxmox systemd[1]: Failed to start RClone Service.
Nov 05 16:17:36 chrisproxmox systemd[1]: rclone.service: Service hold-off time over, scheduling restart.
Nov 05 16:17:36 chrisproxmox systemd[1]: rclone.service: Scheduled restart job, restart counter is at 5.
Nov 05 16:17:36 chrisproxmox systemd[1]: Stopped RClone Service.
Nov 05 16:17:36 chrisproxmox systemd[1]: rclone.service: Start request repeated too quickly.
Nov 05 16:17:36 chrisproxmox systemd[1]: rclone.service: Failed with result 'exit-code'.
Nov 05 16:17:36 chrisproxmox systemd[1]: Failed to start RClone Service.
And when I repeat this step cat /home/christof21/Documents/rclone.log I still get the below
2019/11/05 16:17:36 NOTICE: Config file "/data/rclone/rclone.conf" not found - using defaults
2019/11/05 16:17:36 Failed to create file system for "gdrive:TV/Chris": didn't find section in config file