Plugin MQTT erreur Axios

Bonjour,

Vue qu’il y a aussi des traces de Stretch dans vos logs, je serais vous, pour faire plus simple, je réinstallerais une image de Debian 10 à télécharger ici :
https://images.jeedom.com/rpi/jeedom-debian-buster-rpi-4.3.15.zip

Vous y restaurez votre version de Jeedom et vous effectuez vos mises à jour.
- En principe, vous n’aurez plus ce problème.

Bonjour,

Je rencontre le même pb ce matin.
Pi4 sur debian 10 (et oui BLEA aussi, petit clin d’oeil à @Fabrice « on lâche rien » :wink:!)
J’ai regardé dans les .list et je ne vois pas cette source

Bonjour,

Donc ce n’est peut être pas du tout le même problème. Il faut le log d’installation des dépendances.

Log mqtt2d

Mon, 25 Sep 2023 04:18:14 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
Sat, 30 Sep 2023 07:26:03 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
Thu, 05 Oct 2023 06:38:09 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
Thu, 05 Oct 2023 14:30:11 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31
node:internal/modules/cjs/loader:1031
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.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js',
'/var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js'
]
}
Sun, 08 Oct 2023 07:20:05 GMT body-parser deprecated undefined extended: provide extended option at jeedom/jeedom.js:168:31

log packages

+ 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://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Get:5 http://deb.debian.org/debian buster-backports InRelease [51.4 kB]
Hit:6 https://download.docker.com/linux/debian buster InRelease
Get:7 https://deb.nodesource.com/node_16.x buster InRelease [4584 B]
Hit:8 https://repo.mosquitto.org/debian buster InRelease
Get:10 http://deb.debian.org/debian-security buster/updates/main armhf Packages [544 kB]
Get:11 http://deb.debian.org/debian-security buster/updates/main arm64 Packages [540 kB]
Get:12 http://deb.debian.org/debian-security buster/updates/main Translation-en [299 kB]
Hit:9 https://packagecloud.io/crowdsec/crowdsec/debian buster InRelease
Fetched 1474 kB in 2s (620 kB/s)
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).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
[Check Version NodeJS actuelle : v16.20.2 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ 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://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://deb.debian.org/debian buster-backports InRelease
Hit:5 http://archive.raspberrypi.org/debian buster InRelease
Hit:6 https://repo.mosquitto.org/debian buster InRelease
Hit:7 https://download.docker.com/linux/debian buster InRelease
Get:8 https://deb.nodesource.com/node_16.x buster InRelease [4584 B]
Hit:9 https://packagecloud.io/crowdsec/crowdsec/debian buster InRelease
Fetched 4584 B in 2s (2101 B/s)
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).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
[Check Version NodeJS actuelle : v16.20.2 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ echo 4
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo npm install
added 111 packages, and audited 112 packages in 4s
13 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ 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
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Aucun rapport en effet, de votre côté pas d’erreur d’installation. C’est plus un problème de fond du plugin je pense (genre il faut supprimer le dossier resources/node_modules avant de relancer ou le package_lock.json)

Pour l’instant j’ai remis le backup de ce matin, sinon zwavejs est off et tout est zwave chez moi.

Bon j’ai un peu de temps j’ai supprimé node_modules et relancé l’install

EDIT: c’est OK
tks @nebz

1 « J'aime »

J’ai supprimé sury.org de mes sources, supprimé complètement node.js.
J’ai essayé d’installé node.js en version 16 plusieurs fois (c’est censé être compatible avec Buster) et il me réinstalle systématiquement la version 10.24.0…
je n’ai vraiment pas envie de tout réinstaller… et si je devais le faire vous me déconseillez Bullseye ?

image

Non, cela dépend de vos plugins. Si vous n’avez pas BLEA, vous pouvez certainement passer à la version 11.
Si vous aviez installé et restaurer, 3 heures max plus tard tout est ok.

Ne jouez pas à installer vous même, laissez faire les plugins

Et vous dites avoir fait ça pour sury mais ne fournissez aucun log apres… donc on ne peut pas avancer.

voici les derniers log mais j’ai l’impression qu’ils ne sont pas complets :

Selecting previously unselected package node-errno.
Preparing to unpack .../243-node-errno_0.1.4-1_all.deb ...
Unpacking node-errno (0.1.4-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../244-npm_5.8.0+ds6-4+deb10u2_all.deb ...
Unpacking npm (5.8.0+ds6-4+deb10u2) ...
Setting up node-forever-agent (0.6.1-1) ...
Setting up node-unpipe (1.0.0-1) ...
Setting up node-qs (6.5.2-1+deb10u1) ...
Setting up node-slide (1.1.6-2) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up node-isstream (0.1.2+dfsg-1) ...
Setting up node-builtins (1.0.3-1) ...
Setting up node-stream-shift (1.0.0-1) ...
Setting up libuv1-dev:armhf (1.24.1-1+deb10u1) ...
Setting up node-fs.realpath (1.0.0-1) ...
Setting up node-oauth-sign (0.9.0-1) ...
Setting up node-url-to-options (1.0.1-1) ...
Setting up node-jsbn (1.1.0-1) ...
Setting up node-object-assign (4.1.1-2) ...
Setting up node-extsprintf (1.3.0-1) ...
Setting up node-abbrev (1.1.1-1) ...
Setting up node-path-is-inside (1.0.2-1) ...
Setting up node-invert-kv (1.0.0-1) ...
Setting up node-p-limit (1.1.0-1) ...
Setting up node-yallist (3.0.3-1) ...
Setting up libjs-inherits (2.0.3-1) ...
Setting up node-p-cancelable (0.3.0-1) ...
Setting up node-ansi-regex (3.0.0-1+deb10u1) ...
Setting up node-timed-out (4.0.1-4) ...
Setting up node-strip-json-comments (2.0.1-2) ...
Setting up libnode-dev:armhf (10.24.0~dfsg-1~deb10u3) ...
Setting up node-slash (1.0.0-1) ...
Setting up node-util-deprecate (1.0.2-1) ...
Setting up node-editor (1.0.0-1) ...
Setting up node-retry (0.10.1-1) ...
Setting up node-get-caller-file (1.0.2-1) ...
Setting up node-require-main-filename (1.0.1-1) ...
Setting up node-concat-map (0.0.1-1) ...
Setting up node-import-lazy (3.0.0.REALLY.2.1.0-1) ...
Setting up node-is-retry-allowed (1.1.0-1) ...
Setting up node-assert-plus (1.0.0-1) ...
Setting up node-ansistyles (0.1.3-1) ...
Setting up node-delegates (1.0.0-1) ...
Setting up node-xdg-basedir (3.0.0-1) ...
Setting up node-co (4.6.0-1) ...
Setting up node-isexe (2.0.0-4) ...
Setting up node-jsonparse (1.3.1-6) ...
Setting up node-path-exists (3.0.0-1) ...
Setting up node-qw (1.0.1-1) ...
Setting up node-tweetnacl (0.14.5+dfsg-3) ...
Setting up node-escape-string-regexp (1.0.5-1) ...
Setting up node-are-we-there-yet (1.1.4-1) ...
Setting up node-through (2.3.8-1) ...
Setting up node-p-locate (2.0.0-1) ...
Setting up node-which-module (2.0.0-1) ...
Setting up node-decamelize (1.2.0-1) ...
Setting up node-aws-sign2 (0.7.1-1) ...
Setting up node-color-name (1.1.3-1) ...
Setting up node-bluebird (3.5.1+dfsg2-2) ...
Setting up node-console-control-strings (1.1.0-1) ...
Setting up node-camelcase (5.0.0-1) ...
Setting up node-uuid (3.3.2-2) ...
Setting up node-extend (3.0.2-1) ...
Setting up node-jsonstream (1.3.2-1) ...
Setting up node-lazy-property (1.0.0-3) ...
Setting up node-minimist (1.2.0-1+deb10u2) ...
Setting up node-aws4 (1.8.0-1) ...
Setting up node-yargs-parser (11.1.1-1+deb10u1) ...
Setting up node-prepend-http (2.0.0-1) ...
Setting up node-typedarray (0.0.6-1) ...
Setting up node-dashdash (1.14.1-2) ...
Setting up node-clone (2.1.2-1) ...
Setting up node-iferr (1.0.2-1) ...
Setting up node-chownr (1.1.1-1) ...
Setting up node-has-flag (2.0.0-1) ...
Setting up node-validate-npm-package-name (3.0.0-1) ...
Setting up node-inherits (2.0.3-1) ...
Setting up node-builtin-modules (3.0.0-1) ...
Setting up node-path-is-absolute (1.0.0-1) ...
Setting up node-locate-path (2.0.0-1) ...
Setting up node-ini (1.3.5-1+deb10u1) ...
Setting up node-iconv-lite (0.4.13-2) ...
Setting up node-is-npm (1.0.0-1) ...
Setting up node-ecc-jsbn (0.1.1-1) ...
Setting up node-safe-buffer (5.1.2-1) ...
Setting up node-promise-inflight (1.0.1-1) ...
Setting up node-combined-stream (1.0.7-1) ...
Setting up node-json-stringify-safe (5.0.1-1) ...
Setting up node-json-parse-better-errors (1.0.2-2) ...
Setting up node-y18n (3.2.1-2+deb10u1) ...
Setting up node-detect-newline (2.1.0-1) ...
Setting up node-shebang-regex (2.0.0-1) ...
Setting up node-har-schema (2.0.0-1) ...
Setting up node-mime-types (2.1.21-1) ...
Setting up node-performance-now (2.1.0+debian-1) ...
Setting up node-resolve-from (4.0.0-1) ...
Setting up node-balanced-match (0.4.2-1) ...
Setting up node-ansi (0.3.0-3) ...
Setting up node-brace-expansion (1.1.8-1) ...
Setting up node-is-object (1.0.1-1) ...
Setting up node-is-stream (1.1.0-1) ...
Setting up node-deep-extend (0.4.1-2) ...
Setting up node-p-finally (1.0.0-2) ...
Setting up node-get-stream (3.0.0-1) ...
Setting up node-strip-ansi (4.0.0-1) ...
Setting up node-set-blocking (2.0.0-1) ...
Setting up node-prr (1.0.1-1) ...
Setting up node-tunnel-agent (0.6.1-1) ...
Setting up node-uid-number (0.0.6-1) ...
Setting up node-signal-exit (3.0.2-1) ...
Setting up node-spdx-expression-parse (1.0.4-1) ...
Setting up node-cyclist (1.0.1-2) ...
Setting up node-which (1.3.0-2) ...
Setting up node-lcid (1.0.0-1) ...
Setting up node-wrappy (1.0.2-1) ...
Setting up node-text-table (0.2.0-2) ...
Setting up node-asynckit (0.4.0-2) ...
Setting up node-proto-list (1.2.4-1) ...
Setting up node-require-directory (2.1.1-1) ...
Setting up node-punycode (2.1.1-2) ...
Setting up node-concat-stream (1.6.2-1) ...
Setting up node-defaults (1.0.3-1) ...
Setting up node-mute-stream (0.0.8-1) ...
Setting up node-mimic-response (1.0.0-1) ...
Setting up node-duplexer3 (0.1.4-4) ...
Setting up node-stream-iterate (1.2.0-4) ...
Setting up node-graceful-fs (4.1.11-1) ...
Setting up node-node-uuid (3.3.2-2) ...
Setting up node-jsonify (0.0.0-1) ...
Setting up node-json-stable-stringify (1.0.1-1) ...
Setting up node-hosted-git-info (2.7.1-1+deb10u1) ...
Setting up node-aproba (1.2.0-1) ...
Setting up node-tough-cookie (2.3.4+dfsg-1+deb10u1) ...
Setting up node-mimic-fn (1.1.0-1) ...
Setting up node-rc (1.1.6-2) ...
Setting up node-spdx-license-ids (1.2.2-1) ...
Setting up node-string-decoder (1.2.0-1) ...
Setting up node-mkdirp (0.5.1-1) ...
Setting up node-run-queue (1.0.3-1) ...
Setting up node-call-limit (1.1.0-1) ...
Setting up node-core-util-is (1.0.2-1) ...
Setting up node-json-schema (0.2.3-1+deb10u1) ...
Setting up node-minimatch (3.0.4-3+deb10u1) ...
Setting up node-is-builtin-module (2.0.0-1) ...
Setting up node-cli-boxes (1.0.0-1) ...
Setting up node-opener (1.4.3-1) ...
Setting up node-archy (1.0.0-2) ...
Setting up node-caseless (0.12.0-1) ...
Setting up node-imurmurhash (0.1.4-1) ...
Setting up node-xtend (4.0.1-2) ...
Setting up node-p-timeout (1.2.0-1) ...
Setting up node-verror (1.10.0-1) ...
Setting up node-getpass (0.1.7-1) ...
Setting up node-encoding (0.1.12-2) ...
Setting up node-config-chain (1.1.11-1) ...
Setting up node-read (1.0.7-1) ...
Setting up node-detect-indent (5.0.0-1) ...
Setting up node-nopt (3.0.6-3) ...
Setting up node-npm-run-path (2.0.2-2) ...
Setting up node-asn1 (0.2.3-1) ...
Setting up node-has-symbol-support-x (1.4.1+dfsg-1) ...
Setting up node-sorted-object (2.0.1-1) ...
Setting up node-color-convert (1.9.0-3) ...
Setting up node-isarray (2.0.4-1) ...
Setting up node-osenv (0.1.5-1) ...
Setting up node-is-plain-obj (1.1.0-1) ...
Setting up node-shebang-command (1.2.0-1) ...
Setting up libjs-is-typedarray (1.0.0-2) ...
Setting up node-lowercase-keys (1.0.0-2) ...
Setting up node-decompress-response (3.3.0-1) ...
Setting up node-strip-eof (1.0.0-2) ...
Setting up node-process-nextick-args (2.0.0-1) ...
Setting up node-semver (5.5.1-1) ...
Setting up node-has-unicode (2.0.1-2) ...
Setting up node-fs-write-stream-atomic (1.0.10-4) ...
Setting up gyp (0.1+20180428git4d467626-3) ...
Setting up node-readable-stream (2.3.6-1) ...
Setting up node-ssri (5.2.4-2) ...
Setting up node-through2 (2.0.5-2) ...
Setting up node-lru-cache (5.1.1-4) ...
Setting up node-bcrypt-pbkdf (1.0.1-1) ...
Setting up node-mem (1.1.0-1) ...
Setting up node-supports-color (4.4.0-2) ...
Setting up node-once (1.4.0-3) ...
Setting up node-write-file-atomic (2.3.0-1) ...
Setting up node-jsprim (1.4.0-1) ...
Setting up node-sha (2.0.1-1) ...
Setting up node-url-parse-lax (1.0.0-1) ...
Setting up node-flush-write-stream (1.0.3-1) ...
Setting up node-ajv (5.0.0-1) ...
Setting up node-errno (0.1.4-1) ...
Setting up node-find-up (2.1.0-1) ...
Setting up node-semver-diff (2.1.0-2) ...
Setting up node-from2 (2.3.0-1) ...
Setting up node-promzard (0.3.0-1) ...
Setting up node-wcwidth.js (1.0.0-1) ...
Setting up node-spdx-correct (1.0.2-1) ...
Setting up node-unique-filename (1.1.0+ds-2) ...
Setting up node-cross-spawn (5.1.0-2) ...
Setting up node-ansi-styles (3.2.1-1) ...
Setting up node-form-data (2.3.2-2) ...
Setting up node-lockfile (1.0.4-1) ...
Setting up node-chalk (2.3.0-2) ...
Setting up node-parallel-transform (1.1.0-2) ...
Setting up node-registry-url (3.1.0-1) ...
Setting up node-is-typedarray (1.0.0-2) ...
Setting up node-registry-auth-token (3.3.1-1) ...
Setting up node-tar (4.4.6+ds1-3+deb10u2) ...
Setting up node-inflight (1.0.6-1) ...
Setting up node-has-to-string-tag-x (1.4.1+dfsg-1) ...
Setting up node-npm-package-arg (6.0.0-2) ...
Setting up node-isurl (1.0.0-1) ...
Setting up node-string-width (2.1.1-1) ...
Setting up node-sshpk (1.13.1+dfsg-2) ...
Setting up node-har-validator (5.1.0-1) ...
Setting up node-validate-npm-package-license (3.0.1-1) ...
Setting up node-end-of-stream (1.4.1-1+deb10u1) ...
Setting up node-execa (0.10.0+dfsg-1) ...
Setting up node-pump (3.0.0-1) ...
Setting up node-term-size (1.2.0+dfsg-2) ...
Setting up node-os-locale (2.0.0-1) ...
Setting up node-http-signature (1.2.0-1) ...
Setting up node-duplexify (3.6.1-1) ...
Setting up node-wrap-ansi (4.0.0-1) ...
Setting up node-normalize-package-data (2.4.0-1) ...
Setting up node-glob (7.1.3-2) ...
Setting up node-pumpify (1.5.1-1) ...
Setting up node-widest-line (1.2.2-1) ...
Setting up node-got (7.1.0-1) ...
Setting up node-package-json (4.0.1-1) ...
Setting up node-latest-version (3.1.0-1) ...
Setting up node-wide-align (1.1.0-1) ...
Setting up node-ansi-align (2.0.0-1) ...
Setting up node-request (2.88.1-2) ...
Setting up node-cliui (4.1.0-1) ...
Setting up node-rimraf (2.6.2-1) ...
Setting up node-stream-each (1.2.2-2) ...
Setting up node-yargs (10.0.3-2) ...
Setting up node-mississippi (3.0.0-1) ...
Setting up node-read-package-json (2.0.13-1) ...
Setting up node-copy-concurrently (1.0.5-4) ...
Setting up node-move-concurrently (1.0.1-2) ...
Setting up node-fs-vacuum (1.2.10-2) ...
Setting up node-gauge (2.7.4-1) ...
Setting up node-boxen (1.2.2-1) ...
Setting up node-libnpx (10.2.0+repack-1) ...
Setting up node-npmlog (4.1.2-1) ...
Setting up node-cacache (11.3.2-2) ...
Setting up node-gyp (3.8.0-6) ...
Setting up npm (5.8.0+ds6-4+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm@10.2.0 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-10-10T17_20_22_846Z-debug.log
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
[Check Prefix : /usr/local and sudo prefix : /usr/local and www-data prefix : /usr/local : [  OK  ]
+ echo 6
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo npm install
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN mqtt2@1.0.0 No repository field.
npm WARN mqtt2@1.0.0 No license field.

added 110 packages from 91 contributors in 22.749s
+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2
Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************

En effet il manque le début, augmentez le nombre de lignes dans les logs dans la config jeedom > logs > logs

Voila le log complet j’espère cette fois ci :

mqtt2_packages.log (137,0 Ko)

C’est trop gros pour le coller dans un message…

Et bien je me suis débrouillé par moi même en installant node.js a la main via les commandes suivantes :

apt-cache policy nodejs

Pour lister les version possibles puis j’ai passé la commande suivante :

apt-get install nodejs=16.20.2-1nodesource1

j’ai ensuite supprimer le dossier node_modules relancé les dépendances et enfin j’ai pu démarrer le deamon !!

le « problème » qui reste c’est qu’il faut nodejs 18 à présent

Je ne savais pas qu’il fallait la 18. En tout cas pour le moment avec la 16 le plugin fonction a nouveau.

Pareil pour moi, en 4.3.17 sur 2 rpi, version 2023-10-05 09:44:08, suppression du dossier et relance des dépendances a mis du nodejs 16.20.2 , que ce soit sur un os buster ou bullseye

Il faut forcer une mise à jour du core même si il ne te propose rien avant et relancer les dépendances ça te passera en nodejs 18.

1 « J'aime »

Mais oui! merci @Loic , en plus je l’avais lu sur le thread concernant le plugin-zwavejs, mais je l’avais pas fait car je n’avais pas encore installé la version qui pose problème, j’avais encore celle de septembre
sans oublier sur rpi3 : Dépendances : JS heap out of memory - Raspberry Pi 3 - #16 par ktn