What is the problem you are having with rclone?
Plex does not recognize the mounted Google Drive cache directory, but the OS does recognize it.
I setup a Google Drive connection with a cache and crypt setup.
When mounted, the files show up just fine in terminal but Plex does not recognize the mounted volume at all. None of the sub directories show up or anything.
What is your rclone version (output from rclone version
)
rclone v1.52.3
os/arch: linux/amd64
go version: go1.14.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
(AWS) LInux 64-bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount gcrypt: ~/Movies --allow-other --allow-non-empty --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h --vfs-cache-mode minimal --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G &
and I also tried a combination of:
rclone mount -v --read-only --allow-other --gid 33 --umask 0027 --dir-cache-time 72h gcrypt: ~/Movies &
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:03pm
2
hello and welcome to the forum,
it is good to be sure of each and every flag used.
you did not post your config?
-cache-db-purge
is for a cache backend, which 99.99% of the time should not be used.
https://rclone.org/cache/#status
--allow-non-empty
is 99.99% of the time, not a good idea.
you did not post a debug log, which 99.99% of the time is needed.
Thank you for the quick response!
I went back to basics and ran
rclone mount gcrypt: /home/ec2-user/Movies --allow-other -vv
2020/08/11 23:10:35 DEBUG : rclone: Version "v1.52.3" starting with parameters ["rclone" "mount" "gcrypt:" "/home/ec2-user/Movies" "--allow-other" "-vv"]
2020/08/11 23:10:35 DEBUG : Using config file from "/home/ec2-user/.config/rclone/rclone.conf"
2020/08/11 23:10:35 DEBUG : Google drive root 'gdrive/crypt': root_folder_id = "0AA9Css..." - save this in the config to speed up startup
2020/08/11 23:10:36 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2020/08/11 23:10:36 INFO : gcache: Cache DB path: /home/ec2-user/.cache/rclone/cache-backend/gcache.db
2020/08/11 23:10:36 INFO : gcache: Cache chunk path: /home/ec2-user/.cache/rclone/cache-backend/gcache
2020/08/11 23:10:36 INFO : gcache: Chunk Memory: true
2020/08/11 23:10:36 INFO : gcache: Chunk Size: 5M
2020/08/11 23:10:36 INFO : gcache: Chunk Total Size: 15G
2020/08/11 23:10:36 INFO : gcache: Chunk Clean Interval: 1m0s
2020/08/11 23:10:36 INFO : gcache: Workers: 4
2020/08/11 23:10:36 INFO : gcache: File Age: 1d
2020/08/11 23:10:36 DEBUG : Adding path "cache/expire" to remote control registry
2020/08/11 23:10:36 DEBUG : Adding path "cache/stats" to remote control registry
2020/08/11 23:10:36 DEBUG : Adding path "cache/fetch" to remote control registry
2020/08/11 23:10:36 DEBUG : Google drive root 'gdrive/crypt': root_folder_id = "0AA9C..." - save this in the config to speed up startup
2020/08/11 23:10:38 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2020/08/11 23:10:38 INFO : gcache: Cache DB path: /home/ec2-user/.cache/rclone/cache-backend/gcache.db
2020/08/11 23:10:38 INFO : gcache: Cache chunk path: /home/ec2-user/.cache/rclone/cache-backend/gcache
2020/08/11 23:10:38 INFO : gcache: Chunk Memory: true
2020/08/11 23:10:38 INFO : gcache: Chunk Size: 5M
2020/08/11 23:10:38 INFO : gcache: Chunk Total Size: 15G
2020/08/11 23:10:38 INFO : gcache: Chunk Clean Interval: 1m0s
2020/08/11 23:10:38 INFO : gcache: Workers: 4
2020/08/11 23:10:38 INFO : gcache: File Age: 1d
2020/08/11 23:10:38 DEBUG : Adding path "cache/expire" to remote control registry
2020/08/11 23:10:38 DEBUG : Adding path "cache/stats" to remote control registry
2020/08/11 23:10:38 DEBUG : Adding path "cache/fetch" to remote control registry
2020/08/11 23:10:38 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/home/ec2-user/Movies"
2020/08/11 23:10:38 DEBUG : Cache remote gcache:crypt: subscribing to ChangeNotify
2020/08/11 23:10:38 DEBUG : Adding path "vfs/forget" to remote control registry
2020/08/11 23:10:38 DEBUG : Adding path "vfs/refresh" to remote control registry
2020/08/11 23:10:38 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2020/08/11 23:10:38 DEBUG : : Root:
2020/08/11 23:10:38 DEBUG : : >Root: node=/, err=
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:14pm
4
and after going back to basics, are you still having a problem?
Yes. I'm sorry, I should have specified that.
Still an issue with plex not wanting to find the cache.
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:22pm
6
--cache-db-purge
is for a cache backend, which 99.99% of the time should not be used.
it is buggy, not maintained and soon to be depreciated.
https://rclone.org/cache/#status
{
"gcache": {
"chunk_size": "5M",
"chunk_total_size": "15G",
"info_age": "1d",
"plex_password": "pass",
"plex_url": "url",
"plex_username": "username",
"remote": "gdrive:/gdrive",
"type": "cache"
},
"gcrypt": {
"directory_name_encryption": "true",
"filename_encryption": "standard",
"password": "password",
"remote": "gcache:/crypt",
"type": "crypt"
},
"gdrive": {
"client_id": "ID",
"client_secret": "SECRET",
"scope": "drive",
"token": "",
"type": "drive"
}
}
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:27pm
8
--cache-db-purge
is for a cache backend, which 99.99% of the time should not be used.
it is buggy, not maintained and soon to be depreciated.
https://rclone.org/cache/#status
I am no longer using --cache-db-purge
I am not only running rclone mount gcrypt: /home/ec2-user/Movies --allow-other -vv
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:32pm
10
based on your config file, gcrypt remote is using gcache.
"gdrive":
remote": "gcache:/crypt
So the only other way for me to connect to plex would be to just sync my entire Google Drive locally?
asdffdsa
(jojothehumanmonkey)
August 11, 2020, 11:55pm
12
no need to sync to local.
create a crypt remote that does not use gcache.
create a new remote, called it crypt2
, that points to gdrive, not gcache.
i think you should set the remote to gdrive:/gdrive/gcrypt
use the same settings and password as gcrypt
and then
rclone mount gcrypt2: /home/ec2-user/Movies --allow-other -vv
After tinkering around with it I realized I made a stupid mistake with my Linux instance. It was a simple permissions issue. I'm so sorry about that.
Glad to know I can just use the crypt without the cache folder. It works much nicer! Thank you so much!
system
(system)
Closed
October 11, 2020, 9:03pm
14
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.