Problème d'installation des dépendances MQTT2 depuis la mise à jour

Bonjour,

Depuis la dernière mise à jour, les dépendances ne s’installent plus sur MQTT2. Je suis sur Jeedom Atlas.
Voici la fin du log mqtt2_packages. C’est Nodes.js qui coince?

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-07T20_43_32_544Z-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 4
+ 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 111 packages from 91 contributors in 4.479s
+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package.json package-lock.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******************

Bonjour,
As-tu fait un rétablissement des droits des fichiers et dossiers (configuration / OS/DB)?

Hello, peux tu fournir tout le log et pas juste la partie qui te semble importante ? Je pense que quelque chose bloque plus haut tu as toujours une très vieille version de Nodejs

Sans aucune reproche ou animosité mais je ne vois pas du tout mais du tout ce qui te fait pointer vers un problème de droits ?

Je viens de le faire. Ainsi que vérifié les packages. Sans succès.

J’ai également désinstallé et réinstallé le plugin, une fois de plus pour être sur.

Voici tout le log:


MQTT Manager (mqtt2) - stable
Etat
Statut
Actif
Action
Catégorie
Programmation
Source
market
Auteur
Jeedom SAS
Version
2023-10-05 09:44:08
License
AGPL
Prérequis
4.2
Logs et surveillance
Niveau log
Aucun Defaut Debug Info Warning Error
Logs
Heartbeat (min)
Redémarrer démon
Dépendances
Nom 	Statut 	Installation 	Gestion automatique 	Dernière installation
Local 	NOK 			2023-10-07 23:55:21
Démon
Nom 	Statut 	Configuration 	(Re)Démarrer 	Arrêter 	Gestion automatique 	Dernier lancement
Local 	NOK 	OK 				2023-10-08 00:00:08
Configuration
Mode
Authentification
Port socket interne
Cycle (secondes)

Topic racine Jeedom
Transmettre tous les évènements
Template de publication
QOS par defaut
Plugins abonnés
Fonctionnalités
interact
Non
cron
Non
cron5
Non
cron10
Non
cron15
Non
cron30
Non
cronHourly
Non
cronDaily
Non
deadcmd
Non
health
Non
Log du plugin mqtt2_packages
Log brut


Preparing to unpack .../177-node-isstream_0.1.2+dfsg-1_all.deb ...
Unpacking node-isstream (0.1.2+dfsg-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../178-node-json-stringify-safe_5.0.1-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.1-1) ...
Selecting previously unselected package node-oauth-sign.
Preparing to unpack .../179-node-oauth-sign_0.9.0-1_all.deb ...
Unpacking node-oauth-sign (0.9.0-1) ...
Selecting previously unselected package node-performance-now.
Preparing to unpack .../180-node-performance-now_2.1.0+debian-1_all.deb ...
Unpacking node-performance-now (2.1.0+debian-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../181-node-qs_6.5.2-1+deb10u1_all.deb ...
Unpacking node-qs (6.5.2-1+deb10u1) ...
Selecting previously unselected package node-punycode.
Preparing to unpack .../182-node-punycode_2.1.1-2_all.deb ...
Unpacking node-punycode (2.1.1-2) ...
Selecting previously unselected package node-tough-cookie.
Preparing to unpack .../183-node-tough-cookie_2.3.4+dfsg-1+deb10u1_all.deb ...
Unpacking node-tough-cookie (2.3.4+dfsg-1+deb10u1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../184-node-tunnel-agent_0.6.1-1_all.deb ...
Unpacking node-tunnel-agent (0.6.1-1) ...
Selecting previously unselected package node-uuid.
Preparing to unpack .../185-node-uuid_3.3.2-2_all.deb ...
Unpacking node-uuid (3.3.2-2) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../186-node-node-uuid_3.3.2-2_all.deb ...
Unpacking node-node-uuid (3.3.2-2) ...
Selecting previously unselected package node-request.
Preparing to unpack .../187-node-request_2.88.1-2_all.deb ...
Unpacking node-request (2.88.1-2) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../188-node-semver_5.5.1-1_all.deb ...
Unpacking node-semver (5.5.1-1) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../189-node-tar_4.4.6+ds1-3+deb10u2_all.deb ...
Unpacking node-tar (4.4.6+ds1-3+deb10u2) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../190-node-gyp_3.8.0-6_all.deb ...
Unpacking node-gyp (3.8.0-6) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../191-node-hosted-git-info_2.7.1-1+deb10u1_all.deb ...
Unpacking node-hosted-git-info (2.7.1-1+deb10u1) ...
Selecting previously unselected package node-import-lazy.
Preparing to unpack .../192-node-import-lazy_3.0.0.REALLY.2.1.0-1_all.deb ...
Unpacking node-import-lazy (3.0.0.REALLY.2.1.0-1) ...
Selecting previously unselected package node-invert-kv.
Preparing to unpack .../193-node-invert-kv_1.0.0-1_all.deb ...
Unpacking node-invert-kv (1.0.0-1) ...
Selecting previously unselected package node-is-builtin-module.
Preparing to unpack .../194-node-is-builtin-module_2.0.0-1_all.deb ...
Unpacking node-is-builtin-module (2.0.0-1) ...
Selecting previously unselected package node-is-npm.
Preparing to unpack .../195-node-is-npm_1.0.0-1_all.deb ...
Unpacking node-is-npm (1.0.0-1) ...
Selecting previously unselected package node-json-parse-better-errors.
Preparing to unpack .../196-node-json-parse-better-errors_1.0.2-2_all.deb ...
Unpacking node-json-parse-better-errors (1.0.2-2) ...
Selecting previously unselected package node-jsonparse.
Preparing to unpack .../197-node-jsonparse_1.3.1-6_all.deb ...
Unpacking node-jsonparse (1.3.1-6) ...
Selecting previously unselected package node-through.
Preparing to unpack .../198-node-through_2.3.8-1_all.deb ...
Unpacking node-through (2.3.8-1) ...
Selecting previously unselected package node-jsonstream.
Preparing to unpack .../199-node-jsonstream_1.3.2-1_all.deb ...
Unpacking node-jsonstream (1.3.2-1) ...
Selecting previously unselected package node-minimist.
Preparing to unpack .../200-node-minimist_1.2.0-1+deb10u2_all.deb ...
Unpacking node-minimist (1.2.0-1+deb10u2) ...
Selecting previously unselected package node-strip-json-comments.
Preparing to unpack .../201-node-strip-json-comments_2.0.1-2_all.deb ...
Unpacking node-strip-json-comments (2.0.1-2) ...
Selecting previously unselected package node-rc.
Preparing to unpack .../202-node-rc_1.1.6-2_all.deb ...
Unpacking node-rc (1.1.6-2) ...
Selecting previously unselected package node-registry-url.
Preparing to unpack .../203-node-registry-url_3.1.0-1_all.deb ...
Unpacking node-registry-url (3.1.0-1) ...
Selecting previously unselected package node-registry-auth-token.
Preparing to unpack .../204-node-registry-auth-token_3.3.1-1_all.deb ...
Unpacking node-registry-auth-token (3.3.1-1) ...
Selecting previously unselected package node-package-json.
Preparing to unpack .../205-node-package-json_4.0.1-1_all.deb ...
Unpacking node-package-json (4.0.1-1) ...
Selecting previously unselected package node-latest-version.
Preparing to unpack .../206-node-latest-version_3.1.0-1_all.deb ...
Unpacking node-latest-version (3.1.0-1) ...
Selecting previously unselected package node-lazy-property.
Preparing to unpack .../207-node-lazy-property_1.0.0-3_all.deb ...
Unpacking node-lazy-property (1.0.0-3) ...
Selecting previously unselected package node-lcid.
Preparing to unpack .../208-node-lcid_1.0.0-1_all.deb ...
Unpacking node-lcid (1.0.0-1) ...
Selecting previously unselected package node-validate-npm-package-name.
Preparing to unpack .../209-node-validate-npm-package-name_3.0.0-1_all.deb ...
Unpacking node-validate-npm-package-name (3.0.0-1) ...
Selecting previously unselected package node-npm-package-arg.
Preparing to unpack .../210-node-npm-package-arg_6.0.0-2_all.deb ...
Unpacking node-npm-package-arg (6.0.0-2) ...
Selecting previously unselected package node-require-directory.
Preparing to unpack .../211-node-require-directory_2.1.1-1_all.deb ...
Unpacking node-require-directory (2.1.1-1) ...
Selecting previously unselected package node-require-main-filename.
Preparing to unpack .../212-node-require-main-filename_1.0.1-1_all.deb ...
Unpacking node-require-main-filename (1.0.1-1) ...
Selecting previously unselected package node-which-module.
Preparing to unpack .../213-node-which-module_2.0.0-1_all.deb ...
Unpacking node-which-module (2.0.0-1) ...
Selecting previously unselected package node-mimic-fn.
Preparing to unpack .../214-node-mimic-fn_1.1.0-1_all.deb ...
Unpacking node-mimic-fn (1.1.0-1) ...
Selecting previously unselected package node-mem.
Preparing to unpack .../215-node-mem_1.1.0-1_all.deb ...
Unpacking node-mem (1.1.0-1) ...
Selecting previously unselected package node-os-locale.
Preparing to unpack .../216-node-os-locale_2.0.0-1_all.deb ...
Unpacking node-os-locale (2.0.0-1) ...
Selecting previously unselected package node-yargs-parser.
Preparing to unpack .../217-node-yargs-parser_11.1.1-1+deb10u1_all.deb ...
Unpacking node-yargs-parser (11.1.1-1+deb10u1) ...
Selecting previously unselected package node-yargs.
Preparing to unpack .../218-node-yargs_10.0.3-2_all.deb ...
Unpacking node-yargs (10.0.3-2) ...
Selecting previously unselected package node-libnpx.
Preparing to unpack .../219-node-libnpx_10.2.0+repack-1_all.deb ...
Unpacking node-libnpx (10.2.0+repack-1) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../220-node-lockfile_1.0.4-1_all.deb ...
Unpacking node-lockfile (1.0.4-1) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../221-node-mute-stream_0.0.8-1_all.deb ...
Unpacking node-mute-stream (0.0.8-1) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../222-node-spdx-license-ids_1.2.2-1_all.deb ...
Unpacking node-spdx-license-ids (1.2.2-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../223-node-spdx-correct_1.0.2-1_all.deb ...
Unpacking node-spdx-correct (1.0.2-1) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../224-node-spdx-expression-parse_1.0.4-1_all.deb ...
Unpacking node-spdx-expression-parse (1.0.4-1) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../225-node-validate-npm-package-license_3.0.1-1_all.deb ...
Unpacking node-validate-npm-package-license (3.0.1-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../226-node-normalize-package-data_2.4.0-1_all.deb ...
Unpacking node-normalize-package-data (2.4.0-1) ...
Selecting previously unselected package node-opener.
Preparing to unpack .../227-node-opener_1.4.3-1_all.deb ...
Unpacking node-opener (1.4.3-1) ...
Selecting previously unselected package node-read.
Preparing to unpack .../228-node-read_1.0.7-1_all.deb ...
Unpacking node-read (1.0.7-1) ...
Selecting previously unselected package node-promzard.
Preparing to unpack .../229-node-promzard_0.3.0-1_all.deb ...
Unpacking node-promzard (0.3.0-1) ...
Selecting previously unselected package node-qw.
Preparing to unpack .../230-node-qw_1.0.1-1_all.deb ...
Unpacking node-qw (1.0.1-1) ...
Selecting previously unselected package node-slash.
Preparing to unpack .../231-node-slash_1.0.0-1_all.deb ...
Unpacking node-slash (1.0.0-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../232-node-read-package-json_2.0.13-1_all.deb ...
Unpacking node-read-package-json (2.0.13-1) ...
Selecting previously unselected package node-resolve-from.
Preparing to unpack .../233-node-resolve-from_4.0.0-1_all.deb ...
Unpacking node-resolve-from (4.0.0-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../234-node-retry_0.10.1-1_all.deb ...
Unpacking node-retry (0.10.1-1) ...
Selecting previously unselected package node-semver-diff.
Preparing to unpack .../235-node-semver-diff_2.1.0-2_all.deb ...
Unpacking node-semver-diff (2.1.0-2) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../236-node-sha_2.0.1-1_all.deb ...
Unpacking node-sha (2.0.1-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../237-node-slide_1.1.6-2_all.deb ...
Unpacking node-slide (1.1.6-2) ...
Selecting previously unselected package node-sorted-object.
Preparing to unpack .../238-node-sorted-object_2.0.1-1_all.deb ...
Unpacking node-sorted-object (2.0.1-1) ...
Selecting previously unselected package node-stream-iterate.
Preparing to unpack .../239-node-stream-iterate_1.2.0-4_all.deb ...
Unpacking node-stream-iterate (1.2.0-4) ...
Selecting previously unselected package node-text-table.
Preparing to unpack .../240-node-text-table_0.2.0-2_all.deb ...
Unpacking node-text-table (0.2.0-2) ...
Selecting previously unselected package node-uid-number.
Preparing to unpack .../241-node-uid-number_0.0.6-1_all.deb ...
Unpacking node-uid-number (0.0.6-1) ...
Selecting previously unselected package node-unpipe.
Preparing to unpack .../242-node-unpipe_1.0.0-1_all.deb ...
Unpacking node-unpipe (1.0.0-1) ...
Selecting previously unselected package node-write-file-atomic.
Preparing to unpack .../243-node-write-file-atomic_2.3.0-1_all.deb ...
Unpacking node-write-file-atomic (2.3.0-1) ...
Selecting previously unselected package node-xdg-basedir.
Preparing to unpack .../244-node-xdg-basedir_3.0.0-1_all.deb ...
Unpacking node-xdg-basedir (3.0.0-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../245-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:arm64 (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:arm64 (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 python-pkg-resources (40.8.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-07T22_03_42_963Z-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 4
+ 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 111 packages from 91 contributors in 5.069s
+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package.json package-lock.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******************

Le log n’est toujours pas complet…

Augmentez le nombre de lignes dans la configuration de jeedom > log > log et recommencez

Voici le log mqtt2 en debug, après une désinstallation / installation et avant installation des dépendances:
Le log mqtt2d est alors vide. Note: je viens de m’apercevoir que même une fois le plugin désinstallé, je ne peux pas effacer le log mqtt2d

mqtt2

0000|[2023-10-08 21:57:13]INFO : Début d'activation du plugin
0001|[2023-10-08 21:57:14]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
0002|[2023-10-08 21:57:14]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=mqtt2 function=install callInstallFunction=1
0003|[2023-10-08 22:00:58]ERROR : Impossible de démarrer le démon MQTT Manager, vérifiez les logs

Une fois l’installation des dépendances lancée:
mqtt2d:

0000|internal/modules/cjs/loader.js:638
0001|throw err;
0002|^
0003|Error: Cannot find module 'axios'
0004|at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
0005|at Function.Module._load (internal/modules/cjs/loader.js:562:25)
0006|at Module.require (internal/modules/cjs/loader.js:692:17)
0007|at require (internal/modules/cjs/helpers.js:25:18)
0008|at Object.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
0009|at Module._compile (internal/modules/cjs/loader.js:778:30)
0010|at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
0011|at Module.load (internal/modules/cjs/loader.js:653:32)
0012|at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
0013|at Function.Module._load (internal/modules/cjs/loader.js:585:3)
0014|internal/modules/cjs/loader.js:638
0015|throw err;
0016|^
0017|Error: Cannot find module 'axios'
0018|at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
0019|at Function.Module._load (internal/modules/cjs/loader.js:562:25)
0020|at Module.require (internal/modules/cjs/loader.js:692:17)
0021|at require (internal/modules/cjs/helpers.js:25:18)
0022|at Object.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
0023|at Module._compile (internal/modules/cjs/loader.js:778:30)
0024|at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
0025|at Module.load (internal/modules/cjs/loader.js:653:32)
0026|at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
0027|at Function.Module._load (internal/modules/cjs/loader.js:585:3)

et mqtt2_packages
Fichier joint car limité en caractères
mqtt2_packages.txt (136,0 Ko)

Plein de courage pour la lecture :face_with_monocle:
A la fin, j’ai toujours Installation en cours - 3 % - 5 min

tapez ceci en ssh :

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280

puis relancez

J’ai craqué, j’ai fait un reset complet. Je reviens poster suivant le résultat ou cloturer le fil.

Me voilà maintenant avec un echec du recovery… Je poste un ticket.

Bonsoir,
je relance le sujet car j’ai un pb similaire: les dépendances ne parviennent pas à s’installer:

log:

 Accueil 
 Analyse 
 Outils 
 Plugins 
 Réglages 
20:40:28
JSR
 MQTT Manager (mqtt2) - stable
 Etat

StatutActifAction

CatégorieProgrammationSourcemarket
AuteurJeedom SASVersion 2023-10-27 16:04:40
LicenseAGPLPrérequis 4.2
 Logs et surveillance

Niveau logAucunDefautDebugInfoWarningError
Logs  
Heartbeat (min)
Redémarrer démon
 Dépendances
Nom	Statut	Installation	Gestion automatique	Dernière installation
Local	 Installation en cours - 2 % - 0 min			2023-10-31 20:40:03
 Démon
Nom	Statut	Configuration	(Re)Démarrer	Arrêter	Gestion automatique	Dernier lancement
Local	NOK	OK				2023-10-31 20:40:04
 Configuration

Mode 
Broker local
Broker Mosquitto   
Etat Broker MosquittoOK
Authentification 
jeedom:2O0hYsRLXmlwmUmggyRaAsVl5PPWRdZ4EO64nh7MKOtLGEKnGI5yaNCBBrkL9hwW
Port socket interne 
55035
Cycle (secondes) 
0.3

Topic racine Jeedom 
jeedom
Transmettre tous les évènements 
Template de publication 
QOS par defaut 
QOS 0 (défaut)
Plugins abonnés 
Paramètres Mosquitto 
per_listener_settings true

listener 1883
persistence false
allow_anonymous false
password_file /var/www/html/plugins/mqtt2/core/class/../../data/passwords

listener 8883
persistence false
password_file /var/www/html/plugins/mqtt2/core/class/../../data/passwords
allow_anonymous false
cafile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/ca.crt
certfile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/mosquitto.crt
keyfile /var/www/html/plugins/mqtt2/core/class/../../data/ssl/mosquitto.key
require_certificate true
 Fonctionnalités

interactNon
cronNon
cron5Non
cron10Non
cron15Non
cron30Non
cronHourlyNon
cronDailyNon
deadcmdNon
healthNon
Log du plugin mqtt2d
Log brut  
Rechercher
 

internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
sudo: /usr/bin/node: command not found
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
sudo: /usr/bin/node: command not found
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'axios'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/www/html/plugins/mqtt2/resources/mqtt2d/jeedom/jeedom.js:17:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)

y a t’il quelque chose à faire pour solutionner ceci ?
Merci

(Jeedom Smart V4.3.18)

Bonjour,

Déjà commencer à donner le log packages ou dépendances si elles ne s’installent pas car l’autre log montre juste qu’elles sont pas installées donc pas vraiment utile :slight_smile:

Je viens de réessayer après la mise à jour de Jeedom de ce matin et ça fonctionne.

je poste quand même les logs au cas ou:

+ 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
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://download.docker.com/linux/debian buster InRelease
Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:5 https://oph.mdrjr.net/meveric all InRelease
Hit:6 https://oph.mdrjr.net/meveric buster InRelease
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
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+deb10u3).
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
[Check Version NodeJS actuelle : v10.24.0 : [  KO  ]
Installation de NodeJS 18
Utilisation du dépot officiel
rm: cannot remove '/etc/apt/keyrings/nodesource.gpg': No such file or directory
rm: cannot remove '/etc/apt/sources.list.d/nodesource.list': No such file or directory
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://download.docker.com/linux/debian buster InRelease
Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
Hit:6 https://oph.mdrjr.net/meveric all InRelease
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Get:8 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [6123 B]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
Need to get 28.7 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_18.x nodistro/main arm64 nodejs arm64 18.18.2-1nodesource1 [28.7 MB]
Fetched 28.7 MB in 3s (9176 kB/s)
Selecting previously unselected package nodejs.
(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 ... 80021 files and directories currently installed.)
Preparing to unpack .../nodejs_18.18.2-1nodesource1_arm64.deb ...
Unpacking nodejs (18.18.2-1nodesource1) ...
Setting up nodejs (18.18.2-1nodesource1) ...
[Check Version NodeJS après install : v18.18.2 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Hit:3 https://download.docker.com/linux/debian buster InRelease
Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:6 https://oph.mdrjr.net/meveric all InRelease
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
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+deb10u3).
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
[Check Version NodeJS actuelle : v18.18.2 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 4
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo npm install
added 115 packages, and audited 116 packages in 19s
18 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 9.8.1 -> 10.2.2
npm notice Changelog: 
npm notice Run `npm install -g npm@10.2.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
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bonjour,

voir ici : Impossibilité d'installer les dépendances mqtt - #4 par akenad

akenad :slight_smile:

1 « J'aime »