Skip to content

Disable Traefik version check in embedded copies #8235

Closed

Description

@DavidePrincipi

Traefik checks update.traefik.io once a day for new Traefik releases. Traefik Labs receives the node's public IP address and the time of each request, so it can count installations. The check is enabled by default.

NethServer 8 runs Traefik in more than one place:

  • the main Traefik app, the web proxy of the node, which administrators manage directly
  • other apps that run their own private copy of Traefik as an internal component, which administrators do not see or manage

For the main Traefik app we respect the upstream default and keep the check enabled, as we already do for Grafana. Its log warning about a new release is useful to administrators and support.

Internal copies of Traefik are a different matter. Their version is decided by the app that contains them, nobody reads their new release warnings, and each copy adds one more daily connection to Traefik Labs from the same node. The purpose of this feature is to disable the check in these internal copies, as done for Loki usage statistics in #8210.

Proposed solution

Disable the Traefik new version check, and explicitly the anonymous usage statistics (already off by default), in every app that runs its own copy of Traefik. Among the apps published in the default software repository (ns8-repomd), they are:

  • Loki (NethServer/ns8-loki): the Traefik container in front of the Loki server. Add --global.checkNewVersion=false --global.sendAnonymousUsage=false to the command line in traefik.service.
  • NethSecurity controller (NethServer/ns8-nethsecurity-controller): the nethsecurity-proxy image, built on Traefik. Add a global section with checkNewVersion: false and sendAnonymousUsage: false to the configuration written by controller/proxy/entrypoint.sh.

The main Traefik app (NethServer/ns8-traefik) is not changed.

Alternative solutions

  • Disable the check in the main Traefik app too. Not proposed: it would differ from the upstream default, and the warning is useful there.

Additional context

Affected components: Loki 1.5.2, NethSecurity controller 2.3.1

On a test node, the main Traefik app logs Version check is enabled at startup, opens an HTTPS (HTTP over TLS) connection to update.traefik.io once a day, and then logs a warning such as A new release of Traefik has been found: 3.7.15. The Traefik copy inside Loki runs with the default settings, so it does the same check; its log level hides both messages. In the Traefik source code, the first check runs 10 minutes after startup and then every 24 hours.

The other 19 apps of the default repository do not contain Traefik.

See also

Activity

  1. moved this from ToDo to In Progress in NethServeron Oct 16, 2026
  2. changed the title [-]Traefik: disable the daily new version check[/-] [+]Disable Traefik version check in embedded copies[/+] on Oct 16, 2026
  3. DavidePrincipi commented on Oct 16, 2026

    @DavidePrincipi
    MemberAuthor

    In Testing, Loki 1.5.3-dev.1

  4. added
    testing
    on Nov 6, 2026
  5. moved this from In Progress to Testing in NethServeron Nov 6, 2026
  6. removed their assignment
    on Nov 6, 2026
  7. added
    verified
    on Nov 6, 2026
  8. removed
    testing
    on Nov 6, 2026
  9. moved this from Testing to Verified in NethServeron Nov 6, 2026
  10. moved this from Verified to Done in NethServeron Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    verified

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions