After starting the container, these are the logs I see (repeating ever few seconds):
ERROR (MainThread) [habluetooth.scanner] hci0 (F0:03:8C:48:0A:BE): Failed to force stop scanner: ‘NoneType’ object has no attribute ‘send’
I have configured the container according to 3 methods with same result: Docker Installation, Docker Compose installation, and Portainer Installation.
I had no success searching this error code via AI or Google. Any help would be greatly appreciated.
Also, I’m a noob to Linix, Docker, Portainer, and HomeAssistant, so I’m struggling, haha.
Thx,
Jeremy
verifique seu serviço bluetooh,
systemctl status bluetooth
Thank you for the quick reply. This is the output from systemctl status bluetooth:
Unit bluetooth.service could not be found.
I will attempt to figure out how to get it running. If you have any suggestions on where to start, I’d appreciate it greatly!
Thx.
UPDATE: I did the following 2 steps and got a different output for bluetooth status:
- sudu apt update
- sudo apt install --reinstall bluetooth bluez blueman
This is the new output for sudo systemctl status bluetooth:
jeremy@jjb-ubuntu-svr:/opt$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
Active: active (running) since Wed 2025-11-05 20:30:09 UTC; 3min 30s ago
Docs: man:bluetoothd(8)
Main PID: 28941 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 9297)
Memory: 824.0K (peak: 1.3M)
CPU: 35ms
CGroup: /system.slice/bluetooth.service
└─28941 /usr/libexec/bluetooth/bluetoothd
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: src/plugin.c:plugin_init() System does not support micp plugin
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: src/plugin.c:plugin_init() System does not support vcp plugin
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: src/plugin.c:plugin_init() System does not support mcp plugin
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: src/plugin.c:plugin_init() System does not support bass plugin
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: src/plugin.c:plugin_init() System does not support bap plugin
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: Bluetooth management interface 1.22 initialized
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: Battery Provider Manager created
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: profiles/sap/server.c:sap_server_register() Sap driver initialization>
Nov 05 20:30:09 jjb-ubuntu-svr bluetoothd[28941]: sap-server: Operation not permitted (1)
Sadly though, I’m still seeing the same error messages. I deleted and recreated the container and still same.
Thx.
I was able to get this resolved. After enabling the bluetooth adapter in the above post, I then made a change to my .yaml file to include the following:
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- /run/dbus:/run/dbus:ro
After restarting HA, I’m able to access the GUI now and Portainer no longer shows any errors. THANKS FOR THE HELP @PedroNascimento !!!