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

[Feature Request] Support for ARM, e.g. Raspberry Pi #27

Closed
mgoeppl opened this issue Jan 5, 2021 · 14 comments
Closed

[Feature Request] Support for ARM, e.g. Raspberry Pi #27

mgoeppl opened this issue Jan 5, 2021 · 14 comments
Labels
enhancement New feature or request

Comments

@mgoeppl
Copy link

mgoeppl commented Jan 5, 2021

Is your feature request related to a problem? Please describe.
I use the Plex server on an x86_64 machine, with all the "support services" on a few Raspberry Pi 4s.

Describe the solution you'd like
An ARM build of the Docker image.

@mgoeppl mgoeppl added the enhancement New feature or request label Jan 5, 2021
@LukeChannings
Copy link
Owner

Hey,

This is definitely something I'm gonna get around to.
For the time being, the :develop tag tracks the main branch, and has images for ARM64, AMD64, and i386. I'll update to provide an ARM7 (32-bit ARM) image, in case you're stuck on a 32-bit OS.
At the moment I'm doing most work in the dev branch, so main is pretty stable.

@LukeChannings
Copy link
Owner

Ok I spoke too soon. GitHub's docker build action does indeed provide an ARM build, but I'm not sure it actually works.

Deno does not currently provide ARM64/ARM7 builds, and my upstream image hayd/alpine-deno also doesn't provide anything other than x86_64.

This is definitely something I'll keep a close eye on though.

@jacosta00021
Copy link

I got stuck trying to run this on my pi 4 as well. Would love the ability to run this, if you're able to get this to work!

@LukeChannings
Copy link
Owner

Blocked by denoland/deno#1846

@LukeChannings
Copy link
Owner

@mgoeppl @jacosta00021,

I've just pushed an ARM64 image for 1.7.0. Can you try it out and let me know how it does?

I don't think there's a high chance of getting a 32-bit ARM image, so hopefully you're not running a 32-bit ARM Linux.

Raspberry Pi OS and Ubuntu have both been available in 64-bit for a while now.

Luke

@jacosta00021
Copy link

i'm using raspbian on a pi 4, which i guess is 32 bit :(
Unfortunately gave me this error: ERROR: no matching manifest for linux/arm/v7 in the manifest list entries

@LukeChannings
Copy link
Owner

Yep, that's 32-bit ARM. I can try to get a build for 32-bit ARM, but I haven't had any success thus far.

@jacosta00021
Copy link

i guess i could always look into upgrading to a big boy OS....

@mgoeppl
Copy link
Author

mgoeppl commented Jan 12, 2021

I tried it on a RasPi 4 with an Ubuntu Server 20.04 LTS ARM64 build, and it had the classic exec format error, until I added the sha256-checksum to the docker container name in my docker-compose file (part with moviematch attached). This one works like a charm, although not automatically and probably won't update beyond the current 1.7.0 build (not 100% sure, though).

version: "2.1"
services:
  moviematch:
    image: lukechannings/moviematch:latest@sha256:9b94f9d61f2451697b4341c1a0615103a64d370f32c560374d1bd113fef23774
    container_name: moviematch
    environment:
      - PLEX_URL=https://plex.example.com:443
      - LIBRARY_FILTER=Movies
      - PLEX_TOKEN=xxxxxxxx
    ports:
      - 7676:8000
    restart: always

@LukeChannings
Copy link
Owner

I think possibly you haven't pulled the latest (docker-compose stop && docker-compose pull && docker-compose up, etc.)

I've tested on my Raspberry Pi 4 with both the :latest and :1.7.0 tags and have confirmed it's working.

Screenshot 2021-01-12 at 20 20 09

@mgoeppl
Copy link
Author

mgoeppl commented Jan 13, 2021

Alright, I pulled the image with docker pull lukechannings/moviematch:latest and it started working... weird behaviour, but works.

@LukeChannings
Copy link
Owner

As far as I am aware this has always been how Docker worked. docker-compose up --force-recreate might also help.

@mgoeppl
Copy link
Author

mgoeppl commented Jan 13, 2021 via email

@jacosta00021
Copy link

Fresh install of Ubuntu on my pi 4 and it's working beautifully. Thanks for spending time on this!

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

No branches or pull requests

3 participants