Skip to content
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

Backup/Snapshot can't be deleted #9936

Closed
no0ner opened this issue Sep 2, 2021 · 9 comments · Fixed by #9938
Closed

Backup/Snapshot can't be deleted #9936

no0ner opened this issue Sep 2, 2021 · 9 comments · Fixed by #9938
Assignees
Labels
Bug Current Bug in UI - Extra Attention Supervisor Related to the supervisor panel

Comments

@no0ner
Copy link

no0ner commented Sep 2, 2021

The problem

After the update to 2021.9.0 I'm unable to delete backups/snapshots via Supervisor/Backups.
Folder should be /backup/ instead of /backups/ and the file extension (.tar) is missing (see logs).

What is version of Home Assistant Core has the issue?

2021.9.0

What was the last working version of Home Assistant Core?

2021.8.8

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-09-02 09:33:36 ERROR (MainThread) [homeassistant.components.hassio.handler] /backups/d9d17ba4/remove return code 404
2021-09-02 09:33:36 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups/d9d17ba4/remove -

Additional information

No response

@ludeeus
Copy link
Member

ludeeus commented Sep 2, 2021

This was fixed in Supervisor 2021.8.1 👍

@ludeeus ludeeus closed this as completed Sep 2, 2021
@no0ner
Copy link
Author

no0ner commented Sep 2, 2021

Hmmm, I'm on supervisor-2021.08.1 already but I'm not able to delete the backups anyway.

@ludeeus
Copy link
Member

ludeeus commented Sep 2, 2021

Clear your browser cache, this was a frontend issue

@no0ner
Copy link
Author

no0ner commented Sep 2, 2021

Clearing the Chrome cache didn't work so I installed Firefox and it also didn't work. Any other ideas/tips?

@ludeeus
Copy link
Member

ludeeus commented Sep 2, 2021

Not really, the issue is that it adds /remove to it, and that was fixed in the frontend version that is included in 2021.8.1

@no0ner
Copy link
Author

no0ner commented Sep 2, 2021

I also tried restarting the supervisor, core and the host system but still get the same error.

Bildschirmfoto 2021-09-02 um 12 33 14

@ludeeus
Copy link
Member

ludeeus commented Sep 2, 2021

Could it be that you are behind cloudflare and have not cleared cache there?
If you use IP:port and not any host name, is it the same?

@no0ner
Copy link
Author

no0ner commented Sep 2, 2021

I'm connecting to HA via VPN (WireGuard) using the IP:port. I'll check it without VPN when I'm at home later. Thanks so far!

Edit:
I just realised it fails when I delete it within the list view but works when I click on the backup title and use the dot-menu in the modal that opens.

@ludeeus
Copy link
Member

ludeeus commented Sep 2, 2021

AH! That might be an issue still

Edit: confirmed https://github.com/home-assistant/frontend/blob/dev/src/data/hassio/backup.ts#L157

@ludeeus ludeeus reopened this Sep 2, 2021
@ludeeus ludeeus transferred this issue from home-assistant/core Sep 2, 2021
@ludeeus ludeeus added the Supervisor Related to the supervisor panel label Sep 2, 2021
@ludeeus ludeeus self-assigned this Sep 2, 2021
@ludeeus ludeeus added the Bug Current Bug in UI - Extra Attention label Sep 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention Supervisor Related to the supervisor panel
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants