Hello,
I'm having some difficulties with playing anything from my remote using this script. The upload script or just browsing the mounted remote works great but whenever I try to play something using plex (or emby) I get this error:
2022/02/27 17:12:03 ERROR : video_files/movies/4K/_meta70/Interstellar.2014.UHD.BluRay.2160p/Interstellar.2014.UHD.BluRay.2160p.mkv:
vfs cache: failed to open item:
vfs cache item: createItemDir failed: failed to create data cache item directory:
mkdir /mnt/user0/mount_rclone/cache/secure/vfs/secure/video_files/movies/4K/_meta70: no medium found
The only things that I changed in my mount script were RcloneRemoteName, DockerStart and MountFolders.
#!/bin/bash
######################
#### Mount Script ####
######################
## Version 0.96.9.3 ##
######################
####### EDIT ONLY THESE SETTINGS #######
# INSTRUCTIONS
# 1. Change the name of the rclone remote and shares to match your setup
# 2. NOTE: enter RcloneRemoteName WITHOUT ':'
# 3. Optional: include custom command and bind mount settings
# 4. Optional: include extra folders in mergerfs mount
# REQUIRED SETTINGS
RcloneRemoteName="secure" # Name of rclone remote mount WITHOUT ':'. NOTE: Choose your encrypted remote for sensitive data
RcloneMountShare="/mnt/user/mount_rclone" # where your rclone remote will be located without trailing slash e.g. /mnt/user/mount_rclone
RcloneMountDirCacheTime="720h" # rclone dir cache time
LocalFilesShare="/mnt/user/local" # location of the local files and MountFolders you want to upload without trailing slash to rclone e.g. /mnt/user/local. Enter 'ignore' to disable
RcloneCacheShare="/mnt/user0/mount_rclone" # location of rclone cache files without trailing slash e.g. /mnt/user0/mount_rclone
RcloneCacheMaxSize="400G" # Maximum size of rclone cache
RcloneCacheMaxAge="336h" # Maximum age of cache files
MergerfsMountShare="/mnt/user/mount_mergerfs" # location without trailing slash e.g. /mnt/user/mount_mergerfs. Enter 'ignore' to disable
DockerStart="" # list of dockers, separated by space, to start once mergerfs mount verified. Remember to disable AUTOSTART for dockers added in docker settings page
MountFolders=\{""\} # comma separated list of folders to create within the mount
[...]
I'm using rclone 1.58.0-beta.5999.f22b703a5 with the following config:
[gsuite]
type = drive
client_id = ...
client_secret = ...
scope = drive
token = {"access_token":"...","token_type":"Bearer","refresh_token":"...","expiry":"2022-02-27T17:45:15.295133871+01:00"}
root_folder_id = ...
[secure]
type = crypt
remote = gsuite:secure
filename_encryption = standard
directory_name_encryption = true
password = ...
password2 = ...
This is the path used in plex:
/gsuite/video_files/movies/4K/_meta70/Interstellar.2014.UHD.BluRay.2160p/Interstellar.2014.UHD.BluRay.2160p.mkv
I was once using this script some years ago without issues, just recently I got stuck on this problem when I had to set it up again from scratch on the same machine. No amount of restarting helps.
Any ideas what could be the cause of this issue?
Thanks