Hello,
I came to this thread via google…
I set up HA today as docker container.
“io.hass.base.version”: “2023.10.4”,
“io.hass.version”: “2023.12.1”,
“org.opencontainers.image.version”: “2023.12.1”
Host system is a synology without bluetooh interface. I played around with HA ignoring this error and it seems to work so far (not using any bluetooth stuff).
However, from the first start of the container, logs show the same error that have been discussed here before:
Home Assistant Core
Setup failed for ‘default_config’: (DependencyError(…), ‘Could not setup dependencies: bluetooth’)
15:51:59 – (FEHLER) setup.py
Unable to set up dependencies of ‘default_config’. Setup failed for dependencies: bluetooth
15:51:59 – (FEHLER) setup.py
Error during setup of component bluetooth
15:51:55 – (FEHLER) setup.py
These are the details of the first error log entry:
Protokolldetails (FEHLER)
Logger: homeassistant.setup
Source: setup.py:332
First occurred: 15:51:55 (1 occurrences)
Last logged: 15:51:55
Error during setup of component bluetooth
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 332, in _async_setup_component
result = await task
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/bluetooth/init.py”, line 145, in async_setup
await manager.async_setup()
File “/usr/src/homeassistant/homeassistant/components/bluetooth/manager.py”, line 242, in async_setup
await self._bluetooth_adapters.refresh()
File “/usr/local/lib/python3.11/site-packages/bluetooth_adapters/systems/linux.py”, line 36, in refresh
await self._bluez.load()
File “/usr/local/lib/python3.11/site-packages/bluetooth_adapters/dbus.py”, line 30, in load
self._packed_managed_objects = await _get_dbus_managed_objects()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/bluetooth_adapters/dbus.py”, line 94, in _get_dbus_managed_objects
bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/dbus_fast/aio/message_bus.py”, line 198, in init
super().init(bus_address, bus_type, ProxyObject, negotiate_unix_fd)
File “src/dbus_fast/message_bus.py”, line 161, in dbus_fast.message_bus.BaseMessageBus.init
File “src/dbus_fast/message_bus.py”, line 714, in dbus_fast.message_bus.BaseMessageBus._setup_socket
File “src/dbus_fast/message_bus.py”, line 687, in dbus_fast.message_bus.BaseMessageBus._setup_socket
NotADirectoryError: [Errno 20] Not a directory
Anyone knows how to fix this or should I just ignore it?
Thanks!