Skip to content

Unable to update yt-dlp using update button from UI #451

@azcn2503

Description

@azcn2503

When clicking the Update button to update yt-dlp from within the Youtarr UI, I am presented with a toast:

Update failed with exit code 100

Docker logs show:

youtarr  | [2026-03-04 08:49:40.327 +0000] INFO: Starting yt-dlp update
youtarr  | [2026-03-04 08:49:41.778 +0000] ERROR: yt-dlp update failed {"code":100,"output":"Current version: stable@2026.02.21 from yt-dlp/yt-dlp\nLatest version: stable@2026.03.03 from yt-dlp/yt-dlp\nCurrent Build Hash: 91d023f421dffd6fd354d233edb784a05d5dde2c1c585fcb599d5cc23ecb759e\nUpdating to stable@2026.03.03 from yt-dlp/yt-dlp ...\nERROR: Unable to write to /usr/local/bin/yt-dlp; try running as administrator\n"}

My compose configuration looks like this:

  youtarr:
    image: dialmaster/youtarr:latest
    container_name: youtarr
    restart: unless-stopped
    depends_on:
      - youtarr-db
    user: "1000:1000"
    environment:
      DB_HOST: youtarr-db
      DB_PORT: 3306
      DB_NAME: youtarr
      DB_USER: youtarr
      DB_PASSWORD: youtarr
      DB_ROOT_PASSWORD: youtarr
      YOUTUBE_OUTPUT_DIR: /data/videos         # where downloads land
      TZ: Europe/London                   # adjust to your timezone
      AUTH_PRESET: local                  # use local auth by default
      AUTH_PRESET_USERNAME: # removed
      AUTH_PRESET_PASSWORD: # removed
      YOUTARR_UID: 1000
      YOUTARR_GID: 1000
    ports:
      - "3011:3011"   # Youtarr UI
    volumes:
      - ./youtarr/config:/app/config
      - ./youtarr/jobs:/app/jobs
      - ./youtarr/images:/app/server/images
      - /mnt/16tb-usb-hdd/Plex/YouTube:/usr/src/app/data

I'm assuming I've done something bad in the config related to permissions or related to running as UID/GID 1000.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions