Pi4 ubuntu 20.10 ARM64 plex unable to find directories and files

Server Version#: 4.87.2
Player Version#: latest problem is not yet with player, server wont find any video file .

device and OS:
pi4:/# uname -a
Linux pi4 5.19.0-1014-raspi #21-Ubuntu SMP PREEMPT Thu Feb 16 08:24:21 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Running via docker compose yaml:
plex:
image: jaymoulin/plex:latest
expose:
- 32400
- 33400
# Descomentar si NO usas network_mode: “host”
# ports:
# - 32400:32400
# - 33400:33400
environment:
- TZ=America/Costa_Rica

- PUID=1000

- PGID=1003

- PLEX_CLAIM=claim-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

volumes:
  - /files/Plex Media Server:/root/Library/Application Support/Plex Media Server
  - /files:/media
  - /files/tmp:/tmp
restart: unless-stopped
network_mode: "host" # Solo funciona en Linux

12729c8fbdd5 jaymoulin/plex:latest “daemon-pms” About an hour ago Up About an hour

Folder permissions:
/files
drwxr-xr-x 5 root root 4096 Mar 19 18:35 files

Main Media Directory permissions:
/files/Media
drwxr-xr-x 5 root root 4096 Mar 19 18:46 Media

Sub Directory Permissions:
/files/Media/Subdirectory
drwxr-xr-x 2 root root 4096 Mar 19 18:54 Movies
drwxr-xr-x 2 root root 4096 Mar 19 18:35 Music
drwxr-xr-x 2 root root 4096 Mar 19 18:54 TV

Test files permissions:
-rwxr-xr-x 1 root root 4816236 Mar 19 18:54 Big_Buck_Bunny_1080_10s_5MB.mp4
-rwxr-xr-x 1 root root 1896792 Mar 19 18:54 Big_Buck_Bunny_720_10s_2MB.mp4
-rwxr-xr-x 1 root root 1032633 Mar 19 18:54 Jellyfish_1080_10s_1MB.mkv
-rwxr-xr-x 1 root root 1038201 Mar 19 18:54 Jellyfish_720_10s_1MB.mkv

documentation mentions plex runs as user plex/group plex, how to confirm that for this specific image, what user and group is it expecting to use?

What permissions should /files have?
Which user shall have access and which group?

thanks for your help with this one! in advance.

Logs available here: Plex Media Server Logs_2023-03-20_01-34-04.zip - Google Drive

well created user plex in group plex with no password.
got the UID and PGID
enabled those ids in the yaml , and now plex can read the folders!

thanks mr Fran for his valuable help!

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