Demon z2m ko: Refusing to start because configuration is not valid

Bonjour suite a une maj effectué ce jour sur le plugin Z2M le demon ne réponds plus
Tout ete opérationnel au par avant.

J’ai cheké MQTTManager également mais rien n’y fait.

Je vous partage les logs si dessous.

Mon système tourne sur la box Jeedom et la clé est une sonoff compatible.

Il existe un poste similaire au miens mais nous ne tournons pas sur le meme système et peut être que la source problème n’est pas identique.

Édit: en attendant j’ai remis une sauvegarde avant d’avoir effectué la maj Z2m et tout redevenu comme avant. En espérant qu’une solution soit trouvée prochainement. En attendant j’espère que mes logs aiderons des personnes plus compétentes que moi en la matière. :slight_smile:

[2023-08-21 23:27:50]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-08-21 23:30:06]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
Launch pre-install of z2m dependancy
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ echo 'Launch post-install of z2m dependancy'
Launch post-install of z2m dependancy
+++ dirname /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
++ cd /var/www/html/core/class/../../plugins/z2m/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ '[' -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ']'
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 'Backup configuration'
Backup configuration
+ cp -R data data-backup
+ echo 'Update z2m (git)'
Update z2m (git)
+ git config --global --add safe.directory /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git reset --hard HEAD
HEAD is now at 1ec1e57 chore(dev): release 1.32.2 (#18486)
+ git pull
Already up to date.
+ npm ci
added 800 packages, and audited 801 packages in 1m
86 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
+ npm run build
> zigbee2mqtt@1.32.2 build
> tsc && node index.js writehash
+ echo 'Restore configuration'
Restore configuration
+ cp -R data-backup/configuration.yaml data-backup/data data
+ rm -rf data-backup
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Zigbee2MQTT:error 2023-08-17 16:29:25: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-17 16:29:40: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
> zigbee2mqtt@1.32.0 start
> node index.js
Zigbee2MQTT:error 2023-08-17 22:00:19: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-18 05:50:52: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-18 15:33:58: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-18 20:37:39: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-18 21:51:27: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-19 07:09:39: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
> zigbee2mqtt@1.32.0 start
> node index.js
Zigbee2MQTT:error 2023-08-19 22:29:15: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-19 23:12:56: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-20 07:41:01: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-20 23:35:45: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
Zigbee2MQTT:error 2023-08-21 03:32:22: Publish 'set' 'color_temp' to 'Ruban LED Vitre' failed: 'TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')'
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.0 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
node:internal/modules/cjs/loader:1024
throw err;
^
Error: Cannot find module 'semver'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
at Function.Module._load (node:internal/modules/cjs/loader:866:27)
at Module.require (node:internal/modules/cjs/loader:1093:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:1:16)
at Module._compile (node:internal/modules/cjs/loader:1191:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
at Module.load (node:internal/modules/cjs/loader:1069:32)
at Function.Module._load (node:internal/modules/cjs/loader:904:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js' ]
}
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> zigbee2mqtt@1.32.2 start
> node index.js
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
READ THIS CAREFULLY
Refusing to start because configuration is not valid, found the following errors:
- frontend must be boolean
- frontend/port must be number
- frontend must match exactly one schema in oneOf
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Pour MQTT

Mon, 21 Aug 2023 20:40:55 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31
[2023-08-21 21:17:15]ERROR : Reconnection to mqtt server
Mon, 21 Aug 2023 21:17:58 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:165:31

Bonjour

Commencez par installer la version stable.

Une beta ne doit être utilisée que pour tester si on sait un peu investiguer en cas de problème.

1 « J'aime »

Bonjour
Pour info c’était un bug de la beta qui a été corrigé hier donc ça devrait être dans la mise a jour de ce matin du plugin.

1 « J'aime »

Merci Loic

Mips, a l’époque quand je me suis procuré z2m il n’existait qu’en Beta. Depuis je n’ai jamais changé les paramètres concernant le téléchargement des versions beta. Je prends note de ta remarque.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.