Skip to content

Livenessprobe broken after Helm Chart upgrade #2796

Closed

Description

@98jan

Description

Hi,

I updated the helm chart to 3.3.1 and the liveness and readiness probes are broken.

Image

Version

3.3.1

Steps to Reproduce

  1. Install latest helm chart version

Screenshots

No response

Logs

Platform

desktop

Database

PostgreSQL

Device

PC

Operating System

Windows

Browser

Chrome

Additional Context

No response

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Activity

  1. added theissue type on Apr 1, 2026
  2. added
    awaiting triage
    on Apr 1, 2026
  3. github-actions commented on Apr 1, 2026

    @github-actions

    Possible duplicate detected

    This issue may be a duplicate of the following (detected via semantic similarity + LLM review):

    • Align health checks in helm chart with docs for docker #2754 (62% match) — Align health checks in helm chart with docs for docker

      Both issues relate to problems with the liveness and readiness probes in the Helm chart, with the new issue being a direct consequence of the probe configuration discussed in the candidate issue.

    A maintainer will review this. If this is not a duplicate, no action is needed.

  4. M0NsTeRRR commented on Apr 1, 2026

    @M0NsTeRRR
    Member

    Could you share your values.yaml file and the output of the kubectl describe deployment command?

  5. 98jan commented on Apr 2, 2026

    @98jan
    Author

    values.yaml

        # configure database connection
        extraEnv:
          - name: TZ
            value: Europe/Berlin
          # configure postgresql
          - name: DB_TYPE
            value: postgres
          - name: DB_HOST
            value: postgres-cluster-rw.cnpg-cluster
          - name: DB_NAME
            value: jellyseerr
          - name: DB_USER
            valueFrom:
              secretKeyRef:
                key: username
                name: seerr-db
          - name: DB_PASS
            valueFrom:
              secretKeyRef:
                key: password
                name: seerr-db
        # configure persistence
        config:
          persistence:
            size: 1Gi
        ingress:
          enabled: true
          ingressClassName: traefik
          annotations:
            cert-manager.io/cluster-issuer: "letsencrypt-prod"
          hosts:
            - host: seerr.${DOMAIN}
              paths:
                - path: /
                  pathType: ImplementationSpecific
          tls:
            - secretName: seerr-tls
              hosts:
                - seerr.${DOMAIN}
    

    Statefulset.yaml (kubectl get sts -n seerr -o yaml)

    apiVersion: v1
    items:
    - apiVersion: apps/v1
      kind: StatefulSet
      metadata:
        annotations:
          meta.helm.sh/release-name: seerr
          meta.helm.sh/release-namespace: seerr
        creationTimestamp: "2026-02-20T20:49:06Z"
        generation: 6
        labels:
          app.kubernetes.io/instance: seerr
          app.kubernetes.io/managed-by: Helm
          app.kubernetes.io/name: seerr-chart
          app.kubernetes.io/part-of: seerr-chart
          app.kubernetes.io/version: v3.1.0
          helm.sh/chart: seerr-chart-3.3.1_0b13f91b9330
          helm.toolkit.fluxcd.io/name: seerr
          helm.toolkit.fluxcd.io/namespace: seerr
        name: seerr-seerr-chart
        namespace: seerr
        resourceVersion: "28758465"
        uid: f169ead6-da58-42f3-b8a1-48cfdd06f508
      spec:
        persistentVolumeClaimRetentionPolicy:
          whenDeleted: Retain
          whenScaled: Retain
        podManagementPolicy: OrderedReady
        replicas: 1
        revisionHistoryLimit: 10
        selector:
          matchLabels:
            app.kubernetes.io/instance: seerr
            app.kubernetes.io/name: seerr-chart
        serviceName: seerr-seerr-chart
        template:
          metadata:
            labels:
              app.kubernetes.io/instance: seerr
              app.kubernetes.io/managed-by: Helm
              app.kubernetes.io/name: seerr-chart
              app.kubernetes.io/part-of: seerr-chart
              app.kubernetes.io/version: v3.1.0
              helm.sh/chart: seerr-chart-3.3.1_0b13f91b9330
          spec:
            containers:
            - env:
              - name: TZ
                value: Europe/Berlin
              - name: DB_TYPE
                value: postgres
              - name: DB_HOST
                value: postgres-cluster-rw.cnpg-cluster
              - name: DB_NAME
                value: jellyseerr
              - name: DB_USER
                valueFrom:
                  secretKeyRef:
                    key: username
                    name: seerr-db
              - name: DB_PASS
                valueFrom:
                  secretKeyRef:
                    key: password
                    name: seerr-db
              image: ghcr.io/seerr-team/seerr:v3.1.0
              imagePullPolicy: IfNotPresent
              livenessProbe:
                failureThreshold: 3
                httpGet:
                  path: /api/v1/status
                  port: http
                  scheme: HTTP
                initialDelaySeconds: 20
                periodSeconds: 15
                successThreshold: 1
                timeoutSeconds: 3
              name: seerr-chart
              ports:
              - containerPort: 5055
                name: http
                protocol: TCP
              readinessProbe:
                failureThreshold: 3
                httpGet:
                  path: /api/v1/status
                  port: http
                  scheme: HTTP
                initialDelaySeconds: 60
                periodSeconds: 15
                successThreshold: 1
                timeoutSeconds: 3
              resources: {}
              securityContext:
                allowPrivilegeEscalation: false
                capabilities:
                  drop:
                  - ALL
                privileged: false
                readOnlyRootFilesystem: false
                runAsGroup: 1000
                runAsNonRoot: true
                runAsUser: 1000
                seccompProfile:
                  type: RuntimeDefault
              terminationMessagePath: /dev/termination-log
              terminationMessagePolicy: File
              volumeMounts:
              - mountPath: /app/config
                name: config
            dnsPolicy: ClusterFirst
            restartPolicy: Always
            schedulerName: default-scheduler
            securityContext:
              fsGroup: 1000
              fsGroupChangePolicy: OnRootMismatch
            serviceAccount: seerr-seerr-chart
            serviceAccountName: seerr-seerr-chart
            terminationGracePeriodSeconds: 30
            volumes:
            - name: config
              persistentVolumeClaim:
                claimName: seerr-seerr-chart-config
        updateStrategy:
          rollingUpdate:
            maxUnavailable: 1
            partition: 0
          type: RollingUpdate
      status:
        availableReplicas: 0
        collisionCount: 0
        currentRevision: seerr-seerr-chart-778bcb575d
        observedGeneration: 6
        replicas: 1
        updateRevision: seerr-seerr-chart-7f8dd9c4b8
        updatedReplicas: 1
    kind: List
    metadata:
      resourceVersion: ""
    
  6. M0NsTeRRR commented on Apr 2, 2026

    @M0NsTeRRR
    Member

    Sorry, I forgot to ask could you also provide the logs/events associated with the failing probe?

  7. 98jan commented on Apr 2, 2026

    @98jan
    Author
    Events:
      Type     Reason     Age                  From               Message
      ----     ------     ----                 ----               -------
      Normal   Scheduled  5m4s                 default-scheduler  Successfully assigned seerr/seerr-seerr-chart-0 to k8s-control-plane-1
      Warning  Unhealthy  3m51s                kubelet            spec.containers{seerr-chart}: Readiness probe failed: Get "http://172.22.1.102:5055/api/v1/status": EOF
      Warning  Unhealthy  3m51s                kubelet            spec.containers{seerr-chart}: Readiness probe failed: Get "http://172.22.1.102:5055/api/v1/status": dial tcp 172.22.1.102:5055: connect: connection refused
      Normal   Killing    51s (x4 over 3m51s)  kubelet            spec.containers{seerr-chart}: Container seerr-chart failed liveness probe, will be restarted
      Normal   Pulled     50s (x5 over 4m53s)  kubelet            spec.containers{seerr-chart}: Container image "ghcr.io/seerr-team/seerr:v3.1.0" already present on machine and can be accessed by the pod
      Normal   Created    50s (x5 over 4m53s)  kubelet            spec.containers{seerr-chart}: Container created
      Normal   Started    50s (x5 over 4m53s)  kubelet            spec.containers{seerr-chart}: Container started
      Warning  Unhealthy  6s (x14 over 4m21s)  kubelet            spec.containers{seerr-chart}: Liveness probe failed: Get "http://172.22.1.102:5055/api/v1/status": context deadline exceeded (Client.Timeout exceed
    
  8. M0NsTeRRR commented on Apr 2, 2026

    @M0NsTeRRR
    Member

    It looks like seerr is slow to start on your machine, likely because your machine is slow or has limited resources available. Could you try increasing the Liveness/Readiness probe timeouts to 300 seconds to test ?

  9. 98jan commented on Apr 2, 2026

    @98jan
    Author

    okay, is there any indications in the logs when the server is rdy?
    The startup of the seerr server looks quite fast, but the download sync takes it's time. Is the status endpoint only available, when download is completed?

    > seerr@3.1.0 start
    > NODE_ENV=production node dist/index.js
    
    2026-04-02T08:30:09.055Z [info]: Commit Tag: 94a70bb5fc9a4486857071a6fc048c8081fa7ca9
    2026-04-02T08:30:09.334Z [info]: Starting Seerr version 3.1.0
    2026-04-02T08:30:09.693Z [debug][Settings Migrator]: Checking migration '0001_migrate_hostname.js'...
    2026-04-02T08:30:09.694Z [debug][Settings Migrator]: Checking migration '0002_migrate_apitokens.js'...
    2026-04-02T08:30:09.695Z [debug][Settings Migrator]: Checking migration '0003_emby_media_server_type.js'...
    2026-04-02T08:30:09.696Z [debug][Settings Migrator]: Checking migration '0004_migrate_region_setting.js'...
    2026-04-02T08:30:09.697Z [debug][Settings Migrator]: Checking migration '0005_migrate_network_settings.js'...
    2026-04-02T08:30:09.697Z [debug][Settings Migrator]: Checking migration '0006_remove_lunasea.js'...
    2026-04-02T08:30:09.698Z [debug][Settings Migrator]: Checking migration '0007_migrate_arr_tags.js'...
    2026-04-02T08:30:09.699Z [debug][Settings Migrator]: Checking migration '0008_migrate_blacklist_to_blocklist.js'...
    2026-04-02T08:30:09.727Z [info][Notifications]: Registered notification agents
    2026-04-02T08:30:09.751Z [info][Jobs]: Scheduled jobs loaded
    2026-04-02T08:30:09.827Z [info][Server]: Server ready on port 5055
    2026-04-02T08:31:00.005Z [debug][Jobs]: Starting scheduled job: Download Sync
    2026-04-02T08:32:00.005Z [debug][Jobs]: Starting scheduled job: Download Sync
    2026-04-02T08:32:51.254Z [warn][GitHub API]: Failed to retrieve GitHub releases. This may be an issue on GitHub's end. Seerr can't check if it's on the latest version. {"errorMessage":"connect ETIMEDOUT 140.82.121.6:443"}
    2026-04-02T08:33:00.002Z [debug][Jobs]: Starting scheduled job: Download Sync
    2026-04-02T08:33:07.636Z [warn][GitHub API]: Failed to retrieve GitHub releases. This may be an issue on GitHub's end. Seerr can't check if it's on the latest version. {"errorMessage":"connect ETIMEDOUT 140.82.121.6:443"}
    

    The calls for checking the updates is blocked by cilium and was never an issue. Also extending the liveness/readiness doesn't really help here.

  10. M0NsTeRRR commented on Apr 2, 2026

    @M0NsTeRRR
    Member

    okay, is there any indications in the logs when the server is rdy?

    Yes as you can see 2026-04-02T08:30:09.827Z [info][Server]: Server ready on port 5055

    The calls for checking the updates is blocked by cilium and was never an issue. Also extending the liveness/readiness doesn't really help here.

    This is not an issue, only a warning and there is a feature request to disable it already see #1873

  11. 98jan commented on Apr 2, 2026

    @98jan
    Author

    As you can see in the logs, the server is rdy. in under a second, not sure why this endpoint is returning a timeout.
    Do you know what the requirements for a healthy endpoint are?

  12. 98jan commented on Apr 2, 2026

    @98jan
    Author

    It looks like there is a REST call connected to the status endpoint and needs a lot of time (probably failing because it's blocked in the firewall). Needs around 5min. till I get a response from this endpoint.

  13. M0NsTeRRR commented on Apr 2, 2026

    @M0NsTeRRR
    Member

    Thanks to @fallenbagel for helping investigate the issue ❤️. The status endpoint is slow to start because the GitHub API health check is timing out. You will have to wait until #1873 is closed.

    https://github.com/seerr-team/seerr/blob/develop/server%2Froutes%2Findex.ts#L50-L96

  14. 98jan commented on Apr 2, 2026

    @98jan
    Author

    Okay then I will revert to the older helm chart version, till this is fixed. Thanks for investigating.

  15. added a commit that references this issue on Apr 3, 2026
    40a15b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions