Greetings, I’ve been using your lsio plex container for some time on docker on Fedora 31. It’s great, just a a container should be, runs all the time, easy to update, never any hassles.
I’ve got a new server running Fedora 32, and would like to run my plex container with podman using rootless. This has been quite a challenge, as I keep getting errors just starting it. I’ve got a plex user, with uid and gid of my NFS share. But the container doesn’t start, even if I leave off all the volumes.
I’m sure it’s something simple, but I can’t get info about what is wrong to get past the first chown error. Is there a way to turn on more debugging within the lsio plex container, the equivalent of “sh -x”?
Plex user at the host level:
grep 1037 /etc/passwd
plex:x:1037:65541::/home/plex:/bin/bash
grep 65541 /etc/group
plex:x:65541:
Plex user podman namespace entries.
cat /etc/subuid
plex:200000:65536
cat /etc/subgid
plex:200000:65536
container start script:
#!/bin/bash
podman run \
--name=bareplex \
--detach \
--network=host \
-e PUID=1037 \
-e PLEX_UID=1037 \
-e PGID=65541 \
-e PLEX_GID=65541 \
-e VERSION=docker \
--restart always \
linuxserver/plex
podman logs bareplex
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1037
User gid: 65541
-------------------------------------
chown: changing ownership of '/app': Invalid argument
chown: changing ownership of '/config': Invalid argument
chown: changing ownership of '/defaults': Invalid argument
[cont-init.d] 10-adduser: exited 1.
[cont-init.d] 40-chown-files: executing...
chown: changing ownership of '/config/Library/Application Support': Invalid argument
chown: changing ownership of '/config/Library': Invalid argument
chown: changing ownership of '/config': Invalid argument
Change in ownership detected, please be patient while we chown existing files
This could take some time
chown: changing ownership of '/config/Library/Application Support': Invalid argument
chown: changing ownership of '/config/Library': Invalid argument
chown: changing ownership of '/config': Invalid argument
chown: changing ownership of '/config/Library': Invalid argument
[cont-init.d] 40-chown-files: exited 1.
[cont-init.d] 45-plex-claim: executing...
[cont-init.d] 45-plex-claim: exited 0.
[cont-init.d] 50-gid-video: executing...
[cont-init.d] 50-gid-video: exited 0.
[cont-init.d] 60-plex-update: executing...
Docker is used for versioning skip update check
[cont-init.d] 60-plex-update: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument
Starting Plex Media Server.
s6-applyuidgid: fatal: unable to set supplementary group list: Invalid argument