Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI thinks an update is available even on same hash #552

Open
utdrmac opened this issue Jan 9, 2025 · 1 comment
Open

UI thinks an update is available even on same hash #552

utdrmac opened this issue Jan 9, 2025 · 1 comment

Comments

@utdrmac
Copy link

utdrmac commented Jan 9, 2025

(using getwud/wud:main) I have WUD_TRIGGER_DOCKER_LION_AUTO=false set. I see in the UI, an update is available for docker-resolver container:
Screenshot 2025-01-09 at 1 05 15 PM

The 'triggers' tab shows me irrelevant other triggers. my docker-resolver container is not a compose.yml; just a normal docker. So why am I seeing compose triggers, telegram trigger, openhab compose, etc?

Screenshot 2025-01-09 at 1 06 39 PM

I click the 'Docker Lion' Run button and watch WUD logs. I see it download the latest image for docker-resolver, stop the old container, and launch a new one with the updated image.

However, the UI still believes an update is available. Even after refresh browser, the UI still shows an update. Clicking the telegram trigger also says an update is available.

$ psdocker | grep resolv
c3a1d52d93ef   dvdarias/docker-hoster:latest           12 minutes ago   Up 12 minutes             docker-resolver
foo@lion:~$
foo@lion:~$ docker inspect docker-resolver | grep Image
        "Image": "sha256:c51629bd3874cfc9d14e4703223af09aa33a8c87d33cacb5540c3361fbdc526f",

Screenshot 2025-01-09 at 1 14 52 PM

This screenshot confirms that container c3a1d5 is detected by WUD (after container restart), and we can see above that is correct. We can also see the current image hash of the running container matches the "latest" hash, but WUD still thinks it's updateable.

@fmartinou
Copy link
Collaborator

The 'triggers' tab shows me irrelevant other triggers. my docker-resolver container is not a compose.yml; just a normal docker. So why am I seeing compose triggers, telegram trigger, openhab compose, etc?

By default, triggers are associated to all discovered containers unless you set labels on the container to explicitly include or exclude triggers (example).

You can share your wud conf and the labels you set on your discovered containers so I can confirm my assumption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants