Library, Plex, Mount

Hello,

I will explain my question and my problem.
I currently installed plex on a Vm running docker.
(for test reasons). The goal is to launch all on a hypervisor as proxmox.

I installed with the docker-compose of linuxserver (on docker hub)
I managed to add my remote files to the VM using Fstab, creating folders by a user dedicated to a plex.
When I browse folders and subfolders via Winscp, I see my files mounted in each directory.

But in the end when I scan my music, I only have about fifteen titles that add to the library. While the shared folder is much more than that.

A question can be summed up, does the tree play a role in it.

The on the pc is: /opt/docker/plex
files are in/opt/docker/plex/data/music.
Knowing that the files on the nas, we were scrapped some time ago already via an automatic scrapper.

Is that the problem I’m facing?

Thank you for your help…

Ps:
Moreover the video files are not readable on the pc (connected to my plex space via the webinterface ) while from my telephone connected to wifi it works --’ .
There are things I don’t understand …

  1. This is very highly suspect of a permissions problem.
  2. Did you create a dedicated VM just to load Plex ?

It’s a vm, with various containers…
pihole, home assistant etc… ( i have some back up ).

Because of the double layering you’ll end up with Plex, in a docker, in a VM with remote media mounted, the more layers you can remove the better off you’ll be.

The native package is easily administered with the systemctl start and stop commands as compared to docker run .

Is that an option?

While it won’t get you any closer to HW transcoding access, it will remove one more layer.

Personally, I don’t use docker because everything I need is available as a native package or I pulled the code out of docker and setup a native package.

My point here is “keep things as simple as possible – as close to the metal as possible”. e.g. If you want to run docker, run PMS in docker on the host. It affords you the best experience with the least wasted resources.

I use docker in a vm for testing how docker works, my goal is to put all my containers on my proxmox hyperV without vm. For sharing library and hardware.

It’s for learn how it works, for make it work as better as i can do.
I have problem here i think :slight_smile:

drwxr-xr-x 4 root root 4096 déc. 16 2019 xxxx
drwxr-xr-x 2 root root 4096 sept. 1 23:41 config
drwxr-xr-x 6 root root 4096 sept. 1 23:41 xxxx
drwxr-xr-x 5 500 users 12288 déc. 16 2019 dxxx
-rw-r–r-- 1 root root 282 sept. 2 00:00 docker-compose.yml
drwxr-xr-x 3 500 users 12288 mai 1 2019 mxxxx
drwxr-xr-x 22 root root 4096 avril 20 2019 pxxxx
drwxr-xr-x 4 500 users 4096 avril 19 2019 pxxxx
drwxr-xr-x 4 root root 4096 déc. 17 2019 sxxxs
drwxr-xr-x 3 root root 4096 août 21 14:38 sxxx
drwxr-xr-x 4 500 users 4096 déc. 16 2019 spxxx
drwxr-xr-x 2 root root 4096 sept. 1 23:41 transcode
drwxr-xr-x 3 500 users 4096 avril 19 2019 vxxxx
drwxr-xr-x 17 root root 4096 mai 8 2019 xxxx

but when i change to plex:plex it says that’s it on read only, and at restart it’s again root :.

and when i update library :

If i understand how docker works, i think i could use less ressources with it…

You really need to get UID/GID and PUID/PGID all matching.

What you’re seeing is 100% Linux permissions telling you NO.

The OP has been so advised already:

I’m trying to change mount owner but it doesn’t work !

chown -hR plex:plex /opt/docker/plex.

I tried to delete fstab mount and folder.
Then I created them on user : plex ( with sudo )

When i configurate again the /etc/fstab
those folder become root folder …

They are things i do not understand :frowning:

Edit: Does plex need a Rw accès to file on Nas, or a Ro can be worth ?
Thanks

The problem was on /dev/sda1 a bug on partition.
and she was full :X

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