How to install Plex Media Server on a Docker @Rasperry Pi

I am trying to install Plex Media Server on a docker in Rasperry Pi. As per this link - “GitHub - plexinc/pms-docker: Plex Media Server Docker repo, for all your PMS docker needs.” , I have to execute this command - "docker build -t plexinc/pms-docker:latest -f Dockerfile.armv7 . " for build the ARM images locally. But I see it is failing as below. Kindly let me know how to fix this and successfully install latest Plex Media Server on a docker in my Rasperry Pi.

$ sudo docker build -f Dockerfile.arm64 -t plexinc/pms-docker:latest .
Sending build context to Docker daemon 61.95MB
Error response from daemon: dockerfile parse error line 1: unknown instruction: {“PAYLOAD”:{“ALLSHORTCUTSENABLED”:FALSE,“FILETREE”:{“”:{“ITEMS”:[{“NAME”:“.GITHUB”,“PATH”:“.GITHUB”,“CONTENTTYPE”:“DIRECTORY”},{“NAME”:“CHARTS”,“PATH”:“CHARTS”,“CONTENTTYPE”:“DIRECTORY”},{“NAME”:“IMG”,“PATH”:“IMG”,“CONTENTTYPE”:“DIRECTORY”},{“NAME”:“ROOT”,“PATH”:“ROOT”,“CONTENTTYPE”:“DIRECTORY”},{“NAME”:“.DOCKERIGNORE”,“PATH”:“.DOCKERIGNORE”,“CONTENTTYPE”:“FILE”},{“NAME”:“.GITIGNORE”,“PATH”:“.GITIGNORE”,“CONTENTTYPE”:“FILE”},{“NAME”:“CODE_OF_CONDUCT.MD”,“PATH”:“CODE_OF_CONDUCT.MD”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKERFILE”,“PATH”:“DOCKERFILE”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKERFILE.ARM64”,“PATH”:“DOCKERFILE.ARM64”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKERFILE.ARMV7”,“PATH”:“DOCKERFILE.ARMV7”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKERFILE.I386”,“PATH”:“DOCKERFILE.I386”,“CONTENTTYPE”:“FILE”},{“NAME”:“README.MD”,“PATH”:“README.MD”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKER-COMPOSE-BRIDGE.YML.TEMPLATE”,“PATH”:“DOCKER-COMPOSE-BRIDGE.YML.TEMPLATE”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKER-COMPOSE-HOST.YML.TEMPLATE”,“PATH”:“DOCKER-COMPOSE-HOST.YML.TEMPLATE”,“CONTENTTYPE”:“FILE”},{“NAME”:“DOCKER-COMPOSE-MACVLAN.YML.TEMPLATE”,“PATH”:“DOCKER-COMPOSE-MACVLAN.YML.TEMPLATE”,“CONTENTTYPE”:“FILE”},{“NAME”:“PLEX-UNRAID.XML”,“PATH”:“PLEX-UNRAID.XML”,“CONTENTTYPE”:“FILE”}],“TOTALCOUNT”:16}},“FILETREEPROCESSINGTIME”:2.8604809999999996,“FOLDERSTOFETCH”:,“REDUCEDMOTIONENABLED”:NULL,“REPO”:{“ID”:75842869,“DEFAULTBRANCH”:“MASTER”,“NAME”:“PMS-DOCKER”,“OWNERLOGIN”:“PLEXINC”,“CURRENTUSERCANPUSH”:FALSE,“ISFORK”:FALSE,“ISEMPTY”:FALSE,“CREATEDAT”:“2016-12-07T14:19:25.000Z”,“OWNERAVATAR”:"GitHub: Let’s build from here · GitHub

Use Linuxserver’s Plex image. They support arm64 without the extra work:

https://hub.docker.com/r/linuxserver/plex

I already tried this but it also fails as below

-bash: claim-Kb5kgBKw4ZUJdchznaXV: command not found
Unable to find image ‘linuxserver/plex:latest’ locally
latest: Pulling from linuxserver/plex
docker: no matching manifest for linux/arm/v7 in the manifest list entries.

Did you try: docker pull linuxserver/plex:arm64v8-latest

Thanks for the suggestion. I didn’t try before but I tried it now and I am getting the below error

Unable to find image ‘linuxserver/plex:arm64v8-latest’ locally
arm64v8-latest: Pulling from linuxserver/plex
8aa5d03144fc: Pull complete
b81e0d862760: Pull complete
4e6c0abc6547: Pull complete
6aa304df8cb4: Pull complete
3b6c87ac3047: Pull complete
967b826dbb51: Pull complete
af5373360a1e: Pull complete
4356e1dfd5d1: Pull complete
Digest: sha256:153a98a953fd1511cebd994d1c9554a7ed4628b64ba61a54ff408b572c16a628
Status: Downloaded newer image for linuxserver/plex:arm64v8-latest
WARNING: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
5afff90cd54b6a754cee0478e2866836e65ded878cb4157e3fff008e05bd63ba

I see the docker is restarting continuously as below
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5afff90cd54b linuxserver/plex:arm64v8-latest “/init” 3 minutes ago Restarting (159) 20 seconds ago

What Pi model do you have? It looks you have 32-bit Raspberry OS installed so arm64 installation won’t work.

In this case, try: docker pull linuxserver/plex:arm32v7-latest

Raspberry Pi 4 and the uname output as below which shows 64 bit.

sujith@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
sujith@raspberrypi:~ $

That’s odd. Did you try: docker pull linuxserver/plex:arm32v7-latest

Yes I tried docker pull linuxserver/plex:arm32v7-latest as well but it also throws this error

Unable to find image ‘linuxserver/plex:arm32v7-latest’ locally
arm32v7-latest: Pulling from linuxserver/plex
docker: no matching manifest for linux/arm/v7 in the manifest list entries.
See ‘docker run --help’.

Ok, I see why arm32v7-latest doesn’t work. Linuxserver designated it for amd64 by mistake.

Try this: docker pull linuxserver/plex:1.32.4.7195-7c8f9d3b6-ls174

If that doesn’t work, try: docker pull linuxserver/plex:arm32v7-1.32.4

Thanks a lot @happytaz. That worked. I am able to install - “docker pull linuxserver/plex:1.32.4.7195-7c8f9d3b6-ls174”. How can I pull the latest updates ?

You can’t with the tag arm32v7-latest because Linuxserver mistakenly designated it for amd64.

The only current way to update is to monitor their Tag pages:

https://hub.docker.com/r/linuxserver/plex/tags

Look under OS/ARCH for linux/arm/v7. Those are the versions that will work for you.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.