Plex and vps not reading rclone mount properly

What is the problem you are having with rclone?

I have followed a guide on how to use google drive as a mount for plex, and the mount command doesn't throw any errors, but I can't see any files with a ls command and plex has the directory greyed out.

What is your rclone version (output from rclone version)

rclone v1.45
- os/arch: linux/amd64
- go version: go1.11.6

Which OS you are using and how many bits (eg Windows 7, 64 bit)

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 plex-drive: plex/media/mount/ --allow-other --cache-db-purge --fast-list --poll-interval 10m

The rclone config contents with secrets removed.

[plex-drive]
type = drive
client_id = xxxxx
client_secret = xxxxx
scope = drive
token = {xxxxx}

[plex-drive-cache]
type = cache
remote = plex-drive:
chunk_size = 50M
info_age = 1h0m0s
chunk_total_size = 10G

[plex-drive-crypt]
type = crypt
remote = plex-drive-cache:
filename_encryption = standard
directory_name_encryption = true
password = xxxxx
password2 = xxxxx

A log from the command with the -vv flag

2021/07/02 20:14:38 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "plex-drive:" "plex/media/mount/" "--allow-other" "--cache-db-purge" "--fast-list" "--poll-interval" "10m" "-vv"]
2021/07/02 20:14:38 DEBUG : Using config file from "/home/wy/.config/rclone/rclone.conf"
2021/07/02 20:14:38 DEBUG : Google drive root '': Mounting on "plex/media/mount/"
2021/07/02 20:14:38 DEBUG : Adding path "vfs/forget" to remote control registry
2021/07/02 20:14:38 DEBUG : Adding path "vfs/refresh" to remote control registry
2021/07/02 20:14:38 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2021/07/02 20:14:38 DEBUG : : Root: 
2021/07/02 20:14:38 DEBUG : : >Root: node=/, err=<nil>

hello and welcome to the forum,

v1.45 is years old, so please update to v1.55.1.

the cache remote is being phased out, has been never left beta and has known bugs that will never get fixed.
so best to remove that and use
https://rclone.org/commands/rclone_mount/#vfs-file-caching
--vfs-cache-mode=full

--fast-list does nothing on a mount, so that can be removed.

Okay, I'm able to choose the directory now in plex, but there's no files or folders in there still.

rclone mount plex-drive: plex/media/mount/ --allow-other --cache-db-purge --vfs-cache-mode=full --poll-interval 10m -vv

2021/07/02 20:34:12 DEBUG : Using config file from "/home/wy/.config/rclone/rclone.conf"
2021/07/02 20:34:12 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "mount" "plex-drive:" "plex/media/mount/" "--allow-other" "--cache-db-purge" "--vfs-cache-mode=full" "--poll-interval" "10m" "-vv"]
2021/07/02 20:34:12 DEBUG : Creating backend with remote "plex-drive:"
2021/07/02 20:34:12 DEBUG : Google drive root '': root_folder_id = "xxxxx" - save this in the config to speed up startup
2021/07/02 20:34:12 DEBUG : vfs cache: root is "/home/wy/.cache/rclone/vfs/plex-drive"
2021/07/02 20:34:12 DEBUG : vfs cache: metadata root is "/home/wy/.cache/rclone/vfs/plex-drive"
2021/07/02 20:34:12 DEBUG : Creating backend with remote "/home/wy/.cache/rclone/vfs/plex-drive"
2021/07/02 20:34:12 DEBUG : Google drive root '': Mounting on "plex/media/mount/"
2021/07/02 20:34:12 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/07/02 20:34:12 DEBUG : : Root: 
2021/07/02 20:34:12 DEBUG : : >Root: node=/, err=<nil>

This is my config now:

[plex-drive]
type = drive
client_id = xxxxx
client_secret = xxxxx
scope = drive
token = {xxxxx}

[plex-drive-crypt]
type = crypt
remote = plex-drive:
filename_encryption = standard
directory_name_encryption = true
password = xxxxx
password2 = xxxxx

does rclone ls plex-drive: produce a list of files?

did you intend to use a relative path for the mount location?
plex/media/mount/

and you can remove --cache-db-purge

does rclone ls plex-drive: produce a list of files?

No, it outputs nothing

did you intend to use a relative path for the mount location?
plex/media/mount/

For testing, yes

get rclone ls working, then try rclone mount

and any guide that recommends using the cache remote should not be trusted.

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