| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
since release 13.0.0 commit I'am food by update mail. I think when swript is exit supervisord launch it again
|
Hmmm.. Looking at the Supervisor configuration docker-mailserver/target/supervisor/conf.d/supervisor-app.conf Lines 153 to 159 in 68e5c34 I do not think the check will run again.. The documentation for Supervisor says the default is autorestart: unexpected. The exit 0 should indicate a normal exit. @casperklein can you verify? @vincentDcmps could you please elaborate a bit on the behavior that you are seeing exactly?:) |
Sorry, something went wrong.
|
Something else is odd though: @casperklein @polarathene please have a look: https://github.com/docker-mailserver/docker-mailserver/pkgs/container/docker-mailserver Why was :edge not updated yet? :latest is equal to :13.0.0 but :edge is not.. |
Sorry, something went wrong.
|
edge is not update because cron is executed only on fifth day of week .github/workflows/scheduled_builds.yml name: 'Deploy :edge on Schedule'
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 5
I'am agree with you if I read supervisord docs my issue doesn't have to happen |
Sorry, something went wrong.
|
I think the actual issue is here: docker-mailserver/.github/workflows/generic_publish.yml Lines 24 to 35 in 2c60229 My suggestions: - type=edge,branch=master
+ type=edgeI guess the issue is that in the past, I have immediately merged other PRs that were queued via meta/feature-freeze after the release of a new tag, which hid the effect we are now seeing. In my opinion, we should always push :edge, right? There is no scenario in which master is updated but :edge should not. But to me, the question remains: why didn't the default push (by merging the PR) trigger the action to build :edge? UPDATE: Ah, now I get it: docker-mailserver/.github/workflows/default_on_push.yml Lines 3 to 13 in 2c60229 The push on master does not change a file listed in paths:. I can provide a PR :) |
Sorry, something went wrong.
|
Superseeded by #3662 @vincentDcmps Thank you for making us aware of this:) I have manually started a run on master, so :edge will be updated within the next half an hour and this problem should vanish. |
Sorry, something went wrong.
|
Below is for reference, no need to read and respond 👍
Shouldn't matter, they would always differ in digest if this is respected: Line 299 in 68a43eb Line 330 in 68a43eb But we've been bundling the VERSION: docker-mailserver/.github/workflows/generic_publish.yml Lines 69 to 80 in 68a43eb They only differ after your recent change to trigger builds for :edge with VERSION since the VCS_REVISION now differs. Regarding :edge checking for updates, I'll open a PR that doesn't run the service in :edge 👍
For reference, no that would be bad. The logic here is that either the workflow was triggered by:
Your suggestion would publish :edge regardless of event.
Multiple semver tags are useful for services like watchtower to leverage, when DMS updates an existing tag these services notify, but otherwise unaware of newer tags as they don't actually understand semver (some update services do).
To be fair, it's not a change relevant to :edge to warrant building the image again and publishing it.
|
Sorry, something went wrong.
|
Below is probably not important to you anymore, but if you're interested in better identifying / understanding the actual cause of the problem, give it a read.
May be something related to your configuration, you've not provided much context. :edge shouldn't behave any differently than a published release presently. They all just check their internal copy of VERSION and do a request to compare it to the one on Github, which if found to be newer will send you one mail about the update once per UPDATE_CHECK_INTERVAL: docker-mailserver/target/scripts/update-check.sh Lines 40 to 45 in b663e10 For example I had a very simple container running, and it received the following log when the update was checked: $ docker run --rm -it --hostname mail.example.test --name dms mailserver/docker-mailserver
# Update check log:
$ docker exec dms cat /var/log/supervisor/update-check.log
[ INF ] 2023-11-25 04:51:31 No update available
[ INF ] 2023-11-26 13:51:04 Update available [ 12.1.0 --> 13.0.0 ]
# Default internal alias for local user accounts that belong to DMS hostname (`@mail.example.test`)
# Mail sent to root locally will be redirected to `postmaster@example.test`
$ docker exec dms cat /etc/aliases
root: postmaster@example.testIn the above logs, the notification mail (ID F16DF483E) is sent from root@mail.example.test (DMS hostname) to the same address which by default DMS aliases to the assumed default postmaster account (postmaster@example.test). However that is not a valid user to deliver mail to in this case so it bounces. In this case, the bounce is sent back to the sender ( root@mail.example.test), but since that loops back to postmaster@example.test again it bounces and Postfix knows to stop at double bounce, thus it doesn't bother trying to deliver the original notification to the intended recipient again, nor the bounce to the original sender. If your UPDATE_CHECK_INTERVAL ENV is the default value of 1d, you could provide more context, such as what the update-check.log shows (if it was actually running more frequently than expected, thus a fault of the script or supervisord), or if it was on the Postfix side (sounds more likely) with mail delivery. It might just be that the update notification was sent to postmaster@example.test like above demonstrates, but that bounced, yet actually delivered the bounce to a root@mail.example.test account, so attempted to send the mail back to postmaster@example.test and repeated this failure? TL;DR
|
Sorry, something went wrong.
|
The first update check is done on container start and then repeated infinite with the configured interval. If an update is found, the update-check exits (and won't be started by supervisor again). Your PR would effectively introduce notification on each interval when an update is found. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
since release 13.0.0 commit my mailbox is flood by update mail. I think when script is exit supervisord launch it again
Type of change
Checklist: