This is how I’ve setup my rclone cache:
/usr/bin/rclone mount gdcache: /mnt/media \ --allow-other \ --dir-cache-time=160h \ --cache-chunk-size=10M \ --cache-info-age=168h \ --cache-workers=5 \ --cache-tmp-upload-path /data/rclone_upload \ --cache-tmp-wait-time 60m \ --attr-timeout=1s \ --syslog \ --umask 002 \ --log-level INFO
[gdcache] type = cache remote = gdrive: plex_url = http://127.0.0.1:32400 plex_username = <username> plex_password = *** ENCRYPTED *** chunk_size = 10M info_age = 24h chunk_total_size = 100G plex_token = <token>
I have a couple of docker containers linking to that mount, which works fine for about 10 hours, but after that the docker containers can no longer see the contents of the mount. The mount is still accessible from outside of the container.
My current theory is that the mount gets dropped and put back up, but docker still refers to the old unmounted folder.
Has anyone else experienced this problem? If so, how did you go about addressing this problem?
Any help is much appreciated!