What is the problem you are having with rclone?
I have a two server setup, one plex and one download server.
Plex Server is using rclone with SFTP connection + merge into the folders to see earlier what files exist before they get moved to cloud.
But somehow rclone mount didnt notice changes. i tried also to do a cronjob with this command
rclone rc vfs/refresh --rc-addr=127.0.0.1:5571
but there appears no changes only when folders changes but not files.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.1.0-1014-oem (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The rclone config contents with secrets removed.
[Unit]
Description=RClone Service Dropbox Movies
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
Environment=RCLONE_CONFIG=/root/.config/rclone/rclone.conf
RestartSec=5
ExecStart=/usr/bin/rclone mount dlserver:/media/local /media/mount/dlserver \
# This is for allowing users other than the user running rclone access to the mount
--allow-other \
# Dropbox is a polling remote so this value can be set very high and any changes are detected via polling.
--dir-cache-time 9999h \
# Log file location
--log-file /media/mount/rclonedlserver.log \
# Set the log level
--log-level INFO \
# This is setting the file permission on the mount to user and group have the same access and other can read
--umask 002 \
# This sets up the remote control daemon so you can issue rc commands locally
--rc \
# This is the default port it runs on
--rc-addr 127.0.0.1:5571 \
# no-auth is used as no one else uses my server and it is not a shared seedbox
--rc-no-auth \
# The local disk used for caching
--cache-dir=/media/mount/cache \
--vfs-cache-mode full \
# This limits the cache size to the value below
--vfs-cache-max-size 50G \
# Speed up the reading: Use fast (less accurate) fingerprints for change detection
--vfs-fast-fingerprint \
# Set chunk size
#--vfs-read-chunk-size 32M \
# Wait before uploading
--vfs-write-back 1h \
# This limits the age in the cache if the size is reached and it removes the oldest files first
--vfs-cache-max-age 3h \
# Disable HTTP2
--disable-http2 \
# Set the tpslimit
--tpslimit 12 \
# Set the tpslimit-burst
--tpslimit-burst 0
ExecStop=/usr/bin/fusermount -uz /media/mount/dlserver/
ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --url 127.0.0.1:5571 _async=true
Restart=on-failure
[Install]
WantedBy=multi-user.target
________
[dlserver]
type = sftp
host = xxx.xxx.xxx.xxx
pass = xxxxxx
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
Let me if you know something about that.