Skip to content

Transcription workflow fails on Docker image with Node 24 #1550

@bradykirk

Description

@bradykirk

Description

Self-hosted Docker deployment fails to run transcription workflows. The workflow queue crashes immediately with an ArrayBuffer error before reaching Deepgram or any actual transcription logic.

Error from logs:
[local world] Queue operation failed: TypeError: fetch failed
at async (.next/server/chunks/2242.js:30:10424) {
[cause]: TypeError: Cannot perform ArrayBuffer.prototype.slice on a detached ArrayBuffer
at ArrayBuffer.slice ()
}

Expected behavior: Transcription should process and generate captions for videos.

Root cause analysis: The workflow package (4.0.1-beta.42) appears incompatible with Node 24. The current Dockerfile uses node:24-alpine, and the ArrayBuffer detachment error is consistent with V8
changes in newer Node versions affecting buffer handling in the workflow package's local execution mode.

Reproduction

  1. Deploy ghcr.io/capsoftware/cap-web:latest via Docker (using Coolify)
  2. Set DEEPGRAM_API_KEY environment variable
  3. Upload a video with audio
  4. View the video share page
  5. Observe repeated [local world] Queue operation failed errors in logs

Additional Context

  • Cap version: ghcr.io/capsoftware/cap-web:latest
  • Operating system, version: Docker on Coolify (Linux host)
  • Device (optional): Self-hosted server

Container Node version: v24.12.0

Potential fix??? Downgrade to Node 20 or 22 LTS in the Dockerfile, or update the workflow package to a version compatible with Node 24.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions