# Actions not loading in a large scene

**URL:** <https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026>\
**Category:** Configuration\
**Created:** [March 6, 2022, 7:42am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026 "2022-03-06T07:42:37Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [March 6, 2022, 7:42am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/1 "2022-03-06T07:42:37Z")

</div>

I don’t know if this is related, but if we have a lot of triggers or actions, they don’t load completely.

 ![Screenshot_20220306-084043_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/dc4515e51e2bedb45733ebb9f43438f2a9a1ea98.jpeg)

---

<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:** [March 7, 2022, 8:39am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/2 "2022-03-07T08:39:59Z")

</div>

It has no link, so I moved this post to a new topic 🙂

Do you have more information to give us?

Can you check your browser’s console?

---

<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:** [March 7, 2022, 8:51am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/3 "2022-03-07T08:51:27Z")

</div>

![Capture d’écran 2022-03-07 094937](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/290316c719867610c9f4b38c60a6e39d0d1ee1c5.png)

Here is what the console shows, and it also crashes Gladys, but not all the time.

---

<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:** [March 7, 2022, 9:23am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/4 "2022-03-07T09:23:29Z")

</div>

Have you seen the details of the requests that are returning errors? (Network tab?)

> [@Tlse-vins](#):
>
> And it also crashes Gladys for me

Is the Gladys container crashing? I’d appreciate the logs if you have them…

---

<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:** [March 7, 2022, 9:40am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/5 "2022-03-07T09:40:21Z")

</div>

For the logs, I won’t be able to give them to you until this evening.

Does that work for you?

 ![Capture d’écran 2022-03-07 103937](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/ba9e6a892e3ffebeb08f964859c8d277d816775f.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:** [March 7, 2022, 9:58am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/6 "2022-03-07T09:58:27Z")

</div>

> [@Tlse-vins](#):
>
> Does this suit you?

Oh, you’re on Gladys Plus!

I’d be happy if you could send me the details of the local requests tonight.

You will find the requests in red in the Network tab, and you will open them to display the response.

---

<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:** [March 7, 2022, 10:08am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/7 "2022-03-07T10:08:07Z")

</div>

> [@pierre-gilles](#):
>
> Ah, you’re on Gladys Plus!

yes.

> [@pierre-gilles](#):
>
> I’d like you to send me the details of the local requests tonight.
> 
> You will find the requests in red in the Network tab, and you will open them to display the response

ok, that works.

---

<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:** [March 7, 2022, 8:35pm UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/8 "2022-03-07T20:35:51Z")

</div>

![Screenshot 2022-03-07 211524](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1974298283e7f9dd875859c120bf33e2e4fa16d6.png)  
I tested it locally and there was no problem. It’s with Gladys Plus that it’s bugging.

When this happens, it takes me back to the configuration page.

 ![Screenshot 2022-03-07 212709](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/4ba8680c0df408bda0a8d5edb8005a5b70e0b9b7.png)

in the console I have this:

 ![Screenshot 2022-03-07 212821](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/bcb6646d7a842c4c69dd38864629d02c4054950e.png)

in the logs I have this.

```docker
    at ChildProcess.anonymous (/src/server/lib/device/device.calculateAggregate.js:102:23)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
2022-03-07T21:27:10+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval daily
2022-03-07T21:27:10+0100 <info> gateway.backup.js:46 (Gateway.backup) Gateway backup: Encrypting backup
2022-03-07T21:27:10+0100 <info> gateway.backup.js:54 (Gateway.backup) Gateway backup: Uploading backup
2022-03-07T21:27:12+0100 <info> gateway.backup.js:59 (Gateway.backup) Gladys backup uploaded with success to Gladys Gateway. gladys-db-backup-2022-3-7-21-27-0.db
2022-03-07T21:27:19+0100 <warn> device.calculateAggregate.js:95 (Socket.<anonymous>) device.calculateAggregate stderr: DatabaseError [SequelizeDatabaseError]: SQLITE_CORRUPT: database disk image is malformed
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:415:16)
    at Query._handleQueryResponse (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
    at Statement.afterExecute (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:246:27) {
  parent: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  original: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;",
  parameters: undefined
}

2022-03-07T21:27:19+0100 <warn> device.calculateAggregate.js:101 (ChildProcess.<anonymous>) device.calculateAggregate: Exiting child process with code 1
2022-03-07T21:27:19+0100 <error> device.onHourlyDeviceAggregateEvent.js:27 (DeviceManager.onHourlyDeviceAggregateEvent) Error: DatabaseError [SequelizeDatabaseError]: SQLITE_CORRUPT: database disk image is malformed
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:415:16)
    at Query._handleQueryResponse (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
    at Statement.afterExecute (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:246:27) {
  parent: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  original: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;",
  parameters: undefined
}

    at ChildProcess.<anonymous> (/src/server/lib/device/device.calculateAggregate.js:102:23)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
2022-03-07T21:27:20+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval monthly
2022-03-07T21:27:29+0100 <warn> device.calculateAggregate.js:95 (Socket.<anonymous>) device.calculateAggregate stderr: DatabaseError [SequelizeDatabaseError]: SQLITE_CORRUPT: database disk image is malformed
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:415:16)
    at Query._handleQueryResponse (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
    at Statement.afterExecute (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:246:27) {
  parent: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  original: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;",
  parameters: undefined
}

2022-03-07T21:27:29+0100 <warn> device.calculateAggregate.js:101 (ChildProcess.<anonymous>) device.calculateAggregate: Exiting child process with code 1
2022-03-07T21:27:29+0100 <error> device.onHourlyDeviceAggregateEvent.js:32 (DeviceManager.onHourlyDeviceAggregateEvent) Error: DatabaseError [SequelizeDatabaseError]: SQLITE_CORRUPT: database disk image is malformed
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:415:16)
    at Query._handleQueryResponse (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
    at Statement.afterExecute (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:246:27) {
  parent: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  original: [Error: SQLITE_CORRUPT: database disk image is malformed] {
    errno: 11,
    code: 'SQLITE_CORRUPT',
    sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;"
  },
  sql: "SELECT `value`, `created_at` FROM `t_device_feature_state` AS `t_device_feature_state` WHERE `t_device_feature_state`.`device_feature_id` = '04d521be-6b56-463a-a0de-5f540ac76a9a' AND `t_device_feature_state`.`created_at` BETWEEN '2022-01-31 23:00:00.000 +00:00' AND '2022-02-28 23:00:00.000 +00:00' ORDER BY `t_device_feature_state`.`created_at` ASC;",
  parameters: undefined
}

    at ChildProcess.<anonymous> (/src/server/lib/device/device.calculateAggregate.js:102:23)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
2022-03-07T21:27:42+0100 <info> scene.actions.js:267 (Object.user.check-presence) CheckUserPresence action: No devices of the user "vincent" were seen in the last 16 minutes.
2022-03-07T21:27:42+0100 <info> scene.actions.js:270 (Object.user.check-presence) CheckUserPresence action: Set "vincent" to left home of house "appart"

```

I don’t think this is a report, but in the last line it calls my home ‹&nbsp;appart&nbsp;› which was the case, but I changed it to ‹&nbsp;maison&nbsp;›. Could there be something wrong there too?

---

<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:** [March 8, 2022, 8:40am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/9 "2022-03-08T08:40:06Z")

</div>

> [@Tlse-vins](#):
>
> `parent: [Error: SQLITE_CORRUPT: database disk image is malformed`

Doesn’t that scare you? 😅 I’m scared!

Your database is corrupted as the logs indicate, which must be causing bugs everywhere. Connection issues with Gladys Plus are just a consequence of this corrupted database.

Are you sure you’re using an SD card for Gladys or an SSD?

---

<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:** [March 8, 2022, 8:56am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/10 "2022-03-08T08:56:26Z")

</div>

On SSD, I noticed it and I think it’s due to the addition of Zigbee devices unless there’s another reason.

---

<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:** [March 8, 2022, 8:59am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/11 "2022-03-08T08:59:57Z")

</div>

> [@Tlse-vins](#):
>
> On SSD,

Oh dear, that’s not normal then 😕

> [@Tlse-vins](#):
>
> I think it’s due to the addition of Zigbee devices unless there’s another reason.

Did you add a very verbose Zigbee device?

To repair your DB, SQLite3 has tools to do it ([https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database/57872238#57872238](https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database/57872238#57872238)), after that it’s CLI

---

<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:** [March 8, 2022, 9:07am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/12 "2022-03-08T09:07:28Z")

</div>

> [@pierre-gilles](#):
>
> Did you add a very verbose Zigbee device?

No, just snzb-01, 02, 03,

---

<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:** [March 8, 2022, 9:24am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/13 "2022-03-08T09:24:19Z")

</div>

Ok, I would be curious to know what happened…

To fix this issue, you will need to use the CLI, I think. If you want to do it yourself, you need to do this: [https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database/57872238#57872238](https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database/57872238#57872238) (after stopping gladys of course), then **do not do this directly on your production DB, we don’t know what the CLI will be able to do** , **you must copy the DB first**.

Otherwise, if this is gibberish to you, I can fix the problem on my side if you don’t mind sending me your DB.

If you don’t mind, you connect via SSH, you do:

```bash
docker stop gladys

```

Then you retrieve the file in `/var/lib/gladysassistant/gladys-production.db`

And you send me this file in private.

I will do the fix and send you back the file. The only downside of this solution is that well, while I fix your DB you cannot use Gladys (or use it, but well everything will be lost when you replace the DB file with the corrected file)

---

<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:** [March 8, 2022, 9:36am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/14 "2022-03-08T09:36:20Z")

</div>

> [@pierre-gilles](#):
>
> If it’s gibberish to you, I can fix the problem on my side if you don’t mind sending me your DB.

We’ll do that, no problem.  
I don’t have much on it.

---

<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:** [March 8, 2022, 8:52pm UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/15 "2022-03-08T20:52:50Z")

</div>

I fixed the DB you sent me and sent it back to you fixed 🙂

---

<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:** [March 9, 2022, 7:45pm UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/16 "2022-03-09T19:45:00Z")

</div>

Bad news, it’s exactly the same.

> [@Tlse-vins](#):
>
> `sql: "SELECT `value`, `created\_at`FROM`t\_device\_feature\_state`AS`t\_device\_feature\_state`WHERE`t\_device\_feature\_state`.`device\_feature\_id`= '04d521be-6b56-463a-a0de-5f540ac76a9a' AND`t\_device\_feature\_state`.`created\_at`BETWEEN '2022-02-15 23:00:00.000 +00:00' AND '2022-03-06 23:00:00.000 +00:00' ORDER BY`t\_device\_feature\_state`.`created\_at` ASC;"`

I don’t understand this line, I don’t have a device with this ID.

If you ever want to take control and check where it comes from, it’s possible.

---

<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:** [March 10, 2022, 8:30am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/17 "2022-03-10T08:30:35Z")

</div>

Isn’t it simply actions linked to devices that no longer exist in Gladys?

I admit I’ve never tested this case

Can you test it in a new scene? You create a dummy MQTT device, you create a scene that does a «&nbsp;retrieve the last state&nbsp;» of this device, then you delete the device and you go back to the scene?

---

<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:** [March 10, 2022, 11:11am UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/18 "2022-03-10T11:11:04Z")

</div>

> [@pierre-gilles](#):
>
> Can you do a test in a new scene to test? You create a dummy MQTT device, you create a scene that does a «&nbsp;retrieve the last state&nbsp;» of this device, then you delete the device and you go back to the scene?

There, the behavior is good, when you delete an Mqtt device, it is deleted from the scenes as well.  
I think this is more related to zigbee2mqtt devices.  
In the zigbee2mqtt integration, I have many more devices in «&nbsp;devices&nbsp;» 20 than in «&nbsp;zigbee discovery&nbsp;» 13.  
So in addition, if I don’t take the right one, isn’t that what makes it bug?

---

<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:** [March 10, 2022, 5:06pm UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/19 "2022-03-10T17:06:04Z")

</div>

Is anyone else experiencing this issue with G+? @guim31 @Terdious @lmilcent @VonOx

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [March 10, 2022, 5:09pm UTC](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026/20 "2022-03-10T17:09:53Z")

</div>

Shame on me, I still haven’t switched to Gladys Plus…

Here’s a mission to accomplish quickly

[Next page](https://community.gladysassistant.com/t/actions-ne-se-chargent-pas-dans-une-grande-scene/7026.md?page=2)
