I have a set of errors that seem to match from a timestampt perspective. Backup job triggered via automation and via manual via web interface.
'Error message 1:
Logger: homeassistant.components.automation.create_backup
Source: components/automation/init.py:723
integration: Automation (documentation, issues)
First occurred: 8:18:34 PM (1 occurrences)
Last logged: 8:18:34 PM
While executing automation automation.create_backup
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.12/site-packages/bellows/ezsp/protocol.py”, line 74, in command
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError’
The above exception was the direct cause of the following exception:
‘Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/automation/init.py”, line 723, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 1731, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 451, in async_run
await self._async_step(log_exceptions=False)
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 503, in _async_step
self._handle_exception(
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 533, in _handle_exception
raise exception
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 501, in _async_step
await getattr(self, handler)()
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 736, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/script.py”, line 699, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/core.py”, line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/core.py”, line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/backup/init.py”, line 35, in async_handle_create_service
await backup_manager.generate_backup()
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/backup/manager.py”, line 199, in generate_backup
await self.pre_backup_actions()
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/backup/manager.py”, line 101, in pre_backup_actions
raise result
File “/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/zha/backup.py”, line 17, in async_pre_backup
await zha_gateway.application_controller.backups.create_backup(load_devices=True)
File “/srv/homeassistant/lib/python3.12/site-packages/zigpy/backups.py”, line 143, in create_backup
await self.app.load_network_info(load_devices=load_devices)
File “/srv/homeassistant/lib/python3.12/site-packages/bellows/zigbee/application.py”, line 376, in load_network_info
(status, key) = await ezsp.getKeyTableEntry(index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/bellows/ezsp/init.py”, line 215, in _command
return await self._protocol.command(name, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/bellows/ezsp/protocol.py”, line 73, in command
async with asyncio_timeout(EZSP_CMD_TIMEOUT):
File “/usr/local/lib/python3.12/asyncio/timeouts.py”, line 111, in aexit
raise TimeoutError from exc_val
TimeoutError’
Error message 2:
Logger: pyalarmdotcomajax.websockets.client
Source: /srv/homeassistant/lib/python3.12/site-packages/pyalarmdotcomajax/websockets/client.py:150
First occurred: 6:13:54 PM (7 occurrences)
Last logged: 8:18:47 PM
Unexpected WebSocket error
Traceback (most recent call last):
’ File “/srv/homeassistant/lib/python3.12/site-packages/pyalarmdotcomajax/websockets/client.py”, line 137, in _connect
await self._async_handle_message(json.loads(msg.data))
File “/srv/homeassistant/lib/python3.12/site-packages/pyalarmdotcomajax/websockets/client.py”, line 175, in _async_handle_message
message = process_raw_message(raw_message, self._device_registry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/lib/python3.12/site-packages/pyalarmdotcomajax/websockets/messages.py”, line 44, in process_raw_message
return EventMessage(message, device)
^^^^^^
UnboundLocalError: cannot access local variable ‘device’ where it is not associated with a value’
Error message 3:
Logger: bellows.ezsp.protocol
Source: runner.py:190
First occurred: 5:21:50 PM (9 occurrences)
Last logged: 8:19:24 PM
‘Failed to parse frame getKeyTableEntry: b’03eb9f030100000043690020517600006d0000009116002032’
Failed to parse frame getKeyTableEntry: b’03eb9f03010000004369002051760000ef0000009116002032’
Failed to parse frame getKeyTableEntry: b’03eb9f03010000004369002051760000660000009116002032’
Failed to parse frame getKeyTableEntry: b’03eb9f030100000043690020517600007f0000009116002032’
Failed to parse frame getKeyTableEntry: b’03eb9f03010000004369002051760000090000009116002032’’
Error message 4:
Logger: bellows.ezsp
Source: runner.py:190
First occurred: 5:21:50 PM (12 occurrences)
Last logged: 8:19:24 PM
Failed to parse frame, ignoring
I’m trying to work through the logs but I don’t seem to find anyone with a similar error. I can back up the homeassistant directory, excluding backups, without issue:
example: tar --exclude=backups -cvzf backups/2024.05.14.tar.gz *