pi@RPI4-Jeedom:~ $ sudo apt-get -y --purge autoremove npm
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package ‹ npm › is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
sudo apt-get -y --purge autoremove nodejs
pi@RPI4-Jeedom:~ $ sudo apt-get -y --purge autoremove nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
After this operation, 188 MB disk space will be freed.
(Reading database ... 70405 files and directories currently installed.)
Removing nodejs (18.17.1-deb-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator' not empty so not removed
Processing triggers for man-db (2.9.4-2) ...
Pour nodejs c’est apparemment OK
(Reading database ... 64715 files and directories currently installed.)
Preparing to unpack .../nodejs_18.20.2-1nodesource1_arm64.deb ...
Detected old npm client, removing...
Unpacking nodejs (18.20.2-1nodesource1) ...
Setting up nodejs (18.20.2-1nodesource1) ...
Processing triggers for man-db (2.9.4-2) ...
[Check Version NodeJS après install : v18.20.2 : [ OK ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
OK
[END CONSISTENCY]
J’ai relancer les dependances mais il y des erreurs avec NPM
0000|#######################################################
0001|# INSTALL : Zigbee2mqtt #
0002|#######################################################
0003|#######################################################
0004|##### apt-get update in progress
0005|Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
0006|Hit:2 http://deb.debian.org/debian bullseye InRelease
0007|Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
0008|Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
0009|Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
0010|Reading package lists...
0011|#######################################################
0012|##### Install or update Git
0013|Reading package lists...
0014|Building dependency tree...
0015|Reading state information...
0016|g++ is already the newest version (4:10.2.1-1).
0017|gcc is already the newest version (4:10.2.1-1).
0018|git is already the newest version (1:2.30.2-1+deb11u2).
0019|make is already the newest version (4.3-4.1).
0020|0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
0021|#######################################################
0022|##### Install or update NodeJs
0023|NodeJs 18 already installed : Nothing to do !
0024|#######################################################
0025|# INSTALLING : Mosquitto for Php #
0026|#######################################################
0027|Mosquitto for Php is already installed, nothing to do
0028|#######################################################
0029|##### Install Socat
0030|Socat is already installed, nothing to do
0031|#######################################################
0032|##### Install yaml php and restart apache
0033|Yaml is already installed, nothing to do
0034|#######################################################
0035|##### Stopping Zigbee2mqtt deamon #
0036|#######################################################
0037|##### Update : Download update from Zigbee2mqtt git
0038|From https://github.com/Koenkk/zigbee2mqtt
0039|d043fd56..c02c61dd master -> origin/master
0040|6b60c4ea..ecf75ba4 dev -> origin/dev
0041|2f827c8f..b8476f8a gh-pages -> origin/gh-pages
0042|* [new tag] zigbee2mqtt-1.37.1 -> zigbee2mqtt-1.37.1
0043|##### Compiling for NodeJS version 18
0044|## Remove /opt/zigbee2mqtt/package-lock.json
0045|##### Updating...
0046|hint: Pulling without specifying how to reconcile divergent branches is
0047|hint: discouraged. You can squelch this message by running one of the following
0048|hint: commands sometime before your next pull:
0049|hint:
0050|hint: git config pull.rebase false # merge (the default strategy)
0051|hint: git config pull.rebase true # rebase
0052|hint: git config pull.ff only # fast-forward only
0053|hint:
0054|hint: You can replace "git config" with "git config --global" to set a default
0055|hint: preference for all repositories. You can also pass --rebase, --no-rebase,
0056|hint: or --ff-only on the command line to override the configured default per
0057|hint: invocation.
0058|Updating d043fd56..c02c61dd
0059|Fast-forward
0060|charts/zigbee2mqtt/README.md | 2 +-
0061|1 file changed, 1 insertion(+), 1 deletion(-)
0062|##### Compiling for production (Branch: master)
0063|npm ERR! code EUSAGE
0064|npm ERR!
0065|npm ERR! The `npm ci` command can only install with an existing package-lock.json or
0066|npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
0067|npm ERR! later to generate a package-lock.json file, then try again.
0068|npm ERR!
0069|npm ERR! Clean install a project
0070|npm ERR!
0071|npm ERR! Usage:
0072|npm ERR! npm ci
0073|npm ERR!
0074|npm ERR! Options:
0075|npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
0076|npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
0077|npm ERR! [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
0078|npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
0079|npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
0080|npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
0081|npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
0082|npm ERR!
0083|npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
0084|npm ERR!
0085|npm ERR! Run "npm help ci" for more info
0086|npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-10T20_08_17_579Z-debug-0.log
0087|##### Force zigbee-herdsman-converters update
0088|up to date, audited 796 packages in 16s
0089|86 packages are looking for funding
0090|run `npm fund` for details
0091|found 0 vulnerabilities
0092|#######################################################
0093|##### Configure deamon and start it
0094|mv: cannot stat '/opt/zigbee2mqtt/data/state.json': No such file or directory
0095|chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json': No such file or directory
0096|Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
0097|#######################################################
0098|# END #
0099|#######################################################
Merci a vous tous pour votre aide mais je suis toujours dedans !!!
Je viens de supprimer « Zigbeelinker »
mv de /opt/zigbee2mqtt
Reinstall du plugin et toujours la même chose
0000|[2024-05-10 23:01:57] INFO : ##### Démarrage du service Zigbee2MQTT #####
0001|[2024-05-10 23:01:59] INFO : ##### Le service Zigbee2MQTT démarre... #####
0002|[2024-05-10 23:02:08] INFO : ##### Le service zigbee2mqtt a démarré #####
0003|[2024-05-10 23:02:19] ERROR : ##### Le service zigbee2mqtt s'est arrêté #####
0004|[2024-05-10 23:04:21] INFO : ##### Démarrage du service Zigbee2MQTT #####
0005|[2024-05-10 23:04:22] INFO : ##### Le service Zigbee2MQTT démarre... #####
0006|[2024-05-10 23:04:31] INFO : ##### Le service zigbee2mqtt a démarré #####
0007|[2024-05-10 23:04:42] ERROR : ##### Le service zigbee2mqtt s'est arrêté #####
0008|[2024-05-10 23:06:44] INFO : ##### Démarrage du service Zigbee2MQTT #####
0009|[2024-05-10 23:06:45] INFO : ##### Le service Zigbee2MQTT démarre... #####
0010|[2024-05-10 23:06:54] INFO : ##### Le service zigbee2mqtt a démarré #####
0011|[2024-05-10 23:07:05] ERROR : ##### Le service zigbee2mqtt s'est arrêté #####
J"en ai vraiment marre.
J’ai acheté une nouvelle clé et c’est pareil.
Je vous remercie d’avoir essayé de me dépanner mais la il va falloir que je change de domotique.
Bonjour,
Je suis revenu sur la cle Sonoff ZBDongle-E car avec celle la au moins Zigbee2mqtt ne tombe pas.
0150|[2024-05-11 07:54:04] INFO : ############ Démarrage des service ############
0151|[2024-05-11 07:54:04] INFO : ##### Démarrage du service ZigbeeLinker #####
0152|[2024-05-11 07:54:05] INFO : ##### Service ZigbeeLinker démarré #####
0153|[2024-05-11 07:54:06] INFO : ##### Démarrage du service Zigbee2MQTT #####
0154|[2024-05-11 07:54:07] INFO : ##### Le service Zigbee2MQTT démarre... #####
0155|[2024-05-11 07:54:07] INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
0156|[2024-05-11 07:54:07] INFO : ##### Connexion avec identification (Client MQTT Local) #####
0157|[2024-05-11 07:54:07] INFO : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
0158|[2024-05-11 07:54:07] INFO : ##### Le service Client MQTT ([Raspberry PI4][Client MQTT Local]) s'est connecté. #####
0159|[2024-05-11 07:54:07] INFO : [Raspberry PI4][Client MQTT Local] : Client MQTT subscribe : 1
0160|[2024-05-11 07:54:07] INFO : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
0161|[2024-05-11 07:54:08] INFO : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
0162|[2024-05-11 07:54:08] INFO : ##### Le service zigbee2mqtt a démarré #####
Oui car c’est bien cette fenêtre.
Non car tu ne donnes pas la globalité de la fenêtre.
Après si tu veux rester surbla E, je ne connais pas donc pas la peine que je suive ce post.
Merci quand même.
Que ce soit Dongle-E ou Dongle-P c’est la même chose.
J’y ai passé la journée hier a essayer de voir le Dongle-P mais rien a chaque fois comme je l’ai dit « Zigbee2Mqtt s’est arrété »
Bonsoir, J 'ai réussi a tout remettre en route mais quelle galère ! J’ai du réinclure tous mes équipements. J’ai acheté un clé Dongle-P pour rien car je n’ai jamais réussi a la connecter.
Je suis donc avec mon ancienne clé Dongle-E
Ca fonctionne mais je vais quand même voir pour un autre système domotique car à chaque MAJ des problèmes et c’est lassant.