Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plex-server doesn't work on my RPI 3 #58

Open
emkowale opened this issue Feb 16, 2021 · 4 comments
Open

plex-server doesn't work on my RPI 3 #58

emkowale opened this issue Feb 16, 2021 · 4 comments

Comments

@emkowale
Copy link

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?

@jbusuttil83
Copy link
Contributor

You are right. You need to use the arm version of plex media server.
https://hub.docker.com/r/linuxserver/plex

@emkowale
Copy link
Author

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

@emkowale
Copy link
Author

Sorry for the weird formatting. Apparently the editor doesn't like hastags. Or, as us old school programmers call them.... pound signs.

@emkowale
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants