Bonjour,
utilisant actuellement le plug in ZIGBEE, je souhaitais passer vers JEEZIGBEE.
J’ai donc d’abor voulu installerr MQTT MANAGER, les dépendances sont OK mais le démaon impossible…
Que faire?
Voici mes logs:
[2023-06-07 20:51:33]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-06-07 20:51:33]INFO : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtt://: --username jeedom --password tJ1S2754FyfEL1wfbDCyb9KHRPPbHXOWLIvfOpy7XBGSsY4PLRIWEyQknsUqdddK --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey uLcN72vAanp6WtWHwCFB8KrsKSgNxVtyxLetgsqJKa8ZWUMlp3Lcy0hZwNWEXGTx --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2023-06-07 20:54:14]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-06-07 20:54:14]INFO : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtt://: --username jeedom --password tJ1S2754FyfEL1wfbDCyb9KHRPPbHXOWLIvfOpy7XBGSsY4PLRIWEyQknsUqdddK --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey uLcN72vAanp6WtWHwCFB8KrsKSgNxVtyxLetgsqJKa8ZWUMlp3Lcy0hZwNWEXGTx --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2023-06-07 20:54:46]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2023-06-08 12:15:15]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-06-08 12:15:16]INFO : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtt://: --username jeedom --password tJ1S2754FyfEL1wfbDCyb9KHRPPbHXOWLIvfOpy7XBGSsY4PLRIWEyQknsUqdddK --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey uLcN72vAanp6WtWHwCFB8KrsKSgNxVtyxLetgsqJKa8ZWUMlp3Lcy0hZwNWEXGTx --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2023-06-08 12:15:47]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2023-06-08 12:17:09]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-06-08 12:17:10]INFO : Démarrage du démon MQTT Manager : sudo /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtt://: --username jeedom --password tJ1S2754FyfEL1wfbDCyb9KHRPPbHXOWLIvfOpy7XBGSsY4PLRIWEyQknsUqdddK --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey uLcN72vAanp6WtWHwCFB8KrsKSgNxVtyxLetgsqJKa8ZWUMlp3Lcy0hZwNWEXGTx --cycle 0.3 --pid /tmp/jeedom/mqtt2/deamon.pid
[2023-06-08 12:17:28]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=mqtt2 function=remove callInstallFunction=1
[2023-06-08 19:53:11]INFO : Début d'activation du plugin
[2023-06-08 19:53:12]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2023-06-08 19:53:12]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=mqtt2 function=install callInstallFunction=1
[2023-06-08 19:53:24]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-06-08 19:54:03]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2023-06-08 19:53:24
[2023-06-08 19:55:00]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-06-08 19:55:32]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2023-06-08 20:00:08]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-06-08 20:00:40]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2023-06-08 20:05: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-06-08 20:05:36]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mqtt2
+ echo 1
+ echo 2
+ 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 https://deb.nodesource.com/node_16.x buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
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).
lsb-release is already the newest version (10.2019051400+rpi1).
The following packages were automatically installed and are no longer required:
libhttp-parser2.8 libllvm7 libstd-rust-1.41 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.
Need to get 4187 kB of archives.
After this operation, 55.3 kB of additional disk space will be used.
Get:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf git armhf 1:2.20.1-2+deb10u8 [4187 kB]
apt-listchanges: Reading changelogs...
Fetched 4187 kB in 1s (3311 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 69235 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.20.1-2+deb10u8_armhf.deb ...
Unpacking git (1:2.20.1-2+deb10u8) over (1:2.20.1-2+deb10u3) ...
Setting up git (1:2.20.1-2+deb10u8) ...
[Check Version NodeJS actuelle : v16.15.1 : PHP Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/lib/php/20180731/dom.so (/usr/lib/php/20180731/dom.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/dom.so.so (/usr/lib/php/20180731/dom.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/lib/php/20180731/xmlreader.so (/usr/lib/php/20180731/xmlreader.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xmlreader.so.so (/usr/lib/php/20180731/xmlreader.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /usr/lib/php/20180731/xsl.so (/usr/lib/php/20180731/xsl.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xsl.so.so (/usr/lib/php/20180731/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[ OK ]
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : : [ KO ]
Reset prefix (/usr) pour npm root
+ 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://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://deb.nodesource.com/node_16.x buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
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).
The following packages were automatically installed and are no longer required:
libhttp-parser2.8 libllvm7 libstd-rust-1.41 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.
[Check Version NodeJS actuelle : v16.15.1 : PHP Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/lib/php/20180731/dom.so (/usr/lib/php/20180731/dom.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/dom.so.so (/usr/lib/php/20180731/dom.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/lib/php/20180731/xmlreader.so (/usr/lib/php/20180731/xmlreader.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xmlreader.so.so (/usr/lib/php/20180731/xmlreader.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /usr/lib/php/20180731/xsl.so (/usr/lib/php/20180731/xsl.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xsl.so.so (/usr/lib/php/20180731/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[ OK ]
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : : [ KO ]
Reset prefix (/usr) pour npm root
+ echo 4
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo npm install
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 147 packages, and audited 148 packages in 34s
14 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 8.11.0 -> 9.6.2
npm notice Changelog:
npm notice Run `npm install -g npm@9.6.2` to update!
npm notice
+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
PHP Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/lib/php/20180731/dom.so (/usr/lib/php/20180731/dom.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/dom.so.so (/usr/lib/php/20180731/dom.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/lib/php/20180731/xmlreader.so (/usr/lib/php/20180731/xmlreader.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xmlreader.so.so (/usr/lib/php/20180731/xmlreader.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /usr/lib/php/20180731/xsl.so (/usr/lib/php/20180731/xsl.so: undefined symbol: dom_node_class_entry), /usr/lib/php/20180731/xsl.so.so (/usr/lib/php/20180731/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Pour commencer je t’invite à prendre connaissance de la documentation du plugin qui reste la base pour débuter : Documentation Jeedom - MQTT Manager
Ensuite s’il est indiqué A configurer à mon avis c’est qu’il doit y avoir une configuration à renseigner… Sûrement que la documentation ci-dessus te donnera la réponse dès les 1ers paragraphes.
Il me semble (mais je n’utilise pas se plugin) que le plugin worxlandroids installé un mosquitto… Du coup, 2 mosquitto qui veulent utiliser le même port 1883 ou 8883, ça ne marchera pas.
Il faut que tu choisisses ton mode d’installation pour utiliser soit le mosquitto de worxlandroids ( et paramétrer mqtt2 en conséquence), soit celui de mqtt2 (et paramétrer worxlandroids en conséquence)