# Various bug reports

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

<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:** [May 17, 2021, 1:49am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/101 "2021-05-17T01:49:08Z")

</div>

@JeuFore I don’t have an answer to give you, in this case, I’m completely stuck! Intuitively, since we can’t see anything, and the bug only appears on your end, could it not be a corruption of the SD card? You say that the instance’s database is on a hard drive, but what about Docker and the images, are they on the SD?

---

<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:** [May 17, 2021, 4:34am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/102 "2021-05-17T04:34:14Z")

</div>

Yes, that’s exactly it. So, regarding the DB corruption, does that seem unlikely?

My other containers work fine, and all other Gladys features work as well.

Also, when I write the request in the chat and then restart Gladys, the message is not written.

Perhaps the cause of the problem, but could switching from arm32 to arm64 without changing the DB be the cause?

---

<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:** [May 17, 2021, 5:34am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/103 "2021-05-17T05:34:54Z")

</div>

Have you switched from arm32 to arm64? What does that mean?

If you want to test your theory, launch a fresh Gladys container (you don’t have to add a volume, it’s really just for testing, use a different port), and see if the chat works

---

<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:** [May 17, 2021, 5:53am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/104 "2021-05-17T05:53:49Z")

</div>

> [@pierre-gilles](#):
>
> Did you switch from arm32 to arm64? What does that mean?

I was running Hypriot OS arm32 on my Raspberry and I switched to Ubuntu Server arm64.

> [@pierre-gilles](#):
>
> If you want to test your theory, launch a fresh Gladys container (you don’t have to add a volume, it’s really just for testing, use a different port), and see if the chat works

Yes, I’ll try that then 🙂

---

<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:** [May 17, 2021, 6:00am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/105 "2021-05-17T06:00:10Z")

</div>

In response to myself, I just tested on a new clean instance, and… same problem gladys crash…

---

<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:** [May 17, 2021, 6:08am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/106 "2021-05-17T06:08:58Z")

</div>

Ahhh, I have some good news. Actually, Gladys isn’t crashing, but it takes trèèèès long to respond. I left my Gladys tab running in the background, and eventually, a response came.

---

<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:** [May 17, 2021, 6:14am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/107 "2021-05-17T06:14:23Z")

</div>

Oh, that’s good, I was surprised.

Are you sure about the performance of your HDD? Is your Pi doing other things at the same time?

---

<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:** [May 17, 2021, 6:25am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/108 "2021-05-17T06:25:21Z")

</div>

The new instance is on my SD card, it is almost new, my HDD is working quite well too, and the Raspberry is not overloaded (on htop CPU at ~5%).

---

<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:** [May 17, 2021, 6:54am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/109 "2021-05-17T06:54:17Z")

</div>

Hello!!

For information, I tested last night and I have the same issue as the one now mentioned by @JeuFore. That is, a chat response time of about 10 to 15 seconds, sometimes 30 seconds on the first two questions. Then no more issues with the following questions.  
I retested this morning, exactly the same thing. And this outside of Gladys Plus, from the local IP. Nothing particular in the logs.

---

<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:** [May 17, 2021, 7:18am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/110 "2021-05-17T07:18:10Z")

</div>

EDIT: It actually works on my end (probably the cache)

* * *

However, the camera intent does not work for me.

```auto
2021-05-17T09:15:33+0200 <error> index.js:16 (process.<anonymous>) NotFoundError: Answer with intent camera.get-image-room.fail and language en not found
    at Brain.getReply (/src/server/lib/brain/brain.getReply.js:18:11)
    at MessageHandler.replyByIntent (/src/server/lib/message/message.replyByIntent.js:15:27)
    at Camera.command (/src/server/lib/device/camera/camera.command.js:32:25)
    at EventEmitter.emit (events.js:315:20)
    at Event.emit (/src/server/lib/event/index.js:8:16)
    at MessageHandler.create (/src/server/lib/message/message.create.js:47:14)
    at async MessageHandler.handleEvent (/src/server/lib/message/message.handleEvent.js:17: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:** [May 17, 2021, 7:33am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/111 "2021-05-17T07:33:37Z")

</div>

Oh good, if you’re not the only one @JeuFore

When you say «&nbsp;chat response in 10s&nbsp;», does that mean if you ask the question, refresh the page, and the answer is there?

If so, it’s actually a bug that’s not related to the chat but a known websocket bug (the chat responding too late is just a symptom since websockets are used by the chat)

We have an issue tracking the problem:

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

> [@VonOx](#):
>
> The camera intent, however, does not work for me.

Interesting bug but unrelated, I checked the error is legitimate, it’s missing a translation of a sentence in English ^^

---

<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:** [May 17, 2021, 10:42am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/112 "2021-05-17T10:42:56Z")

</div>

> [@pierre-gilles](#):
>
> When you say «&nbsp;chat response in 10s&nbsp;», does the answer appear if you ask the question and refresh the page?

Well, I just tested on my old installation, the page (when I refresh) still takes 2 minutes and 58 seconds to load, but without an answer ☹

I don’t know if it’s just a websocket issue.

EDIT: Well, after waiting 3 minutes, the chat works correctly again, immediate response and no refresh needed.

---

<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:** [May 17, 2021, 10:53am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/113 "2021-05-17T10:53:00Z")

</div>

It’s therefore well linked to what I said earlier… I’m very strong 😁

---

<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:** [May 17, 2021, 10:58am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/114 "2021-05-17T10:58:21Z")

</div>

Indeed @Jean34, it didn’t seem like it at first, but that was it 😄

---

<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:** [May 17, 2021, 1:00pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/115 "2021-05-17T13:00:09Z")

</div>

Indeed well spotted 😉

My bad then…

---

<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:** [May 17, 2021, 3:43pm UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/116 "2021-05-17T15:43:27Z")

</div>

> [@pierre-gilles](#):
>
> When you say “chat response in 10s”, does that mean if you ask the question, refresh the page, and the answer is there?
> 
> If so, it’s actually a bug that’s not related to the chat but a known websocket bug (the chat responding too late is just a symptom since websockets are used by the chat)

I had that before editing my message

---

<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:** [July 2, 2021, 5:43am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/117 "2021-07-02T05:43:33Z")

</div>

> [@Jean34](#):
>
> @pierre-gilles, as my installation is fresh, I’m coming back to you for a possible bug…  
> So once gladys is installed, I configure the weather for example and then, I ask via the chat, what the temperature is. At the moment it does not respond, so I look at the logs, on the docker side there is nothing abnormal but on the browser side yes:

I just fixed this bug, it will be included in the next release!

> <https://github.com/GladysAssistant/Gladys/commit/ba98454b4abd7b32bd683b110072e9e83ed41151>

@Terdious @JeuFore you also noticed this bug (slowness in chat response), it is fixed by this patch 🙂

---

<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:** [July 2, 2021, 6:25am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/118 "2021-07-02T06:25:53Z")

</div>

Hello @pierre-gilles,

> [@pierre-gilles](#):
>
> @Terdious @JeuFore you also noticed this bug (slowness in chat response), it is fixed by this patch 🙂

Thank you very much for your feedback.

Have a nice day !!

---

<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:** [July 2, 2021, 8:39am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/119 "2021-07-02T08:39:02Z")

</div>

I just launched a dev build with quite a few fixes and Zigbee2mqtt device additions:

[https://github.com/GladysAssistant/Gladys/actions/runs/992968002](https://github.com/GladysAssistant/Gladys/actions/runs/992968002)

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [July 2, 2021, 11:41am UTC](https://community.gladysassistant.com/t/releve-de-bugs-divers/6271/120 "2021-07-02T11:41:22Z")

</div>

Hello!  
Just a quick question as I see you’ve added Zigbee devices. I would like to add (or have added) devices in the Tasmota integration, where should I start/whom should I ask?  
Have a great day everyone!

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

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