/var/log/homeassistant/homeassistant.log
starts with:
Traceback (most recent call last):
File “/var/www/homeassistant/venv/bin/hass”, line 10, in
sys.exit(main())
~~~~^^
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/main.py”, line 192, in main
from . import config, runner
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/runner.py”, line 16, in
from . import bootstrap
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/bootstrap.py”, line 41, in
from .components import (
…<22 lines>…
)
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/components/auth/init.py”, line 158, in
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2AuthorizeCallbackView
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py”, line 25, in
from habluetooth import BluetoothServiceInfoBleak
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/habluetooth/init.py”, line 26, in
from .scanner import BluetoothScanningMode, HaScanner, ScannerStartError
File “src/habluetooth/scanner.py”, line 39, in init habluetooth.scanner
ImportError: cannot import name OrPattern
and ends with:
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/components/auth/init.py”, line 158, in
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2AuthorizeCallbackView
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py”, line 25, in
from habluetooth import BluetoothServiceInfoBleak
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/habluetooth/init.py”, line 26, in
from .scanner import BluetoothScanningMode, HaScanner, ScannerStartError
File “src/habluetooth/scanner.py”, line 39, in init habluetooth.scanner
ImportError: cannot import name OrPattern
Traceback (most recent call last):
File “/var/www/homeassistant/venv/bin/hass”, line 10, in
sys.exit(main())
~~~~^^
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/main.py”, line 192, in main
from . import config, runner
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/runner.py”, line 16, in
from . import bootstrap
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/bootstrap.py”, line 41, in
from .components import (
…<22 lines>…
)
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/components/auth/init.py”, line 158, in
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2AuthorizeCallbackView
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py”, line 25, in
from habluetooth import BluetoothServiceInfoBleak
File “/var/www/homeassistant/venv/lib/python3.13/site-packages/habluetooth/init.py”, line 26, in
from .scanner import BluetoothScanningMode, HaScanner, ScannerStartError
File “src/habluetooth/scanner.py”, line 39, in init habluetooth.scanner
ImportError: cannot import name OrPattern
There is not other information than the above repeating over and over again.
cat /home/yunohost.app/homeassistant/configuration.yaml
homeassistant:
auth_providers:
- type: command_line
command: /home/yunohost.app/homeassistant/bin/ynh_ldap-auth.sh
meta: true
http:
server_port: 8123
use_x_forwarded_for: True
trusted_proxies:
- 127.0.0.1
- ::1
recorder:
db_url: mysql://homeassistant:9fc99fdf1ed69892eb17291c@127.0.0.1/homeassistant?unix_socket=/var/run/mysqld/mysqld.sock&charset=utf8mb4
Apply default set of integrations
default_config:
Linked yaml files
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Sensors
sensor:
- platform: fail2ban
jails:
- homeassistant
file_path: /var/log/homeassistant/homeassistant.log
bluetoothctl -v
bluetoothctl: 5.66
systemctl status dbus.socket
- dbus.socket - D-Bus System Message Bus Socket
Loaded: loaded (/lib/systemd/system/dbus.socket; static)
Active: active (running) since Mon 2025-06-30 12:06:07 CEST; 1h 39min ago
Triggers: * dbus.service
Listen: /run/dbus/system_bus_socket (Stream)
CGroup: /system.slice/dbus.socket
Jun 30 12:06:07 hostname.domain systemd[1]: Listening on dbus.socket - D-Bus System Message Bus Socket.