Help understanding log please

My HA runs fine , but, often fails to to a core update and rolsl back. Sometimes it works, sometimes not and the next release works, or sometimes safe mode makes it work , sometimes not.

I’m trying to find out why in the logs but I don’t know a) which logs - supervisor I assume? and b) can’t seem to see anything of any consequence? should there be red text?

I find the whole “check your logs” part of HA to be the weak spot - there are many, some need enabling(?) google searches tell me to look in home-assistant-rollback.log - which never exists, and also to look in home-assistant.log.1 - mine stopped updating in 2025 - all my log files seem old.

Any good guides I can read , that are current, and can help me on teh path of diagnosing my updating issues?

Did you have a look at the config/logs page?

I don’t know what you mean - page on here?

Anyone? I’m trying to be helpful and use my logs, which every one tells me to look at - I just don’t under stand where, and what I’m looking for.

As above, what logs page? I’ve looked at the HA log page but I can’t fugire what I’m looking at. MY HA won’t install the latest core update, it rolls back, and the internet tells me to look at rolback log, but I’ve not got one, and all my logs in the config folder are a good year old.

Via Settings > System > Logs
Then select “Show raw logs” in the upper right corner (Default Home Assistant Core is the one you mostly want).

An error message can be overwhelming when looked at. An error starts with a datetime stamp and ends before the next datetime stamp. In most cases the last line is the most important to read. The lines inbetween often contain references to the home assistant core components but are less important to look at. The last line often contains the integration name that is causing the error.

Take some time to interpret the error message by reading it carefully and you will be fine next time. Here is an example:

2026-02-07 03:37:46.709 WARNING (MainThread) [custom_components.AlphaESS_VitaPower.api_calls] API request error: Cannot connect to host openapi.alphaess.com:443 ssl:default [Timeout while contacting DNS servers]
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py”, line 117, in resolve
resp = await self._resolver.getaddrinfo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<5 lines>…
)
^
aiodns.error.DNSError: (12, ‘Timeout while contacting DNS servers’)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1562, in _create_direct_connection
hosts = await self._resolve_host(host, port, traces=traces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1178, in _resolve_host
return await asyncio.shield(resolved_host_task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1209, in _resolve_host_with_throttle
addrs = await self._resolver.resolve(host, port, family=self._family)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py”, line 126, in resolve
raise OSError(None, msg) from exc
OSError: [Errno None] Timeout while contacting DNS servers
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/config/custom_components/AlphaESS_VitaPower/api_calls.py”, line 69, in _make_api_request
async with session.get(url, headers=headers, params=params) as response:
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 1510, in aenter
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 779, in _request
resp = await handler(req)
^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 734, in _connect_and_send_request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req, traces=traces, timeout=real_timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 672, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1239, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1568, in _create_direct_connection
raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host openapi.alphaess.com:443 ssl:default [Timeout while contacting DNS servers]
2026-02-07 03:37:46.713 WARNING (MainThread) [custom_components.AlphaESS_VitaPower.api_calls] API returned code None: No response

Is this the answer to what you’re looking for?

1 Like

That helps greatly, thanks. I assume my actual log files are old because I read somewhere that HA stopped writing to them a year ago ?

Correct. They were stopped at the end of last year, but the functionality to get them back was added last month. Read here on how to enable them

1 Like