Rclone creating .cache directory in root of filesystem

Hi,

My rclone mount keeps creating a .cache directory in the root of my FreeNAS filesystem, where I definitely don’t want it. It creates the following structure: /.cache/rclone/cache-backend/jc-cache

The mount is a union remote which consists of two remotes that are cached & crypted (in that order).
Both those remotes have the db_path set to a different path on my harddrives but rclone seems to ignore that or maybe that flag is for something else?

My mount command is: rclone mount “union:” “/mnt/HDD/Storage/Files” --allow-non-empty --allow-other --cache-db-path /mnt/SSD/rclone/db/union_host --cache-dir /mnt/SDD/rclone/db/union_host/.cache --daemon --dir-cache-time 30s --dir-perms 0775 --fast-list --file-perms 0775 --gid 1010 --log-level INFO --log-file log/union_host_mount.log --uid 1010 --umask=0

It doesn’t seem to use that --cache-dir either or that is also used for something else.

Am I missing something or is this an actual bug?

Thanks!

That looks like a union mount though? I’m not sure that would work since it isn’t mounting a cache.

fast-list does nothing on a mount.
allow-non-empty is awful as it allows you to overmount things and really has no valid reason to ever be used.

Can you run the mount command with DEBUG and share the output of when it mounts?

What version of rclone?

It IS a union mount. But the remotes it’s using ARE cached.
Removed allow-non-empty and --fast-list so thanks for that!
Will check the debug and post back!

Interesting thing in the debug log:
2019/04/11 15:21:10 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
2019/04/11 15:21:10 INFO : jc-cache: Cache chunk path: /root/.cache/rclone/cache-backend/jc-cache

When db_path is set, isn’t the chunk path supposed to be automatically set IN the db_path? My chunk path isn’t set to anything in my conf.

Noticed another thing. I have the mount run at startup post-init and when it runs, the debug log says:
INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
INFO : jc-cache: Cache chunk path: **/.cache/**rclone/cache-backend/jc-cache

But when I run the mount script manually, it says:
INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/union_host/jc-cache.db
INFO : jc-cache: Cache chunk path: **/root/.cache/**rclone/cache-backend/jc-cache

No, the cache-db path is just for storing the cache database.

https://rclone.org/cache/#cache-db-path

The cache chunk path would need to be set if you want to set that to something else.

https://rclone.org/cache/#cache-chunk-path

Without seeing your systemd script, and the actual mount commands you are running, it’s just guessing to why those settings are popping up the way they are.

Share your commands/scripts and what version of rclone are you using?

But the manual clearly states that if you specify a custom location for “–cache-db-path”, which I did, and don’t specify one for “–cache-chunk-path” then “–cache-chunk-path” will use the same path as “–cache-db-path”, which it doesn’t.

I’m using rclone 1.46 and the shell script is really basic:
#!/bin/sh

date=date +%Y-%m-%d_%H.%M.%S
log_path=/mnt/SSD/rclone/logs

mkdir -p /mnt/SSD/rclone/logs

Mount Union On Host

mkdir -p /mnt/HDD/Storage/Files
/root/.config/rclone/rclone mount “union:” “/mnt/HDD/Storage/Files” --allow-other --daemon --dir-cache-time 30s --dir-perms 0775 --file-perms 0775 --gid 1010 --log-level DEBUG --log-file $log_path/union_host_mount-$date.log --uid 1010 --umask=0

So in that script there is no cache-db path at all.

What are you actually using?

The cache-db path is in the remote conf:
[jc-cache]
type = cache
remote = jc:
chunk_size = 5M
info_age = 1h0m0s
workers = 6
db_purge = true
db_path = /mnt/SSD/rclone/db

I added that to a rclone.conf and made a union remote and tested.

I get the cache path working fine and using the path:

rclone mount Union: /Test -vv
2019/04/12 06:20:42 DEBUG : rclone: Version "v1.46" starting with parameters ["rclone" "mount" "Union:" "/Test" "-vv"]
2019/04/12 06:20:42 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2019/04/12 06:20:42 DEBUG : gcache: wrapped GD:media at root
2019/04/12 06:20:42 INFO  : gcache: Cache DB path: /home/felix/blah/gcache.db
2019/04/12 06:20:42 INFO  : gcache: Cache chunk path: /home/felix/blah/gcache

and my media:

[gcache]
type = cache
remote = GD:media
chunk_size = 32M
info_age = 5d
chunk_total_size = 50G
db_path=/home/felix/blah

[Union]
type = union
remotes = /data, gcache:

You have some really bad parameters in there so with very odd settings.

1 hour of info_age means that the cache chunk files only work for an hour making them semi useless.
dir-cache-time of 30 seconds is odd as that neglects the whole point of it as it’s too small and it is going to be slow since it has to hit the API for everything basically.

What happens if you don’t use any scripts and just run the mount with -vv and share that log?

Running the mount command manually:
2019/04/12 12:45:45 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:45:45 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache

So it works as expected! Any idea why it wouldn’t when run from a script? Not really an option to mount it manually every time I reboot the machine. :slight_smile:

It’s helpful if you can share the whole command/screens rather than just snippets.

Can you run the script and share the full log?

Sure thing!

Running the command manually:
/root/.config/rclone/rclone mount “union:” “/mnt/HDD/Storage/Files” --allow-other --daemon --dir-cache-time 30m --dir-perms 0775 --file-perms 0775 --gid 1010 --log-level DEBUG --log-file /mnt/SSD/rclone/logs/union_host_mount.log --uid 1010 --umask=0

Debug:
2019/04/12 12:58:46 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:46 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 12:58:47 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:47 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:47 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:47 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:47 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:47 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:47 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:47 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:47 INFO : chc-cache: Workers: 6
2019/04/12 12:58:47 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:47 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:47 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:47 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:48 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:48 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:48 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:48 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:48 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:48 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:48 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:48 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:48 INFO : chc-cache: Workers: 6
2019/04/12 12:58:48 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:48 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:48 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:48 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:48 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:48 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:48 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:48 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:48 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:48 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:48 INFO : jc-cache: Workers: 6
2019/04/12 12:58:48 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:48 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:48 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:49 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:49 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:49 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:49 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:49 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:49 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:49 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:49 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:49 INFO : jc-cache: Workers: 6
2019/04/12 12:58:49 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:49 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:49 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:49 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:49 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:49 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 12:58:49 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 12:58:49 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount.log” “–uid” “1010” “–umask=0”]
2019/04/12 12:58:49 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 12:58:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:50 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:50 INFO : chc-cache: Workers: 6
2019/04/12 12:58:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:51 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 12:58:51 DEBUG : chc-cache: Purging the DB
2019/04/12 12:58:51 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 12:58:51 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 12:58:51 INFO : chc-cache: Chunk Memory: true
2019/04/12 12:58:51 INFO : chc-cache: Chunk Size: 10M
2019/04/12 12:58:51 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 12:58:51 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:51 INFO : chc-cache: Workers: 6
2019/04/12 12:58:51 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 12:58:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:51 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:51 INFO : jc-cache: Workers: 6
2019/04/12 12:58:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:52 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 12:58:52 DEBUG : jc-cache: Purging the DB
2019/04/12 12:58:52 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 12:58:52 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 12:58:52 INFO : jc-cache: Chunk Memory: true
2019/04/12 12:58:52 INFO : jc-cache: Chunk Size: 10M
2019/04/12 12:58:52 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 12:58:52 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 12:58:52 INFO : jc-cache: Workers: 6
2019/04/12 12:58:52 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 12:58:52 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 12:58:52 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 12:58:52 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 12:58:52 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 12:58:52 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 12:58:52 DEBUG : : Root:
2019/04/12 12:58:52 DEBUG : : >Root: node=/, err=

Debug from running the script manually:
2019/04/12 13:01:49 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:49 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:01:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:50 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:50 INFO : chc-cache: Workers: 6
2019/04/12 13:01:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:50 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:50 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:50 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:50 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:50 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:50 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:50 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:50 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:50 INFO : chc-cache: Workers: 6
2019/04/12 13:01:50 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:50 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:50 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:51 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:51 INFO : jc-cache: Workers: 6
2019/04/12 13:01:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:51 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:51 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:51 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:51 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:51 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:51 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:51 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:51 INFO : jc-cache: Workers: 6
2019/04/12 13:01:51 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:51 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:51 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:51 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:51 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:01:51 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:01:51 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.01.49.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:01:51 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:01:52 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:52 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:52 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:52 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:52 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:52 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:52 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:52 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:52 INFO : chc-cache: Workers: 6
2019/04/12 13:01:52 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:52 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:52 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:52 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:53 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:01:53 DEBUG : chc-cache: Purging the DB
2019/04/12 13:01:53 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:01:53 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:01:53 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:01:53 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:01:53 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:01:53 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:53 INFO : chc-cache: Workers: 6
2019/04/12 13:01:53 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:01:53 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:53 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:53 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:53 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:53 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:53 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:53 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:53 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:53 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:53 INFO : jc-cache: Workers: 6
2019/04/12 13:01:53 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:53 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:53 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:54 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:01:54 DEBUG : jc-cache: Purging the DB
2019/04/12 13:01:54 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:01:54 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:01:54 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:01:54 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:01:54 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:01:54 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:01:54 INFO : jc-cache: Workers: 6
2019/04/12 13:01:54 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:01:54 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:01:54 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 13:01:54 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 13:01:54 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 13:01:54 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 13:01:54 DEBUG : : Root:
2019/04/12 13:01:54 DEBUG : : >Root: node=/, err=

Debug log from when the script runs on boot:
2019/04/12 13:08:23 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:23 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:08:28 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:28 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:28 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:28 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:28 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:28 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:28 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:28 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:28 INFO : chc-cache: Workers: 6
2019/04/12 13:08:28 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:28 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:28 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:28 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:29 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:29 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:29 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:29 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:29 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:29 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:29 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:29 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:29 INFO : chc-cache: Workers: 6
2019/04/12 13:08:29 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:29 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:29 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:29 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:29 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:29 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:29 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:29 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:29 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:29 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:29 INFO : jc-cache: Workers: 6
2019/04/12 13:08:29 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:29 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:29 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:30 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:30 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:30 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:30 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:30 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:30 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:30 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:30 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:30 INFO : jc-cache: Workers: 6
2019/04/12 13:08:30 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:30 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:30 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:30 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:30 DEBUG : rclone: Version “v1.46” finishing with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:30 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote chc-cache:243.YBExL: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:08:30 DEBUG : Cache remote jc-cache:243.ZCFyM: Services stopped
2019/04/12 13:08:30 DEBUG : rclone: Version “v1.46” starting with parameters ["/root/.config/rclone/rclone" “mount” “union:” “/mnt/HDD/Storage/Files” “–allow-other” “–daemon” “–dir-cache-time” “30m” “–dir-perms” “0775” “–file-perms” “0775” “–gid” “1010” “–log-level” “DEBUG” “–log-file” “/mnt/SSD/rclone/logs/union_host_mount-2019-04-12_13.08.23.log” “–uid” “1010” “–umask=0”]
2019/04/12 13:08:30 DEBUG : Using config file from “/root/.config/rclone/rclone.conf”
2019/04/12 13:08:31 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:31 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:31 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:31 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:31 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:31 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:31 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:31 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:31 INFO : chc-cache: Workers: 6
2019/04/12 13:08:31 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:31 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:31 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:31 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:32 DEBUG : chc-cache: wrapped chc:243.YBExL at root 243.YBExL
2019/04/12 13:08:32 DEBUG : chc-cache: Purging the DB
2019/04/12 13:08:32 INFO : chc-cache: Cache DB path: /mnt/SSD/rclone/db/chc-cache.db
2019/04/12 13:08:32 INFO : chc-cache: Cache chunk path: /mnt/SSD/rclone/db/chc-cache
2019/04/12 13:08:32 INFO : chc-cache: Chunk Memory: true
2019/04/12 13:08:32 INFO : chc-cache: Chunk Size: 10M
2019/04/12 13:08:32 INFO : chc-cache: Chunk Total Size: 200G
2019/04/12 13:08:32 INFO : chc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:32 INFO : chc-cache: Workers: 6
2019/04/12 13:08:32 INFO : chc-cache: File Age: 6h0m0s
2019/04/12 13:08:32 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:32 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:32 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:32 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:32 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:32 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:32 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:32 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:32 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:32 INFO : jc-cache: Workers: 6
2019/04/12 13:08:32 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:32 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:32 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:33 DEBUG : jc-cache: wrapped jc:243.ZCFyM at root 243.ZCFyM
2019/04/12 13:08:33 DEBUG : jc-cache: Purging the DB
2019/04/12 13:08:33 INFO : jc-cache: Cache DB path: /mnt/SSD/rclone/db/jc-cache.db
2019/04/12 13:08:33 INFO : jc-cache: Cache chunk path: /mnt/SSD/rclone/db/jc-cache
2019/04/12 13:08:33 INFO : jc-cache: Chunk Memory: true
2019/04/12 13:08:33 INFO : jc-cache: Chunk Size: 10M
2019/04/12 13:08:33 INFO : jc-cache: Chunk Total Size: 200G
2019/04/12 13:08:33 INFO : jc-cache: Chunk Clean Interval: 1m0s
2019/04/12 13:08:33 INFO : jc-cache: Workers: 6
2019/04/12 13:08:33 INFO : jc-cache: File Age: 6h0m0s
2019/04/12 13:08:33 DEBUG : Adding path “cache/expire” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “cache/stats” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “cache/fetch” to remote control registry
2019/04/12 13:08:33 DEBUG : union root ‘’: Mounting on “/mnt/HDD/Storage/Files”
2019/04/12 13:08:33 INFO : union root ‘’: poll-interval is not supported by this remote
2019/04/12 13:08:33 DEBUG : Adding path “vfs/forget” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “vfs/refresh” to remote control registry
2019/04/12 13:08:33 DEBUG : Adding path “vfs/poll-interval” to remote control registry
2019/04/12 13:08:33 DEBUG : : Root:
2019/04/12 13:08:33 DEBUG : : >Root: node=/, err=

So somewhere along the way by changing options you recommended and removing some altogether, things seem to work now. Just wish I knew which option was causing this problem in the first place. :smiley:

Happy it is working for you!

1 Like

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