Immich exclusively uses IPv4 for hosting both the git repository and container images #18907
Replies: 3 comments
-
Sidenote: if using a self-hosted zot registry, it can be configured (if just acting as a manually-pushed-to-registry isn't ideal) to act as a proxy-cache for ghcr, allowing IPv6-only hosts to still fetch the near-latest images from ghcr, and only putting load on the instance when uncached images are being fetched. It may occasionally refetch the metadata for existing tags (depending on the configured interval), but nothing more than that. |
Beta Was this translation helpful? Give feedback.
-
The ideal solution for all of this, of course, lies with github - however they've been reluctant - outside of press releases, to do any work on a IPv6 implementation for everything except raw.githubusercontent.com and a few other small services. Their primary infra has never had any public well-documented indications of effort from upstream relating to making v6 happen, and likely never will, meaning asking github to provide IPv6 is unlikely to solve the issue. |
Beta Was this translation helpful? Give feedback.
-
According to the Discord, these images are official 1st-party. Keeping this open in case anyone wants to talk about a longer-term solution, but for anyone else encountering similar issues, there's a solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
Due to immich's use of IPv4-exclusive hosting - github - for both it's container registry (ghcr.io), and it's git (github.com), an IPv6-only server (such as the one I run; it's on an infrastructure provider that cannot provide IPv4 links due to the AS having none allocated) cannot fetch images, nor automatically build them.
This issue exists for the sake of kindly requesting that immich maintainers maintain publicly listed "official" images on some other repository - in addition to ghcr - that accepts IPv6 requests. This could be, for example, quay.io, hub.docker.com, or a self-hosted quay or zot registry, or something completely different.
Additionally, it would be nice if source blobs also existed outside of github - be it a cgit that always follows HEAD and copies over tags, a codeberg repository (which can also host images if the desire to use the same platform for both arises) that could just mirror HEAD and tags (or the entire repo)/another forgejo instance that's hosted elsewhere doing the same, or something completely different - however this is harder to implement and less crucial for IPv6-enabled adoption
The OS that Immich Server is running on
Alpine Linux, but this isn't relevant
Version of Immich Server
N/A
Version of Immich Mobile App
N/A
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
podman compose pull
(orpodman compose up -d
if images were previously not locally available)Relevant log output
Additional information
Would appreciate this to be solved at some point soonish; I really want to self-host immich to try it out, but all of my server infrastructure that I trust enough with my data or with hosting & regularly rebuilding images that in turn process my data are IPv6-only.
Beta Was this translation helpful? Give feedback.
All reactions