Problem with add-on logs

Hello

After update to 2024.10.0 / 2024.10.1, rol back to last 2024.09, disabling alexa media player, update HA to 2024.10.1 i have problem with add-on logs
every add-on logs show only

Failed to get add-on logs, No systemd-journal-gatewayd Unix socket available

from commandline i get this when try to read supervisor logs

2024-10-05 14:54:15.651 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.7:8099 ssl:default [Connect call failed ('172.30.33.7', 8099)]
2024-10-05 14:54:24.865 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-10-05 14:57:57.166 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-10-05 14:57:57.166 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/api/__init__.py", line 403, in get_supervisor_logs
    return await self._api_host.advanced_logs_handler(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/host.py", line 237, in advanced_logs_handler
    async with self.sys_host.logs.journald_logs(
  File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/host/logs.py", line 144, in journald_logs
    raise HostNotSupportedError(
supervisor.exceptions.HostNotSupportedError: No systemd-journal-gatewayd Unix socket available
2024-10-05 14:57:59.330 WARNING (MainThread) [supervisor.addons.options] Unknown option 'community' for Network UPS Tools (a0d7b954_nut)
2024-10-05 15:02:59.329 WARNING (MainThread) [supervisor.addons.options] Unknown option 'community' for Network UPS Tools (a0d7b954_nut)
2024-10-05 15:04:03.882 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-10-05 15:07:10.822 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-10-05 15:07:10.822 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/api/__init__.py", line 403, in get_supervisor_logs
    return await self._api_host.advanced_logs_handler(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/host.py", line 237, in advanced_logs_handler
    async with self.sys_host.logs.journald_logs(
  File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/host/logs.py", line 144, in journald_logs
    raise HostNotSupportedError(
supervisor.exceptions.HostNotSupportedError: No systemd-journal-gatewayd Unix socket available

my HA is debian 11 based

image

how to repair logs ?

Not a solution here, but been running flawlessly on arch for years until this update. I do have systemd-journald-remote setup and working but the supervisor log call still fails, all add-ons and the supervisor fail to load logs. Curling the endpoint returns Unexpected EOF so either there’s some config this depends on for systemd that is non standard outside of debian or there’s some bug.

2024-10-06 22:51:26.981 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.006 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.021 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.035 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.048 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.063 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.078 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.093 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.107 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.121 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.136 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.150 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.165 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.183 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.197 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.210 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.224 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
2024-10-06 22:51:27.240 ERROR (MainThread) [homeassistant.components.hassio.http] Client error on api addons/5c53de3b_esphome/logs request Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>