Bonjour, depuis le 29-09 mes plugins ZwaveJS et Jeezigbee ne répondent plus, ils indiquent “Le démon MQTT Manager n’a pas démarré”. La config de MQTT Manager indique un état du broker Mosquitto NOK. La réinstallation de Mosquitto ne change rien, les log indiquent cela :
sudo: mosquitto_passwd: command not found
Job for mosquitto.service failed because the control process exited with error code.
J’ai essayé de réinstaller Mosquitto avec la touche orange “Ré-installer”. L’installation se passe bien, car j’ai le message « installation réussie », mais le Demon reste NOK, et la touche « Démarrage » donne le message « installer d’abord Mosquito ».
Config de MQTT Manager :
Log de Mqtt2_packages :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mqtt2
+ echo 1
+ echo 2
+ 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 https://deb.nodesource.com/node_22.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
61 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ 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 https://deb.nodesource.com/node_22.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+deb11u5).
The following packages were automatically installed and are no longer required:
libevent-core-2.1-7 libevent-pthreads-2.1-7 libopts25 sntp
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
[Check Version NodeJS actuelle : v22.23.1 : [ 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 4
+ 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://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_22.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+deb11u5).
The following packages were automatically installed and are no longer required:
libevent-core-2.1-7 libevent-pthreads-2.1-7 libopts25 sntp
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
[Check Version NodeJS actuelle : v22.23.1 : [ 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 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://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_22.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+deb11u5).
The following packages were automatically installed and are no longer required:
libevent-core-2.1-7 libevent-pthreads-2.1-7 libopts25 sntp
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
[Check Version NodeJS actuelle : v22.23.1 : [ 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 chmod +x /var/www/html/core/class/../../resources/install_composer.sh
+ sudo /var/www/html/core/class/../../resources/install_composer.sh
Begin installation of composer
--2026-10-02 21:32:20-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 57.128.19.244, 2001:41d0:304:300::18ef
Connecting to getcomposer.org (getcomposer.org)|57.128.19.244|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59524 (58K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 86% 2.52M 0s
50K ........ 100% 75.1M=0.02s
2026-10-02 21:32:20 (2.92 MB/s) - 'composer-setup.php' saved [59524/59524]
All settings correct for using Composer
Downloading...
Composer (version 2.10.3) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
+ echo 7
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install
added 115 packages, and audited 116 packages in 14s
18 packages are looking for funding
run `npm fund` for details
13 vulnerabilities (3 low, 2 moderate, 7 high, 1 critical)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
+ sudo chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
+ echo 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/c/cjson/libcjson1_1.7.14-1%2bdeb11u3_arm64.deb 404 Not Found [IP: 151.101.66.132 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/m/mosquitto/libmosquitto1_2.0.11-1%2bdeb11u2_arm64.deb 404 Not Found [IP: 151.101.66.132 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libw/libwebsockets/libwebsockets16_4.0.20-2%2bdeb11u1_arm64.deb 404 Not Found [IP: 151.101.66.132 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/m/mosquitto/mosquitto_2.0.11-1%2bdeb11u2_arm64.deb 404 Not Found [IP: 151.101.66.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo: mosquitto_passwd: command not found
Job for mosquitto.service failed because the control process exited with error code.
See "systemctl status mosquitto.service" and "journalctl -xe" for details.
+ echo 9
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Log de MQTT2d :
node:internal/modules/cjs/loader:1433
throw err;
^
Error: Cannot find module ‹ axios ›
Require stack:
- /var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js
- /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js
at Function.\_resolveFilename (node:internal/modules/cjs/loader:1430:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1040:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1045:22)
at Function.\_load (node:internal/modules/cjs/loader:1216:25)
at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)
at Module.require (node:internal/modules/cjs/loader:1527:12)
at require (node:internal/modules/helpers:147:16)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module.\_compile (node:internal/modules/cjs/loader:1781:14)
at Object..js (node:internal/modules/cjs/loader:1913:10) {
code: ‹ MODULE_NOT_FOUND ›,
requireStack: \[
‹ /var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js ›,
‹ /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js ›
\]
}
Node.js v22.23.1
\[2026-10-02 19:35:34\] INFO : Start mqtt2d
\[2026-10-02 19:35:34\] INFO : Log level on : info
\[2026-10-02 19:35:34\] INFO : Socket port : 55035
\[2026-10-02 19:35:34\] INFO : MQTT : mqtts://127.0.0.1:8883
\[2026-10-02 19:35:34\] INFO : Username : jeedom
\[2026-10-02 19:35:34\] INFO : Password : JdA3XHiHCJ4HsSwRqdyehR3qqisQNUc73W5XBe0r3ZC0cg1q0ggtMDEWADcMD40X
\[2026-10-02 19:35:34\] INFO : Root topic : jeedom
\[2026-10-02 19:35:34\] INFO : PID file : /tmp/jeedom/mqtt2/deamon.pid
\[2026-10-02 19:35:34\] INFO : Apikey : i3pfbOv5pvrIK5xAgQRlHdrc0YfuNnQtIBcuMMjMnuSYbABRhsVBWb5dSTmsSLVQ
\[2026-10-02 19:35:34\] INFO : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
\[2026-10-02 19:35:34\] INFO : Cycle : 0.3
\[2026-10-02 19:35:34\] INFO : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
\[2026-10-02 19:35:34\] INFO : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
\[2026-10-02 19:35:34\] INFO : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
\[2026-10-02 19:35:34\] INFO : Connect to mqtt server
\[2026-10-02 19:35:34\] ERROR : Error on connection to mqtt server : Error: connect ECONNREFUSED 127.0.0.1:8883
J’ai lu dans un post récent qu’il faut se connecter en SSH et passer une commande linux pour réinstaller Mosquitto, mais je n’y arrive pas. J’ai installé Putty, mais je n’arrive pas à me connecter. Quel Login et PW doit-on utiliser ?
Par ailleurs, j’ai tenté une Restauration Système Automatique pour passer de Debian 11 à 12. Après redémarrage, installation, et restauration d’une sauvegarde, je constate dans Santé que je suis toujours en Debian 11.11 .
Ci-dessous la liste de mes plugins.
Informations Jeedom Smart
Core : 4.6.1 (master)
DNS Jeedom Smart : non
Plugin : MQTT Manager
Version : 2025-12-02 01:21:15 (stable)
Statut Démon : Stoppé - (2026-10-02 23:40:04)
Santé
🟢 Matériel : smart
🟢 Système à jour : OK
🟢 Cron actif : OK
🟢 Scénario actif : OK
🟢 Démarré : OK 2026-10-02 21:57:18
🟢 Date système (dernière heure enregistrée) : OK 2026-10-02 23:41:42 (2026-10-02 23:00:02)
🟢 Droits sudo : OK
🟢 Version Jeedom : 4.6.1
🟢 Version OS : debian 11.11
🟢 Version PHP : 7.4.33
🟢 Nombre de processus Apache : 13
🟢 Version OS : Linux JeedomSmart 6.16.4-arm64 #1 SMP PREEMPT 2026-06-26 aarch64 GNU/Linux [11.11]
🟢 Version database : 10.5.29-MariaDB-0+deb11u1
🟢 Espace disque libre : 57 %
🟢 Connexion active/max/autorisée : 11/23/151
🟢 Taille base de données : 25.16 MB
🟢 Espace disque libre tmp : 98 %
🟢 Mémoire disponible : 79 % (Total 1916 Mo)
🟢 Mémoire suffisante : 0
🟢 Erreur I/O : 0
🟢 Swap disponible : 100 % (Total 1024 Mo)
🟢 Swappiness : 10 %
🟢 Charge : 0.14 - 0.16 - 0.17
🟢 Configuration réseau interne : OK
🟢 Configuration réseau externe : OK
🟢 Node : v22.23.1
🟢 Python 3 : Python 3.9.2
🟢 Persistance du cache : OK
🟢 Apache private tmp : OK
Merci pour votre aide.
François





