Why does it still show a container update is available after freshly updating it?
Before you start please confirm the following.
- [X] Yes, I've searched similar issues on GitHub.
- [X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.
Problem Description
In the list of services/containers/stacks if a newer image is available the icon shows this (orange icon) ...
After selecting 1 or more services that show an update, clicking Update -> Repull Image, everything appears to do so, but after it's all done, the list still shows an update is available for the same service(s). (still shows orange icon)
Expected Behavior
After update, icon turns green to show no new update (since image just freshly been pulled container restarted).
Actual Behavior
As described above. Here's a screencast as well.
In it, I update Gitea. Just to make sure the service is updated and running, after the Update -> Repull I also manually delete the previously running container and image. Then I go back to the list to see if the icon went from orange to green, but it doesn't.
https://app.screencast.com/eNGPTLUMlcpPU
Steps to Reproduce
- Service shows new image available (orange)
- Click it's checkbox -> click Update -> Repull Image
- Wait the expected average amount of time it should take to repull and restart the service
- Refresh the list and see no orange icon anymore (now green, indicating no new image available)
Portainer logs or screenshots
No response
Portainer version
2.19.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
portainer/portainer-ee:latest 2.19.4 + agent + swarm (all fully updated)
OS and Architecture
Docker (WSL)
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response
crickets
The image status icons are cached so may not update their status immediately. We're looking at improvements we can make to this in the future, but caching was implemented as initially the checks were causing resource issues on low spec environments.
@jamescarppe , how often does Portainer do a new check? Once per day?
At present this is every 24 hours. We have a change coming soon that will allow you to manually refresh the cache.
At present this is every 24 hours. We have a change coming soon that will allow you to manually refresh the cache.
Sounds good. Hitting the refresh button at the top of the portainer page might be good enough to refresh them all.
Also after doing a manual update w/pull of individual services, just refreshing those.
At present this is every 24 hours. We have a change coming soon that will allow you to manually refresh the cache.
Is there any update on this?