I have Home Assistant running in a stack in Portainer. So far I have been able to update Home Assistant by redeploying the stack (Re-pull image and redeploy). But since Friday I’ve been getting the following error:
Error response from daemon: Head "https://ghcr.io/v2/home-assistant/home-assistant/manifests/stable": denied: denied
Updating via console also gives the same error, even with sudo (pulling from ghcr.io/home-assistant/home-assistant:stable).
Does anyone have an idea how I can solve the problem?
@Floraday , did you figure this out? I have the same issue.
I suspect this is something to do with defining the “ghcr.io” Registry in Portainer, but although I have done this, I am still unable to pull the image. I wonder if the homeassistant/home-assistant:latest in the standard docker repo is a patter bet, although I’m not 100% certain this is the same thing.
FWIW, I changed the docker-compose file to reference the image in the Docker repo rather than Github (ghcr.io), and everything seems a lot smoother. I edited the Portainer stack docker-compose file I have for Home Assistant and related services, then saved it, which re-pulled the HA image, and all updated as I would expect (for me, the was from 2023.1 to 2023.7.2)
This is what I had for the HA service in the Portainer docker-compose file: