-
Notifications
You must be signed in to change notification settings - Fork 138
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
rock-on UI fails to reflect removed container #1795
Comments
I've hit this issue numerous times |
Nice catch guys, I apologize for the sloppy implementation in the first place. Should be easy fix. |
Ok, I've debugged this issue today and it turned out to be more than what I thought. A few observations
I'll open a pr with some improvements, but please comment if you have any thoughts on this. |
Also made misc/cosmetic updates.
explicitly pull an image to get potential updates. Fixes #1795
Thanks to forum member absentbri for highlighting this issue. When a container is removed via command line the installed status of that container is not reflected in the UI. It is further proposed that the Web-UI uninstall procedure attempts to remove the image if it is found as well as attempting to remove the container: this leads to a cleaner re-installation of the same rock-on and some images, such as linuxserver.io's plex server (when no plex.tv account is associated), fail to fetch the latest version with the existing mechanism as the prior image is simply re-used rather than being re-downloaded/refreshed.
Steps to reproduce this issue:
Install HTTP to HTTPS redirect rockon
and it's associated image:
Turn off rock-on in UI and we have only the image and no running container instance of that image: as expected.
When the now off state Rockon is Uninstalled via the Web-UI the non running container instance is successfully removed:
but the image remains:
As per current behaviour.
But if we reinstall this same rock-on and then turn it off (as the default to being on); but this time we remove the now non running container instance from underneath Rockstor (ie via the command line):
refreshing the rock-ons Web-UI does not reflect the above removal / uninstall via command line.
And we have the following log report:
indicating the expected rock-on container is no longer found but it's UI / db component remains.
It is proposed that this is Buggy behaviour.
The now non existent but still showing in Web-UI rock-on can however still be successfully removed via the Uninstall button.
But as indicated earlier the image remains.
Ready for comment on the best practice re image removal upon Uninstall.
Please update the following forum thread with this issues resolution:
https://forum.rockstor.com/t/no-end-of-trouble-with-rockons/3643
The text was updated successfully, but these errors were encountered: