HA on Synology DSM 7.2, Docker 2023.12: Error during setup of component bluetooth

Hello,

I set up HA for the first time on my local environment (Synology DSM 7.2 + Docker). It’s running but showing errors regarding bluetooth all the time. I failed to understand and fix it.

I read through discussions (1, 2) regarding bluetooth support of HA when using docker and/or Synology DSM. This seems to be a tricky thing in general…
However, I don’t have any bluetooth device on my host machine (RS1221+) and I don’t plan to use BT in my HA. I don’t think I should ignore these errors, e.g. because installation of Shelly integration fails because of “Failed dependencies bluetooth” although Shellys can be accessed and should be supported without bluetooth.

“io.hass.base.version”: “2023.10.4”,
“io.hass.version”: “2023.12.1”,
“org.opencontainers.image.version”: “2023.12.1”

Errors:

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

Do you guys have an idea whats the problem here or know how to fix this?

Thank you in advance!

Best regards!