This morning, I noticed that the Update message was saying that core-2021.3.2 was available (yesterday it was core-2021.3.1), so I tried taking a snapshot again. Note: I did not restart either the Core or the Supervisor.
This time it succeeded without reporting “unknown errors”. I was then able to upgrade to core-2021.3.2 without problems.
geting this same error. looks to be the zha integration. i used to have this integration but dont use it anymore so deleted it but there looks to be some left overs thats causing errors. any way to fix this?
537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36)
2023-02-09T17:34:25.927837530Z Traceback (most recent call last):
2023-02-09T17:34:25.927842095Z File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
2023-02-09T17:34:25.927845474Z await func(hass, connection, msg)
2023-02-09T17:34:25.927848590Z File "/usr/src/homeassistant/homeassistant/components/backup/websocket.py", line 70, in handle_create
2023-02-09T17:34:25.927858465Z backup = await manager.generate_backup()
2023-02-09T17:34:25.927861316Z File "/usr/src/homeassistant/homeassistant/components/backup/manager.py", line 172, in generate_backup
2023-02-09T17:34:25.927864192Z raise result
2023-02-09T17:34:25.927866736Z File "/usr/src/homeassistant/homeassistant/components/zha/backup.py", line 16, in async_pre_backup
2023-02-09T17:34:25.927869449Z zha_gateway: ZHAGateway = hass.data[DATA_ZHA][DATA_ZHA_GATEWAY]
2023-02-09T17:34:25.927872049Z KeyError: 'zha_gateway'
A reboot didn’t help. Interestingly, only the full backup didn’t work. The .tar file from the log doesn’t exist:
➜ /data cd /data/backup
cd: no such file or directory: /data/backup
Specs:
rpi4-64 with ssd
Core2023.11.3
Supervisor2023.11.6
Operating System11.2
Frontend20231030.2
Log Supervisor
23-12-05 08:19:46 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_nginxproxymanager
23-12-05 08:19:49 INFO (MainThread) [supervisor.host.services] Updating service information
23-12-05 08:19:49 INFO (MainThread) [supervisor.host.network] Updating local network information
23-12-05 08:19:50 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-12-05 08:19:50 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-12-05 08:49:29 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-12-05 09:16:50 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
23-12-05 09:16:51 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-12-05 09:16:51 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
23-12-05 09:16:51 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-12-05 09:19:30 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-12-05 09:49:31 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-12-05 10:03:54 INFO (MainThread) [supervisor.backups.manager] Found 315 backup files
23-12-05 10:03:55 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/80379ab8.tar: unexpected end of data
23-12-05 10:03:55 INFO (MainThread) [supervisor.backups.manager] Found 315 backup files
23-12-05 10:03:56 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/80379ab8.tar: unexpected end of data
23-12-05 10:04:02 INFO (MainThread) [supervisor.backups.manager] Backup fc81b49a starting stage addon_repositories
23-12-05 10:04:02 INFO (MainThread) [supervisor.backups.manager] Backup fc81b49a starting stage docker_config
23-12-05 10:04:02 INFO (MainThread) [supervisor.backups.manager] Creating new full backup with slug fc81b49a
23-12-05 10:04:02 INFO (MainThread) [supervisor.backups.manager] Backup fc81b49a starting stage addons
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_grafana
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_grafana
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_wireguard
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_wireguard
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on 5c53de3b_esphome
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon 5c53de3b_esphome
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on core_configurator
23-12-05 10:04:02 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon core_configurator
23-12-05 10:04:03 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on core_mariadb
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon core_mariadb
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_ssh
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_ssh
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_logviewer
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_logviewer
23-12-05 10:04:26 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_influxdb
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_influxdb
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on core_duckdns
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon core_duckdns
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on core_mosquitto
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon core_mosquitto
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on 7d06b5a0_argon_one_temp
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon 7d06b5a0_argon_one_temp
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_sonweb
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_sonweb
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on 45df7312_zigbee2mqtt
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon 45df7312_zigbee2mqtt
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_jupyterlablite
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_jupyterlablite
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_sponsorblockcast
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_sponsorblockcast
23-12-05 10:04:32 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_teamspeak
23-12-05 10:04:41 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_teamspeak
23-12-05 10:04:41 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_motioneye
23-12-05 10:04:41 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_motioneye
23-12-05 10:04:41 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_nextcloud_ocr
23-12-05 10:09:16 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_nextcloud_ocr
23-12-05 10:09:16 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_vscode
23-12-05 10:09:22 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_vscode
23-12-05 10:09:22 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_bitwarden
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_bitwarden
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_nginxproxymanager
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_nginxproxymanager
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_calibre
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_calibre
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_calibre-web
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_calibre-web
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_tandoor_recipes
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_tandoor_recipes
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on db21ed7f_guacamole
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon db21ed7f_guacamole
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a0d7b954_uptime-kuma
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a0d7b954_uptime-kuma
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on a889bffc_go2rtc
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon a889bffc_go2rtc
23-12-05 10:09:24 INFO (MainThread) [supervisor.addons.addon] Building backup for add-on b9f12d83_psacc
23-12-05 10:09:50 INFO (MainThread) [supervisor.addons.addon] Finish backup for addon b9f12d83_psacc
23-12-05 10:09:50 INFO (MainThread) [supervisor.backups.manager] Backup fc81b49a starting stage home_assistant
23-12-05 10:09:50 INFO (MainThread) [supervisor.homeassistant.module] Backing up Home Assistant Core config folder
23-12-05 10:19:33 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-12-05 10:20:20 INFO (MainThread) [supervisor.homeassistant.module] Backup Home Assistant Core config folder done
23-12-05 10:20:20 INFO (MainThread) [supervisor.backups.manager] Backup fc81b49a starting stage folders
23-12-05 10:20:20 INFO (SyncWorker_0) [supervisor.backups.backup] Backing up folder share
23-12-05 10:20:21 INFO (SyncWorker_0) [supervisor.backups.backup] Backup folder share done
23-12-05 10:20:21 INFO (SyncWorker_0) [supervisor.backups.backup] Backing up folder addons/local
23-12-05 10:20:21 INFO (SyncWorker_0) [supervisor.backups.backup] Backup folder addons/local done
23-12-05 10:20:21 INFO (SyncWorker_1) [supervisor.backups.backup] Backing up folder ssl
23-12-05 10:20:21 INFO (SyncWorker_1) [supervisor.backups.backup] Backup folder ssl done
23-12-05 10:20:21 INFO (SyncWorker_6) [supervisor.backups.backup] Backing up folder media
I noticed the following line:
23-12-05 10:03:55 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/80379ab8.tar: unexpected end of data
I had some .tar files in the backup folder that would not show up in GUI. went in with terminal app and deleted them. now I am able to do backups again.