brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Immich’s machine-learning container sent telemetry to Microsoft until v3.3.6

Immich's machine-learning container sent telemetry to Microsoft until v3.3.6

If you run Immich, check the version of your machine-learning container. A dependency in that image started sending usage data to Microsoft by default, and Immich switched it off on 4 November 2026 in v3.3.6. The same release line has a second change for phone users: tags finally work in the mobile app.

What the container sent

Immich’s face recognition and smart search run in a separate container called immich-machine-learning. It uses ONNX Runtime, Microsoft’s inference library. According to the fix on GitHub, the Linux builds of ONNX Runtime have sent telemetry to Microsoft by default since version 1.29.0, to the host mobile.events.data.microsoft.com.

That matters for this kind of app. An Immich server holds the family photo library, and many people chose it to keep that library away from outside services. The telemetry did not include photos, according to the pull request, but a self-hosted container that contacts a vendor on its own is something you want to know about.

The pull request says each install sent a persistent device ID together with details about the operating system, the CPU, the RAM and the execution provider. The release notes of v3.3.6 describe it more mildly as “anonymous metric data”. Both descriptions come from the Immich project, and the pull request is the more specific one. The container did not ask before it did this, and the image did not turn it off.

Which versions are affected

The author of the fix tested it on v3.3.5 and saw the lookups to the Microsoft host stop once the variable was set. The release notes only say the telemetry was enabled “in a recent release”, and no Immich page names the first affected version.

One contributor linked from the pull request reports that their own lockfile still pinned an older ONNX Runtime and saw no outgoing traffic. I could not confirm that, so treat the start of the affected range as unknown and check your own setup.

How to stop it

The simplest fix is to update. v3.3.6 disables the telemetry, and the change was also backported to the v3.4 line. v3.4.2 from 18 November is the newest release at the time of writing, and none of the v3.4 notes mention the problem coming back.

If you cannot update yet, set one environment variable on the machine-learning service, as the newsletter selfh.st suggests for people a few versions behind:

  immich-machine-learning:
    environment:
      - ORT_DISABLE_TELEMETRY=1

The Immich fix sets the same variable in the image and as a default in the Python code, so non-Docker installs are covered too. ORT_DISABLE_TELEMETRY=0 turns it back on if you want to share the data. The variable name comes from the pull request, and I did not check it against the ONNX Runtime documentation.

To see whether anything still leaves your network, look for DNS queries to mobile.events.data.microsoft.com in your resolver log. If you run AdGuard Home or Pi-hole, that takes one search.

Tags on the phone

Version v3.4.0 from 10 November adds tags to the mobile apps, which had been web only. The reviewers of the pull request noted a limit: the app does not sync tags yet, so offline it can show a photo without its tags. Syncing is a separate pull request that was still open when I looked.

Update the server first, then the app, so both sides know about tags.

Further reading

Link