Skip to content

[BUG] Failed mail thresholds not found, won't send notification. #60

@bondskin

Description

@bondskin

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Initially mentioned here: Failed mail thresholds not found, won't send notification.

I have configured mail which is working for finishing the speedtest.
I also enabled thresholds.

Expected Behavior

I am unsure what this message is supposed to mean, it's confusing to me.
At this time (4:03 am CET) there was no scheduled job yet (it's planned for 5:03 am CET)
Documentation about Notifications is also ambiguous, as it could mean speedtest < thresholds or speedtest > thresholds.

Steps To Reproduce

Meaningful error message.

Environment

- OS: Debian Trixie
- How docker service was installed: Docker Compose

CPU architecture

x86-64

Docker creation

---
services:
  speedtest-tracker:
    image: lscr.io/linuxserver/speedtest-tracker:latest
    container_name: speedtest-tracker
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - APP_KEY="base64:xxx"
      - APP_URL="http://mcp.ip:8980"
      - DB_CONNECTION=sqlite
      - SPEEDTEST_SCHEDULE="3 5 * * *"
      - SPEEDTEST_SERVERS=31469
      - DB_HOST= #optional
      - DB_PORT= #optional
      - DB_DATABASE= #optional
      - DB_USERNAME= #optional
      - DB_PASSWORD= #optional
      - DISPLAY_TIMEZONE=Europe/Berlin #optional
      - PRUNE_RESULTS_OLDER_THAN=90 #optional
      - MAIL_MAILER=smtp
      - MAIL_HOST=smtp.gmail.com
      - MAIL_PORT=465
      - MAIL_USERNAME=xxx
      - MAIL_PASSWORD="xxx"
      - MAIL_FROM_ADDRESS="xxx"
      - MAIL_FROM_NAME="Speedtest Tracker"
      - MAIL_SCHEME=smtps
    volumes:
      #- /etc/localtime:/etc/localtime:ro
      #- /etc/timezone:/etc/timezone:ro
      - /home/mcp/docker/speedtest/data:/config
    ports:
      - 8980:80
    mem_limit: 512m
    cpus: 0.5
    restart: unless-stopped
    healthcheck:
      #test: curl -fSs APP_URL/api/healthcheck | jq -r .message || exit 1
      test: ["CMD-SHELL", "curl -fSs http://localhost:80/api/healthcheck | jq -r .message || exit 1"]
      interval: 125s
      retries: 3
      start_period: 30s
      timeout: 10s

Container logs

[2025-11-23 04:03:13] production.WARNING: Failed mail thresholds not found, won't send notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions