bon je teste une install à zéro de zwavejs + mqttmanager et pour moi ça marche pas sur 4.3.10
les dépendances vont au bout sans problème pour la partie mqtt:
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_mqtt2
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0006|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0007|Reading package lists...
0008|E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
0009|E: Unable to lock directory /var/lib/apt/lists/
0010|Reading package lists...
0011|Building dependency tree...
0012|Reading state information...
0013|apt-utils is already the newest version (1.8.2.3).
0014|build-essential is already the newest version (12.6).
0015|lsb-release is already the newest version (10.2019051400).
0016|git is already the newest version (1:2.20.1-2+deb10u4).
0017|0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
0018|[Check Version NodeJS actuelle : v16.18.1 : [ OK ]
0019|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
0020|+ echo 3
0021|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0022|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0023|Reading package lists...
0024|E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
0025|E: Unable to lock directory /var/lib/apt/lists/
0026|Reading package lists...
0027|Building dependency tree...
0028|Reading state information...
0029|apt-utils is already the newest version (1.8.2.3).
0030|build-essential is already the newest version (12.6).
0031|lsb-release is already the newest version (10.2019051400).
0032|git is already the newest version (1:2.20.1-2+deb10u4).
0033|0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
0034|[Check Version NodeJS actuelle : v16.18.1 : [ OK ]
0035|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
0036|+ echo 4
0037|+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
0038|+ rm -rf node_modules
0039|+ sudo npm install
0040|npm WARN deprecated har-validator@5.1.5: this library is no longer supported
0041|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.
0042|npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
0043|added 147 packages, and audited 148 packages in 25s
0044|13 packages are looking for funding
0045|run `npm fund` for details
0046|found 0 vulnerabilities
0047|npm notice
0048|npm notice New major version of npm available! 8.19.2 -> 9.1.2
0049|npm notice Changelog:
0050|npm notice Run `npm install -g npm@9.1.2` to update!
0051|npm notice
0052|+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
0053|+ echo 5
0054|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
0055|+ rm /tmp/jeedom_install_in_progress_mqtt2
0056|+ echo '*******************End of package installation******************'
0057|*******************End of package installation******************
le plugin apparaît dans l’interface,
je clique sur installer mosquitto en local, ça mouline et ça remplit les champs :
et quand je tente de lancer le démon :
0010|[2022-11-18 14:54:13]ERROR : Erreur sur la fonction deamon_start du plugin : Aucun dossier SSL trouvé, avez vous installé Mosquitto d\'abord ?
0011|[2022-11-18 14:55:03]ERROR : Erreur sur la fonction deamon_start du plugin : Aucun dossier SSL trouvé, avez vous installé Mosquitto d\'abord ?
il n’y a pas de log de cette installation de mosquitto et manifestement il ne doit pas être démarré car dans /var/log il n’y a pas de dossier mosquitto