nsar
November 10, 2022, 11:10pm
1
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!
asdffdsa
(jojothehumanmonkey)
November 10, 2022, 11:14pm
2
hi,
https://rclone.org/commands/rclone_mount/#vfs-file-caching
and the latest version of rclone should support the deprecated cache remote.
nsar
November 22, 2022, 10:28pm
3
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 ?
asdffdsa
(jojothehumanmonkey)
November 22, 2022, 10:39pm
4
nsar:
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.
nsar
November 22, 2022, 11:26pm
5
yes please because i am rly confused now about what to do
asdffdsa
(jojothehumanmonkey)
November 22, 2022, 11:34pm
6
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:
nsar
November 22, 2022, 11:44pm
7
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
asdffdsa
(jojothehumanmonkey)
November 22, 2022, 11:47pm
8
post the output of
rclone config dump
make sure to redact id/secret/tokens/passwords
nsar
November 22, 2022, 11:50pm
9
{
"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"
asdffdsa
(jojothehumanmonkey)
November 22, 2022, 11:58pm
11
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",
nsar
November 23, 2022, 12:00am
12
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
asdffdsa
(jojothehumanmonkey)
November 23, 2022, 12:02am
13
i am very confused.
did you see my last post?
please reply to it
nsar
November 23, 2022, 12:04am
14
yes i saw it now and have changed it back to [gcrypt] type = crypt remote = gcache:/Plex/crypt
asdffdsa
(jojothehumanmonkey)
November 23, 2022, 12:06am
15
sorry, that is super confusing, if you are going to make changes like that, i cannot help you.
nsar
November 23, 2022, 12:07am
16
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 ?
asdffdsa
(jojothehumanmonkey)
November 23, 2022, 12:12am
17
at this point, i have no idea what config is working and what config you made up.
nsar
November 23, 2022, 12:15am
18
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
system
(system)
Closed
December 23, 2022, 12:15am
19
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.