If I try to run rlcone mount with both --rc and --cache-tmp-upload-path, rclone dies with the error
2019/01/25 14:35:59 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use
2019/01/25 14:36:00 DEBUG : Cache remote box_hnd_cache:: Services stopped
even though it previously said
2019/01/25 14:35:59 NOTICE: Serving remote control on http://127.0.0.1:5572/
My rclone.conf is
[box_hnd]
type = box
token = <removed>
[box_hnd_cache]
type = cache
remote = box_hnd:junk
chunk_size = 50M
chunk_total_size = 50G
db_path = /auto/work/USERNAME/.cache/rclone/box_cache-backend
chunk_path = /auto/work/USERNAME/.cache/rclone/box_cache-backend
workers = 8
writes = true
box_hnd_cache.log.rc – use --rc
2019/01/25 14:36:43 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc"]
2019/01/25 14:36:43 NOTICE: Serving remote control on http://127.0.0.1:5572/
2019/01/25 14:36:43 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2019/01/25 14:36:44 DEBUG : box_hnd_cache: wrapped box_hnd:junk at root
2019/01/25 14:36:44 INFO : box_hnd_cache: Cache DB path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache.db
2019/01/25 14:36:44 INFO : box_hnd_cache: Cache chunk path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache
2019/01/25 14:36:44 INFO : box_hnd_cache: Chunk Memory: true
2019/01/25 14:36:44 INFO : box_hnd_cache: Chunk Size: 50M
2019/01/25 14:36:44 INFO : box_hnd_cache: Chunk Total Size: 50G
2019/01/25 14:36:44 INFO : box_hnd_cache: Chunk Clean Interval: 1m0s
2019/01/25 14:36:44 INFO : box_hnd_cache: Workers: 8
2019/01/25 14:36:44 INFO : box_hnd_cache: File Age: 6h0m0s
2019/01/25 14:36:44 INFO : box_hnd_cache: Cache Writes: enabled
2019/01/25 14:36:44 DEBUG : Adding path "cache/expire" to remote control registry
2019/01/25 14:36:44 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 14:36:44 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 14:36:44 DEBUG : rclone: Version "v1.45" finishing with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc"]
2019/01/25 14:36:44 DEBUG : Cache remote box_hnd_cache:: Services stopped
2019/01/25 14:36:44 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc"]
2019/01/25 14:36:44 NOTICE: Serving remote control on http://127.0.0.1:5572/
2019/01/25 14:36:44 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2019/01/25 14:36:45 DEBUG : box_hnd_cache: wrapped box_hnd:junk at root
2019/01/25 14:36:45 INFO : box_hnd_cache: Cache DB path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache.db
2019/01/25 14:36:45 INFO : box_hnd_cache: Cache chunk path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache
2019/01/25 14:36:45 INFO : box_hnd_cache: Chunk Memory: true
2019/01/25 14:36:45 INFO : box_hnd_cache: Chunk Size: 50M
2019/01/25 14:36:45 INFO : box_hnd_cache: Chunk Total Size: 50G
2019/01/25 14:36:45 INFO : box_hnd_cache: Chunk Clean Interval: 1m0s
2019/01/25 14:36:45 INFO : box_hnd_cache: Workers: 8
2019/01/25 14:36:45 INFO : box_hnd_cache: File Age: 6h0m0s
2019/01/25 14:36:45 INFO : box_hnd_cache: Cache Writes: enabled
2019/01/25 14:36:45 DEBUG : Adding path "cache/expire" to remote control registry
2019/01/25 14:36:45 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 14:36:45 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 14:36:45 DEBUG : Cache remote box_hnd_cache:: Mounting on "/auto/work/USERNAME/rclone/mount/box_hnd_cache"
2019/01/25 14:36:45 INFO : Cache remote box_hnd_cache:: poll-interval is not supported by this remote
2019/01/25 14:36:45 DEBUG : Adding path "vfs/forget" to remote control registry
2019/01/25 14:36:45 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/01/25 14:36:45 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/01/25 14:36:45 DEBUG : : Root:
2019/01/25 14:36:45 DEBUG : : >Root: node=/, err=<nil>
box_hnd_cache.log.upload – use --cache-tmp-upload-path
2019/01/25 14:41:51 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:41:51 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2019/01/25 14:41:52 DEBUG : box_hnd_cache: wrapped box_hnd:junk at root
2019/01/25 14:41:52 INFO : box_hnd_cache: Cache DB path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache.db
2019/01/25 14:41:52 INFO : box_hnd_cache: Cache chunk path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache
2019/01/25 14:41:52 INFO : box_hnd_cache: Chunk Memory: true
2019/01/25 14:41:52 INFO : box_hnd_cache: Chunk Size: 50M
2019/01/25 14:41:52 INFO : box_hnd_cache: Chunk Total Size: 50G
2019/01/25 14:41:52 INFO : box_hnd_cache: Chunk Clean Interval: 1m0s
2019/01/25 14:41:52 INFO : box_hnd_cache: Workers: 8
2019/01/25 14:41:52 INFO : box_hnd_cache: File Age: 6h0m0s
2019/01/25 14:41:52 INFO : box_hnd_cache: Cache Writes: enabled
2019/01/25 14:41:52 INFO : box_hnd_cache: Upload Temp Rest Time: 15s
2019/01/25 14:41:52 INFO : box_hnd_cache: Upload Temp FS: /auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload
2019/01/25 14:41:52 DEBUG : Adding path "cache/expire" to remote control registry
2019/01/25 14:41:52 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 14:41:52 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 14:41:52 DEBUG : rclone: Version "v1.45" finishing with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:41:52 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:41:52 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2019/01/25 14:41:53 DEBUG : Cache remote box_hnd_cache:: Services stopped
2019/01/25 14:41:53 DEBUG : box_hnd_cache: wrapped box_hnd:junk at root
2019/01/25 14:41:53 INFO : box_hnd_cache: Cache DB path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache.db
2019/01/25 14:41:53 INFO : box_hnd_cache: Cache chunk path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache
2019/01/25 14:41:53 INFO : box_hnd_cache: Chunk Memory: true
2019/01/25 14:41:53 INFO : box_hnd_cache: Chunk Size: 50M
2019/01/25 14:41:53 INFO : box_hnd_cache: Chunk Total Size: 50G
2019/01/25 14:41:53 INFO : box_hnd_cache: Chunk Clean Interval: 1m0s
2019/01/25 14:41:53 INFO : box_hnd_cache: Workers: 8
2019/01/25 14:41:53 INFO : box_hnd_cache: File Age: 6h0m0s
2019/01/25 14:41:53 INFO : box_hnd_cache: Cache Writes: enabled
2019/01/25 14:41:53 INFO : box_hnd_cache: Upload Temp Rest Time: 15s
2019/01/25 14:41:53 INFO : box_hnd_cache: Upload Temp FS: /auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload
2019/01/25 14:41:53 DEBUG : Adding path "cache/expire" to remote control registry
2019/01/25 14:41:53 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 14:41:53 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 14:41:53 DEBUG : Cache remote box_hnd_cache:: Mounting on "/auto/work/USERNAME/rclone/mount/box_hnd_cache"
2019/01/25 14:41:53 INFO : Cache remote box_hnd_cache:: poll-interval is not supported by this remote
2019/01/25 14:41:53 DEBUG : Adding path "vfs/forget" to remote control registry
2019/01/25 14:41:53 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/01/25 14:41:53 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/01/25 14:41:53 DEBUG : : Root:
2019/01/25 14:41:53 DEBUG : : >Root: node=/, err=<nil>
2019/01/25 14:42:16 DEBUG : rclone: Version "v1.45" finishing with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:42:16 DEBUG : Cache remote box_hnd_cache:: Services stopped
box_hnd_cache.log.rc+upload – use both --rc and --cache-tmp-upload-path
2019/01/25 14:35:59 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:35:59 NOTICE: Serving remote control on http://127.0.0.1:5572/
2019/01/25 14:35:59 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
2019/01/25 14:35:59 DEBUG : box_hnd_cache: wrapped box_hnd:junk at root
2019/01/25 14:35:59 INFO : box_hnd_cache: Cache DB path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache.db
2019/01/25 14:35:59 INFO : box_hnd_cache: Cache chunk path: /auto/work/USERNAME/rclone/box_hnd_cache/dir_cache/box_hnd_cache
2019/01/25 14:35:59 INFO : box_hnd_cache: Chunk Memory: true
2019/01/25 14:35:59 INFO : box_hnd_cache: Chunk Size: 50M
2019/01/25 14:35:59 INFO : box_hnd_cache: Chunk Total Size: 50G
2019/01/25 14:35:59 INFO : box_hnd_cache: Chunk Clean Interval: 1m0s
2019/01/25 14:35:59 INFO : box_hnd_cache: Workers: 8
2019/01/25 14:35:59 INFO : box_hnd_cache: File Age: 6h0m0s
2019/01/25 14:35:59 INFO : box_hnd_cache: Cache Writes: enabled
2019/01/25 14:35:59 INFO : box_hnd_cache: Upload Temp Rest Time: 15s
2019/01/25 14:35:59 INFO : box_hnd_cache: Upload Temp FS: /auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload
2019/01/25 14:35:59 DEBUG : Adding path "cache/expire" to remote control registry
2019/01/25 14:35:59 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 14:35:59 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 14:35:59 DEBUG : rclone: Version "v1.45" finishing with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:35:59 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "--config" "/home/USERNAME/.config/rclone/rclone.conf" "mount" "box_hnd_cache:" "/auto/work/USERNAME/rclone/mount/box_hnd_cache" "--daemon" "--allow-other" "--cache-chunk-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--cache-db-path" "/auto/work/USERNAME/rclone/box_hnd_cache/dir_cache" "--log-file" "/auto/work/USERNAME/rclone/box_hnd_cache/box_hnd_cache.log" "--rc" "--cache-tmp-upload-path" "/auto/work/USERNAME/rclone/box_hnd_cache/tmp_upload"]
2019/01/25 14:35:59 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use
2019/01/25 14:36:00 DEBUG : Cache remote box_hnd_cache:: Services stopped