-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
env. WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG isn't working anymore since 1.4.0 #1205
Comments
+1. I too noticed this and have the same problem since the upgrade. |
+1 |
same here... |
+1 |
+1 |
1 similar comment
+1 |
+100 this feature is very much needed when you have more than 5 servers. Hope this can be resolved shortly! |
+1 |
Please don't write +1 comments, add your thumb up on the opening post. Otherwise you send an notification email to everyone that follows this issue.. As a workaround I changed the hostname of the container. The email header results in "Watchtower updates on ", which is not perfect but make the email distinguishable. CHanging the hostname of the watchtower container shouldn't have side effects. |
I personally went with the WATCHTOWER_NOTIFICATIONS_HOSTNAME=xyz variable witch achieves the same result as described above. Hope this helps... |
Note that in order to even consider |
This still doesn't seem to work for me? I tried the original |
@EDIflyer It's merged but not released in stable. You can test it in |
Ahh OK, sorry hadn't spotted it hadn't made it to stable yet 😄 👍 |
@piksel just to confirm now tried |
I have the same problem and wanted to ask when it is released to the stable branch? |
Describe the bug
Since the update to 1.4.0, the environment variable WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG isn't working.
In my docker-compose.yml file, I set this :
- WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=[ Watchtower-DS920+ ]
But all email I received has this subject:
Watchtower updates on 5d11f1abc714
Before the update, I got :
To Reproduce
Expected behavior
It should be with the subject I declare in the env variables, like this not too old email:
Screenshots
See previous...
Environment
I use Portainer CE 2.11 to create my container
Logs from running watchtower with the
I'm not sure how to do the --debug option... But here what I have: ```log time="2022-01-25T09:56:09+01:00" level=debug time="2022-01-25T09:56:09+01:00" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized." time="2022-01-25T09:56:10+01:00" level=debug msg="Making sure everything is sane before starting" time="2022-01-25T09:56:10+01:00" level=debug msg="Retrieving running containers" time="2022-01-25T09:56:10+01:00" level=debug msg="There are no additional watchtower containers" time="2022-01-25T09:56:10+01:00" level=debug msg="Watchtower HTTP API skipped." time="2022-01-25T09:56:10+01:00" level=info msg="Watchtower 1.4.0" time="2022-01-25T09:56:10+01:00" level=info msg="Using notifications: smtp" time="2022-01-25T09:56:10+01:00" level=info msg="Only checking containers using enable label" time="2022-01-25T09:56:10+01:00" level=info msg="Scheduling first run: 2022-01-26 05:00:00 +0100 CET" time="2022-01-25T09:56:10+01:00" level=info msg="Note that the first check will be performed in 19 hours, 3 minutes, 49 seconds" ```--debug
optionAdditional context
The text was updated successfully, but these errors were encountered: