Je souhaite utiliser une CONBEE3+JeeZigbee. Mon soucis est que le demon démarre puis s’arrête quelque seconde après. En suivant le sujet ci-dessous j’ai désactivé tous mes plugin afin de voir si le port 8080 n’était pas déjà utilisé mais le problème reste le même.
Auriez-vous une idée?
Voici la config du plugin ainsi que la page Santé, ma CONBEE3 est en firmware 2.27.2 :
Ok merci pour l’instant je ne voir rien spécial.
Quand tu le mets en mode debug sauvegarde et relance le démon puis redonne moi les logs
Peux-tu me montrer la liste du port du contrôleur :
Un module n’est pas trouvé, c’est donc un problème d’installation des dépendances.
Fournir le log complet d’installation des dépendances (Z2m_packages),
et pas sous forme d’image mais copié collé entre balises.
+ 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
apt: no process found
apt-get: no process found
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:4 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB]
Fetched 501 kB in 4s (120 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
338 packages can be upgraded. Run 'apt list --upgradable' to see them.
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:3 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Fetched 53.9 kB in 3s (15.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.
[Check Version NodeJS actuelle : v18.19.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:4 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Fetched 53.9 kB in 3s (15.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.
[Check Version NodeJS actuelle : v18.19.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:3 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Fetched 53.9 kB in 4s (13.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.
[Check Version NodeJS actuelle : v18.19.0 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
--2024-05-30 17:13:09-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 2001:41d0:302:1100::8:104f, 54.36.53.46
Connecting to getcomposer.org (getcomposer.org)|2001:41d0:302:1100::8:104f|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 2.18M 0s
50K ....... 100% 7.71M=0.02s
2024-05-30 17:13:10 (2.39 MB/s) - 'composer-setup.php' saved [58444/58444]
Begin installation of composer
All settings correct for using Composer
Downloading...
Composer (version 2.7.6) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
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 117 packages, and audited 118 packages in 18s
19 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto
+ 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://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Get:3 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Fetched 53.9 kB in 4s (14.1 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
338 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://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Get:3 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Fetched 53.9 kB in 3s (15.9 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.
[Check Version NodeJS actuelle : v18.19.0 : [ 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.0.2+1.3.1-4+b1).
0 upgraded, 0 newly installed, 0 to remove and 338 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 ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz failed, reason: Client network socket disconnected before secure TLS connection was established
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-30T15_15_26_309Z-debug-0.log
+ npm run build
> zigbee2mqtt@1.37.1 build
> tsc && node index.js writehash
sh: 1: tsc: not found
+ 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
+ echo 10
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************
J’ai reinstallé les dependances du coup. Il me dit qu’un fichier log finissant par 525Z a été généré mais idem, pas de 525Z en vue.
0159|npm ERR! code ECONNRESET
0160|npm ERR! network Client network socket disconnected before secure TLS connection was established
0161|npm ERR! network This is a problem related to network connectivity.
0162|npm ERR! network In most cases you are behind a proxy or have bad network settings.
0163|npm ERR! network
0164|npm ERR! network If you are behind a proxy, please make sure that the
0165|npm ERR! network 'proxy' config is set properly. See: 'npm help config'
0166|npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-30T20_53_34_525Z-debug-0.log