Repository navigation
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The current behavior is as follows:
- Configure the container to run as read-only as a non-root user
- Configure a claim token environment variable
- Start the container
The containers fails to start with the following log and error:
Apr 13 21:30:57 smirnoff systemd[1]: Started Plex (plex-test).
Apr 13 21:30:57 smirnoff plex-test[2441570]: /package/admin/s6-overlay/libexec/preinit: info: /run belongs to uid 0 instead of 942 - fixing it
Apr 13 21:30:57 smirnoff plex-test[2441570]: ╔═════════════════════════════════════════════════════════════════════════╗
Apr 13 21:30:57 smirnoff plex-test[2441570]: ║ ║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ║ You are running this container read-only and as a non-root user: ║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ║ This combination of settings is not supported ║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ║ and may result in unwanted behaviour. ║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ║ ║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ╚═════════════════════════════════════════════════════════════════════════╝
Apr 13 21:30:57 smirnoff plex-test[2441570]: [migrations] started
Apr 13 21:30:57 smirnoff plex-test[2441570]: [migrations] no migrations found
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]: ██╗ ███████╗██╗ ██████╗
Apr 13 21:30:57 smirnoff plex-test[2441570]: ██║ ██╔════╝██║██╔═══██╗
Apr 13 21:30:57 smirnoff plex-test[2441570]: ██║ ███████╗██║██║ ██║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ██║ ╚════██║██║██║ ██║
Apr 13 21:30:57 smirnoff plex-test[2441570]: ███████╗███████║██║╚██████╔╝
Apr 13 21:30:57 smirnoff plex-test[2441570]: ╚══════╝╚══════╝╚═╝ ╚═════╝
Apr 13 21:30:57 smirnoff plex-test[2441570]: Brought to you by linuxserver.io
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]: To support LSIO projects visit:
Apr 13 21:30:57 smirnoff plex-test[2441570]: https://www.linuxserver.io/donate/
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]: GID/UID
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]: User UID: 942
Apr 13 21:30:57 smirnoff plex-test[2441570]: User GID: 1001
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]: Linuxserver.io version: 1.41.6.9685-d301f511a-ls262
Apr 13 21:30:57 smirnoff plex-test[2441570]: Build-date: 2025-04-10T16:42:57+00:00
Apr 13 21:30:57 smirnoff plex-test[2441570]: ───────────────────────────────────────
Apr 13 21:30:57 smirnoff plex-test[2441570]:
Apr 13 21:30:57 smirnoff plex-test[2441570]: Temporarily starting Plex Media Server.
Apr 13 21:30:57 smirnoff plex-test[2441570]: Waiting for Plex to generate its config
Apr 13 21:30:57 smirnoff plex-test[2441570]: s6-applyuidgid: fatal: unable to set supplementary group list: Operation not permitted
It is possible to work-around this error as follows:
- Remove the plex claim token environment variable
- Restart the container
- Re-add the plex claim token
- Restart the container
- Observe the container starting and running as normal
Expected Behavior
The expected behavior is for the container to run normally at first time setup, without having to remove and re-add the claim token environment variable.
Steps To Reproduce
See current behavior
Environment
- OS: Ubuntu 24
- How docker service was installed: `ansible-role-docker` by `geerlingguy`CPU architecture
x86-64
Docker creation
https://github.com/spatterIight/ansible-role-plex/tree/developContainer logs
See current behavior
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Apr 14, 2025
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
spatterIight commentedon Apr 14, 2025
BTW, I do recognize the logs clearly state
This combination of settings is not supported, so I understand if this issue is not solvable. Regardless, I wanted to document this interesting behavior, and the work-around!Thanks
benkrejci commentedon May 1, 2025
Thank you this unblocked me!
LinuxServer-CI commentedon Jun 1, 2025
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
LinuxServer-CI commentedon Aug 31, 2025
This issue is locked due to inactivity