Email notification threshold not respected

Created on 28 October 2024, 6 months ago

Getting daily emails from Drupal indicating there is a pending security update, where there is none.

If I log in to check, there are a few regular updates pending, but no security updates. When I perform the regular updates the emails do stop, but then start again when the next non-security update comes down the pipe.

I do have my email notification threshold set to "only security updates" in the Update Manager settings, but it is not being respected evidently.

🐛 Bug report
Status

Active

Version

10.3

Component

update.module

Created by

🇨🇦Canada OMD

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @OMD
  • I run several sites and this does not occur there. Let's investigate.

    Go to /admin/config/development/configuration/single/export, get update.settings and post that here. In the output, replace email addresses with fake ones @example.com.

  • 🇨🇦Canada OMD

    Ok here is that output:

    _core:
    default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw
    check:
    disabled_extensions: false
    interval_days: 1
    fetch:
    url: 'https://updates.drupal.org/release-history'
    max_attempts: 2
    timeout: 30
    notification:
    emails:
    - me@mysite.com
    threshold: security

  • That looks fine. Have you been able to reproduce this bug on a newly-installed Drupal site? I think we need to rule out patches, etc, if you haven't already.

  • 🇨🇦Canada OMD

    It does seem to be isolated to this particular install, still I can't figure why exactly that would be. There are no patches currently applied. Any ideas on what could trigger this malfunction?

  • Could anything be overriding configurations, in, for example, settings.php or services.yml?

  • 🇨🇦Canada OMD

    I did find an errant slash in settings.php, just a random keystroke I think, that was inadvertently uncommenting this line:

    / * - \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()

    I've removed the slash and will monitor the behaviour, but I suspect this was the issue. Thank you for suggesting settings.php–I would have never thought to look there.

  • Status changed to Closed: works as designed 3 months ago
  • 🇳🇿New Zealand quietone

    The last comment suggests that this has been resolved. And presumably the daily email have stopped since there hasn't been a comment in three months.

  • 🇨🇦Canada OMD

    Just a quick update this has not recurred since the fix.

Production build 0.71.5 2024