# Redémarrage de Gladys intempestif

**URL:** <https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081>\
**Category:** Configuration\
**Created:** [Septembre 12, 2024, 9:35 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081 "2024-09-12T09:35:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 9:35 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/1 "2024-09-12T09:35:58Z")

</div>

Bonjour a tous ,  
Depuis la version 4.45, de temps en temps mon RPI4 se met à ramer quelques minutes et j’ai constaté, que c’etait lors de la migration vers DuckDb . Je pensai que la migration avait été faite une fois pour toute. Pouvez vous eclairer ma lanterne 💡.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/b/ab2f6b620b5dca5b630b9b6d4bceddaf7142001d.png)  
Merci d’avance

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [Septembre 12, 2024, 1:33 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/2 "2024-09-12T13:33:57Z")

</div>

@Psoy, vérifie, mais ça ressemble plutôt à des redémarrage (intempestifs ou non) car la migration n’intervient automatiquement qu’à chaque redémarrage de Gladys.

D’où les lenteurs car tu dois tomber sur le temps de redémarrage.

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 3:45 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/3 "2024-09-12T15:45:19Z")

</div>

merci pour ta reponse @Terdious  
mais comme je vérifie ça ?

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [Septembre 12, 2024, 3:57 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/4 "2024-09-12T15:57:49Z")

</div>

Vue systeme maybe ?

 ![1000023461](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/5/f5bd5d1bbdbaa3c58112ca8a342d3568ef64c3f0.jpeg)  
Mais pas sûr que ca prennele redemarrage.  
Sinon en ssh :  
`docker ps`

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 3:59 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/5 "2024-09-12T15:59:05Z")

</div>

je redemarre Gladys ?  
le nettoyage de la base je l’ai deja fait

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [Septembre 12, 2024, 4:00 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/6 "2024-09-12T16:00:32Z")

</div>

Non non, pour voir ton dernier redemarrage indésirable evite

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 4:01 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/7 "2024-09-12T16:01:48Z")

</div>

j’ai fais un docker ps , et c’est vrai que Gladys a redemarré il y a 7 heures,

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [Septembre 12, 2024, 4:03 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/8 "2024-09-12T16:03:38Z")

</div>

Deja essaye de faire la commande en ssh ou en ligne de commande directement. Voir quand gladys a redémarré pour la dernière fois

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 4:05 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/9 "2024-09-12T16:05:46Z")

</div>

Je viens de le faire et c’est vrai Gladys a redemarré il ya 7 heures.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [Septembre 12, 2024, 4:08 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/10 "2024-09-12T16:08:00Z")

</div>

Ok donc c’est bien la raison !!^^  
Maintenant, pourquoi, c’est une autre question ^^

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 12, 2024, 4:25 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/11 "2024-09-12T16:25:58Z")

</div>

redemmarrage de Gladys ça peu apporter quelque chose ?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 13, 2024, 6:58 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/12 "2024-09-13T06:58:44Z")

</div>

Salut @Psoy, j’ai déplacé ce sujet dans un sujet spécifique 🙂

Le mieux serait d’avoir les logs de Gladys pour comprendre ce qui se passe !

```auto
docker logs gladys

```

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 13, 2024, 7:02 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/13 "2024-09-13T07:02:24Z")

</div>

bonjour @pierre-gilles  
j’y ai bien pensé a mettre les logs, mais il y a tellement de lignes que je vais saturer le post 😉 comment puis je faire?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 13, 2024, 7:03 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/14 "2024-09-13T07:03:48Z")

</div>

Soit tu choisis toi même les bonnes logs (tu peux prendre les plus récentes), soit si tu ne sais pas vraiment, tu peux utiliser [https://pastebin.com/](https://pastebin.com/) 🙂

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 13, 2024, 7:09 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/15 "2024-09-13T07:09:39Z")

</div>

j’ai ça, qui est revenu 2 fois depuis le redemarrage de Gladys, il y a 22h

```auto

2024-09-13T07:00:00+0000 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> NotFoundError: DeviceFeature mqtt:tempo_virtuel not found
      at DeviceManager.newStateEvent (/src/server/lib/device/device.newStateEvent.js:17:11)
      at EventEmitter.emit (node:events:517:28)
      at Event.emit (/src/server/lib/event/index.js:18:16)
}
2024-09-13T07:00:00+0000 <error> index.js:16 (process.<anonymous>) NotFoundError: DeviceFeature mqtt:tempo_virtuel not found
    at DeviceManager.newStateEvent (/src/server/lib/device/device.newStateEvent.js:17:11)
    at EventEmitter.emit (node:events:517:28)
    at Event.emit (/src/server/lib/event/index.js:18:16)
2024-09-13T07:00:00+0000 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> NotFoundError: DeviceFeature mqtt:reglage not found
      at DeviceManager.newStateEvent (/src/server/lib/device/device.newStateEvent.js:17:11)
      at EventEmitter.emit (node:events:517:28)
      at Event.emit (/src/server/lib/event/index.js:18:16)
}
2024-09-13T07:00:00+0000 <error> index.js:16 (process.<anonymous>) NotFoundError: DeviceFeature mqtt:reglage not found
    at DeviceManager.newStateEvent (/src/server/lib/device/device.newStateEvent.js:17:11)
    at EventEmitter.emit (node:events:517:28)
    at Event.emit (/src/server/lib/event/index.js:18:16)

```

Mais les infos, lié au redemarrage de Gladys ont été ecrasé depuis, dès que ça redemarre intempestivement, je te remets les logs concernnés

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 13, 2024, 7:35 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/16 "2024-09-13T07:35:39Z")

</div>

Ah bon tu es sûr ? Les logs ne sont écrasées que si le container est supprimé / recrée, mais pas si le container redémarre.

Tu peux nous poster les logs complètes quand même ?

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 13, 2024, 7:43 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/17 "2024-09-13T07:43:45Z")

</div>

Alors je me suis mal exprimé , je ne les vois plus sur l’ecran SSHje ne peux pas remonter au dela  
J’ai mis les logs sur [https://pastebin.com/](https://pastebin.com/)  
est ce que tu les a?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 13, 2024, 8:14 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/18 "2024-09-13T08:14:32Z")

</div>

Non il faut que tu envoie un lien pastebin, pas le lien de leur page d’accueil 😃

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [Septembre 13, 2024, 8:25 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/19 "2024-09-13T08:25:32Z")

</div>

c’est mieux ça :[https://pastebin.com/Nyj5qpkD](https://pastebin.com/Nyj5qpkD) 🤔

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Septembre 13, 2024, 8:33 UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/20 "2024-09-13T08:33:18Z")

</div>

Effectivement le log est très court, je ne vois pas le redémarrage !

Remets nous les logs si tu as le souci 🙂

Pour info, tu peux créer une scène dans Gladys qui s’exécutera quand Gladys démarre:

 ![Screenshot 2024-09-13 at 10.32.23](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/b/4b2f1f40ac8fdc2ddc3fd995e9afb110f8f51e78.png)

Si tu mets comme action de t’envoyer un message Telegram, au moins tu sauras quand Gladys redémarre 😉

[Page suivante](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081.md?page=2)
