Hi there,
I just setup the Nutify Docker container and got everything up and running and connected.
Now I wanted to configure mailing for the case something goes wrong, and I ran into the problem where the test mail (when configuring the mail connector) and reports work, but I get a strange error when trying to send a test mail from the Notify tab (Mail: No notification settings found).
Nutify sits behind a Nginx Proxy Manager reverse proxy, sockets and HTTPS are enabled, traffic is routed to NPM via a AdguardHome DNS Server. Everything is on the same RasPi4 and working fine for the rest of my homelab.
I'm hoping it's just the 1:45AM time and I am overlooking something very obvious.
Cheers and thanks!
Environment: RaspiPi4 (RaspiOS Lite 64-bit, Debian 13 trixie)+ Docker (v29.3.1, build c2be9cc) + dartsteven/nutify:latest-raspberrypi5-arm64 (v0.2.0)
Profile: Single
Topology: 1 Server, 1 UPS, connected by USB-B to USB-A cable
Symptom: Not sending (test and real) mails on system events (UPS on Line Power, Low Battery, ...). Logs are fine and events do register normally
Expected: Receive a test or real mail im case of event. For any other service provided by Nutify, which provides a report via mail, everything works as expected.
When started: From beginning :D
Recent changes: nothing, fresh/first install ever
TopBar active target: "mge-pulsar-1000"
Logs:
2026-04-08 23:05:45,474 - mail - INFO - 📨 Initializating mail
2026-04-08 23:05:45,474 - mail - WARNING - ⚠️ SECRET_KEY not found in app config
2026-04-08 23:05:45,475 - mail - WARNING - ⚠️ SECRET_KEY not available - must be set in environment
2026-04-08 23:05:45,475 - mail - WARNING - Encryption will be unavailable until SECRET_KEY is properly set in environment
2026-04-08 23:06:13,313 - mail - INFO - 🔑 Secret key loaded from Flask app config (first 5 chars: XXXXX...)
2026-04-08 23:06:13,500 - mail - INFO - 🔄 Initializing mail models...
2026-04-08 23:06:13,500 - mail - INFO - ✅ Retrieved MailConfig from db.ModelClasses
2026-04-08 23:06:13,500 - mail - INFO - ✅ Retrieved NotificationSettings from db.ModelClasses
2026-04-08 23:06:13,501 - mail - INFO - ✅ Mail models initialized successfully
2026-04-08 23:07:31,104 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:07:31,104 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:07:31,111 - mail - WARNING - No notification settings found
2026-04-08 23:11:55,227 - mail - INFO - ✅ Test email sent successfully
2026-04-08 23:14:18,112 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:14:18,113 - mail - INFO - Sending notification for event type: COMMBAD
2026-04-08 23:14:18,116 - mail - WARNING - No notification settings found
2026-04-08 23:14:19,355 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:14:19,356 - mail - INFO - Sending notification for event type: NOCOMM
2026-04-08 23:14:19,359 - mail - WARNING - No notification settings found
2026-04-08 23:15:14,547 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:15:14,547 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:15:14,552 - mail - WARNING - No notification settings found
2026-04-08 23:15:50,158 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:15:50,159 - mail - INFO - Sending notification for event type: COMMOK
2026-04-08 23:15:50,161 - mail - WARNING - No notification settings found
2026-04-08 23:18:43,113 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:18:43,114 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:18:43,117 - mail - WARNING - No notification settings found
2026-04-08 23:19:21,865 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:19:21,866 - mail - INFO - Sending notification for event type: LOWBATT
2026-04-08 23:19:21,868 - mail - WARNING - No notification settings found
2026-04-08 23:22:57,678 - mail - INFO - Mail MIME trace subject=Nutify - UPS Report - 2026-04-07 to 2026-04-08 (Energy) inline_images=1 html_len=37220
2026-04-08 23:23:00,280 - mail - INFO - ✅ Email sent successfully to >mail-redacted-by-me<
2026-04-08 23:23:40,809 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:23:40,810 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:23:40,812 - mail - WARNING - No notification settings found
Hi there,
I just setup the Nutify Docker container and got everything up and running and connected.
Now I wanted to configure mailing for the case something goes wrong, and I ran into the problem where the test mail (when configuring the mail connector) and reports work, but I get a strange error when trying to send a test mail from the Notify tab (Mail: No notification settings found).
Nutify sits behind a Nginx Proxy Manager reverse proxy, sockets and HTTPS are enabled, traffic is routed to NPM via a AdguardHome DNS Server. Everything is on the same RasPi4 and working fine for the rest of my homelab.
I'm hoping it's just the 1:45AM time and I am overlooking something very obvious.
Cheers and thanks!
Environment: RaspiPi4 (RaspiOS Lite 64-bit, Debian 13 trixie)+ Docker (v29.3.1, build c2be9cc) + dartsteven/nutify:latest-raspberrypi5-arm64 (v0.2.0)
Profile: Single
Topology: 1 Server, 1 UPS, connected by USB-B to USB-A cable
Symptom: Not sending (test and real) mails on system events (UPS on Line Power, Low Battery, ...). Logs are fine and events do register normally
Expected: Receive a test or real mail im case of event. For any other service provided by Nutify, which provides a report via mail, everything works as expected.
When started: From beginning :D
Recent changes: nothing, fresh/first install ever
TopBar active target: "mge-pulsar-1000"
Logs:⚠️ SECRET_KEY not found in app config⚠️ SECRET_KEY not available - must be set in environment
2026-04-08 23:05:45,474 - mail - INFO - 📨 Initializating mail
2026-04-08 23:05:45,474 - mail - WARNING -
2026-04-08 23:05:45,475 - mail - WARNING -
2026-04-08 23:05:45,475 - mail - WARNING - Encryption will be unavailable until SECRET_KEY is properly set in environment
2026-04-08 23:06:13,313 - mail - INFO - 🔑 Secret key loaded from Flask app config (first 5 chars: XXXXX...)
2026-04-08 23:06:13,500 - mail - INFO - 🔄 Initializing mail models...
2026-04-08 23:06:13,500 - mail - INFO - ✅ Retrieved MailConfig from db.ModelClasses
2026-04-08 23:06:13,500 - mail - INFO - ✅ Retrieved NotificationSettings from db.ModelClasses
2026-04-08 23:06:13,501 - mail - INFO - ✅ Mail models initialized successfully
2026-04-08 23:07:31,104 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:07:31,104 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:07:31,111 - mail - WARNING - No notification settings found
2026-04-08 23:11:55,227 - mail - INFO - ✅ Test email sent successfully
2026-04-08 23:14:18,112 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:14:18,113 - mail - INFO - Sending notification for event type: COMMBAD
2026-04-08 23:14:18,116 - mail - WARNING - No notification settings found
2026-04-08 23:14:19,355 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:14:19,356 - mail - INFO - Sending notification for event type: NOCOMM
2026-04-08 23:14:19,359 - mail - WARNING - No notification settings found
2026-04-08 23:15:14,547 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:15:14,547 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:15:14,552 - mail - WARNING - No notification settings found
2026-04-08 23:15:50,158 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:15:50,159 - mail - INFO - Sending notification for event type: COMMOK
2026-04-08 23:15:50,161 - mail - WARNING - No notification settings found
2026-04-08 23:18:43,113 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:18:43,114 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:18:43,117 - mail - WARNING - No notification settings found
2026-04-08 23:19:21,865 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:19:21,866 - mail - INFO - Sending notification for event type: LOWBATT
2026-04-08 23:19:21,868 - mail - WARNING - No notification settings found
2026-04-08 23:22:57,678 - mail - INFO - Mail MIME trace subject=Nutify - UPS Report - 2026-04-07 to 2026-04-08 (Energy) inline_images=1 html_len=37220
2026-04-08 23:23:00,280 - mail - INFO - ✅ Email sent successfully to >mail-redacted-by-me<
2026-04-08 23:23:40,809 - mail - INFO - 📅 Sending scheduled report...
2026-04-08 23:23:40,810 - mail - INFO - Sending notification for event type: ONLINE
2026-04-08 23:23:40,812 - mail - WARNING - No notification settings found