Plex - Rclone not seeing my folders | PlexGuide.com

Plex Rclone not seeing my folders

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

skalyx14

Noobz
Original poster
Sep 2, 2020
2
1
PG Related
Yes
Server Type
VPS
Dear Community!

Info:
I am using a brand new Ubuntu 18.04 LTS Azure VPS with PlexGuide installed on /plex and Traefik deployed successfully.

I am trying to mount some shared drives in GDrive with rclone. Everything is working fine. I mounted my GDrive with:

rclone mount -v --read-only --allow-other --gid 33 --umask 0027 --dir-cache-time 300h --poll-interval 5m --daemon --allow-non-empty GDrive: /plex/drives/1/

However, I am getting a problem. When I go to /plex/drives/1/, I can ls and see all my folders with all my movies from the rclone mount. However, Plex (web interface) does not see anything in it when I am trying to add a new library. I tried everything, but nothing is working.

My goal is to mount my shared drives from my Google account and use them for Plex.

Maybe someone has an idea?

Thanks!
 

Edrock200

MVP
Staff
Nov 17, 2019
606
216
Restart your Plex container. Containers can't see new mounts that were created while they are running, until you restart them.
 
  • Like
Reactions: 1 users

Edrock200

MVP
Staff
Nov 17, 2019
606
216
That was the solution, thanks!!
I should have noted, if you add the new mount to unionfs, it's in the pg settings menu I believe, and have your containers access that mount via /mnt/unionfs/... you can stop and start mounts without the need for containers to be restarted.
 
  • Like
Reactions: 1 user

doob

Administrator
Project Manager
Jun 7, 2020
916
476
Plex can only see folders in /mnt/

The /plex must be added to /mnt/

mkdir -p /mnt/privatedrive
chown -cR 1000:1000 /mnt/privatedrive
chmod -R 755 /mnt/privatedrive

Mount the drive to

/mnt/privatedrive and add it unionfs

cd /opt/appdata/plexguide/ && nano pgunion.sh

/mnt/privatedrive=RO:
Is the command for mergerfs

( ro = read only // so you canr remove or edit files l

Restart pgunion now

sudo service pgunion stop
containers also stop now

Create the service for rclone-mount>>

/etc/systemd/system

cp -rv gdrive.service privatedrive.service
nano privatedrive.service

Edit the lines what you want

systemctl daemon_reload

systemctl enable privatedrive.service --now

service privatedrive start
service pgunion start

Well done its merged to /mnt/unionfs
 
  • Like
Reactions: 1 user

Recommend NewsGroups

      Up To a 58% Discount!

Trending