What is the problem you are having with rclone?
Hi, I am configuring GoogleDrive via rclone for use on my OMV plex server, for the purposes of hosting my media for streaming. OMV is setup as is Plex and they are currently using a partition on the local drive as mass storage. I have not yet installed radarr / sonarr etc.
I have successfully setup GoogleDrive with the correct Client ID etc. and rclone an successfully list all files in the specified folder.
I am trying to setup rclone to automount on system start-up but I am running into issues and I have taken many steps including searching this forum. I am not sure if maybe the two partitions on the local disk are throwing things off.
I have been following this guide Unlimited space for your Plex using Rclone to connect to your Cloud (Google Drive) – Part 1 - YouTube
What have you tried to solve this issue?
I used GParted to create a separate drive for my cache/boot
I tried also manually\\
Rclone mount GoogleDrive: /srv/dev-disk-by-uuid-75515cfa-c4d1-4b0b-913e-d1134b531988/Media/rclone/cloud
\\ but this doesnt do anything (Puts me onto a blank line) and I have to CTRL+C to exit
I have tried systemctl daemon-reload
I have also tried using mkdir to create the directories for the log file and the rclone/cache folder
RClone is running latest version
Fuse is installed
Updated and Upgraded
What is your rclone version (output from rclone version
)
v1.57
Which cloud storage system are you using? (eg Google Drive)
Google Drive Unlimited (Workspace)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Successful:
\\\
sudo cp rclone.service /etc/systemd/system
\\\
Successful:
\\\
sudo systemctl enable rclone.service
\\\
Error:
\\\
sudo systemctl start rclone.service
\\\
The rclone service file.
\\\
[Unit]
Description=RClone Mount Service
After=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount
--config=/root/.config/rclone/rclone.conf \
--log-level=INFO \
--log-file=/srv/dev-disk-by-uuid-75515cfa-c4d1-4b0b-913e-d1134b531988/Config/rclone/logs/rclone-mount.log \
--user-agent=root\
--umask=022 \
--gid=0 \
--uid=0 \
--allow-other \
--timeout=1h \
--poll-interval=15s \
--dir-cache-time=1000h \
--cache-dir=/srv/dev-disk-by-uuid-75515cfa-c4d1-4b0b-913e-d1134b531988/Media/rclone/cache \
--vfs-cache-mode=full \
--vfs-cache-max-size=350G \
--vfs-cache-max-age=24h \
GoogleDrive: /srv/dev-disk-by-uuid-75515cfa-c4d1-4b0b-913e-d1134b531988/Media/rclone/cloud
ExecStop=/bin/fusermount -uz /srv/dev-disk-by-uuid-75515cfa-c4d1-4b0b-913e-d1134b531988/Media/rclone/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
\\\
The error when trying to start this service;
\\\
rclone.service - RClone Mount Service
Loaded: loaded (/etc/systemd/system/rclone.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-01-01 23:52:38 GMT; 11s ago
Process: 20803 ExecStart=/usr/bin/rclone mount (code=exited, status=1/FAILURE)
Main PID: 20803 (code=exited, status=1/FAILURE)
Jan 01 23:52:38 Server rclone[20803]: --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
Jan 01 23:52:38 Server rclone[20803]: --volname string Set the volume name (supported on Windows and OSX only)
Jan 01 23:52:38 Server rclone[20803]: --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on W
Jan 01 23:52:38 Server rclone[20803]: Use "rclone [command] --help" for more information about a command.
Jan 01 23:52:38 Server rclone[20803]: Use "rclone help flags" for to see the global flags.
Jan 01 23:52:38 Server rclone[20803]: Use "rclone help backends" for a list of supported services.
Jan 01 23:52:38 Server rclone[20803]: Command mount needs 2 arguments minimum: you provided 0 non flag arguments: []
Jan 01 23:52:38 Server systemd[1]: rclone.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 23:52:38 Server systemd[1]: rclone.service: Failed with result 'exit-code'.
Jan 01 23:52:38 Server systemd[1]: Failed to start RClone Mount Service.
\\\
I was hoping you would be kind enough to have a look and see if you notice anything that is incorrect.
I would be very grateful
Best Wishes,