nebz
Avril 15, 2023, 8:24
41
On reprendra demain alors.
Voici ça que vous ferez :
Relancez les dépendances du plugin zigbeelinker
Fournissez le log zigbeelinker_dep
(Vous aurez probablement l’erreur de votre second poste ci dessus)
Si c’est le cas : tapez ma commande rm…
Relancez les dépendances, si elles ne fonctionnent pas renvoyez le log du point 2
jydom
Avril 15, 2023, 8:25
42
Ok on voit ça demain.
Bonne nuit
nebz
Avril 15, 2023, 8:25
43
Parfait, vous avez été un peu vite mais passez au point 4 alors
jydom
Avril 16, 2023, 10:48
44
Voilà j’ai relancé les dépendances. La version est bien la 1.30.3.
J’ai à nouveau Zigbee2MQTT n’est pas compilé.
Voici les logs
#######################################################
# INSTALL : Zigbee2mqtt #
#######################################################
#######################################################
##### apt-get update in progress
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_16.x buster InRelease
Reading package lists...
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1+rpi2).
gcc is already the newest version (4:8.3.0-1+rpi2).
git is already the newest version (1:2.20.1-2+deb10u8).
make is already the newest version (4.2.1-1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 16 already installed : Nothing to do !
#######################################################
# INSTALLING : Mosquitto (server) #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (1.5.7-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
# INSTALLING : Mosquitto for Php #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
##### Stopping Zigbee2mqtt deamon #
#######################################################
##### Update : Download update from Zigbee2mqtt git
From https://github.com/Koenkk/zigbee2mqtt
03ba647d..24c6b2e2 master -> origin/master
08ceae23..e2b18d8f dev -> origin/dev
* [new branch] matter -> origin/matter
* [new tag] 1.30.3 -> 1.30.3
* [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.30.0 -> 1.30.0
* [new tag] 1.30.1 -> 1.30.1
* [new tag] 1.30.2 -> 1.30.2
##### Compiling for NodeJS version 16
## Remove /opt/zigbee2mqtt/package-lock.json
##### Updating...
Updating 03ba647d..24c6b2e2
Fast-forward
.github/workflows/ci.yml | 10 +-
.github/workflows/depsreview.yaml | 2 +-
.github/workflows/ghcr_cleanup.yml | 1 +
.github/workflows/stale.yml | 2 +-
.github/workflows/update_deps.yml | 2 +-
.github/workflows/update_frontend.yml | 9 +-
.github/workflows/update_zh.yml | 9 +-
.github/workflows/update_zhc.yml | 9 +-
README.md | 2 +-
docker/Dockerfile | 12 +-
index.js | 14 +-
lib/controller.ts | 13 +-
lib/extension/bind.ts | 21 +-
lib/extension/bridge.ts | 44 +-
lib/extension/configure.ts | 10 +-
lib/extension/externalExtension.ts | 4 +-
lib/extension/frontend.ts | 44 +-
lib/extension/groups.ts | 1 +
lib/extension/homeassistant.ts | 124 +-
lib/extension/networkMap.ts | 2 +-
lib/extension/otaUpdate.ts | 61 +-
lib/extension/publish.ts | 3 +-
lib/extension/receive.ts | 7 +
lib/state.ts | 11 +-
lib/types/types.d.ts | 12 +-
lib/types/zigbee-herdsman-converters.d.ts | 4 +
lib/util/data.ts | 2 +-
lib/util/settings.schema.json | 29 +-
lib/util/settings.ts | 48 +-
lib/util/utils.ts | 57 +-
package-lock.json | 5737 +++++++++++------------------
package.json | 51 +-
scripts/generateNewSupportedDevices.js | 5 +-
scripts/testExternalConverter.js | 22 +
test/assets/certs/dummy.crt | 31 +
test/assets/certs/dummy.key | 54 +
test/availability.test.js | 9 +
test/bridge.test.js | 37 +-
test/configure.test.js | 15 +-
test/controller.test.js | 10 +-
test/data.test.js | 1 +
test/externalExtension.test.js | 7 +-
test/frontend.test.js | 87 +-
test/group.test.js | 16 +
test/homeassistant.test.js | 125 +-
test/networkMap.test.js | 19 +-
test/otaUpdate.test.js | 35 +-
test/receive.test.js | 47 +-
test/settings.test.js | 32 +-
49 files changed, 3085 insertions(+), 3824 deletions(-)
create mode 100644 scripts/testExternalConverter.js
create mode 100644 test/assets/certs/dummy.crt
create mode 100644 test/assets/certs/dummy.key
##### Compiling for production (Branch: master)
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
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:
npm ERR! /root/.npm/_logs/2023-04-16T10_44_36_496Z-debug-0.log
##### Force zigbee-herdsman-converters update
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
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:
npm ERR! /root/.npm/_logs/2023-04-16T10_45_09_434Z-debug-0.log
#######################################################
##### Configure deamon and start it
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
# END #
#######################################################
nebz
Avril 16, 2023, 11:15
45
On dirait qu’il y a un problème réseau…
Quelques questions :
Votre Raspberry est en wifi ou en cablé ?
Redémarrez votre Raspberry et retentez les dépendances, si vous avez toujours le message « code ERR_SOCKET_TIMEOUT » à la fin, passez au point 3
Pouvez vous lancer cette commande en ssh et donner le résultat :
sudo apt-get update
sudo cat /etc/resolv.conf
sudo ip a
jydom
Avril 16, 2023, 12:58
47
Je viens de relancer les dépendances et voici le log
#######################################################
# INSTALL : Zigbee2mqtt #
#######################################################
#######################################################
##### apt-get update in progress
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_16.x buster InRelease
Reading package lists...
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1+rpi2).
gcc is already the newest version (4:8.3.0-1+rpi2).
git is already the newest version (1:2.20.1-2+deb10u8).
make is already the newest version (4.2.1-1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 16 already installed : Nothing to do !
#######################################################
# INSTALLING : Mosquitto (server) #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (1.5.7-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
# INSTALLING : Mosquitto for Php #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
##### Stopping Zigbee2mqtt deamon #
Removed /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service.
#######################################################
##### Update : Download update from Zigbee2mqtt git
##### up to date
#######################################################
##### Configure deamon and start it
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service → /etc/systemd/system/zigbee2mqtt.service.
#######################################################
# END #
#######################################################
Apparemment plus d’erreur mais cela ne fonctionne toujours pas
jydom
Avril 16, 2023, 1:10
48
Voilà donc les résultats des commandes
pi@raspberrypi:~ $ sudo apt-get update
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_16.x buster InRelease
Reading package lists... Done
pi@raspberrypi:~ $ sudo cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.0.254
nameserver fd0f:ee:b0::1
pi@raspberrypi:~ $ sudo ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether dc:a6:32:aa:07:c4 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.65/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 42898sec preferred_lft 37498sec
inet6 2a01:e0a:572:a4a0:2846:b9af:40ac:faf3/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86258sec preferred_lft 86258sec
inet6 fe80::12fb:d001:2256:427d/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether dc:a6:32:aa:07:c5 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.194/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0
valid_lft 42900sec preferred_lft 37500sec
inet6 2a01:e0a:572:a4a0:38cf:e617:fd7:27ad/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86258sec preferred_lft 86258sec
inet6 fe80::7e6:2697:333:bb17/64 scope link
valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1300 qdisc pfifo_fast state UNKNOWN group default qlen 100
link/none
inet 10.16.9.242 peer 10.16.9.241/32 scope global tun0
valid_lft forever preferred_lft forever
inet6 fe80::f964:3b29:8071:4178/64 scope link stable-privacy
valid_lft forever preferred_lft forever
pi@raspberrypi:~ $
nebz
Avril 16, 2023, 2:57
49
Tu as ton wifi qui est configuré en plus de ton câble réseau, c’est probablement pourquoi tu as des problèmes parfois.
nebz
Avril 16, 2023, 2:58
50
Ca équivaut à dire « j’ai mal » chez le docteur, tu dois être plus précis, avec une capture pour voir si les dépendances sont toujours nok (titre de ton sujet)
jydom
Avril 16, 2023, 3:03
51
J’ai mis une capture au post 44
nebz
Avril 16, 2023, 3:06
53
La je peux plus t’aider, les dépendances se passent bien. Pour moi ton problème se situe plus sur ton système, le plus simple c’est de faire la sauvegarde jeedom, la télécharger sur ton ordi, refaire ton ssd sur base du tutoriel que tu avais utilisé et restaurer la sauvegarde, ça prend 1h. Et tu repartiras sur de bonnes bases (et ne configure pas ton wifi en plus de ton câble cette fois-ci !)
Bad
Avril 16, 2023, 3:20
54
(Il pourrait aussi shut l’interface wifi ou lan et regarder si ça se passe mieux avant de tout réinstaller, non ? My 2 cts)
2 « J'aime »
jydom
Avril 16, 2023, 3:21
55
Pour toi 1h mais pas pour moi.
jydom
Avril 16, 2023, 3:23
56
Comment je peux désactiver le wifi et comment je vois s’il est désactivé ?
Bonjour
Tu enleve la carte SD ou ton SSD et tu modifie le fichier CONFIG.TXT en rajoutant cela à la fin :
dtoverlay=disable-wifi
Tu rebranche tout…
Thierry
1 « J'aime »
Bad
Avril 16, 2023, 3:52
58
C’est une façon, ou pendant que le système tourne tu peux lancer la commande
sudo ifdown wlan0
En vérifiant au préalable qu’il est bien possible de se connecter à Jeedom par l’autre IP (192.168.0.65)
1 « J'aime »
jydom
Avril 16, 2023, 4:06
59
Bon j’ai désactivé le Wifi.
Donc si le souci vient de là, je devrais pouvoir relancer les dépendances et cela devrait fonctionner, non ?
Mais cela ne fonctionne toujours pas
jydom
Avril 16, 2023, 4:27
60
Et tu penses qu’en restaurant la sauvegarde je ne vais pas réinstaller également le problème ?