Skip to content

[BUG] exec format error on 1.42.2 #438

@Starttoaster

Description

@Starttoaster

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Upon updating to lscr.io/linuxserver/plex:1.42.2 my container began crash looping with exec /init: exec format error.

Expected Behavior

I would update to 1.42.2 and it would behave the same as 1.42.1.

Steps To Reproduce

  1. Run Plex of any other version, ie. 1.42.1
  2. Update to this image's 1.42.2 or latest tags
  3. Plex no longer functions

I confirmed that rolling my setup back to 1.42.1 allowed Plex to start up like normal again. So I'm guessing a critical binary in this Plex container's entrypoint was only built for arm64.

Environment

I run Plex in Kubernetes, using containerd 1.7.29 as the CRI. Base OS is Ubuntu 24.04, kernel 6.8.0-90-generic. The node is amd64.

CPU architecture

x86-64

Docker creation

apiVersion: apps/v1
kind: Deployment
metadata:
  name: plex
  namespace: plex
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/instance: plex
  template:
    metadata:
      labels:
        app.kubernetes.io/instance: plex
    spec:
      volumes:
        - name: movies
          persistentVolumeClaim:
            claimName: plex-generic-movies
        - name: tv
          persistentVolumeClaim:
            claimName: plex-generic-tv
        - name: youtube
          persistentVolumeClaim:
            claimName: plex-generic-youtube
        - name: config
          hostPath:
            path: /home/bb/server/plex/config
            type: ''
        - name: cache
          hostPath:
            path: /home/bb/server/plex/cache
            type: ''
        - name: dri
          hostPath:
            path: /dev/dri
            type: ''
      containers:
        - name: generic
          image: linuxserver/plex:1.42.2
          ports:
            - name: http
              containerPort: 32400
              protocol: TCP
          env:
            - name: TZ
              value: America/Vancouver
            - name: VERSION
              value: docker
          resources: {}
          volumeMounts:
            - name: movies
              readOnly: true
              mountPath: /movies
            - name: tv
              readOnly: true
              mountPath: /tv
            - name: youtube
              readOnly: true
              mountPath: /youtube
            - name: config
              mountPath: /config
            - name: cache
              mountPath: /temp-transcode
            - name: dri
              mountPath: /dev/dri
          securityContext:
            privileged: true
      restartPolicy: Always
      serviceAccountName: plex
      serviceAccount: plex
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 25%
      maxSurge: 25%

Container logs

`exec /init: exec format error`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions