What is the problem you are having with rclone?
I'll do my best to keep this concise. I have two servers. Server 1 is what I use for downloading and file management on the remote and Server 2 is mostly used just for reading files from the remote.
The remote is mounted on both Server 1 and Server 2 to /media/sketchy-crypt/
If I make changes on Server 1, like adding files to a directory for example, the changes do not show up on the mount on Server 2, even after rebooting both servers and even after several days.
To temporarily band-aid the problem, I've been manually copying the files from server 1 to server 2 over SMB and then copying the files from Server 2 to the remote.
Run the command 'rclone version' and share the full output of the command.
Server 1:
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-216-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none
Server 2:
rclone v1.67.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-140-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- 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
)
Server 1:
[Unit]
Description=rclone-sketchy-crypt
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/root/.config/rclone
Environment=MOUNTTO=/media/sketchy-crypt/
Environment=LOGS=/root/rclone-logs/
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStart=/usr/bin/rclone mount \
# --rc \
# --log-file ${LOGS}/sketchy-crypt.log \
# --log-level INFO \
--vfs-disk-space-total-size 10T \
--umask 000 \
--allow-non-empty \
--allow-other \
--allow-root \
--default-permissions \
--fast-list \
# --fuse-flag sync_read \
--tpslimit 20 \
--tpslimit-burst 10 \
#note: global gdrive tps limit per user incl burst is 200
--transfers 5 \
--bwlimit 50M \
--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 \
sketchy-crypt: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target
Server 2:
[Unit]
Description=rclone-sketchy-crypt
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/root/.config/rclone
Environment=MOUNTTO=/media/sketchy-crypt/
Environment=LOGS=/root/rclone-logs/
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStart=/usr/bin/rclone mount \
# --rc \
# --log-file ${LOGS}/sketchy-crypt.log \
# --log-level INFO \
--vfs-disk-space-total-size 10T \
--umask 000 \
--allow-non-empty \
--allow-other \
--default-permissions \
--fast-list \
# --fuse-flag sync_read \
--tpslimit 25 \
--tpslimit-burst 10 \
# note: global gdrive tps limit incl burst is 200
--transfers 5 \
--bwlimit 300M \
--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 \
sketchy-crypt: ${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.
Server 1:
[bddrive]
type = drive
scope = drive
token = XXX
team_drive =
[sketchy]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id =
[sketchy-crypt]
type = crypt
remote = sketchy:
password = XXX
password2 = XXX
Server 2:
[sketchy]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = XXX
root_folder_id =
[sketchy-crypt]
type = crypt
remote = sketchy:
password = XXX
password2 = XXX