Skip to content

[BUG] production.WARNING: Failed mail thresholds not found, won't send notification. #46

Open
@binderth

Description

@binderth

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

What I did:

  1. configured Email via env-variables
  2. configured thresholds within the GUI
  3. configure mail channel
  4. I can send test-emails and
  5. I receive emails, if a threshold is violated
    but in the logs I see on every run the following:
...
[2025-03-06 04:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-06 08:06:16] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-06 12:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-06 16:06:18] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-06 20:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-07 00:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-07 04:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-07 08:06:18] production.WARNING: Failed mail thresholds not found, won't send notification.  
...

Expected Behavior

no WARNINGs in the log ;)

Steps To Reproduce

  1. launch version v1.2.5-ls82
  2. configure SMTP
  3. configure thresholds
  4. configure mail channel
  5. get WARNings

Environment

- OS: Linux/portainer
- How docker service was installed:  via portainer Stack

CPU architecture

x86-64

Docker creation

services:
    speedtest-tracker:
        image: lscr.io/linuxserver/speedtest-tracker:latest
        restart: unless-stopped
        container_name: speedtest-tracker
        ports:
            - 8765:80
            - 8766:443
        environment:
            - PUID=1000
            - PGID=1000
            - APP_KEY=base64:Nrhr5c6iX/UG1vVqoycW8LyceWs/v2YPvEhoQJKfmvo=
            - ADMIN_NAME=Admin
            - [email protected]
            - ADMIN_PASSWORD=superpwd
            - DB_CONNECTION=sqlite
            - APP_NAME=Speedtest-Tracker
            - APP_TIMEZONE=Europe/Berlin
            - CHART_DATETIME_FORMAT=j.m G:i
            - DATETIME_FORMAT=j.m.Y G:i:s
            - DISPLAY_TIMEZONE=Europe/Berlin
            - SPEEDTEST_SCHEDULE=6 */4 * * *
            - SPEEDTEST_SERVERS=11660, 52143
            - PRUNE_RESULTS_OLDER_THAN=120
            - MAIL_MAILER=smtp
            - MAIL_HOST=smtp.server.de
            - MAIL_PORT=465
            - [email protected]
            - MAIL_PASSWORD=superpwd
            - MAIL_FROM_ADDRESS="[email protected]"
            - MAIL_FROM_NAME="Speedtest Tracker"
        volumes:
            - /portainer/Files/AppData/Config/speedtest-tracker:/config
            - /portainer/Files/AppData/Config/speedtest-tracker/keys:/config/keys

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.2.5-ls82
Build-date: 2025-03-01T21:25:51+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-05-27 │ 2024-12-17 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2024-12-06 │ /config/nginx/ssl.conf                                                 │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[2025-03-02 04:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-02 08:06:16] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-02 12:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-02 16:06:18] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-02 20:06:17] production.WARNING: Failed mail thresholds not found, won't send notification.  
[2025-03-03 00:06:17] 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