home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.4k stars 30.3k forks source link

Restore from backup in new VM with official qcow image does not accept backup file #112582

Closed pipboy20k closed 7 months ago

pipboy20k commented 7 months ago

The problem

Hi all!

I have set up a new VM via libvirt and virt-install according to https://www.home-assistant.io/installation/linux/

The VM comes up and I can start with "Create My Smart Home, connect to mosquitto and zigbee2mqtt (running in containers outside of the VM), everything seems fine.

If I instead choose to "Restore From Backup" and choose a backup I made I get a popup "Unsupported file format: Please choose a Home Assistant backup file (.tar).

I have tried different backups:

both are full backups that I created via Firefox in the WebUI from a Windows machine.

Expected behaviour: the backup tar file is accepted

Not sure if this is connected to https://github.com/home-assistant/core/issues/108131 or https://github.com/home-assistant/core/issues/92282

What version of Home Assistant Core has the issue?

core-2024.3.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 7 months ago

Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration (hassio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hassio` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hassio` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hassio documentation hassio source (message by IssueLinks)

agners commented 7 months ago

both are full backups that I created via Firefox in the WebUI from a Windows machine.

Maybe related to https://github.com/home-assistant/frontend/issues/7258 :thinking:

Can you try download and upload using Chrome?

pipboy20k commented 7 months ago

Can you try download and upload using Chrome?

wow, perfect guess, with chrome the file is accepted (goes for files downloaded by either FF or Chrome).

Maybe related to home-assistant/frontend#7258 🤔

looking at that issue I see the "tried another browser" line. I guess I should have tried posting this under frontend and would have been served my workaround automatically^^

Whether you still consider this an issue or not is up to you. Me personally I'm fine with using Chrome. Thanks agners!