HA Green, running 2024.8.2, just restored a backup and installed latest version.
Unable to take backups of restored install.
UI gives the error:
“An error occurred while making backup, check job ‘a49f4820a4e14832a374e70afbad38d2’ or supervisor logs for details”
Supervisor logs says:
“2024-08-24 23:26:50.427 ERROR (MainThread) [supervisor.homeassistant.module] Preparing backup of Home Assistant Core failed. Check HA Core logs.”
HA Core logs says:
" Log Details (ERROR)
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:135
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 23:15:41 (3 occurrences)
Last logged: 23:26:50
Failed to to call /backups/new/full - An error occurred while making backup, check job ‘6918c7ad0b1f4352829d40d1dc7cffbf’ or supervisor logs for details
Failed to to call /backups/new/partial - An error occurred while making backup, check job ‘9fc4d197cdd840719a5efdbeddc16bde’ or supervisor logs for details
Failed to to call /backups/new/full - An error occurred while making backup, check job ‘a49f4820a4e14832a374e70afbad38d2’ or supervisor logs for details"
Been checking using SSH and there is no directory /backups/new/full, just the ordinary /backup (without s). Didn’t help to create them manually either.
After updating to 2024.8.3 managed to do one backup, but cannot make any additional ones,
even after restoring to the first backup, cannot make new ones
Could it be that some file is corrupted?
My history does not work either so database gets corrupted???
Supervisor msgs:
2024-09-05 09:11:14.125 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-05 09:11:14.136 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-05 09:11:21.290 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2024-09-05 09:11:21.291 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2024-09-05 09:11:21.292 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2024.9.0
2024-09-05 09:11:21.450 INFO (SyncWorker_2) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/qemux86-64-homeassistant:2024.8.3']
2024-09-05 09:12:05.327 INFO (MainThread) [supervisor.backups.manager] Backup cf9227d2 starting stage addon_repositories
2024-09-05 09:12:05.327 INFO (MainThread) [supervisor.backups.manager] Backup cf9227d2 starting stage docker_config
2024-09-05 09:12:05.328 INFO (MainThread) [supervisor.backups.manager] Creating new full backup with slug cf9227d2
2024-09-05 09:12:05.338 INFO (MainThread) [supervisor.backups.manager] Backup cf9227d2 starting stage home_assistant
2024-09-05 09:12:11.293 ERROR (MainThread) [supervisor.homeassistant.module] Preparing backup of Home Assistant Core failed. Check HA Core logs.
2024-09-05 09:12:21.527 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
2024-09-05 09:12:21.535 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
2024-09-05 09:13:57.147 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
Core msgs:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:135
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 9:12:11 AM (1 occurrences)
Last logged: 9:12:11 AM
Failed to to call /backups/new/full - An error occurred while making backup, check job ‘ed285824f792469f91537ab244e3bea1’ or supervisor logs for details
If you look into the supervisor log then you see exact the same error message.
/backup cat /config/home-assistant.log | grep d41bfabe72684e279fe2d3247afb57c0
2024-09-12 08:20:49.778 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups/new/full - An error occurred while making backup, check job 'd41bfabe72684e279fe2d3247afb57c0' or supervisor logs for details
I read that many HA-users have the same issues. But I can’t find the solution for this issue.
Maybe for now there is no solution, but does anybody know a workaround for this issue? I tried to look into an old backup-tar-file. But there is only a very large json-file in it. So starting on the commandline a tar command is not a solution either.
2024.9.3 brought the problem back?
somehow all started to work with 9.2, BOTH database and backups
now after update to 9.3 and about a day after, the database is locked and backups does not work
(database locked means that all history is now flat lines, all charts shows flat, though the sensors gives the right value to the UI)
Last week I had this problem too, when trying a full back-up. In the logs there were pointers at something in a ‘bellows’ dir going wrong. This bellows turned out to be part of ZHA/zigpy. Which I happened to have installed just a few days earlier. So, I deleted the ZHA integration, restarted HA and made a full back-up. Problem solved! Next step is to re-install ZHA and see what happens.
Part two: after re-installing ZHA the problem has returned. So there is definitely something in ZHA that causes a full back-up to crash.
Part three: after reverting the Zigbee Coordinator firmware to a previous version the problem was resolved and back-up completed succesfully.
I have the very same problem. Already upgraded to Core 2024.10.0.
Also had crashes after crashes and had to come back to a Full September backup. Now i cannot do any backup. Please advise.
Still backups does not work, and database freezes:
2024.10.1 on W11 vmware
Clean installation of W11, VMware, and HA from a backup of 2024.9.3 (somehow that was a full backup)
everything worked for a while,
updated to 2024.10.1
tried to do manual backup → DID NOT Work … AND database freezes
Logs are no good:
Core: Failed to to call /backups/new/full…check job xxx or supervisor logs
Supervisor: Preparing backup of Home Assistant Core failed. Check HA Core logs
Right after updating core to 2024.10.2 and OS to 13.2
in one rush, it happens to me as well.
Either partial and full backups fail with no meaningful log messages.
As already mentioned in earlier posts, supervisor logs point to core logs and vice versa.
UPDATE:
It seems that- in my case - the Grafana Add-On as well was broken after OS and core update. I knew it and temporarily disabled the AddOn but that didnt help.
Finally uninstalling and reinstall Grafana did the trick. Backup, full and partial, again are functional.