fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
983 stars 32 forks source link

SMTP Trigger Debugging? #288

Closed hacustom closed 1 year ago

hacustom commented 1 year ago

Hello -

I'm trying to figure out how to troubleshoot my SMTP trigger setup in What's Up Docker.

I use SendGrid as my outbound SMTP provider for a handful of other apps - Jellyseer, Vaultwarden, Jellyfin Accounts Go, HealthChecks.IO - and am having troubles getting SMTP Triggering working in What's Up Docker.

I set the logging level to debug to try and get some relevant log information. I've examined the container's logs using Portainer and there aren't any trigger related log messages.

Is there a log file with more information somewhere I could look into to figure out where my error is? I've tested out the API key I'm using for WUD from the command line so I know the Sendgrid setup for this is working. I'm getting emails from my other services so that's flowing. I get <5 emails a day so I'm not hitting any Sendgrid volume limits.

WUD is working, it's seeing all my containers, the versions and the updates.

How do I troubleshoot this further? I don't know where to look next to debug - is the trigger firing? Is WUD attempting to send an email and failing? Is my config wrong? Thanks for any help you can give, this is really an awesome app!

hacustom commented 1 year ago

Of course, I've been playing around with this for a week and 5 minutes after logging the issue I got it working. I updated my config to the snippet below and as soon as I started up the container a flood of email came in. I need to go through each new entry to confirm which specific line fixed it, but looks like it's good.

WUD_TRIGGER_SMTP_SENDGRID_HOST=smtp.sendgrid.net