[RESOLU] Probleme creation de graphique sur Gladys+

C’est encore moa :smiley: !

Lorsque je souhaite créer un graphique sur Gladys +, il ne me propose pas ces deux champs :
image

en local :

sur G+ :

Ce qui fais que, si j’enregistre sur G+, on a un spinner sans fin :smiley:

avec ces erreurs dans la console :

Est ce voulu pour un soucis de sécurité @pierre-gilles ?

info: se serait pas mal d’avoir des tag “bug” pour mieux les tracers sur le forum.

@spenceur C’est pas lié à cette box, ton front Gladys Plus n’arrive pas à trouver ton instance locale.

Par hasard, tu n’aurais pas lancé plusieurs instances Gladys sur un même compte Gladys Plus (en réutilisant ta DB par exemple) ?

Si c’est le cas, ça peut causer des soucis car Gladys Plus ne fonctionne qu’avec une instance, et la dernière instance démarrée “prend la main”.

Absolument pas je n’ai qu’un gladys en local sur un rpi ^^

Si tu rafraichis ta page, toujours les mêmes erreurs “NO_INSTANCE_FOUND” dans les logs ?

Si oui, je t’invite à tenter plusieurs choses: redémarrer ton instance Gladys, et si ça résout pas regarde les logs de ton instance Gladys.

Tu avais résolu tes problèmes de DNS ? vu les erreurs ça pue les problèmes de Gladys local qui n’arrive pas à contacter le serveur Gladys Plus

Je vais tenter de restart mon instance local asap ^^

J’ai pas encore pris le temps de changer pour cloudflare tu penses que c’est lié ?

Tes logs nous le diront, mais oui clairement lié.

Si le local a toujours des soucis de DNS, impossible de contacter le serveur, et donc impossible pour toi d’avoir l’UI qui fonctionne, d’où les erreurs « INSTANCE_NOT_FOUND ».

Après un restart tjrs la même je m’occupe du dns ce soir

Et les logs ?

Tu eux quoi exactement ? :slight_smile:
Log gladys ou console ?
Si log gladys tu as un mot clé en particulier parce que mes logs sont inondé dinfo sur service mqtt (peut être trop d’ailleurs)

Log gladys :slight_smile: Rien de spécifique mais quelque chose qui ressemble à une erreur !

Tu peux aussi chercher pour les mêmes erreurs DNS que tu avais posté dans un autre sujet aussi

Alors après un reboot du rpi

2022-03-09T09:07:27+0100 <info> index.js:25 (shutdown) SIGTERM received.
2022-03-09T09:07:27+0100 <info> index.js:31 (shutdown) Closing database connection.

> gladys-server@ start:prod /src/server
> cross-env NODE_ENV=production node index.js

2022-03-09T09:09:17+0100 <info> job.purge.js:17 (Job.purge) Deleting all background jobs created before = Wed Mar 02 2022 09:09:17 GMT+0100 (Central European Standard Time)
Initialising OpenZWave 1.6.0 binary addon for Node.JS.
        OpenZWave Security API is ENABLED
        ZWave device db    : /usr/local/etc/openzwave
        User settings path : /src/server/services/zwave/node_modules/openzwave-shared/build/Release/../../
        Option Overrides : --Logging false --ConsoleOutput false --SaveConfiguration true
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service example was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service philips-hue was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service xiaomi was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service tasmota was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service ewelink was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> service.startAll.js:30 () Service tp-link was manually stopped, so it is ignored at startup
2022-03-09T09:09:27+0100 <info> index.js:16 (Object.start) Starting RTSP service2022-03-09T09:09:28+0100 <info> index.js:64 (Object.start) Starting CalDAV service
2022-03-09T09:09:28+0100 <info> index.js:16 (Object.start) Starting MQTT service2022-03-09T09:09:28+0100 <info> updateContainer.js:13 (MqttHandler.updateContainer) MQTT: checking for required changes...
2022-03-09T09:09:29+0100 <info> connect.js:38 (MqttClient.<anonymous>) Connected to MQTT server mqtt://localhost
2022-03-09T09:09:29+0100 <info> subscribe.js:12 (MqttHandler.subscribe) Subscribing to MQTT topic gladys/master/#
2022-03-09T09:09:29+0100 <info> index.js:20 (Object.start) Starting Open Weather service
2022-03-09T09:09:29+0100 <info> index.js:14 (Object.start) starting GoogleActions service
2022-03-09T09:09:30+0100 <info> init.js:47 () Zigbee2mqtt USB dongle attached to /dev/ttyACM0
2022-03-09T09:09:30+0100 <info> installMqttContainer.js:103 (Zigbee2mqttManager.installMqttContainer) MQTT broker container successfully started
2022-03-09T09:09:30+0100 <info> installZ2mContainer.js:71 (Zigbee2mqttManager.installZ2mContainer) Zigbee2mqtt container successfully started
2022-03-09T09:09:31+0100 <info> connect.js:24 (MqttClient.<anonymous>) Connected to MQTT container mqtt://localhost:1884
2022-03-09T09:09:31+0100 <info> subscribe.js:12 (Zigbee2mqttManager.subscribe) Subscribing to MQTT topic zigbee2mqtt/#
2022-03-09T09:09:31+0100 <warn> handleMqttMessage.js:104 (Zigbee2mqttManager.handleMqttMessage) Zigbee2mqtt device 0x000b57fffe20c1ac not configured in Gladys.
2022-03-09T09:09:31+0100 <warn> handleMqttMessage.js:104 (Zigbee2mqttManager.handleMqttMessage) Zigbee2mqtt device 0x842e14fffe462c2a not configured in Gladys.
2022-03-09T09:09:31+0100 <info> index.js:15 (Object.start) Starting Bluetooth service
2022-03-09T09:09:33+0100 <info> bluetooth.initPresenceScanner.js:18 (BluetoothManager.initPresenceScanner) Bluetooth configuration: starting presence scanner
2022-03-09T09:09:33+0100 <info> bluetooth.initPresenceScanner.js:13 (BluetoothManager.initPresenceScanner) Bluetooth configuration: stopping presence scanner
2022-03-09T09:09:33+0100 <info> bluetooth.initPresenceScanner.js:18 (BluetoothManager.initPresenceScanner) Bluetooth configuration: starting presence scanner
2022-03-09T09:09:33+0100 <info> index.js:16 (Object.start) Starting zwave service
2022-03-09T09:09:40+0100 <warn> handleMqttMessage.js:104 (Zigbee2mqttManager.handleMqttMessage) Zigbee2mqtt device 0x54ef4410000c1618 not configured in Gladys.
2022-03-09T09:09:40+0100 <info> index.js:13 (Object.start) Starting usb service
2022-03-09T09:09:41+0100 <info> index.js:19 (Object.start) Starting Telegram service
2022-03-09T09:09:41+0100 <info> scene.dailyUpdate.js:58 () Sunrise today is at 7:33 today, in your timezone = Europe/Paris
2022-03-09T09:09:41+0100 <info> scene.dailyUpdate.js:59 () Sunset today is at 19:3 today, in your timezone = Europe/Paris
2022-03-09T09:09:41+0100 <info> scene.dailyUpdate.js:70 () The sun rose this morning. Not scheduling for today.
2022-03-09T09:09:41+0100 <info> scene.dailyUpdate.js:81 () Sunset is scheduled, in 10 hours.
2022-03-09T09:09:45+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval hourly
2022-03-09T09:09:45+0100 <info> index.js:63 (Server.<anonymous>) Server listening on port 80
2022-03-09T09:09:47+0100 <info> index.js:801 (Socket.<anonymous>) Gladys Gateway: connected in websockets
2022-03-09T09:09:48+0100 <info> gateway.checkIfBackupNeeded.js:27 (Gateway.checkIfBackupNeeded) Not backing up instance to Gladys Gateway, last backup is recent.
2022-03-09T09:09:50+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:09:50+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:10:05+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:10:05+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:10:20+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:10:20+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:10:34+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:10:35+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:10:49+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:10:49+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:11:14+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:11:14+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:11:31+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:31+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:33+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:34+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T09:11:34+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T09:11:35+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:35+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera

Quelque erreur sur la camera

2022-03-09T09:11:35+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:35+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:36+0100 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera
2022-03-09T09:11:48+0100 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> [Error: ENOENT: no such file or directory, open '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-413-45-11-9.jpg'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-413-45-11-9.jpg'
  }
}
2022-03-09T09:11:48+0100 <error> index.js:16 (process.<anonymous>) [Error: ENOENT: no such file or directory, open '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-413-45-11-9.jpg'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-413-45-11-9.jpg'
}

Après une déco reco de mon local à g+

22-03-09T09:28:49+0100 <warn> index.js:831 (Socket.<anonymous>) Socket disconnected client side. Trying to reconnect...
2022-03-09T09:30:04+0100 <info> index.js:801 (Socket.<anonymous>) Gladys Gateway: connected in websockets
2022-03-09T09:30:05+0100 <info> gateway.checkIfBackupNeeded.js:27 (Gateway.checkIfBackupNeeded) Not backing up instance to Gladys Gateway, last backup is recent.

J’ai rien d’anormal quoi :frowning:

@pierre-gilles côté g+ cest long a laffichage dans paramètre tâche.
Sinon tjrs la même erreur sur les graphiques

Je viens de voir ceci dans les log

(node:27) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 discover listeners added to [Noble]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:27) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 scanStop listeners added to [Noble]. Use emitter.setMaxListeners() to increase limit

J’ai tenté de monitorer ce matin et pas de soucis sur l’instance local même dns

Après check ce soir, à pars le look de la db pour faire un backup rien de choquant non?

2022-03-09T17:10:10+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval hourly
2022-03-09T17:10:14+0100 <info> gateway.backup.js:34 (Gateway.backup) Gateway backup: Locking Database
2022-03-09T17:10:15+0100 <info> gateway.backup.js:37 (Gateway.backup) Starting Gateway backup in folder /var/lib/gladysassistant/backups/gladys-db-backup-2022-3-9-17-10-13.db
2022-03-09T17:10:24+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:10:24+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:10:43+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:10:43+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:10:58+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:10:58+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:11:13+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:11:13+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:11:28+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:11:28+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:11:29+0100 <warn> device.calculateAggregate.js:95 (Socket.<anonymous>) device.calculateAggregate stderr: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  parameters: undefined
}

2022-03-09T17:11:29+0100 <warn> device.calculateAggregate.js:101 (ChildProcess.<anonymous>) device.calculateAggregate: Exiting child process with code 1
2022-03-09T17:11:29+0100 <error> device.onHourlyDeviceAggregateEvent.js:22 (DeviceManager.onHourlyDeviceAggregateEvent) Error: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_hourly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  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 Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:400:28)
    at Pipe.<anonymous> (net.js:686:12)
2022-03-09T17:11:33+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval daily
2022-03-09T17:11:44+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:11:44+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:12:13+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:12:13+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:12:20+0100 <warn> device.calculateAggregate.js:95 (Socket.<anonymous>) device.calculateAggregate stderr: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
2022-03-09T17:12:26+0100 <info> device.calculateAggregate.js:38 (DeviceManager.calculateAggregate) Calculating aggregates device feature state for interval monthly
    sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  parameters: undefined
}

2022-03-09T17:12:20+0100 <warn> device.calculateAggregate.js:101 (ChildProcess.<anonymous>) device.calculateAggregate: Exiting child process with code 1
2022-03-09T17:12:20+0100 <error> device.onHourlyDeviceAggregateEvent.js:27 (DeviceManager.onHourlyDeviceAggregateEvent) Error: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_daily_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  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-09T17:12:27+0100 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> [Error: ENOENT: no such file or directory, open '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-281-24-12-17.jpg'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-281-24-12-17.jpg'
  }
}
2022-03-09T17:12:27+0100 <error> index.js:16 (process.<anonymous>) [Error: ENOENT: no such file or directory, open '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-281-24-12-17.jpg'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/gladysassistant/camera-77a26676-f39c-41b6-9a0f-1253a254c917-281-24-12-17.jpg'
}
2022-03-09T17:12:33+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature illuminance not configured in Gladys.
2022-03-09T17:12:33+0100 <warn> handleMqttMessage.js:100 () Zigbee2mqtt device 0x54ef4410000c1618, feature linkquality not configured in Gladys.
2022-03-09T17:12:40+0100 <warn> device.calculateAggregate.js:95 (Socket.<anonymous>) device.calculateAggregate stderr: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  parameters: undefined
}

2022-03-09T17:12:40+0100 <warn> device.calculateAggregate.js:101 (ChildProcess.<anonymous>) device.calculateAggregate: Exiting child process with code 1
2022-03-09T17:12:40+0100 <error> device.onHourlyDeviceAggregateEvent.js:32 (DeviceManager.onHourlyDeviceAggregateEvent) Error: TimeoutError [SequelizeTimeoutError]: SQLITE_BUSY: database is locked
    at Query.formatError (/src/server/node_modules/sequelize/lib/dialects/sqlite/query.js:412: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_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  original: [Error: SQLITE_BUSY: database is locked] {
    errno: 5,
    code: 'SQLITE_BUSY',
    sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3'
  },
  sql: 'UPDATE `t_device_feature` SET `last_monthly_aggregate`=$1,`updated_at`=$2 WHERE `id` = $3',
  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)

Ah j’ai encore eu un soucis dns !

2022-03-09T17:07:16+0100 <error> index.js:15 (process.<anonymous>) unhandledRejection catched: Promise {
  <rejected> Error: getaddrinfo EAI_AGAIN api.gladysgateway.com
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26) {
    errno: -3001,
    code: 'EAI_AGAIN',
    syscall: 'getaddrinfo',
    hostname: 'api.gladysgateway.com',
    config: {
      url: 'https://api.gladysgateway.com/instances/users',
      method: 'get',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [ClientRequest],
      _currentUrl: 'https://api.gladysgateway.com/instances/users',
      [Symbol(kCapture)]: false
    },
    response: undefined,
    isAxiosError: true,
    toJSON: [Function: toJSON]
  }
}

Hello! Je viens de regarder tes logs, rien ne me choque dedans.

Tu as même le message “Gladys Gateway: connected in websockets” qui veut dire que ton instance arrive bien à se connecter à Gladys Plus.

Côté frontend Gladys Plus (plus.gladysassistant.com), tu as toujours l’erreur “NO_INSTANCE_FOUND” dans les logs ? Tu me confirme que ton frontend est entièrement cassé (rien ne marche) ?