CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] CasaOS maintains stale drive references

Open udance4ever opened this issue 9 months ago • 3 comments

Describe the bug

I moved a CasaOS container to a new computer and stale “new drive” references are still on my desktop. I don’t see any way to “dismiss” this notification.

not a showstopper - just takes up a lot of screen real estate :)

CasaOS - Found a new drive

To Reproduce

Steps to reproduce the behavior:

  1. install CasaOS into a Docker Debian 12 container on Computer A with two external drives connected
  2. observe “Found a new drive” notification
  3. move install (using a tarball) to computer B with no external drives attached.
  4. observe Computer B has notifications to drives that are not attached to computer.

Expected behavior

Stale drive references not to appear.

Configuration

 - host: Debian 12 container (docker.io/library/debian:12)
 - OS: iPadOS 17.4.1
 - Browser: Safari
 - Version: 0.4.5

System Time

               Local time: Fri 2024-04-26 23:33:40 UTC
           Universal time: Fri 2024-04-26 23:33:40 UTC
                 RTC time: Fri 2024-04-26 23:33:39
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no

Logs

https://pastebin.com/FAQa1Hm7

Additional context

Happy to run a one-time command to delete the references, verify they no longer appear on the desktop, close the issue and if it happens again, reopen this issue.

udance4ever avatar Apr 26 '24 23:04 udance4ever

There is a close button hidden in the top-right corner.

dragonfire1119 avatar Apr 26 '24 23:04 dragonfire1119

wow - that’s pretty well hidden! I clicked around about maybe 20 times before it finally closed :)

thank you!

udance4ever avatar Apr 26 '24 23:04 udance4ever

we celebrated too soon. refreshing the page (or rebooting) makes the notification return.

do you know where to delete the references at the system level under the hood?

udance4ever avatar Apr 27 '24 00:04 udance4ever