Stabilité système

Il faut regarder les logs, ce message ne donne pas assez d’infos

Il y aurait un moyen de repartir sur une clean install sans avoir à tout refaire ?
Quels fichiers sont à récupérer ?

Avant de repartir sur du propre, il faudrait savoir ce qui est récupérable… parce que si le backup n’est pas fonctionnel, faire la manip à la main, c’est quasi mort

C’est ce qui m’inquiète aussi.
J’ai trouvé ça dans le journal
2024-01-03 17:17:08.588 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 676, in ping await self._send_frame(message, WSMsgType.PING) File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 653, in _send_frame self._write(header + message) File "/usr/local/lib/python3.11/site-packages/aiohttp/http_websocket.py", line 663, in _write raise ConnectionResetError("Cannot write to closing transport") ConnectionResetError: Cannot write to closing transport

Tu as assez d’espace libre ?

Hello,

Juste une hypothèse, je penche sur la DB… 10Go en 7 jours c’est pas top.
Et ça doit être la source des mises à jour qui ne passent pas.

Le message d’erreur de la DB c’est ce qu’il met quand ça reboot sans prévenir. La DB ne semble pas vérollée… si tu as tout qui marche.

Peut être en shootant la db (en la renommant juste pour voir) ça pourrait mieux se passer.

Je vois MariaDB installé aussi??? :confused:

Non, je suis sur un SSD avec 12GO de dispo. Je veux bien essayer de faire de la place mais est ce que je peux le faire « à la main » ?

Justement c’est l’étape faite avant en principe, donc là elle a à peine qq Mo

Celle ci m’interpelle aussi. 2024-01-03 17:29:39.287 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API:

Oups j’avais mal lu :confused:

1 « J'aime »

Edit, j’avais mal lu, j’ai 280,12 GO de libres.

Oui maria DB est installé. J’ai dû l’installé il y a bien longtemps mais je ne sais plus pour quoi ?

Donc on en est au même point :

  • vérifie que la base est bien presque vide (dans les infos HA)
  • tente un backup
  • et partage tous les logs au moment de la mise à jour (pas juste un morceau au hasard)

Partage aussi le recorder

Comment je fais pour le recorder ?

Dans le configuration.yaml

Alors j’ai pu faire une sauvegarde, enfin ! Mais je n’ai pas de recorder dans confoguration.yaml

Tu es certain ? Parce si c’est ça, alors tu as la motié des trucs qui ne servent à rien …

  • Mariadb
  • influxDB

Télécharge le backup et mets le dans un coin pour l’instant

Oui oui, j’ai tout relu. Effectivement, je ne garantis pas l’utilisation de MariaDB et influx DB. Je les avais installé il y a bien longtemps pour je ne sais plus quelle raison.

Donc tu peux les virer alors.
Et il reste des points à vérifier dans la liste précédente

Je vais les virer, et refaire une tentative de mise à jour pour avoir le journal.
J’ai une autre mise à jour qui bloque et elle me donne ce retour. Il s’agit de l’add on unifi network.

Détails du journal (ERREUR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:226
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 18:33:38 (1 occurrences)
Last logged: 18:33:38

[547596093248] Error updating UniFi Network Application: Can't install ghcr.io/hassio-addons/unifi/aarch64:3.0.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=3.0.1&fromImage=ghcr.io%2Fhassio-addons%2Funifi%2Faarch64&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/hassio-addons/unifi/aarch64/manifests/3.0.1": Get "https://ghcr.io/token?scope=repository%3Ahassio-addons%2Funifi%2Faarch64%3Apull&service=ghcr.io": net/http: TLS handshake timeout")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install
    await async_update_addon(self.hass, slug=self._addon_slug, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 53, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Can't install ghcr.io/hassio-addons/unifi/aarch64:3.0.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=3.0.1&fromImage=ghcr.io%2Fhassio-addons%2Funifi%2Faarch64&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/hassio-addons/unifi/aarch64/manifests/3.0.1": Get "https://ghcr.io/token?scope=repository%3Ahassio-addons%2Funifi%2Faarch64%3Apull&service=ghcr.io": net/http: TLS handshake timeout")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
    return await service.entity_service_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
    response_data = await _handle_entity_call(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 157, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 432, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install
    raise HomeAssistantError(f"Error updating {self.title}: {err}") from err
homeassistant.exceptions.HomeAssistantError: Error updating UniFi Network Application: Can't install ghcr.io/hassio-addons/unifi/aarch64:3.0.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=3.0.1&fromImage=ghcr.io%2Fhassio-addons%2Funifi%2Faarch64&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/hassio-addons/unifi/aarch64/manifests/3.0.1": Get "https://ghcr.io/token?scope=repository%3Ahassio-addons%2Funifi%2Faarch64%3Apull&service=ghcr.io": net/http: TLS handshake timeout")

Mais comme je ne m’en sers pas non plus, je vais désinstaller.