I’ve noticed a bunch of my images aren’t updating. I thought it was due to this bug but after some more digging, it appears that’s not the issue.
In /var/log/docker_image.log,
I can see that whenever TrueNAS is checking for image updates, it’s failing for everything that’s not a DockerHub image:
[2024/11/27 00:37:13] (ERROR) docker_image.check_update():37 - [EFAULT] Unable to retrieve latest image digest for registry=ghcr.io image=immich-app/immich-machine-learning tag=release: 401, message='Unauthorized', url=URL('https://ghcr.io/v2/immich-app/immich-machine-learning/manifests/release')
[2024/11/27 00:37:16] (ERROR) docker_image.check_update():37 - [EFAULT] Unable to retrieve latest image digest for registry=lscr.io image=linuxserver/plex tag=latest: 401, message='Unauthorized', url=URL('https://lscr.io/v2/linuxserver/plex/manifests/latest')
It looks like TrueNAS is trying to get the manifests, which works for DockerHub but not ghcr.io or lscr.io:
https://github.com/truenas/middleware/blob/262ba1bd4f19f4b2ae244841df01a5f44421de42/src/middlewared/middlewared/plugins/apps_images/client.py#L87-L97
I’ve just moved from Unraid, where I was using the same repos and their Check For Updates button worked - perhaps they are trying to pull the tag each time rather than relying on the manifests?
Is there a way for me to get the non-DH images updating correctly (without relying on a 3rd party orchestrator for managing apps)?