Hi,
I have an old Raspberry Pi (I think version 2) with a docker install which I want to try to run a Plex server on. I’m using your Plex image ghcr.io/linuxserver/plex , but it doesn’t seem to work on my Pi.
With the following docker-compose.yml
version: "2.1"
services:
plex:
image: ghcr.io/linuxserver/plex
container_name: plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
# - PLEX_CLAIM= #optional
volumes:
- ./config:/config
# - /path/to/tvseries:/tv
# - /path/to/movies:/movies
restart: unless-stopped
I get this output:
$ docker-compose up
Creating plex ... done
Attaching to plex
plex | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
plex | [s6-init] ensuring user provided files have correct perms...exited 0.
plex | [fix-attrs.d] applying ownership & permissions fixes...
plex | [fix-attrs.d] done.
plex | [cont-init.d] executing container initialization scripts...
plex | [cont-init.d] 01-envfile: executing...
plex | [cont-init.d] 01-envfile: exited 260.
plex | [cont-init.d] 10-adduser: executing...
plex | [cont-init.d] 10-adduser: exited 260.
plex | [cont-init.d] 40-chown-files: executing...
plex | [cont-init.d] 40-chown-files: exited 260.
plex | [cont-init.d] 45-plex-claim: executing...
plex | [cont-init.d] 45-plex-claim: exited 260.
plex | [cont-init.d] 50-gid-video: executing...
plex | [cont-init.d] 50-gid-video: exited 260.
plex | [cont-init.d] 60-plex-update: executing...
plex | [cont-init.d] 60-plex-update: exited 260.
plex | [cont-init.d] 99-custom-scripts: executing...
plex | [cont-init.d] 99-custom-scripts: exited 260.
plex | [cont-init.d] done.
plex | [services.d] starting services
plex | [services.d] done.
Nothing else happens, unfortunately.
I can’t find any files created in my ./config/
-directory, nor is there anything on the plex uri/port.
How can I debug what’s going on here?
Best,
Glenn
Could you provide docker logs plex
please so that it shows our banner and everything after?
Thanks
A banner doesn’t show. The output is the same as the compose output in the original post:
$ docker logs plex
[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 260.
[cont-init.d] 10-adduser: executing...
[cont-init.d] 10-adduser: exited 260.
[cont-init.d] 40-chown-files: executing...
[cont-init.d] 40-chown-files: exited 260.
[cont-init.d] 45-plex-claim: executing...
[cont-init.d] 45-plex-claim: exited 260.
[cont-init.d] 50-gid-video: executing...
[cont-init.d] 50-gid-video: exited 260.
[cont-init.d] 60-plex-update: executing...
[cont-init.d] 60-plex-update: exited 260.
[cont-init.d] 99-custom-scripts: executing...
[cont-init.d] 99-custom-scripts: exited 260.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
$
Ok not sure why that’s happening. Could you do docker exec plex date
and tell me the output?
Weird, I’m not getting anything out:
$ docker exec plex date
$
Also:
$ docker container ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4b65443fc7b6 ghcr.io/linuxserver/plex "/init" 2 minutes ago Up About a minute plex
All the init steps are failing, hence no banner or anything else useful.
Is your rpi an rpi1 or zero by any chance? Their cpu is armv6
, which is not supported. It needs to be armv7
or higher
$ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2835
Revision : 000e
Model : Raspberry Pi Model B Rev 2
Seems like I do have an ARMv6 processor. So this won’t work, then? Too bad.
Anyway, many thanks for the investigative work
yup, v6l
is a no go. Rpi 2 and up should be fine.
system
Closed
24 May 2021 17:40
9
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.