kebab
(Kebab Bob)
February 19, 2021, 4:42pm
1
What is the problem you are having with rclone?
I'm using encryption and cache, but /media/gcrypt and /media/gcrypt2 have the same content (from /epi/crypt) - /epi/crypt2 seems to be ignored.
What is your rclone version (output from rclone version
)
Latest version, 1.54.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux, Debian 64bit
Which cloud storage system are you using? (eg Google Drive)
Google drive - 2 encrypted folders with cache "backend"
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount --allow-other --allow-non-empty --cache-db-path /media/cache/rclonecache gcache: /media/cache/rclone/ &
rclone mount --allow-other --allow-non-empty gcrypt: /media/cache/gcrypt &
rclone mount --allow-other --allow-non-empty gcrypt2: /media/gcrypt2 &
The rclone config contents with secrets removed.
[gcache]
type = cache
remote = gdrive:/
plex_url = http://127.0.0.1:32400
plex_username = redacted
plex_password = t_redacted
chunk_size = 10M
info_age = 21d
chunk_total_size = 30G
cache_db_path = /media/cache/rclonecache
[gcrypt]
type = crypt
remote = gcache:/epi/crypt
filename_encryption = standard
directory_name_encryption = true
password = redacted
password2 = redacted
[gcrypt2]
type = crypt
remote = gcache:/epi/crypt2
filename_encryption = standard
directory_name_encryption = true
password = redacted
password2 = redacted
asdffdsa
(jojothehumanmonkey)
February 19, 2021, 4:48pm
2
hello and welcome to the forum,
i would remove the cache remote; it is depreciated and is not recommend for plex.
https://rclone.org/cache/#status
if a cache is wanted, this is recommended - https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full
--allow-non-empty
, i would remove that unless 1000% sure it is needed.
kebab
(Kebab Bob)
February 19, 2021, 4:54pm
3
So just something like this?
[gcrypt2]
type = crypt
remote = gdrive:/epi/crypt2
filename_encryption = standard
directory_name_encryption = true
password = redacted
password2 = redacted
asdffdsa
(jojothehumanmonkey)
February 19, 2021, 4:59pm
4
yes that should work as is.
the correct grammar is gdrive:epi/crypt2
https://rclone.org/docs/#remote-path-to-dir-1
an example from a log file, see that rclone removes that leading slash.
renaming cache item "wasabi01:/extraslash" to be canonical "wasabi01:extraslash"
kebab
(Kebab Bob)
February 19, 2021, 6:19pm
5
Looks like I got it working now. Thanks for your help @asdffdsa .
What would be the simplest way for me to enable VFS caching? I've skimmed over the docs, but there's a lot of options and switches it looks like..
asdffdsa
(jojothehumanmonkey)
February 19, 2021, 6:29pm
6
good,
as for the vfs cache, it is optional, some rcloners do not use it at all.
my advice is always go with the defaults, use as few flags as possible.
if you find something not working like you want, update this post and we can try to tweak it.
so start with
rclone mount --allow-other gcrypt2: /media/gcrypt2 --vfs-cache-mode= full &
also, read this, from one of our rcloners.
https://github.com/animosity22/homescripts#plex-tweaks
system
(system)
Closed
April 21, 2021, 2:29pm
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.