-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I have issue with plex installation using non-root account
As I found, there are two images for plex, each will set different Env parameters, one of them significantly less
for example, one will set HOME=/config and other to /root, no metter what I put in yml
If I manage to install somehow, playing with parameters, there are other problems with running.
Basically with the standard file and settings I get error
plex | libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::status: Permission denied [system:13]: "/run/plex-temp"' plex | ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.1.10054-f333bdaa8/PLEX MEDIA SERVER/712e5549-c89e-4aef-611f6aae-a94af957.dmp
all permission are ok
Expected Behavior
No response
Steps To Reproduce
Before installing:
pwd /srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata root@irfanas:/srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata# ls -ld * -rw-rw-r-- 1 root users 1298 Aug 11 14:10 global.env root@irfanas:/srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata#
after install browser cant reach the page
again checking ls ld
root@irfanas:/srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata# ls -ld * -rw-rw-r-- 1 root users 1298 Aug 11 14:10 global.env drwxrwxr-x 4 root users 4096 Aug 15 00:04 plex root@irfanas:/srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata# ls -ld plex/* -rw-rw-r-- 1 root users 180 Aug 15 00:02 plex/compose.override.yml drwxr-xr-x 3 appuser users 4096 Aug 15 00:04 plex/config -rw-rw-r-- 1 root users 201 Aug 15 00:02 plex/plex.env -rw-rw-r-- 1 root users 1012 Aug 15 00:02 plex/plex.yml drwxr-xr-x 2 root root 4096 Aug 15 00:04 plex/transcode root@irfanas:/srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata# ls -ld plex/config/* drwxr-xr-x 3 appuser users 4096 Aug 15 00:04 plex/config/Library
Compose >Services>Logs
`plex | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex | libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::status: Permission denied [system:13]: "/run/plex-temp"'
plex | ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.1.10054-f333bdaa8/PLEX MEDIA SERVER/ade0e955-77c8-4e86-0ee1bb96-4c37cff3.dmp
plex | Error in command line:the argument for option '--serverUuid' should follow immediately after the equal sign
plex | Crash Uploader options:
plex |
plex | Minidump Upload options:
plex | --directory arg Directory to scan for crash reports
plex | --serverUuid arg UUID of the server that crashed
plex | --platform arg Platform string
plex | --platformVersion arg Platform version string
plex | --vendor arg Vendor string
plex | --device arg Device string
plex | --model arg Device model string
plex | --allowRetries arg Whether we will allow retries
plex |
plex | Session Health options:
plex | --sessionStatus arg Seassion health status (exited, crashed, or abnormal)
plex | --sessionStart arg Session start timestamp in UTC or epoch time
plex | --sessionDuration arg Session duration in seconds
plex |
plex | Common options:
plex | --userId arg User that owns this product
plex | --version arg Version of the product
plex | --sentryUrl arg Sentry URL to upload to
plex | --sentryKey arg Sentry Key for the project
END OF LINE`
Environment
- OS: Debian 12
- How docker service was installed: On OMV
CPU architecture
arm64
Docker creation
services:
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
network_mode: host
environment:
- PUID=1002
- PGID=100
- TZ=Europe/Sarajevo
- VERSION=docker
volumes:
- /srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata/plex/config:/config
- /srv/dev-disk-by-uuid-08bbb3c0-2223-4d86-9281-1eec8ff330e7/appdata/plex/transcode:/transcode
- /srv/dev-disk-by-uuid-0edf3b10-4213-46fc-8141-0b673f98fdd4/data/media/movies:/movies1
- /srv/dev-disk-by-uuid-9b945206-6dbe-419c-bb53-9ca6f49277ad/PlexMedia/Filmovi:/movies2
- /srv/dev-disk-by-uuid-0edf3b10-4213-46fc-8141-0b673f98fdd4/data/media/tvshows:/tvshows1
- /srv/dev-disk-by-uuid-9b945206-6dbe-419c-bb53-9ca6f49277ad/PlexMedia/Serije:/tvshows2
restart: unless-stopped
Container logs
plex | [migrations] started
plex | [migrations] no migrations found
plex | ───────────────────────────────────────
plex |
plex | ██╗ ███████╗██╗ ██████╗
plex | ██║ ██╔════╝██║██╔═══██╗
plex | ██║ ███████╗██║██║ ██║
plex | ██║ ╚════██║██║██║ ██║
plex | ███████╗███████║██║╚██████╔╝
plex | ╚══════╝╚══════╝╚═╝ ╚═════╝
plex |
plex | Brought to you by linuxserver.io
plex | ───────────────────────────────────────
plex |
plex | To support LSIO projects visit:
plex | https://www.linuxserver.io/donate/
plex |
plex | ───────────────────────────────────────
plex | GID/UID
plex | ───────────────────────────────────────
plex |
plex | User UID: 1002
plex | User GID: 100
plex | ───────────────────────────────────────
plex | Linuxserver.io version: 1.42.1.10054-f333bdaa8-ls277
plex | Build-date: 2025-08-08T22:38:42+00:00
plex | ───────────────────────────────────────
plex |
plex | **** Server is unclaimed, but no claim token has been set ****
plex |
plex |
plex |
plex | #####################################################
plex | # Login via the webui at http://<ip>:32400/web #
plex | # and restart the container, because there was no #
plex | # plex token found in the preference file #
plex | #####################################################
plex |
plex |
plex | [custom-init] No custom files found, skipping...
plex | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex | libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::status: Permission denied [system:13]: "/run/plex-temp"'
plex | ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.1.10054-f333bdaa8/PLEX MEDIA SERVER/5d191ae1-b529-4b69-86a02aa8-74742999.dmp
plex | Error in command line:the argument for option '--serverUuid' should follow immediately after the equal sign
plex | Crash Uploader options:
plex |
plex | Minidump Upload options:
plex | --directory arg Directory to scan for crash reports
plex | --serverUuid arg UUID of the server that crashed
plex | --platform arg Platform string
plex | --platformVersion arg Platform version string
plex | --vendor arg Vendor string
plex | --device arg Device string
plex | --model arg Device model string
plex | --allowRetries arg Whether we will allow retries
plex |
plex | Session Health options:
plex | --sessionStatus arg Seassion health status (exited, crashed, or abnormal)
plex | --sessionStart arg Session start timestamp in UTC or epoch time
plex | --sessionDuration arg Session duration in seconds
plex |
plex | Common options:
plex | --userId arg User that owns this product
plex | --version arg Version of the product
plex | --sentryUrl arg Sentry URL to upload to
plex | --sentryKey arg Sentry Key for the project
plex | Starting Plex Media Server. . . (you can ignore the libusb_init error)
plex | libc++abi: terminating with uncaught exception of type std::runtime_error: Codecs: Initialize: 'boost::filesystem::status: Permission denied [system:13]: "/run/plex-temp"'
plex | ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.1.10054-f333bdaa8/PLEX MEDIA SERVER/7d84055c-ecf9-4978-d74fb0bb-1d8439f0.dmp
plex | Error in command line:the argument for option '--serverUuid' should follow immediately after the equal sign
plex | Crash Uploader options:
plex |
plex | Minidump Upload options:
plex | --directory arg Directory to scan for crash reports
plex | --serverUuid arg UUID of the server that crashed
plex | --platform arg Platform string
plex | --platformVersion arg Platform version string
plex | --vendor arg Vendor string
plex | --device arg Device string
plex | --model arg Device model string
plex | --allowRetries arg Whether we will allow retries
plex |
plex | Session Health options:
plex | --sessionStatus arg Seassion health status (exited, crashed, or abnormal)
plex | --sessionStart arg Session start timestamp in UTC or epoch time
plex | --sessionDuration arg Session duration in seconds
plex |
plex | Common options:
plex | --userId arg User that owns this product
plex | --version arg Version of the product
plex | --sentryUrl arg Sentry URL to upload to
plex | --sentryKey arg Sentry Key for the project
Metadata
Metadata
Assignees
Labels
Type
Projects
Status