Rclone v1.45 --rc and --cache-tmp-upload-path appear to be incompatible

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

It’s telling you that something is already running on that port and you’d need to pick a different one.

I’m guessing you have more than 1 rclone process or didn’t kill it.

No, that’s just it, I don’t have another rclone process running.

After I get this error, I can start rclone with either --rc or --cache-tmp-upload-path, but not both.

I tried this multiple times, even moving to different machines. There are no other rclone processes running

If you’ll notice, I ran:
rclone with --rc and --cache-tmp-upload-path at 14:35
rclone with --rc at 14:36
rclone with --cache-tmp-upload-path at 14:41

neither of the runs at 14:36 or 14:41 complained about something already bound to the address.

It fails to start because the rc address is in use. The error is right there:

felix@gemini:/data/rclone$ rclone version
rclone v1.45
- os/arch: linux/amd64
- go version: go1.11.2
felix@gemini:/data/rclone$ rclone mount gcache: /Test -vv --rc --cache-tmp-upload-path /tmp
2019/01/25 18:30:33 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "gcache:" "/Test" "-vv" "--rc" "--cache-tmp-upload-path" "/tmp"]
2019/01/25 18:30:33 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use
felix@gemini:/data/rclone$ rclone mount gcache: /Test -vv --rc --cache-tmp-upload-path /tmp --rc-addr=127.0.0.1:5573
2019/01/25 18:31:00 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "gcache:" "/Test" "-vv" "--rc" "--cache-tmp-upload-path" "/tmp" "--rc-addr=127.0.0.1:5573"]
2019/01/25 18:31:00 NOTICE: Serving remote control on http://127.0.0.1:5573/
2019/01/25 18:31:00 DEBUG : Using config file from "/data/rclone/rclone.conf"

Example of both options not working and working with a port change.

It seems like a bug to me because it starts the webserver and then looks like it tries to start it a second time

2019/01/25 18:14:34 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "mount" "--daemon" "box_hnd_cache:" "/tmp/mnt" "--cache-tmp-upload-path" "/tmp/mnt_upload" "--rc" "--log-file=/tmp/log"]
2019/01/25 18:14:34 NOTICE: Serving remote control on http://127.0.0.1:5572/
2019/01/25 18:14:34 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
[...]
2019/01/25 18:14:35 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use

Even if I add the rc-addr 127.0.0.1:5573, it fails on the new port.

2019/01/25 18:16:13 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "mount" "--daemon" "box_hnd_cache:" "/tmp/mnt" "--cache-tmp-upload-path" "/tmp/mnt_upload" "--rc" "--rc-addr" "127.0.0.1:5573" "--log-file=/tmp/log"]
2019/01/25 18:16:13 NOTICE: Serving remote control on http://127.0.0.1:5573/
2019/01/25 18:16:13 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
[...]
2019/01/25 18:16:13 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5573: bind: address already in use

I tried it again, this time without --daemon. It looks like it is a combination of --daemon, --rc and --cache-tmp-upload-path. This is the same as the first example, without --daemon.

2019/01/25 18:21:45 DEBUG : rclone: Version "v1.45" starting with parameters ["/home/USERNAME/bin/rclone-v1.45" "-vv" "mount" "box_hnd_cache:" "/tmp/mnt" "--cache-tmp-upload-path" "/tmp/mnt_upload" "--rc" "--log-file=/tmp/log"]
2019/01/25 18:21:45 NOTICE: Serving remote control on http://127.0.0.1:5572/
2019/01/25 18:21:45 DEBUG : Using config file from "/home/USERNAME/.config/rclone/rclone.conf"
[...]
2019/01/25 18:21:46 DEBUG : Adding path "cache/stats" to remote control registry
2019/01/25 18:21:46 DEBUG : Adding path "cache/fetch" to remote control registry
2019/01/25 18:21:46 DEBUG : Cache remote box_hnd_cache:: Mounting on "/tmp/mnt"
2019/01/25 18:21:46 INFO  : Cache remote box_hnd_cache:: poll-interval is not supported by this remote
2019/01/25 18:21:46 DEBUG : Adding path "vfs/forget" to remote control registry
2019/01/25 18:21:46 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/01/25 18:21:46 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/01/25 18:21:46 DEBUG : : Root: 
2019/01/25 18:21:46 DEBUG : : >Root: node=/, err=<nil>

It doesn’t start twice as it has to start to try to bind to the port and if the port is in use, it fails.

If you are running with --daemon, are you leaving some orphaned processes?

ps -ef | grep rclone

and you can see if something is running and hanging out.

No, there is no other process – I have checked. I can run with daemon and get the error. There will be no rclone processes running. I can immediately start rclone without --daemon and it will run. I can kill that and then try again with --daemon, --rc, --cache-tmp-upload-path and it will fail again. I can repeat this indefinitely.

I think you should be able to duplicate it yourself.

What is your operating system?

Found your issue as it’s documented here as a bug:

OK. Thanks. No need to open a new bug report then.