#1845·linkwarden

v2.16.3: worker crash-loops on startup — Playwright headless_shell binary missing, unhandled rejection kills entire container

Author: sakersCreated Sep 22, 2026Updated Sep 22, 2026

Description

The official linkwarden/linkwarden:v2.16.3 Docker image crash-loops on startup with default configuration (no custom env vars, no DISABLE_BROWSER, no Playwright-related overrides). The [worker] process throws an uncaught exception because the Chromium headless_shell binary Playwright expects isn't present in the image, which kills the whole container (exit code 1), and the pod restarts into the same failure indefinitely (CrashLoopBackOff).

This reproduced consistently across multiple restarts on a real Kubernetes deployment (not a fresh docker run — same result both times I tested it).

Steps to reproduce

  1. Run the official image, e.g.: docker run --rm -e NEXTAUTH_SECRET=test -e POSTGRES_HOST=... linkwarden/linkwarden:v2.16.3 (or deploy via the adnoctem/linkwarden Helm chart with just image.tag: v2.16.3, everything else default)
  2. Web server starts fine ([web] - ready started server on 0.0.0.0:3000)
  3. [worker] starts, logs "Initializing the worker...", "Starting RSS polling...", "Starting link processing..."
  4. Within ~10-60s, worker throws and the whole container exits: [worker] node:internal/process/promises:394 [worker] triggerUncaughtException(err, true /* fromPromise */); [worker] ^ [worker] [worker] browserType.launch: Executable doesn't exist at /ms-playwright/chromium_headless_shell-1187/chrome-linux/headless_shell [worker] ╔═════════════════════════════════════════════════════════════════════════╗ [worker] ║ Looks like Playwright Test or Playwright was just installed or updated. ║ [worker] ║ Please run the following command to download new browsers: ║ [worker] ║ ║ [worker] ║ npx playwright install ║ [worker] ║ ║ [worker] ║ <3 Playwright Team ║ [worker] ╚═════════════════════════════════════════════════════════════════════════╝ [worker] at launchBrowser (/data/apps/worker/lib/browser.ts:58:19) [worker] at linkProcessing (/data/apps/worker/workers/linkProcessing.ts:14:23) [worker] at init (/data/apps/worker/worker.ts:12:3) [worker] at (/data/apps/worker/worker.ts:17:1) [worker] at Object. (/data/apps/worker/worker.ts:17:6) [worker] at Object.transformer (/data/node_modules/tsx/dist/register-DCnOAxY2.cjs:2:1186) { [worker] name: 'Error' [worker] } [worker] [worker] Node.js v22.23.2 [worker] cd /data/apps/worker && exec tsx worker.ts exited with code 1 --> Sending SIGTERM to other processes.. [web] cd /data/apps/web && exec next start exited with code 0
  5. Container exits entirely (not just the worker sub-process) and restarts, repeating the same failure — CrashLoopBackOff.

Expected behavior

Either:

  • The worker's Playwright launch failure shouldn't be fatal to the whole container (an unhandled promise rejection in linkProcessing kills the entire process instead of just failing that job/queue item), or
  • The image should actually ship the Chromium headless_shell revision Playwright expects, so this path doesn't fail at all under default config.

Environment

  • Image: linkwarden/linkwarden:v2.16.3
  • Deployed via Kubernetes (Helm chart adnoctem/linkwarden 0.4.2), default image.tag override only, no other browser/Playwright-related env vars set
  • Node.js v22.23.2 (per the crash log)
  • This may be related to the Docker image size reduction mentioned in the v2.15.0 release notes (dropping from ~3.0GB to ~1.5GB) - possibly the smaller image no longer bundles the exact headless_shell revision the installed playwright-core/playwright package expects.

Additional context

We're currently pinned to v2.13.2 in production because of a separate worker crash on startup we hit testing v2.13.3 (an @ai-sdk/@ai-sdk/provider-utils version-mismatch error, not this Playwright issue). We just tested v2.16.3 specifically to see if it was safe to move off that pin, and hit this instead. Not clear whether it's the same root cause resurfacing differently or an unrelated regression - happy to test any proposed fix against our environment either way.