plex-server doesn't work on my RPI 3
Opened this issue · 4 comments
The whole thing works great except for two things. First of all I had to comment out the last two lines of the docker-compose.yml file:
ports:
- 6767:6767
That allowed bazarr to load. Since it's only for subtitles, I probably won't use it anyway.
The second problem is that plex-server won't stay started. I see this in the docker logs over and over:
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
It just keeps restarting. I'm guessing it has to do with building the docker image for the arm architecture of my Raspberry Pi. I'm new to docker could you please point me in the right direction?
You are right. You need to use the arm version of plex media server.
https://hub.docker.com/r/linuxserver/plex
Thank you kind sir. I modified the plex-server section of the docker-compose.yml as follows:
plex-server:
container_name: plex-server
image: plexinc/pms-docker:latest
image: ghcr.io/linuxserver/plex
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ} # timezone, defined in .env
- VERSION=docker
network_mode: host
volumes:
- ${ROOT}/config/plex/db:/config # plex database
- ${ROOT}/config/plex/transcode:/transcode # temp transcoded files
- ${ROOT}/complete:/data # media library
- ${ROOT}/complete/tv:/tv
- ${ROOT}/complete/movies:/movies
Sorry for the weird formatting. Apparently the editor doesn't like hastags. Or, as us old school programmers call them.... pound signs.
For anyone with a Raspberry Pi 4 just update the plex section in your docker-compse.yml file like this below. I hard coded my volumes path a bit different.
plex-server:
container_name: plex-server
image: ghcr.io/linuxserver/plex
restart: unless-stopped
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
- VERSION=docker
network_mode: host
volumes:
- /home/pi/config/plex/db:/config # plex database
- /home/pi/config/plex/transcode:/transcode # temp transcoded files
- /mnt/downloads/complete:/data # media library
- /mnt/downloads/complete/tv:/tv
- /mnt/downloads/complete/movies:/movies