What is the problem you are having with rclone?
Probably not an rclone issue but seems related. When I add a new rclone mount to a path that a docker container has access to (example: Docker container has access to /directory/ and I add a new rclone mount at /directory/mount) the docker container cannot see the contents of the mount until the container is restarted.
(btw I'm very open to having my flags critiqued, this is the first time im using rclone in years so probably did some stuff not very smart)
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.1
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-212-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone.service file
[Unit]
Description=rclone-sketchy-crypt
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/root/.config/rclone
Environment=MOUNTTO=/directory/rclone
Environment=LOGS=/root/rclone-logs/
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStart=/usr/bin/rclone mount \
--vfs-disk-space-total-size 10T \
--umask 000 \
--allow-non-empty \
--allow-other \
--allow-root \
--default-permissions \
--tpslimit 10 \
--tpslimit-burst 30 \
--transfers 10 \
--bwlimit 60M \
--dir-cache-time=2m \
--buffer-size=64M \
--attr-timeout=1s \
--vfs-read-chunk-size=4M \
--vfs-read-chunk-size-limit=2G \
--vfs-cache-max-age=5m \
--vfs-cache-max-size=5G \
--vfs-cache-mode=writes \
--cache-dir /tmp/rclone/vfs \
--config ${RCLONEHOME}/rclone.conf \
drive: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[rclone]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id =
[rclone-crypt]
type = crypt
remote = rclone:
password = XXX
password2 = XXX