# Core redémarre en boucle toute les minutes

**URL:** <https://forum.hacf.fr/t/core-redemarre-en-boucle-toute-les-minutes/22753>\
**Category:** Entraide Home Assistant\
**Tags:** aide, ha-core\
**Created:** [Avril 10, 2023, 7:47 UTC](https://forum.hacf.fr/t/core-redemarre-en-boucle-toute-les-minutes/22753 "2023-04-10T19:47:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Europrimus](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/e/b4bc9f/32.png) [@Europrimus](https://forum.hacf.fr/u/Europrimus)\
**Post date:** [Avril 10, 2023, 7:47 UTC](https://forum.hacf.fr/t/core-redemarre-en-boucle-toute-les-minutes/22753/1 "2023-04-10T19:47:42Z")

</div>

## Mon problème

Depuis la mise à jours vers la version 2023.4.1, home assistant n’est plus pleinement fonctionel. L’interface web ne s’affiche plus correctement:  
 ![](http://static.europrimus.ninja/homeAssistant/HA_ui_chargement.png)

Je n’e peut plus utiliser l’interface web (ni l’API) et les automations ne fonctionne plus.

En regardant les logs, j’ai remarqué que **home assistant core** redémarre tous seul toute les 1m30 environs.

J’ai encore accès à home assistant via l’addon **Terminal & SSH**  
Dans les logs du **supervisor** , j’ai des erreur `ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config` l’ip correspond à celle du conteneur docker du **core** qui redémarre tout seul, donc a des moments _d’indisponibilitée_

Dans les logs du **core** , l’erreur `ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.`, viens du faite que j’ai déplacé l’intégration **rte\_ecowatt** en pensant qu’elle pouvait être à l’origine du problème.

Les commande `ha core rebuild`, `ha core stop` ou `ha core update` ne fonctionnent pas, car une _tache est en cours_

Avez vous des idées pour trouver la source de l’erreur et réparrer ?  
Peut-on forcer l’arret du **core**? ou avoir la liste des tache en cours ?

## Ma configuration

* * *

RaspberyPI 3  
haOS 9.5 sur carte SD  
supervisor : 2023.04.0  
core : 2023.4.1  
une [zigate-USB](https://zigate.fr/documentation/descriptif-de-la-zigate-usb/) pour accèder au reseau zigbee

* * *

## Logs

`ha core info`

```auto
arch: aarch64
audio_input: null
audio_output: null
boot: true
image: ghcr.io/home-assistant/raspberrypi3-64-homeassistant
ip_address: 172.30.32.1
machine: raspberrypi3-64
port: 8123
ssl: true
update_available: true
version: 2023.4.1
version_latest: 2023.4.2
watchdog: true

```

* * *

`ha core logs`

```auto
2023-04-10 20:55:11.938 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[18:55:18] INFO: Home Assistant Core finish process exit code 256
[18:55:18] INFO: Home Assistant Core finish process received signal 9
2023-04-10 20:55:40.367 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 20:55:49.338 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 20:56:07.751 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 20:56:19.279 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform imap_email_content is taking over 10 seconds.
2023-04-10 20:56:19.283 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2023-04-10 20:56:19.286 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2023-04-10 20:56:19.292 WARNING (MainThread) [homeassistant.setup] Setup of schedule is taking over 10 seconds.
2023-04-10 20:56:19.295 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform ping is taking over 10 seconds.
2023-04-10 20:56:19.300 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform ping is taking over 10 seconds.
2023-04-10 20:56:19.304 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform ping is taking over 10 seconds.
2023-04-10 20:56:19.308 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform ping is taking over 10 seconds.
2023-04-10 20:56:30.486 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[18:56:38] INFO: Home Assistant Core finish process exit code 256
[18:56:38] INFO: Home Assistant Core finish process received signal 9
2023-04-10 20:56:59.705 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 20:57:09.155 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 20:57:28.075 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 20:57:51.001 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[18:57:59] INFO: Home Assistant Core finish process exit code 256
[18:57:59] INFO: Home Assistant Core finish process received signal 9
2023-04-10 20:58:21.585 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 20:58:30.948 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 20:58:49.776 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 20:59:12.519 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[18:59:19] INFO: Home Assistant Core finish process exit code 256
[18:59:19] INFO: Home Assistant Core finish process received signal 9
2023-04-10 20:59:40.944 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 20:59:50.618 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 21:00:08.712 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 21:00:31.439 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[19:00:41] INFO: Home Assistant Core finish process exit code 256
[19:00:41] INFO: Home Assistant Core finish process received signal 9
2023-04-10 21:01:03.219 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 21:01:12.097 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 21:01:30.079 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 21:01:52.808 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[19:01:59] INFO: Home Assistant Core finish process exit code 256
[19:01:59] INFO: Home Assistant Core finish process received signal 9
2023-04-10 21:02:21.170 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 21:02:30.673 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 21:02:51.793 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.
2023-04-10 21:03:02.413 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform imap_email_content is taking over 10 seconds.
2023-04-10 21:03:16.086 WARNING (MainThread) [zigpy.application] Coordinator does not support energy scanning
[19:03:22] INFO: Home Assistant Core finish process exit code 256
[19:03:22] INFO: Home Assistant Core finish process received signal 9
2023-04-10 21:03:44.108 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-04-10 21:03:52.051 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-04-10 21:04:10.781 ERROR (MainThread) [homeassistant.setup] Setup failed for rte_ecowatt: Integration not found.

```

* * *

`ha supervisor logs`

```auto
23-04-10 21:14:18 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-10 21:14:51 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:14:53 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:14:55 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:14:55 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:14:55 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:14:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:15:02 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:15:02 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:16:03 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from core_ssh
23-04-10 21:16:13 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:16:15 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:16:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-10 21:16:17 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:16:17 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:16:18 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:16:18 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:16:24 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:16:24 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:16:37 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from core_ssh
23-04-10 21:16:58 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-10 21:17:33 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:17:34 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:17:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:17:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:17:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:17:38 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:17:44 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:17:44 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:18:21 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-10 21:18:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:18:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:18:59 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:18:59 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:18:59 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:18:59 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:19:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:19:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:20:13 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:20:14 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:20:17 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:20:17 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:20:17 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:20:17 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:20:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:20:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:20:57 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-10 21:21:11 INFO (MainThread) [supervisor.api.middleware.security] /os/info access from core_ssh
23-04-10 21:21:31 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:21:32 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:21:36 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:21:36 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:21:36 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:21:36 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:21:42 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:21:42 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:22:51 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:22:53 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:22:54 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:22:54 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:22:54 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:22:54 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:23:01 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:23:01 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:23:17 INFO (MainThread) [supervisor.api.middleware.security] /observer/info access from core_ssh
23-04-10 21:23:37 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
23-04-10 21:23:38 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from core_ssh
23-04-10 21:24:12 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:24:13 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:24:16 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:24:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:24:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:24:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:24:22 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:24:22 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
23-04-10 21:25:24 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh

```

* * *

`ha core stop`

```auto
Processing... Done.

Error: Unknown error, see supervisor

```

`ha supervisor logs`

```auto
23-04-10 21:33:05 INFO (MainThread) [supervisor.api.middleware.security] /core/stop access from core_ssh
23-04-10 21:33:05 ERROR (MainThread) [supervisor.utils] Can't execute stop while a task is in progress
23-04-10 21:33:37 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh

```

---

<div class="post-metadata">

**Author:** ![ClassicRed](https://forum.hacf.fr/user_avatar/forum.hacf.fr/classicred/32/27071_2.png) [@ClassicRed](https://forum.hacf.fr/u/ClassicRed)\
**Post date:** [Avril 10, 2023, 8:47 UTC](https://forum.hacf.fr/t/core-redemarre-en-boucle-toute-les-minutes/22753/2 "2023-04-10T20:47:26Z")

</div>

Hello

premier post que tu écris , et même pas un bonjour et/ou merci !!!

---

<div class="post-metadata">

**Author:** ![bobosh](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bobosh/32/23088_2.png) [@bobosh](https://forum.hacf.fr/u/bobosh)\
**Post date:** [Avril 12, 2023, 11:56 UTC](https://forum.hacf.fr/t/core-redemarre-en-boucle-toute-les-minutes/22753/3 "2023-04-12T11:56:11Z")

</div>

J’ai le même problème. Avec l’erreur de base de données. Après suppression de la bdd toujours le même problème.
