Skip to content

Troubleshooting

Common issues and solutions for Deleterr.

Configuration Issues

Unknown Config Key

Symptoms: Deleterr exits at startup with Unknown config key 'fieldd' at libraries[0].sort.fieldd, did you mean 'field'?

Deleterr refuses to start when the config has a key it does not recognize, so a typo can never silently turn off a rule.

Solutions:

  1. Fix the spelling: Use the suggested key, if one is shown

  2. Move the key: Keys like exclude, sort and leaving_soon belong inside each library, not at the top level

  3. Rename old keys: exclude.tags was never read; use exclude.plex_labels for Plex labels, or exclude.radarr.tags / exclude.sonarr.tags for Radarr and Sonarr tags

Connection Issues

Plex Connection Failed

Symptoms: Failed to connect to Plex or Plex token invalid

Solutions:

  1. Verify URL format: Include protocol and port

    plex:
      url: "http://192.168.1.100:32400"  # Not just "192.168.1.100"
    

  2. Check token: Get a fresh token from Plex documentation

  3. SSL issues: If using HTTPS with self-signed certificates:

    ssl_verify: false
    

  4. Network access: Ensure Deleterr container can reach Plex

    docker exec deleterr curl -s http://plex:32400/identity
    

Tautulli Connection Failed

Symptoms: Failed to connect to Tautulli or API key invalid

Solutions:

  1. Find API key: Tautulli > Settings > Web Interface > API Key

  2. Test connection:

    curl "http://tautulli:8181/api/v2?apikey=YOUR_KEY&cmd=get_server_info"
    

  3. Check API access: Ensure API is enabled in Tautulli settings

Radarr/Sonarr Connection Failed

Symptoms: Failed to connect to Radarr/Sonarr

Solutions:

  1. Find API key: Settings > General > Security > API Key

  2. Verify URL: Include /api/v3 is NOT needed - Deleterr handles this

  3. Test connection:

    curl -H "X-Api-Key: YOUR_KEY" http://radarr:7878/api/v3/system/status
    

Services Not Ready After a Reboot

Symptoms: Logs show Dependent services not reachable yet ... Retrying in ...

At startup Deleterr checks Plex/Tautulli, Radarr, Sonarr, Seerr and Trakt. Connection errors (refused, DNS, timeout) and HTTP 5xx responses (for example 502/503/504 from a reverse proxy) count as temporary. Deleterr retries them with backoff (5s, doubling, capped at 5 minutes) for up to 30 minutes.

If the services are still down after 30 minutes, Deleterr exits with status 1. With restart: unless-stopped Docker starts it again and the checks start over. With restart: no it stays stopped.

Config errors such as HTTP 401/403, a missing URL scheme or an SSL error are not retried. Deleterr logs the error and stays idle until you fix the config and restart it.

API keys in logged URLs (apiKey, apikey, api_key, X-Plex-Token) are replaced with [REDACTED].

Library Issues

Library Not Found

Symptoms: Library 'Movies' not found in Plex

Solutions:

  1. Check exact name: Library name must match exactly (case-sensitive)

    # List Plex libraries
    curl -H "X-Plex-Token: YOUR_TOKEN" \
      http://plex:32400/library/sections | grep title
    

  2. Use Plex library name: Not the folder name or Radarr root folder name

No Items Found for Deletion

Symptoms: Run completes but finds no items

Solutions:

  1. Check thresholds: Items must meet ALL criteria

    last_watched_threshold: 90   # Watched 90+ days ago
    added_at_threshold: 180      # Added 180+ days ago
    

  2. Verify watch history: Ensure Tautulli (or Plex, if no Tautulli configured) has watch data

  3. Check exclusions: Your exclusion rules might be too broad

  4. Review watch_status:

    watch_status: "watched"     # Only delete watched items
    watch_status: "unwatched"   # Only delete unwatched items
    watch_status: "all"         # Delete regardless of watch status
    

Wrong Items Being Deleted

Symptoms: Items deleted that shouldn't be

Solutions:

  1. Always start with dry_run:

    dry_run: true
    

  2. Add exclusions: Protect important content

    exclude:
      plex_labels: ["favorite", "keep"]
      collections: ["Marvel Cinematic Universe"]
    

  3. Check library mapping: Ensure Radarr/Sonarr instance matches the Plex library

Disk Threshold Issues

Threshold Not Working

Symptoms: Items deleted even when disk has space (or not deleted when low)

Solutions:

  1. Verify path: Must be a path accessible inside the container

    disk_size_threshold:
      - path: "/data/media"      # Container path, not host path
        threshold: "500GB"
    

  2. Check mount: Ensure the volume is mounted correctly

    docker exec deleterr df -h /data/media
    

  3. Threshold format: Use quotes and valid units

    threshold: "500GB"   # Correct
    threshold: 500GB     # May cause issues
    threshold: "500"     # Assumes bytes
    

Notification Issues

See Notifications Troubleshooting for notification-specific issues.

Docker Issues

Container Exits Immediately

Symptoms: Container starts and stops immediately

Solutions:

  1. Check logs:

    docker logs deleterr
    

  2. Verify config file: Ensure settings.yaml exists and is valid

    docker run --rm -v ./config:/config deleterr \
      python -c "import yaml; yaml.safe_load(open('/config/settings.yaml'))"
    

  3. Check scheduler: If using built-in scheduler, container should stay running

    scheduler:
      enabled: true
    

Permission Denied Errors

Symptoms: Permission denied when accessing config or logs

Solutions:

  1. Check ownership: Container runs as UID 1000 by default

    sudo chown -R 1000:1000 ./config ./logs
    

  2. Or use PUID/PGID:

    environment:
      - PUID=1000
      - PGID=1000
    

Config Changes Not Applied

Symptoms: Changes to settings.yaml don't take effect

Solutions:

  1. Restart container:

    docker compose restart deleterr
    

  2. Check file location: Config must be at /config/settings.yaml inside container

  3. Validate YAML syntax: Use a YAML validator

Scheduler Issues

Scheduler Not Running

Symptoms: Using built-in scheduler but Deleterr only runs once

Solutions:

  1. Enable scheduler:

    scheduler:
      enabled: true
      schedule: "weekly"
    

  2. Check restart policy:

    services:
      deleterr:
        restart: unless-stopped  # Not "no"
    

  3. View scheduler status:

    docker logs deleterr | grep -i schedul
    

Container marked unhealthy

Symptoms: docker inspect reports unhealthy for the Deleterr container

Solutions:

  1. Read the last-run file: /config/.deleterr_last_run.json records the last attempt. failed means the latest run (or a missed one) did not succeed. starting that is older than twice the schedule interval means no run has finished in time.
  2. Check the logs for the error stored in that file, then fix the cause (credentials, a missed window, a library that failed).
  3. Override the age limit only if a longer gap is expected: set DELETERR_HEALTH_MULTIPLIER (default 2) in the container environment.
  4. External schedulers and --run-once: the healthcheck is for the built-in scheduler. Disable it with healthcheck: disable: true in Compose, or set DELETERR_HEALTHCHECK=0.

Ofelia Not Triggering

Symptoms: Using Ofelia but Deleterr never runs

Solutions:

  1. Check Ofelia logs:

    docker logs scheduler
    

  2. Verify labels:

    labels:
      ofelia.job-run.deleterr.schedule: "@weekly"
      ofelia.job-run.deleterr.container: "deleterr"  # Must match container_name
    

  3. Ensure Docker socket mounted:

    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    

JustWatch Issues

Streaming Check Not Working

Symptoms: Items aren't being excluded even though they're on Netflix/etc.

Solutions:

  1. Check country code: Must match your streaming region

    justwatch:
      country: "US"  # ISO 3166-1 alpha-2 code
    

  2. Title matching: JustWatch searches by title -- unusual characters or regional titles may not match. Enable LOG_LEVEL: DEBUG to see search results.

  3. Rate limiting: If you see JustWatch API rate limit hit in logs, reduce max_actions_per_run or run less frequently.

See JustWatch Integration for full setup details.

Seerr / Overseerr Issues

Seerr Connection Failed

Symptoms: Cannot reach Seerr or API authentication failed

Solutions:

  1. Check URL and API key:

    seerr:
      url: "http://localhost:5055"
      api_key: "YOUR_API_KEY"  # From Seerr Settings > General
    

  2. Test connection:

    curl -H "X-Api-Key: YOUR_KEY" http://seerr:5055/api/v1/status
    

  3. Overseerr users: The same configuration works for Overseerr -- the overseerr config key is still accepted for backward compatibility.

Deleted Media Still Shows as Available

If deleted media still shows "available" in Seerr, enable update_status:

exclude:
  seerr:
    update_status: true

See Seerr / Overseerr Integration for full setup details.

Trakt / MDBList Issues

List Items Not Being Excluded

Symptoms: Items on Trakt/MDBList lists are still being deleted

Solutions:

  1. Verify credentials: Ensure trakt.client_id/client_secret or mdblist.api_key are correct

  2. Check list URL format: URLs must match supported patterns

    # Trakt
    - "https://trakt.tv/movies/trending"
    - "https://trakt.tv/users/username/lists/listname"
    
    # MDBList
    - "https://mdblist.com/lists/username/listname"
    

  3. Increase max_items_per_list: If your list has more items than the default limit

    trakt:
      max_items_per_list: 200   # Default: 100
    mdblist:
      max_items_per_list: 2000  # Default: 1000
    

  4. Check matching IDs: Trakt matches by TMDB/TVDB ID. If an item lacks these IDs, it won't match.

If the startup log warns that a library has Trakt list exclusions but no top-level trakt section, add trakt.client_id and trakt.client_secret. Until then, if the library uses a list that needs the Trakt API (user lists, watchlist, favorites, popular, trending), that list fails to fetch and the library is skipped each run with nothing deleted. Lists deleterr can't read (anticipated, boxoffice and the daily/weekly/monthly/yearly lists) are ignored and do not stop deletion.

See Trakt Integration and MDBList Integration for full setup details.

Getting Help

If you're still stuck:

  1. Enable debug logging:

    environment:
      LOG_LEVEL: DEBUG
    

  2. Check GitHub Issues: github.com/rfsbraz/deleterr/issues

  3. Create a new issue with:

  4. Deleterr version
  5. Sanitized config (remove API keys/tokens)
  6. Relevant log output
  7. Steps to reproduce