-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
Deleting a backup off a NAS does not refresh HA list #134158
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) backup documentation |
Confirmed when the backup is on a Windows share |
same problem here. |
Hm, yeah the Supervisor does cache the backup information. There is no event from the (network) file system, and continuously polling would not be good for traffic/IO load. The Core should probably handle this better/differently. What you can do is use |
Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) hassio documentation |
It could at least do this as part of HA startup, even restarting HA doesn't cause it to get updated. It could also, once it learns a file has been deleted (e.g. because I tried to download it and it's not there) it could give a user friendly error and at least delete that one from the cache. That would at least provide a better UX than the current downloading an invalid txt file. At least the user would know what's going on. |
The problem
Setup automatic backups to copy to a NAS.
Run a backup.
-File created on NAS-
Go on NAS and delete that file
Note the list in HA still lists the file even though it doesn't exist. Restarting HA doesn't seem to help.
It you attempt to download the file, it attempts to (and fails to) download a txt file that does not exist.
What version of Home Assistant Core has the issue?
2025.1.0b2
What was the last working version of Home Assistant Core?
NA, new feature
What type of installation are you running?
Home Assistant OS
Integration causing the issue
backup
Link to integration documentation on our website
https://www.home-assistant.io/integrations/backup/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Supervisor log says:
Which
a9200a81.txt
is the file it attempts to downloadThe text was updated successfully, but these errors were encountered: