I have configured HA so my Backup is stored at Synology NAS.
It works OK when I make a manual backup.
But when I make a scheduled Backup the HA is messed up … at the side view Terminal / File editor / deCONZ … shows a blank page.
The only way to get HA back and running is a hardware restet and then it looks OK after booting.
Here is log from scheduled Backup:
Loggare: homeassistant.components.backup
Källa: components/backup/config.py:571
integration: Backup (dokumentation, ärenden)
Inträffade först: 07:30:30 (1 förekomst)
Senast loggade: 07:30:30
Error creating backup: Backup failed: [{'type': 'HomeAssistantBackupError', 'message': "Preparing backup of Home Assistant Core failed. Failed to inform HA Core: Unsuccessful websocket message - {'id': 1645, 'type': 'result', 'success': False, 'error': {'code': 'pre_backup_actions_failed', 'message': 'Error during pre-backup: Could not lock database within 30 seconds.'}}.", 'stage': 'home_assistant', 'error_key': None, 'extra_fields': None}]
[core-ssh ~]$ ha core logs
/local/custom-lovelace/compact-custom-header/custom-header.js:617:37079
2026-01-17 11:40:37.286 ERROR (MainThread) [frontend.js.modern.202601071] Uncaught error from Chrome WebView 143.0.7499.192 on Android 16
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "battery-state-card" has already been used with this registry
A.define (node_modules/@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.ts:180:12)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:10:19)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:21:17)
2026-01-17 12:53:50.021 ERROR (MainThread) [frontend.js.modern.202601071] Uncaught error from Chrome WebView 143.0.7499.192 on Android 16
TypeError: Cannot read properties of null (reading 'querySelector')
ha_elements (/local/custom-lovelace/compact-custom-header/custom-header.js:1:13663)
/local/custom-lovelace/compact-custom-header/custom-header.js:617:37079
2026-01-17 12:53:50.566 ERROR (MainThread) [frontend.js.modern.202601071] Uncaught error from Chrome WebView 143.0.7499.192 on Android 16
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "battery-state-card" has already been used with this registry
A.define (node_modules/@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.ts:180:12)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:10:19)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:21:17)
s6-rc: info: service legacy-services: stopping
[11:56:07] INFO: Home Assistant Core finish process exit code 0
[11:56:07] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-01-17 12:56:27.085 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:56:27.086 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:56:27.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:56:27.087 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:56:28.207 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (sv) string component.auth.mfa_setup.totp.step.init.description failed: ({'code', 'qr_code'} != {'authy_url', 'code', 'google_authenticator_url', 'qr_code'})
2026-01-17 12:56:31.840 ERROR (MainThread) [frontend.js.modern.202601072] Uncaught error from Chrome WebView 143.0.7499.34 on Android 16
TypeError: Cannot read properties of null (reading 'querySelector')
ha_elements (/local/custom-lovelace/compact-custom-header/custom-header.js:1:13663)
/local/custom-lovelace/compact-custom-header/custom-header.js:617:37079
s6-rc: info: service legacy-services: stopping
[11:57:40] INFO: Home Assistant Core finish process exit code 0
[11:57:40] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-01-17 12:57:49.974 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:57:49.975 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:57:49.976 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:57:49.976 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:57:51.031 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (sv) string component.auth.mfa_setup.totp.step.init.description failed: ({'code', 'qr_code'} != {'code', 'authy_url', 'qr_code', 'google_authenticator_url'})
2026-01-17 12:59:17.895 ERROR (MainThread) [frontend.js.modern.202601072] Uncaught error from Firefox 147.0 on Linux
TypeError: can't access property "querySelector", e.root.querySelector(...) is null
ha_elements (/local/custom-lovelace/compact-custom-header/custom-header.js:1:13635)
/local/custom-lovelace/compact-custom-header/custom-header.js:617:37079
2026-01-17 12:59:18.127 ERROR (MainThread) [frontend.js.modern.202601072] Uncaught error from Firefox 147.0 on Linux
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "battery-state-card" has already been used with this registry
88431/</A.prototype.define (node_modules/@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.ts:180:12)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:10:19)
customElements.get (/maxwroc/battery-state-card/v3.2.1/src/index.ts:21:17)
s6-rc: info: service legacy-services: stopping
[11:59:37] INFO: Home Assistant Core finish process exit code 0
[11:59:37] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-01-17 12:59:46.869 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:59:46.870 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:59:46.870 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nest_protect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:59:46.871 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-01-17 12:59:47.775 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (sv) string component.auth.mfa_setup.totp.step.init.description failed: ({'qr_code', 'code'} != {'qr_code', 'authy_url', 'google_authenticator_url', 'code'})
[core-ssh ~]$
Is the custom header on your battery lovelace dashboard card bringing things to a screaming halt? Is the device displaying it up to date, especially the browser?
Are all your other integrations including the HACS ones up to date?
Is that NVMe drive one if the ‘problem’ ones that is incompatible?
The error log mentions a lovelace dashboard. Is it having errors?
Some Raspberry Pi and SSDs are not compatible and have system locks. Plenty of information on the internet about it. We don’t know the model number if your drive, so we can’t search for you.