Bonjour je suis embêté, je n y connais rien et mon service Zigbee ne marche plus. le demon s’arrête sans arrêt. Avant tout marchait bien. S’agirait il d un problème de clef Sonoff HS?
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
+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
+ echo 4
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
16 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
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).
lsb-release is already the newest version (11.1.0).
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ 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 16 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 ]
+ cat /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version
+ wanted_z2m_version=1.41.0
+ [ ! -z 1.41.0 ]
+ echo Need version : 1.41.0
Need version : 1.41.0
+ git fetch --all --tags
Fetching origin
From https://github.com/Koenkk/zigbee2mqtt
* [new tag] 0.1.0 -> 0.1.0
* [new tag] 0.1.1 -> 0.1.1
* [new tag] 0.1.2 -> 0.1.2
* [new tag] 0.1.3 -> 0.1.3
* [new tag] 0.1.4 -> 0.1.4
* [new tag] 0.1.5 -> 0.1.5
* [new tag] 0.1.6 -> 0.1.6
* [new tag] 0.1.7 -> 0.1.7
* [new tag] 0.1.8 -> 0.1.8
* [new tag] 0.2.0 -> 0.2.0
* [new tag] 1.0.0 -> 1.0.0
* [new tag] 1.0.1 -> 1.0.1
* [new tag] 1.1.0 -> 1.1.0
* [new tag] 1.1.1 -> 1.1.1
* [new tag] 1.10.0 -> 1.10.0
* [new tag] 1.11.0 -> 1.11.0
* [new tag] 1.12.0 -> 1.12.0
* [new tag] 1.12.1 -> 1.12.1
* [new tag] 1.12.2 -> 1.12.2
* [new tag] 1.13.0 -> 1.13.0
* [new tag] 1.13.1 -> 1.13.1
* [new tag] 1.14.0 -> 1.14.0
* [new tag] 1.14.1 -> 1.14.1
* [new tag] 1.14.2 -> 1.14.2
* [new tag] 1.14.3 -> 1.14.3
* [new tag] 1.14.4 -> 1.14.4
* [new tag] 1.15.0 -> 1.15.0
* [new tag] 1.16.0 -> 1.16.0
* [new tag] 1.16.1 -> 1.16.1
* [new tag] 1.16.2 -> 1.16.2
* [new tag] 1.17.0 -> 1.17.0
* [new tag] 1.17.1 -> 1.17.1
* [new tag] 1.18.0 -> 1.18.0
* [new tag] 1.18.1 -> 1.18.1
* [new tag] 1.18.2 -> 1.18.2
* [new tag] 1.18.3 -> 1.18.3
* [new tag] 1.19.0 -> 1.19.0
* [new tag] 1.19.1 -> 1.19.1
* [new tag] 1.2.0 -> 1.2.0
* [new tag] 1.2.1 -> 1.2.1
* [new tag] 1.20.0 -> 1.20.0
* [new tag] 1.21.0 -> 1.21.0
* [new tag] 1.21.1 -> 1.21.1
* [new tag] 1.21.2 -> 1.21.2
* [new tag] 1.22.0 -> 1.22.0
* [new tag] 1.22.1 -> 1.22.1
* [new tag] 1.22.2 -> 1.22.2
* [new tag] 1.23.0 -> 1.23.0
* [new tag] 1.24.0 -> 1.24.0
* [new tag] 1.25.0 -> 1.25.0
* [new tag] 1.25.1 -> 1.25.1
* [new tag] 1.25.2 -> 1.25.2
* [new tag] 1.26.0 -> 1.26.0
* [new tag] 1.27.0 -> 1.27.0
* [new tag] 1.27.1 -> 1.27.1
* [new tag] 1.27.2 -> 1.27.2
* [new tag] 1.28.0 -> 1.28.0
* [new tag] 1.28.1 -> 1.28.1
* [new tag] 1.28.2 -> 1.28.2
* [new tag] 1.28.3 -> 1.28.3
* [new tag] 1.28.4 -> 1.28.4
* [new tag] 1.29.0 -> 1.29.0
* [new tag] 1.29.1 -> 1.29.1
* [new tag] 1.29.2 -> 1.29.2
* [new tag] 1.3.0 -> 1.3.0
* [new tag] 1.3.1 -> 1.3.1
* [new tag] 1.30.0 -> 1.30.0
* [new tag] 1.30.1 -> 1.30.1
* [new tag] 1.30.2 -> 1.30.2
* [new tag] 1.30.3 -> 1.30.3
* [new tag] 1.30.4 -> 1.30.4
* [new tag] 1.31.0 -> 1.31.0
* [new tag] 1.31.1 -> 1.31.1
* [new tag] 1.31.2 -> 1.31.2
* [new tag] 1.32.0 -> 1.32.0
* [new tag] 1.32.1 -> 1.32.1
* [new tag] 1.32.2 -> 1.32.2
* [new tag] 1.33.0 -> 1.33.0
* [new tag] 1.33.1 -> 1.33.1
* [new tag] 1.33.2 -> 1.33.2
* [new tag] 1.34.0 -> 1.34.0
* [new tag] 1.35.0 -> 1.35.0
* [new tag] 1.35.1 -> 1.35.1
* [new tag] 1.35.2 -> 1.35.2
* [new tag] 1.35.3 -> 1.35.3
* [new tag] 1.36.0 -> 1.36.0
* [new tag] 1.36.1 -> 1.36.1
* [new tag] 1.37.0 -> 1.37.0
* [new tag] 1.37.1 -> 1.37.1
* [new tag] 1.38.0 -> 1.38.0
* [new tag] 1.39.0 -> 1.39.0
* [new tag] 1.39.1 -> 1.39.1
* [new tag] 1.4.0 -> 1.4.0
* [new tag] 1.40.0 -> 1.40.0
* [new tag] 1.40.1 -> 1.40.1
* [new tag] 1.40.2 -> 1.40.2
* [new tag] 1.41.0 -> 1.41.0
* [new tag] 1.42.0 -> 1.42.0
* [new tag] 1.5.0 -> 1.5.0
* [new tag] 1.5.1 -> 1.5.1
* [new tag] 1.6.0 -> 1.6.0
* [new tag] 1.7.0 -> 1.7.0
* [new tag] 1.7.1 -> 1.7.1
* [new tag] 1.8.0 -> 1.8.0
* [new tag] 1.9.0 -> 1.9.0
+ git checkout tags/1.41.0
Note: switching to 'tags/1.41.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at cc31ceab chore(dev): release 1.41.0 (#24173)
+ 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
added 649 packages, and audited 650 packages in 40s
90 packages are looking for funding
run `npm fund` for details
2 vulnerabilities (1 low, 1 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
+ npm run build
> zigbee2mqtt@1.41.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
rm: invalid option -- '/'
Try 'rm --help' for more information.
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************
> zigbee2mqtt@1.41.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2025-01-03 17:41:10] e[31merrore[39m: z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2025-01-03 17:41:10] e[31merrore[39m: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2025-01-03 17:41:10] e[31merrore[39m: z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2025-01-03 17:41:11] e[31merrore[39m: zh:ezsp:uart: Error while parsing to NpiFrame 'Error: <-- CRC error: a96b2a164fa674eb04aaa76d499db3d80aaece67235f7e|235f|1d29'
[2025-01-03 17:41:18] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2025-01-03 17:41:18] e[31merrore[39m: zh:ezsp:uart: -!- break waiting (1)
[2025-01-03 17:41:18] e[31merrore[39m: zh:ezsp:uart: Can't send DATA frame (0,1,0): 1800012800
[2025-01-03 17:41:23] e[31merrore[39m: zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2025-01-03 17:41:23] e[31merrore[39m: zh:ezsp:uart: -!- break rewaiting (1)
[2025-01-03 17:41:23] e[31merrore[39m: zh:ezsp:uart: Can't resend DATA frame (0,1,1): 1800012800
[2025-01-03 17:41:23] e[31merrore[39m: z2m: Error while starting zigbee-herdsman
[2025-01-03 17:41:23] e[31merrore[39m: z2m: Failed to start zigbee
[2025-01-03 17:41:23] e[31merrore[39m: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2025-01-03 17:41:23] e[31merrore[39m: z2m: Exiting...
[2025-01-03 17:41:23] e[31merrore[39m: z2m: Error: Failure send getNetworkParameters:{"type":"Buffer","data":[24,0,1,40,0]}
at /var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:679:23
at Queue.execute (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20)
at Ezsp.execCommand (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:666:16)
at Driver.needsToBeInitialised (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:310:27)
at Driver.startup (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:242:13)
at EZSPAdapter.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:152:16)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:69:27)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:161:27)
at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)
> zigbee2mqtt@1.41.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2025-01-03 17:46:58] e[31merrore[39m: z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2025-01-03 17:46:58] e[31merrore[39m: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2025-01-03 17:46:58] e[31merrore[39m: z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2025-01-03 17:46:59] e[31merrore[39m: zh:ezsp:uart: Error while parsing to NpiFrame 'Error: <-- CRC error: 9c47b76b3e879874f7cf7d8bfc3b3ea3ebccdfe0e07e|e0e0|6aab'
[2025-01-03 17:48:06] e[31merrore[39m: z2m: Publish 'set' 'state' to '0xa4c138931d36c9f0' failed: 'Error: ZCL command 0xa4c138931d36c9f0/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 5235 - 1 - 5 - 6 - 11 after 10000ms)'
je ne sais pas trop… je tournais avec zigbeelinker que j ai supprimé car le demon s’arrêtait sans arrêt. De plus je voulais passer par le plugin officiel, j ai donc refais l’installation hier avec jeezigbee , tout marchais bien et depuis deux trois heure ca replante. J ai essayé de ragarder le shema des module sur la page Z2m, il ma demandé de renseigner une info, je ne sais plus exactement ce qui était noté, j 'ai donc renseigné l’identifiant qui etait noté en dessous
zigbee2mqtt@1.41.0 start
> node index.js
Starting Zigbee2MQTT without watchdog.
[2025-01-03 19:19:50] e[31merrore[39m: z2m: Failed to load external converter file '/var/www/html/plugins/z2m/core/class/../config/converters/Danfoss/icon.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/utils.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/dist/util/settings.js
- /var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js)
[2025-01-03 19:19:50] e[31merrore[39m: z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2025-01-03 19:19:50] e[31merrore[39m: z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2025-01-03 19:20:03] e[31merrore[39m: z2m: Error while starting zigbee-herdsman
[2025-01-03 19:20:03] e[31merrore[39m: z2m: Failed to start zigbee
[2025-01-03 19:20:03] e[31merrore[39m: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2025-01-03 19:20:03] e[31merrore[39m: z2m: Exiting...
[2025-01-03 19:20:04] e[31merrore[39m: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:684:19)
at EmberAdapter.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1598:24)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/zigbee.ts:69:27)
at Controller.start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/lib/controller.ts:161:27)
at start (/var/www/html/plugins/z2m/resources/zigbee2mqtt/index.js:154:5)