Closed jh125486 closed 7 years ago
Could be a duplicate of #8, would you mind doing a docker pull and trying again?
I'm looking at it again, and it doesn't look actually as a duplicate. runuser: System error
looks like alien to me. Could you try also with wernight/plex-media-server:latest
just to see what it says? It looks almost as you you mounted something where you shouldn't (like system stuff). You may also run as root to check access right (via --user root
).
Any update on this @jh125486 ?
Sorry for the late reply.
Using :latest
version works, but :autoupdate
does not unfortunately (even using --user root
).
Note: Plex is meant to run as non-root but currently only tested with the default random UID, so don't use --user
.
It seems that runuser
command isn't working on your machine which should mean there is something wrong with your Docker installation itself. runuser
is the command from the official Docker debian
image, which should run just the same on any Linux because of Docker. May be check if you can upgrade (you should be running Docker 1.9+), or may be your file system. If you just run:
$ docker run --rm -it debian:jessie
$ useradd --system --uid 797 -M --shell /usr/sbin/nologin plex
$ runuser -u plex echo hello
hello
It should work. If it doesn't work, I'd recommend posting a bug on Docker Debian.
So crazy, but those commands work. I'm running Docker 1.9.1 on a Qnap NAS.
Thanks for all your help in this by the way!
I made a small change to possibly solve the log line you see: plexmediaserver.prerm: stop: not found
.
Just do a docker pull wernight/plex-media-server:autoupdate
and retry, please let me know if the output changes.
@jh125486 Could you check if it works now on your machine? I cannot reproduce locally. What's your OS by the way?
Sorry, I will as soon as I can. During a storage pool expansion my volume became ‘inactive’, so I currently have a support request in to find out where my 16tb of data went :( As soon as things get back to normal I’ll test the new commit.
V/r Jacob Hochstetler
On Jan 21, 2016, at 04:48, Werner Beroux notifications@github.com wrote:
@jh125486 https://github.com/jh125486 Could you check if it works now on your machine? I cannot reproduce locally.
— Reply to this email directly or view it on GitHub https://github.com/wernight/docker-plex-media-server/issues/7#issuecomment-173534996.
Ok, NAS is back up.
I pulled the new autoupdate
version, and I'm still having the same runuser: System error
.
This is so weird.
Given the relatively small version difference between :autoupdate and :latest I may suggest to continue using :latest. Docker is supposed to eliminate any OS difference so yea... May be try also updating Docker just in case. I don't see much I can do from here. You may try to fiddle with it.
I'm migrating from 'timhaak/plexpass' container because of pid restart issues.
I'm a plexpass user and this is my container start string:
docker run -d --restart=always --name=plex -v /share/Docker/container-station-data/config/plex-config:/config -v /share/Multimedia:/media --net=host -p 32400:32400 -e PLEXPASS_LOGIN='x.x@gmail.com' -e PLEXPASS_PASSWORD='blargh' wernight/plex-media-server:autoupdate
For now I'm using an empty /config directory (chowned to 797) till I can get plex up and migrate the DB.
Errors at:
Any idea where I should start troubleshooting at?
Thanks!