Erreurs dans le journal de "Check Home Assistant configuration"

Mon problème

*Erreurs reportée dans le journal de « Check Home Assistant configuration ». J’ai cherché un peu partout mais rien trouvé qui puisse m’aider à résoudre ces erreurs. Je tourne sous une box blue. Merci pour votre aide *

Ma configuration


[center]System Health

version: core-2021.12.10
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.7
os_name: Linux
os_version: 5.10.91
arch: aarch64
timezone: Europe/Zurich

GitHub API: ok
Github API Calls Remaining: 5000
Installed Version: 1.19.3
Stage: running
Available Repositories: 944
Downloaded Repositories: 13

can_reach_server: ok
remaining_requests: 33

logged_in: true
subscription_expiration: 21 février 2022, 01:00
relayer_connected: true
remote_enabled: true
remote_connected: true
alexa_enabled: true
google_enabled: true
remote_server: eu-central-1-1.ui.nabu.casa
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: failed to load: timeout

host_os: Home Assistant OS 7.2
update_channel: stable
supervisor_version: supervisor-2021.12.2
docker_version: 20.10.9
disk_total: 113.9 GB
disk_used: 8.5 GB
healthy: true
supported: true
board: odroid-n2
supervisor_api: ok
version_api: ok
installed_addons: Check Home Assistant configuration (3.9.0), File editor (5.3.3), Samba share (9.5.1), Z-Wave JS (0.1.52), SSH & Web Terminal (10.0.2), Home Assistant Google Drive Backup (0.105.2), Node-RED (10.3.4), InfluxDB (4.3.0), Grafana (7.4.1)

dashboards: 1
resources: 5
views: 3
mode: storage

component_version: 0.5.1
can_reach_server: ok
can_reach_spec: ok
logged_accounts: 1
total_devices: 80

logged_in: true
can_reach_micloud_server: ok
accounts_count: 1
account_devices_count: 80
added_devices: 47[/center


Je suis nouveau avec HA, désolé si ma question est un peu idiote du coup. Et merci encore pour votre aide.

Voici ce que j’ai dans le journal :

  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting voluptuous==0.12.2
  Downloading https://wheels.home-assistant.io/alpine-3.14/aarch64/voluptuous-0.12.2-py3-none-any.whl (29 kB)
Collecting awesomeversion==21.11.0
  Downloading awesomeversion-21.11.0-py3-none-any.whl (13 kB)
Collecting jinja2==3.0.3
  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting requests==2.26.0
  Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting astral==2.2
  Downloading astral-2.2-py2.py3-none-any.whl (30 kB)
Collecting voluptuous-serialize==2.5.0
  Downloading voluptuous_serialize-2.5.0-py3-none-any.whl (6.8 kB)
Collecting cryptography==35.0.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/aarch64/cryptography-35.0.0-cp39-none-any.whl (1.1 MB)
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.14.6)
Collecting six>=1.4.1
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting charset-normalizer
  Downloading charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting httpcore<0.15.0,>=0.14.0
  Downloading httpcore-0.14.5-py3-none-any.whl (67 kB)
Collecting idna>=2.0
  Downloading idna-3.3-py3-none-any.whl (61 kB)
Collecting multidict>=4.0
  Downloading multidict-6.0.2.tar.gz (50 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting typing-extensions>=3.6.5
  Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting text-unidecode>=1.3
  Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting aiosignal>=1.1.2
  Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting frozenlist>=1.1.1
  Downloading https://wheels.home-assistant.io/alpine-3.14/aarch64/frozenlist-1.3.0-cp39-none-any.whl (37 kB)
Collecting MarkupSafe>=2.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/aarch64/MarkupSafe-2.0.1-cp39-none-any.whl (15 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting pytz
  Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.20)
Collecting anyio==3.*
  Downloading anyio-3.5.0-py3-none-any.whl (79 kB)
Collecting h11<0.13,>=0.11
  Downloading h11-0.12.0-py3-none-any.whl (54 kB)
Building wheels for collected packages: multidict
  Building wheel for multidict (PEP 517): started
  Building wheel for multidict (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpyy_mnpqg
       cwd: /tmp/pip-install-y9gfgiy7/multidict
  Complete output (29 lines):
  *********************
  * Accelerated build *
  *********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-3.9
  creating build/lib.linux-aarch64-3.9/multidict
  copying multidict/_compat.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_abc.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_multidict_py.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/__init__.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_multidict_base.py -> build/lib.linux-aarch64-3.9/multidict
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files found matching 'multidict/_multidict.html'
  warning: no previously-included files found matching 'multidict/*.so'
  warning: no previously-included files found matching 'multidict/*.pyd'
  warning: no previously-included files found matching 'multidict/*.pyd'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'multidict.egg-info/SOURCES.txt'
  copying multidict/__init__.pyi -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/py.typed -> build/lib.linux-aarch64-3.9/multidict
  running build_ext
  creating build/temp.linux-aarch64-3.9
  creating build/temp.linux-aarch64-3.9/multidict
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c multidict/_multidict.c -o build/temp.linux-aarch64-3.9/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Une nouvelle version 7.2 de hassio est proposée et semble effectivement avoir un bug. J’ai le même message d’erreur. Cela semble venir de la compilation de multidict.c, une librairie utilisée pour les échanges http. Donc peu probable que ce soit lié a une intégration ou un addon de home assistant.

Il ne faut pas migrer et attendre. Ou faire un ticket si personne ne le fait rapidement

Comme quoi, il faut toujours faire un check HA config…
A moins que ce ne soit le check qui ait un pb, mais je n’y crois pas.

D’autres erreurs ont été par ailleurs signalées :

Ok, merci pour l’info. Donc on doit attendre un correctif ? pas d’autre solution ?

J’utilise bien une ConBee 2 avec ZHA mais par contre pas de bug, tout me semble tourner correctement chez-moi tout du moins.

En te relisant, je crois comprendre que j’aurais pas du faire cette mise à jour ?

En fait je suis très novice avec HA, voici la cheminement que j’ai suivie.

J’ai d’abord lancé « Check Home Assistant configuration » et il m’a proposé de passer de 7.1 à 7.2 (stable), j’ai donc click sur le bouton de mise à jour et il m’a bien fait passer à la 7.2 (ci-dessus host_os: Home Assistant OS 7.2).
Est-ce que je pouvait anticiper et rester en 7.1 ? J’ai des doutes du coup que je m’y soit pas pris correctement.

Il y a moyen de revenir à la 7.1 juste pour voir si les erreurs sont là ?

Merci pour ton aide

EDIT: J’ai trouvé la commande pour revenir à la 7.1 : ha os update – version 7.1
EDIT2: bon et bien en 7.1 j’ai exactement les mêmes erreurs dans le journal que ce que j’ai mis en dessus

Bonne nouvelle, mon idée de repasser en 7.1 et de refaire l’installation en 7.2 était la solution à ce problème apparemment.

Voici à quoi ressemble mon journal dans « Check Home Assistant configuration » maintenant que tout semble être revenu à la normale :

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:13:18] INFO: Don't worry, this temporary installation is not overwriting your current one.
[10:13:18] INFO: Installing Home Assistant: stable...
[10:13:18] INFO: Please be patient, this might take a few minutes...
[10:14:11] INFO: Installed Home Assistant 2021.12.10
[10:14:11] INFO: Making a copy of your configuration for checking...
[10:14:11] INFO: Checking your configuration against this version...
[10:17:26] INFO: Configuration check finished - no error found! :)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Hello,
L’addon Check Home Assistant Configuration permet de vérifier si une nouvelle version est compatible avec ton installation. Il simule l’installation mais ne la fait pas. Donc si il y a des erreurs, il faut effectivement ne pas faire la mise a jour : attendre un correctif ou résoudre les problèmes si cela vient de chez toi.
Après si cela marche au final malgré les erreurs initiales, c’est parfait :blush:

Merci pour ton éclaircissement utile. J’irais voir le journal dorénavant avant de faire une nouvelle mise à jour.

C’est bien, je me forme assez vite grâce à vos conseils . Je pense que vous allez me voir souvent sur ce forum dans les prochaines semaines/mois :wink: