Latest version supports the cache?

after updating the DSM on my nas i had to reinstall the rclone and it looks like cache is not supported anymore

i had realy good experinces so far with rclone+cache+plex and i wanna turn the old days

or is there any feutures which would replace the cache ?

thank you!

hi,

https://rclone.org/commands/rclone_mount/#vfs-file-caching
and the latest version of rclone should support the deprecated cache remote.

i am getting follow error

rclone mount gcrypt: /volume1/rclone/plex --allow-other --daemon
2022/11/22 23:19:48 NOTICE: WARNING: Cache backend is deprecated and may be removed in future. Please use VFS instead.

thats my conf

[gdrive]
type = drive
scope = drive
token = xxx
root_folder_id = xxx
client_id = xxx
client_secret = xxx

[gcrypt]
type = crypt
remote = gcache:/Plex/crypt
filename_encryption = standard
directory_name_encryption = true
password = xxx
password2 = xx

[gcache]
type = cache
remote = gdrive:/Plex/crypt
plex_url = http://192.168.188.25:32400
plex_username = xx
plex_password = xxx
info_age = 1d
chunk_total_size = 1Gi
db_path = /volume1/video/cache
chunk_path = /volume1/video/cache

what do you think ?

well, for two years, you have been ok but rclone has moved on from the type = cache

the cache remote has been deprecated - https://rclone.org/cache/ and is not needed for plex.
The cache backend code is working but it currently doesn't have a maintainer so there are outstanding bugs which aren't getting fixed.

so if you want to be up to date, need to remove the remote gcache
really, not too hard to do.

if that is what you want, let me know, and i can guide you.

yes please because i am rly confused now about what to do

as a test, i would create a new remote

[gcrypt2]
type = crypt
remote = gdrive:Plex/crypt/Plex/crypt
filename_encryption = standard
directory_name_encryption = true
password = xxx
password2 = xx

and the output of these command should be the same
rclone lsd gcrypt:
and
rclone lsd gcrypt2:

rclone lsd gcrypt2:
2022/11/23 00:44:07 ERROR : : error listing: directory not found
2022/11/23 00:44:07 Failed to lsd with 2 errors: last error was: directory not found

post the output of
rclone config dump
make sure to redact id/secret/tokens/passwords

{
    "gcache": {
        "chunk_path": "/volume1/video/cache",
        "chunk_total_size": "1Gi",
        "db_path": "/volume1/video/cache",
        "info_age": "1d",
        "plex_password": "xxx,
        "plex_url": "http://192.168.188.25:32400",
        "plex_username": "nsar",
        "remote": "gdrive:/Plex/crypt",
        "type": "cache"
    },
    "gcrypt": {
        "directory_name_encryption": "true",
        "filename_encryption": "standard",
        "password": "xxx",
        "password2": "xxx",
        "remote": "gdrive:/Plex/crypt",
        "type": "crypt"
    },
    "gcrypt2": {
        "password": "xxx",
        "password2": "xxx",
        "remote": "gdrive:Plex/crypt/Plex/crypt",
        "type": "crypt"
    },
    "gdrive": {
        "client_id": "xxxx",
        "client_secret": "xxx",
        "root_folder_id": "xxx",
        "scope": "drive",
        "token": "{\"access_token\":\"xxx\",\                                                                        "token_type\":\"Bearer\",\"refresh_token\":\"1//xxx                                                                        mOBLL9mxgCTi7UCiJwgoU4CkRm6D11nYHVUrl6O75UvRtykl1K2J3_SFLCvWsC4\",\"expiry\":\"2022-1                                                                        1-23T01:43:49.991395314+01:00\"}",
        "type": "drive"

i am confused?
for gcrypt, there is a mismatch, the remote are not the same?

before, your config file was

[gcrypt]
remote = gcache:/Plex/crypt

and now

"gcrypt": {
        "remote": "gdrive:/Plex/crypt",

or shall i move vfs ? could you help me to set it up for best plex streaming settings ? i only use it for plex so far

i am very confused.

did you see my last post?
please reply to it

yes i saw it now and have changed it back to [gcrypt] type = crypt remote = gcache:/Plex/crypt

sorry, that is super confusing, if you are going to make changes like that, i cannot help you.

before you reply earlier today i guess i have tried to make it work on my own and forgot it like that, do you think VFS is good for plex streaming ?

at this point, i have no idea what config is working and what config you made up.

thats it now...

[gdrive]
type = drive
scope = drive
token = {"access_token":xxxx
root_folder_id = xxxx
client_id = xx
client_secret = xx

[gcrypt]
type = crypt
remote = gcache:/Plex/crypt
filename_encryption = standard
directory_name_encryption = true
password = xxx
password2 = xxx

[gcache]
type = cache
remote = gdrive:/Plex/crypt
plex_url = http://192.168.188.25:32400
plex_username = nsar
plex_password = xx
info_age = 1d
chunk_total_size = 1Gi
db_path = /volume1/video/cache
chunk_path = /volume1/video/cache

[gcrypt2]
type = crypt
remote = gdrive:Plex/crypt/Plex/crypt
password = xx
password2 = xx