CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] Icons disappear as I install apps

Open bsdev90 opened this issue 6 months ago • 3 comments
trafficstars

Describe the bug

I installed several apps today, either via the store or via docker run command. However, I've noticed that as I install more apps, some disappear while continuing to work (visible by doing docker ps)

Example: Here's my dashboard, take a good look at "imgix" at bottom right installed via docker run command Image

I've installed a new app (phpMyAdmin) via docker run command, "imgix" has disappeared! Image

Here in Portainer, you can still see ‘imgix’ and ‘phpMyAdmin’ Image

To Reproduce

Steps to reproduce the behavior:

  1. Go to "+"
  2. Click on "Install a customized app"
  3. Click on "CLI"
  4. Paste a docker run command
  5. Click on "Submit"
  6. Fille the form and submit
  7. The app install

Expected behavior

All icons of all installed apps installed should display

Screenshots

Already added on description

Desktop (please complete the following information):

 - OS: Windows 11
 - Browser: Microsoft Edge
 - Version 136.0.3240.64

System Time

Run timedatectl and share the output

Local time: Sun 2025-05-11 17:37:31 UTC
           Universal time: Sun 2025-05-11 17:37:31 UTC
                 RTC time: Sun 2025-05-11 17:37:31
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

gateway.log user-service.log local-storage.log app-management.log service.log

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

bsdev90 avatar May 11 '25 17:05 bsdev90

Little update, I noticed in Portainer that, unlike my other applications, ‘imgix’ and “phpMyAdmin” are in the same stack called ‘yourprojectname’, perhaps that's where the problem lies? How come, though, other applications I've added via docker run command aren't in this stack...

Image

Edit: If I uninstall "phpMyAdmin", it uninstall "imgix" too, so it displays one app for all the stack et when you remove this app it removes this stack.

bsdev90 avatar May 11 '25 18:05 bsdev90

That's most likely because of the different ways casaOS and portainer handle the docker management. If you install them in separate stacks or via casaOS directly, this should work. If I remember correctly, casaOS uses stacks to group multiple containers that make up just one single web application. So if you install them in separate stacks, this should also work.

MCLP2005 avatar May 15 '25 16:05 MCLP2005

I also noticed this issue. Are there any good solutions available now? @BenDavidson90

a80815213 avatar May 23 '25 15:05 a80815213

The problem is each they are in the same stack. I fixed this by stopping the container in the stack. Then duplicating the container within Portainer. While duplicating it I had to remove the whole line (little trash can) label under Advancedcontainersettings/labels that contained the "value" of the stack. Then I had to deploy the container. I went back into casaos and it showed the icon again but it had be re enter my server IP address and the Port number that container used. It would then open up as normal. But then it was below a line that said it needed to be rebuilt. I right clicked the app and the option rebuild was an option. This moved the app above into the normal app icons. I then uninstalled the app at the bottom under needing to be rebuilt. I then went into portainer and deleted the app that was within the stack. I had to follow this same process for each app until all of the apps were back.

frogermann8 avatar Nov 11 '25 00:11 frogermann8