Remote updates not syncing

Hi Guys

Looking for some advice on my mount. I have a appbox with box.com mounted on it for my downloads etc. This is working great. However I have also got the same remote mounted locally for my Plex server. Mount script on my local mount is as follows:

[Unit]
Description=Box.com Mount
AssertPathIsDirectory=/mnt/awbox
After=check-dir.service

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount awbox:/ /mnt/awbox
--config=/root/.config/rclone/rclone.conf
--use-mmap
--allow-other
--cache-dir=/tmp/awbox
--vfs-cache-mode full
--vfs-cache-max-age 1h
--vfs-cache-max-size 15G
--vfs-read-chunk-size 64M
--vfs-read-chunk-size-limit 256M
--vfs-read-ahead 16M
--vfs-cache-poll-interval 15s
--vfs-fast-fingerprint
--dir-cache-time 720h
--poll-interval 40s
--buffer-size 256M
--transfers 16
--rc
--rc-no-auth
--rc-addr 127.0.0.1:5572
--log-file=/var/log/rclone-box.log
ExecStop=/bin/fusermount -uz /mnt/awbox
ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr 127.0.0.1:5572 _async=trueRestart=always
RestartSec=10

[Install]
WantedBy=default.target

My issue is on the remote side downloads appears in the mount straight away no issues but on my local side it requires me to restart the mount which in itself isn't too hard when I'm at home but when I'm out I can't run said command. I know I could remote into my local system and do it that way but is there any automatic way of doing it via the mount itself.

My rclone version is:
rclone v1.64.0-beta.7156.33fec9c83

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 6.3.5-2-liquorix-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21rc3
  • go/linking: static
  • go/tags: none

Any help would be fantastic :wink:

It is not polling remote so your flag --poll-interval 40s does not have any affect.

It does not require restart but it takes by default up to 5 min for its content to be refreshed:

--dir-cache-time Duration                Time to cache directory entries for (default 5m0s)

You made it a bit slower by using --dir-cache-time 720h

Thank you i didn't even think to change that --dir-cache-time option :see_no_evil:. That did the trick thanks again

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.