CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

Container don't show after Watchtower update

Open hillaliy opened this issue 3 years ago • 6 comments

Describe the bug I'm using watchtower to update my containers because there isn't update system on CasaOS. After update the container works but don't show on CasaOS UI.

**Desktop

  • OS: ubuntu
  • Browser: safari
  • CasaOS Version 0.2.8

hillaliy avatar Jan 29 '22 08:01 hillaliy

casaos itself has a database to record if the application was installed through casaos. If the application name updated by watchtower has a corresponding record in casaos database, it can be shown, so the application name you updated is uuid?

LinkLeong avatar Feb 07 '22 07:02 LinkLeong

@LinkLeong How are we supposed to update the images ?

ajnart avatar Feb 10 '22 14:02 ajnart

casaos itself has a database to record if the application was installed through casaos. If the application name updated by watchtower has a corresponding record in casaos database, it can be shown, so the application name you updated is uuid?

Is it possible to have CasaOS set a specific name for a container so that this could be avoided?

darnov01 avatar Mar 01 '22 14:03 darnov01

casaos itself has a database to record if the application was installed through casaos. If the application name updated by watchtower has a corresponding record in casaos database, it can be shown, so the application name you updated is uuid?

Is it possible to have CasaOS set a specific name for a container so that this could be avoided?

I was looking around in the code and this could be done by matching apps with the containers names instead of UUID. Even if those are automatically generated, they would not change when updating the image. What do you think about that change @LinkLeong ? Would be awesome if by default the container name would be equal to the app's name. It would make manually navigating in /APPDATA/ a lot easier with readable folder names and solve the app update problem.

ajnart avatar Apr 08 '22 13:04 ajnart

Do you still have this problem?

JohnGuan avatar May 20 '22 15:05 JohnGuan

Hi I think is OK right now

hillaliy avatar May 21 '22 02:05 hillaliy