Bonjour à tous, je sollicite votre aide ici en tant que nouvel utilisateur je suis intéressé par le zigbee (mon zwave est pour le moment sous Eedomus)
j’ai fais une instalation propre sur un raspberry V3 avec clé zigbee fraichement acheté sur Amazon : SONOFF ZigBee 3.0 USB Dongle Plus, TI CC2652P Coordinator, Universelle USB ZigBee Hub, Passerelle ZigBee pour Home Assistant.
Tout semble correcte sur MQTT manager, mais pas sur z2m, le demon se lance et s’arrête aussitôt.
Les dépendances sont à jours sur MQTT et z2m.
je suis novice sur jeedom, je ne sais pas quoi vous donner comme informations supplémentaires, mais je peux faire les screens de ce que vous avez besoin.
merci pour votre aide
[2023-08-21 12:40:03][INFO] : Arrêt du démon z2m
[2023-08-21 12:40:05][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix
[2023-08-21 12:45:03][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 12:45:03][INFO] : Arrêt du démon z2m
[2023-08-21 12:45:04][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix
[2023-08-21 12:50:04][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 12:50:04][INFO] : Arrêt du démon z2m
[2023-08-21 12:50:05][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix
[2023-08-21 12:55:03][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 12:55:03][INFO] : Arrêt du démon z2m
[2023-08-21 12:55:05][INFO] : Démarrage du démon Z2M : ZIGBEE2MQTT_DATA=/var/www/html/plugins/z2m/core/class/../../data npm start --prefix
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_00_08_042Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_05_07_373Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_10_07_133Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_15_07_637Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_20_07_333Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_25_06_709Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_30_08_078Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_35_07_426Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_40_07_165Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_45_06_763Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_50_07_813Z-debug-0.log
npm WARN invalid config prefix=true set in command line options
npm WARN invalid config Must be valid filesystem path
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/www/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-21T10_55_07_052Z-debug-0.log
+ 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 2m
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
+ 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******************