Demon en NOK

bonjour, depuis quelques jours le plugin-z2m a le demon en NOK plusieurs re-installations ou ralances de dependance n y on rien changé, que puis je faire svp ?


Informations Jeedom Luna

Core : 4.4.8.1 (V4-stable)
DNS Jeedom Luna : oui

Plugin : JeeZigbee
Version : 2024-04-24 01:01:56 (stable)
Statut Démon : Stoppé - (2024-07-08 11:10:04)
1 « J'aime »

Salut

Deja donner les logs du plugins et la page de configuration des plugin-z2m et Plugin-mqtt2.

Antoine

log Z2M
[2024-07-08 11:35:03][INFO] : Arrêt du démon z2m
[2024-07-08 11:35:05][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/…/…/data npm start --prefix /var/www/html/plugins/z2m/resources/zigbee2mqtt

log Z2M packages

 sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
+ echo 7
+ sudo systemctl restart apache2
+ echo 8
+ 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
+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
+ npm ci
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
added 798 packages, and audited 799 packages in 2m
87 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ npm run build
> zigbee2mqtt@1.39.0 build
> tsc && node index.js writehash
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 33
PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 37
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************

log plugin MQTT

[2024-07-08 11:01:12] DEBUG  : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=mqtt2 function=update callInstallFunction=1
[2024-07-08 11:01:21] INFO  : Début d'activation du plugin
[2024-07-08 11:01:22] INFO  : Info sur le démon : {"log":"mqtt2","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2024-07-08 10:56:06"}
[2024-07-08 11:01:22] DEBUG  : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=mqtt2 function=update callInstallFunction=1
[2024-07-08 11:05:25] INFO  : Démarrage du démon MQTT Manager : sudo  /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtts://127.0.0.1:8883 --client_key /var/www/html/plugins/mqtt2/data/ssl/client.key --client_crt /var/www/html/plugins/mqtt2/data/ssl/client.crt --ca /var/www/html/plugins/mqtt2/data/ssl/ca.crt --username "jeedom" --password "j6hl8nLvxZrjEp7WpT3y6wt2ScGVELCNjlitJcZtpkuB3UCgXqFy6gJ0hvgycqAU" --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey aMRBf3KGa3GHcKd0KRWcpe7YHs8DpaCV21etdhPX6Kp0qkItH21Nd2jrNEqUgERJ --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid

bonjour Tonio je t ai envoyé les logs, j espere t avoir envoyé les bons…

CDT

Perso, je ne suis pas assez caler pour les comprendre.
Sinon, il faudrait utiliser le bouton </> Texte préformaté pour formater tes logs. C’est plus lisible.

Il manque aussi les pages de configuration.

Fetched 43.3 kB in 2s (18.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
git is already the newest version (1:2.30.2-1+deb11u2).
lsb-release is already the newest version (11.1.0).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
[Check Version NodeJS actuelle : v18.20.3 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
+ echo 7
+ sudo systemctl restart apache2
+ echo 8
+ 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
+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
+ npm ci
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
added 798 packages, and audited 799 packages in 2m
87 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ npm run build
> zigbee2mqtt@1.39.0 build
> tsc && node index.js writehash
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 33
PHP Warning:  fopen(/tmp/jeedom/event_cache_lock): failed to open stream: Permission denied in /var/www/html/core/class/event.class.php on line 37
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: - PAN ID: configured=6754, adapter=30659, backup=30659
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: - Extended PAN ID: configured=dddddddddddddddd, adapter=bf2ebabcce3023d2, backup=bf2ebabcce3023d2
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: - Channel: configured=11, adapter=11, backup=11
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: - Network key: configured=01030507090b0d0f00020406080a0c0d, adapter=81dfd3f7485bd088a4961ff00a53b3e0, backup=81dfd3f7485bd088a4961ff00a53b3e0
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: Please update configuration to prevent further issues.
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: If you wish to re-commission your network, please remove coordinator backup.
[2024-07-08 12:30:25] e[31merrore[39m: 	zh:ezsp:driv: Re-commissioning your network will require re-pairing of all devices!
[2024-07-08 12:30:25] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2024-07-08 12:30:25] e[31merrore[39m: 	z2m: Failed to start zigbee
[2024-07-08 12:30:25] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-08 12:30:25] e[31merrore[39m: 	z2m: Exiting...
[2024-07-08 12:30:25] e[31merrore[39m: 	z2m: Error: startup failed - configuration-adapter mismatch - see logs above for more information
at Driver.needsToBeRestore (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:940:19)
at Driver.startup (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:219:29)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:63:27)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:139:27)
at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)

Au vu de ces logs, il faut mettre la page de configuration du plugin, comme déjà demandé.

Antoine


ca a ni queue ni tête … j ai relancé pour la 100eme fois au moins et maintenant tout remarche ! mais pour combien de temps ?