# Verschiedene Bugs melden

**URL:** <https://community.gladysassistant.com/t/releve-de-bugs-divers/6271>\
**Category:** Configuration\
**Created:** [20. April 2021 um 19:11 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271 "2021-04-20T19:11:46Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [7. Mai 2021 um 01:09 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/81 "2021-05-07T01:09:48Z")

</div>

Danke, dass du zugeschaut hast @VonOx! Es ist gut, wenn es ein Problem auf unserer Seite ist, dann können wir es beheben.

Könntest du es in deinem Container mit dem Paket in Version 4.0.9 testen? Ich bin nicht unbedingt scharf darauf, auf eine Beta-Version des Pakets umzusteigen, das ist der beste Weg, um noch mysteriösere Bugs zu bekommen als die, die wir schon haben ^^

Ach, aber warte mal, was hast du als Timeout eingestellt?

Aktuell ist der Timeout in Gladys auf 5 Sekunden eingestellt ([Gladys/server/services/philips-hue/lib/light/light.getBridges.js at master · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/blob/master/server/services/philips-hue/lib/light/light.getBridges.js#L3))

Vielleicht reicht das auf eurem Netzwerk nicht aus?

---

<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:** [7. Mai 2021 um 04:45 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/82 "2021-05-07T04:45:33Z")

</div>

> [@Jean34](#):
>
> Genau das ist es 👍 Jetzt funktioniert alles. Ich geh mal meinem Chef die Ohren volljammern 😁

@Jean34 Ich bestätige, dass ich deinen Bug mit der Wetterstation + den Raumgeräten behoben habe 🙂

> <https://github.com/GladysAssistant/Gladys/pull/1182>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.json\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

Das wird in der nächsten Gladys-Version veröffentlicht, sobald genügend Mitglieder das Dev-Image getestet haben 🙂 (ich mach bald eins!)

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [7. Mai 2021 um 07:07 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/83 "2021-05-07T07:07:27Z")

</div>

@pierre-gilles funktioniert auch in 4.0.9 aus dem Container

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/8f65b03a300e879d04d10598d4f661cfc91656cb.png)

Beim Timeout habe ich nichts verändert, die Erkennung ist sofort, also weiß ich nicht. Ich werde es erhöhen, um zu sehen.

Bearbeitung: Timeout auf 10 Sekunden =\> OK

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c18264d3f6d905acc577761a4cb1f2eb97b11c72.png)

---

<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:** [7. Mai 2021 um 07:27 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/84 "2021-05-07T07:27:07Z")

</div>

> [@VonOx](#):
>
> Edit: Timeout auf 10 Sekunden =\> OK

Ah! Also ist es doch ein Timeout-Problem? 🙂

Dann werde ich es ändern

Edit:

> <https://github.com/GladysAssistant/Gladys/pull/1185>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.json\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [7. Mai 2021 um 07:53 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/85 "2021-05-07T07:53:45Z")

</div>

Ja, sieht so aus, auch wenn ich nicht erklären kann, warum es bei Gladys länger dauert 🤔

---

<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:** [7. Mai 2021 um 07:54 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/86 "2021-05-07T07:54:39Z")

</div>

Ich habe einen Dev-Build mit allen aktuellen Fixes gestartet.

---

<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:** [7. Mai 2021 um 09:00 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/87 "2021-05-07T09:00:36Z")

</div>

Der Dev-Build ist verfügbar, ich bin offen für jedes Feedback zu diesem Build, es wäre cool, wenn wir sicherstellen könnten, dass es diesmal keine Rückschritte gibt ^^

Ich habe viele Tests durchgeführt (sowohl manuell als auch automatisiert, wie immer), aber da ich nicht die gleiche Hardware wie ihr habe, kann ich nicht alles in der Praxis testen.

> [@Neues Docker-Dev-Image mit Fix und neuen Funktionen](https://community.gladysassistant.com/t/nouvelle-image-docker-dev-avec-fix-nouvelle-fonctionnalites/6303?u=pierre-gilles):
>
> Salut à tous ! Je viens de publier une nouvelle image sur le tag Docker dev. Au menu, ces développements: En français ça donne: Correction du problème de scan Philips Hue pour certain, en augmentant le timeout qui était trop bas. Correction du bug des pièces qui disparaissait quand la box “appareil de la pièce” était utilisé en même temps que la box “météo”. Il est possible de désactiver la synchronisation d’un calendrier Caldav Correction du bug du cha…

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [8. Mai 2021 um 10:38 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/88 "2021-05-08T10:38:16Z")

</div>

Gibt es einen Befehl, den ich per SSH ausführen kann, um zu testen, ob es funktioniert?

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [8. Mai 2021 um 18:35 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/89 "2021-05-08T18:35:34Z")

</div>

@pierre-gilles super, ich versuche, etwas Zeit zu finden, um auch die letzte Dev-Version zu testen. Ich habe momentan nur sonntags frei, also versprechen kann ich nichts…

@Tlse-vins wenn du von dem Dev-Image sprichst, dann führst du, wenn ich mich nicht irre, den Docker-Befehl aus der Dokumentation aus, fügst den Tag `dev` hinzu und benennst die Datenbank um. Oder du führst `git pull` aus, wenn du eine Entwicklungsumgebung hast.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [8. Mai 2021 um 20:50 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/90 "2021-05-08T20:50:30Z")

</div>

Nein, ich bin auf einem Bild in der Produktion auf einem Raspberry.

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [11. Mai 2021 um 09:22 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/91 "2021-05-11T09:22:43Z")

</div>

@Tlse-vins ich habe auch eine Produktionsinstanz, aber nichts spricht dagegen, eine Entwicklungsinstanz zu testen. Ich mache es wie folgt:  
`docker stop gladys`

`docker run -d --log-opt max-size=10m --restart=always --privileged --network=host --name gladysdev -e NODE_ENV=production -e SERVER_PORT=80 -e TZ=Europe/Paris -e SQLITE_FILE_PATH=/var/lib/gladysassistantdev/gladys-dev.db -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/gladysassistantdev:/var/lib/gladysassistantdev -v /dev:/dev -v /run/udev:/run/udev:ro gladysassistant/gladys:dev`

@pierre-gilles, da meine Installation neu ist, wende ich mich an dich wegen eines möglichen Bugs…  
Also, sobald Gladys installiert ist, konfiguriere ich z.B. das Wetter und frage dann über den Chat, welche Temperatur es hat. In diesem Moment antwortet sie nicht, also schaue ich mir die Logs an, bei Docker ist nichts Ungewöhnliches, aber im Browser schon:

```
    close { target: WebSocket, isTrusted: true, wasClean: true, code: 1001, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
​
bubbles: false
​
cancelBubble: false
​
cancelable: false
​
code: 1001
​
composed: false
​
currentTarget: null
​
defaultPrevented: false
​
eventPhase: 0
​
explicitOriginalTarget: WebSocket { url: "ws://192.168.1.82/", readyState: 3, bufferedAmount: 0, … }
​
isTrusted: true
​
originalTarget: WebSocket { url: "ws://192.168.1.82/", readyState: 3, bufferedAmount: 0, … }
​
reason: ""
​
returnValue: true
​
srcElement: WebSocket { url: "ws://192.168.1.82/", readyState: 3, bufferedAmount: 0, … }
​
target: WebSocket { url: "ws://192.168.1.82/", readyState: 3, bufferedAmount: 0, … }
​
timeStamp: 266627
​
type: "close"
​
wasClean: true
​
<get isTrusted()>: function isTrusted()
​
<prototype>: CloseEventPrototype { wasClean: Getter, code: Getter, reason: Getter, … }
​​
code: 
​​
constructor: function ()
​​
reason: 
​​
wasClean: 
​​
Symbol(Symbol.toStringTag): "CloseEvent"
​​
<get code()>: function code()
​​
<get reason()>: function reason()
​​
<get wasClean()>: function wasClean()
​​
<prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }
Session.js:60:6

```

Wenn ich meine Seite neu lade (was übrigens sehr lange dauert), ist die Antwort von Gladys da, oft über meiner Frage, aber sie ist da ^^. Danach gibt es keine Probleme mehr, man kann so viel mit ihr reden, wie man will, sie antwortet sofort.  
Das war’s, falls es hilft 🙂

---

<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:** [11. Mai 2021 um 11:53 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/92 "2021-05-11T11:53:35Z")

</div>

@Jean34 Ok, danke für dein Feedback 🙂

Ich habe ein Issue erstellt, damit wir den Bug nicht vergessen:

> <https://github.com/GladysAssistant/Gladys/issues/1189>
>
> https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/91?u=pierre-g…illes

---

<div class="post-metadata">

**Author:** ![JeuFore](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jeufore/32/7544_2.png) [@JeuFore](https://community.gladysassistant.com/u/JeuFore)\
**Post date:** [14. Mai 2021 um 19:48 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/93 "2021-05-14T19:48:55Z")

</div>

Hallo,  
Ich habe einen Bug im Chat. Wenn ich das Wort „Wetter“ schreibe, stürzt mein Gladys ab und ich muss ihn zwangsweise neu starten.

Ich glaube nicht, dass dies ein normales Verhalten ist, also poste ich das hier 🙂

Ich bin auf Version 4.3.1 und es gibt keine Fehler in den Logs oder in der Konsole.

> Korrektur: Sobald ich irgend ein Wort oder einen Satz an Gladys sende, stürzt er ab.

---

<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:** [15. Mai 2021 um 01:50 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/94 "2021-05-15T01:50:14Z")

</div>

Hast du mehr Details, @JeuFore?

Bei mir funktioniert es, ich würde mehr über deine Installation erfahren!

Hast du Gladys mit dem offiziellen Raspberry Pi OS-Image installiert?

---

<div class="post-metadata">

**Author:** ![JeuFore](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jeufore/32/7544_2.png) [@JeuFore](https://community.gladysassistant.com/u/JeuFore)\
**Post date:** [15. Mai 2021 um 08:06 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/95 "2021-05-15T08:06:44Z")

</div>

Ich habe einen Raspberry Pi 4 mit 4 GB RAM und Ubuntu Server für ARM64 installiert. Gladys wurde manuell installiert.

Die Datenbank der Instanz ist auf einer Festplatte gespeichert.

Gladys läuft sehr gut, außer dem Chat.  
Ich weiß, dass der Chat vor dem neuen Update funktioniert hat, aber ich musste die Seite neu laden, um die Antwort zu erhalten.

---

<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:** [15. Mai 2021 um 09:21 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/96 "2021-05-15T09:21:25Z")

</div>

Wenn du sagst, dass „Gladys manuell installiert wurde“, meinst du dann per Docker?

Hast du den auf der Gladys-Website angegebenen Befehl `docker run` verwendet?

---

<div class="post-metadata">

**Author:** ![JeuFore](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jeufore/32/7544_2.png) [@JeuFore](https://community.gladysassistant.com/u/JeuFore)\
**Post date:** [15. Mai 2021 um 09:39 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/97 "2021-05-15T09:39:51Z")

</div>

Entschuldigung, ich habe mich falsch ausgedrückt 😅

Ja, über Docker. Ich habe das docker run in eine docker-compose-Datei übernommen

```
version: "3"
services:
  app:
    image: gladysassistant/gladys
    container_name: gladys
    network_mode: host
    environment:
      - SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db
      - SERVER_PORT=2380
      - TZ=Europe/Paris
    privileged: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /run/udev:/run/udev:ro
      - /dev:/dev
      - ~/disk/docker/appdata/gladys:/var/lib/gladysassistant
    restart: unless-stopped

```

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [15. Mai 2021 um 10:00 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/98 "2021-05-15T10:00:36Z")

</div>

Hallo,

Geht es nicht um meine vorherige Nachricht?

> [@Verschiedene Bugs melden](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/91?u=jean34):
>
> @Tlse-vins j’ai aussi une instance de prod, mais rien n’empêche de tester une instance de dev, perso je fais comme ceci : docker stop gladys docker run -d --log-opt max-size=10m --restart=always --privileged --network=host --name gladysdev -e NODE\_ENV=production -e SERVER\_PORT=80 -e TZ=Europe/Paris -e SQLITE\_FILE\_PATH=/var/lib/gladysassistantdev/gladys-dev.db -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/gladysassistantdev:/var/lib/gladysassistantdev -v /dev:/dev -v /run/udev:/run/u…

---

<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:** [15. Mai 2021 um 10:04 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/99 "2021-05-15T10:04:28Z")

</div>

@Jean34 ich glaube nicht, hier sagt er direkt, dass Gladys abstürzt, das wundert mich 😅

@JeuFore also sind wir uns einig, der Bug ist:

- du schickst eine beliebige Nachricht an Gladys
- Gladys stürzt ab und der Container startet neu

Hast du wirklich keine Logs in Gladys? Denn ein Absturz bleibt normalerweise nicht unbemerkt

---

<div class="post-metadata">

**Author:** ![JeuFore](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jeufore/32/7544_2.png) [@JeuFore](https://community.gladysassistant.com/u/JeuFore)\
**Post date:** [15. Mai 2021 um 10:16 UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/100 "2021-05-15T10:16:49Z")

</div>

Genau, nur dass ich den Container neu starte.

Und ich habe es gerade noch einmal getestet, es gibt keine Logs, weder im Browser noch im Container.

> Ich habe auch getestet, ob es einen Unterschied zwischen der lokalen IP-Adresse und dem Remote-Zugriff (nginx + SSL) gibt, aber der gleiche Absturz tritt auf.

[Vorherige Seite](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=4)

[Nächste Seite](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271.md?page=6)
