Le daemon ne se lance plus suite reboot

Bonjour à tous,

petit nouveau sur le forum, mais utilisateur assidu depuis plus d’un an, je recontre un gros soucis avec le plugin Ikea.
Mon Jeedom (4.1.19) est installé sur une VM en Buster, ayant du redémarrer mon serveur pour cause de MàJ, ma VM s’est coupée précipitamment et au redémarrage le plug in Ikea ne fonctionnait plus.

La réinstallation des dépendances n’y a rien fait.

Je laisse ici les logs des dépendances.

Merci pour vos idées.

********************************************************
*             Installation des dépendances             *
********************************************************
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian stretch Release
Hit:4 http://ftp.fr.debian.org/debian buster InRelease
Hit:5 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:6 https://deb.nodesource.com/node_14.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Version actuelle : 14
Ok, version suffisante
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs (>= 6.11~) but it is not going to be installed
       Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
       Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
       Depends: node-ansistyles (>= 0.1.3~) but it is not going to be installed
       Depends: node-aproba (>= 1.2~) but it is not going to be installed
       Depends: node-archy (>= 1.0~) but it is not going to be installed
       Depends: node-cacache (>= 10.0.4~) but it is not going to be installed
       Depends: node-bluebird (>= 3.5.1~) but it is not going to be installed
       Depends: node-call-limit (>= 1.1~) but it is not going to be installed
       Depends: node-chownr (>= 1.0.1~) but it is not going to be installed
       Depends: node-config-chain (>= 1.1.11~) but it is not going to be installed
       Depends: node-detect-indent (>= 5.0~) but it is not going to be installed
       Depends: node-detect-newline (>= 2.1~) but it is not going to be installed
       Depends: node-editor (>= 1.0~) but it is not going to be installed
       Depends: node-fs-vacuum (>= 1.2.10~) but it is not going to be installed
       Depends: node-fs-write-stream-atomic (>= 1.0.10~) but it is not going to be installed
       Depends: node-glob (>= 7.1.2~) but it is not going to be installed
       Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
       Depends: node-has-unicode (>= 2.0.1~) but it is not going to be installed
       Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
       Depends: node-iferr (>= 0.1.5~) but it is not going to be installed
       Depends: node-inflight (>= 1.0.6~) but it is not going to be installed
       Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
       Depends: node-ini (>= 1.3.5~) but it is not going to be installed
       Depends: node-npm-package-arg but it is not going to be installed
       Depends: node-promzard but it is not going to be installed
       Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
       Depends: node-json-parse-better-errors (>= 1.0.1~) but it is not going to be installed
       Depends: node-lazy-property (>= 1.0~) but it is not going to be installed
       Depends: node-libnpx (>= 10.0.1~) but it is not going to be installed
       Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
       Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
       Depends: node-mississippi (>= 3.0~) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-move-concurrently (>= 1.0.1~) but it is not going to be installed
       Depends: node-nopt but it is not going to be installed
       Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
       Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
       Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
       Depends: node-encoding but it is not going to be installed
       Depends: node-errno but it is not going to be installed
       Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
       Depends: node-once (>= 1.4~) but it is not going to be installed
       Depends: node-opener (>= 1.4.3~) but it is not going to be installed
       Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
       Depends: node-path-is-inside (>= 1.0.2~) but it is not going to be installed
       Depends: node-promise-inflight (>= 1.0.1~) but it is not going to be installed
       Depends: node-ansi but it is not going to be installed
       Depends: node-qw (>= 1.0.1~) but it is not going to be installed
       Depends: node-read (>= 1.0.7~) but it is not going to be installed
       Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
       Depends: node-request (>= 2.83~) but it is not going to be installed
       Depends: node-retry (>= 0.10.1~) but it is not going to be installed
       Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
       Depends: node-safe-buffer (>= 5.1.1~) but it is not going to be installed
       Depends: node-semver (>= 5.5~) but it is not going to be installed
       Depends: node-sha (>= 2.0.1~) but it is not going to be installed
       Depends: node-slide (>= 1.1.6~) but it is not going to be installed
       Depends: node-sorted-object (>= 2.0.1~) but it is not going to be installed
       Depends: node-from2 but it is not going to be installed
       Depends: node-stream-iterate but it is not going to be installed
       Depends: node-ssri (>= 5.2.4~) but it is not going to be installed
       Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
       Depends: node-tar (>= 4.4~) but it is not going to be installed
       Depends: node-text-table (>= 0.2~) but it is not going to be installed
       Depends: node-uid-number (>= 0.0.6~) but it is not going to be installed
       Depends: node-unique-filename (>= 1.1~) but it is not going to be installed
       Depends: node-unpipe (>= 1.0~) but it is not going to be installed
       Depends: node-boxen (>= 1.2.1~) but it is not going to be installed
       Depends: node-import-lazy but it is not going to be installed
       Depends: node-is-npm (>= 1.0~) but it is not going to be installed
       Depends: node-latest-version (>= 3.0~) but it is not going to be installed
       Depends: node-semver-diff (>= 2.0~) but it is not going to be installed
       Depends: node-xdg-basedir (>= 3.0~) but it is not going to be installed
       Depends: node-validate-npm-package-name (>= 3.0~) but it is not going to be installed
       Depends: node-which (>= 1.3~) but it is not going to be installed
       Depends: node-wrappy (>= 1.0.2~) but it is not going to be installed
       Depends: node-write-file-atomic (>= 2.3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN notsup Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"14.16.0","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: node-aead-crypto@2.2.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ node-tradfri-client@2.2.0
added 14 packages from 16 contributors and audited 78 packages in 10.426s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ fs@0.0.1-security
added 1 package and audited 87 packages in 4.509s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ request@2.88.2
added 46 packages from 57 contributors and audited 131 packages in 8.611s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ express@4.17.1
added 55 packages from 35 contributors and audited 204 packages in 9.531s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

********************************************************
*             Installation terminée                    *
********************************************************

Bonjour,

De ce que je comprend dans ce fichier de log, vous avez migré de Debian Strech à Debian Buster.
- Ce qui n’est pas recommandé pour les débutants.
Car en procédant ainsi, tout ce ne mets pas à jour (php / mariaDB …)

Conseil : Externalisez vos sauvegardes Jeedom et refaite une VM toute propre directement en Buster x64.

Bonjour Fabrice,

merci beaucoup pour ce premier retour, pourtant la mise à jour vers Buster n’est pas récente.

N’y a t’il pas d’autres possibilités que de repartir de zéro ?

Merci :slight_smile:

Bonjour,

Si, il y a des solutions, mais pour « expert » (ce que je ne suis pas).
Genre : supprimer tout PHP et réinstaller tout PHP (il faut mieux connaitre).

C’est vraiment le plus rapide / simple de procéder à une réinstallation.
D’autant que, Jeedom propose une image d’installation toute faite : installation : 5 minutes !
Il n’y plus qu’a restaurer et installer les dépendances des plugins.

Très bien, bon je vais prendre mon courage à deux mains dans ce cas…

Bon WE !

Partez sur l’image toute faite de Jeedom.

Bon, j’ai tout réinstallé et pareil, ça a fonctionné une fois puis deamon dans le lac, j’ai une forte impression que les dépendances d’un autre plugin mettent par terre celles d’Ikealightd. :frowning:

Je mets les logs du plugin :

internal/fs/utils.js:779
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (2664)
    at Object.writeFile (fs.js:1436:5)
    at Object.Jeedom.write_pid (/var/www/html/plugins/ikealight/resources/ikealightd/jeedom/jeedom.js:70:6)
    at Object.<anonymous> (/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js:38:8)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'ERR_INVALID_ARG_TYPE'
}
[2021-04-02 14:25:15][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le log

Je journal d’installation des dépendances ne contient aucune erreur ou Waring ?

Fabrice,

lorsque j’ai monté la nouvelle VM, à la première installation des dépendances j’ai eu ces logs :

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.fr.debian.org/debian buster InRelease
Hit:3 http://ftp.fr.debian.org/debian buster-updates InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Nodejs non installé
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
/var/www/html/plugins/ikealight/core/class/../../resources/install_apt.sh: line 31: $LOG: ambiguous redirect
Utilisation du dépot officiel

## Installing the NodeSource Node.js 12.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Hit:2 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists...

## Confirming "buster" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null

## Creating apt sources list file for the NodeSource Node.js 12.x repo...

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Hit:2 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Get:4 https://deb.nodesource.com/node_12.x buster InRelease [4584 B]
Get:5 https://deb.nodesource.com/node_12.x buster/main amd64 Packages [767 B]
Fetched 5351 B in 2s (2169 B/s)
Reading package lists...


## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn


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 2 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 93.6 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_12.x buster/main amd64 nodejs amd64 12.22.0-1nodesource1 [18.2 MB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 18.2 MB in 5s (3531 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 ... 59813 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.0-1nodesource1_amd64.deb ...
Unpacking nodejs (12.22.0-1nodesource1) ...
Setting up nodejs (12.22.0-1nodesource1) ...
Processing triggers for man-db (2.8.5-2) ...
Version actuelle : v12.22.0
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs (>= 6.11~) but it is not going to be installed
       Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
       Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
       Depends: node-ansistyles (>= 0.1.3~) but it is not going to be installed
       Depends: node-aproba (>= 1.2~) but it is not going to be installed
       Depends: node-archy (>= 1.0~) but it is not going to be installed
       Depends: node-cacache (>= 10.0.4~) but it is not going to be installed
       Depends: node-bluebird (>= 3.5.1~) but it is not going to be installed
       Depends: node-call-limit (>= 1.1~) but it is not going to be installed
       Depends: node-chownr (>= 1.0.1~) but it is not going to be installed
       Depends: node-config-chain (>= 1.1.11~) but it is not going to be installed
       Depends: node-detect-indent (>= 5.0~) but it is not going to be installed
       Depends: node-detect-newline (>= 2.1~) but it is not going to be installed
       Depends: node-editor (>= 1.0~) but it is not going to be installed
       Depends: node-fs-vacuum (>= 1.2.10~) but it is not going to be installed
       Depends: node-fs-write-stream-atomic (>= 1.0.10~) but it is not going to be installed
       Depends: node-glob (>= 7.1.2~) but it is not going to be installed
       Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
       Depends: node-has-unicode (>= 2.0.1~) but it is not going to be installed
       Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
       Depends: node-iferr (>= 0.1.5~) but it is not going to be installed
       Depends: node-inflight (>= 1.0.6~) but it is not going to be installed
       Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
       Depends: node-ini (>= 1.3.5~) but it is not going to be installed
       Depends: node-npm-package-arg but it is not going to be installed
       Depends: node-promzard but it is not going to be installed
       Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
       Depends: node-json-parse-better-errors (>= 1.0.1~) but it is not going to be installed
       Depends: node-lazy-property (>= 1.0~) but it is not going to be installed
       Depends: node-libnpx (>= 10.0.1~) but it is not going to be installed
       Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
       Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
       Depends: node-mississippi (>= 3.0~) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-move-concurrently (>= 1.0.1~) but it is not going to be installed
       Depends: node-nopt but it is not going to be installed
       Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
       Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
       Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
       Depends: node-encoding but it is not going to be installed
       Depends: node-errno but it is not going to be installed
       Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
       Depends: node-once (>= 1.4~) but it is not going to be installed
       Depends: node-opener (>= 1.4.3~) but it is not going to be installed
       Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
       Depends: node-path-is-inside (>= 1.0.2~) but it is not going to be installed
       Depends: node-promise-inflight (>= 1.0.1~) but it is not going to be installed
       Depends: node-ansi but it is not going to be installed
       Depends: node-qw (>= 1.0.1~) but it is not going to be installed
       Depends: node-read (>= 1.0.7~) but it is not going to be installed
       Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
       Depends: node-request (>= 2.83~) but it is not going to be installed
       Depends: node-retry (>= 0.10.1~) but it is not going to be installed
       Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
       Depends: node-safe-buffer (>= 5.1.1~) but it is not going to be installed
       Depends: node-semver (>= 5.5~) but it is not going to be installed
       Depends: node-sha (>= 2.0.1~) but it is not going to be installed
       Depends: node-slide (>= 1.1.6~) but it is not going to be installed
       Depends: node-sorted-object (>= 2.0.1~) but it is not going to be installed
       Depends: node-from2 but it is not going to be installed
       Depends: node-stream-iterate but it is not going to be installed
       Depends: node-ssri (>= 5.2.4~) but it is not going to be installed
       Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
       Depends: node-tar (>= 4.4~) but it is not going to be installed
       Depends: node-text-table (>= 0.2~) but it is not going to be installed
       Depends: node-uid-number (>= 0.0.6~) but it is not going to be installed
       Depends: node-unique-filename (>= 1.1~) but it is not going to be installed
       Depends: node-unpipe (>= 1.0~) but it is not going to be installed
       Depends: node-boxen (>= 1.2.1~) but it is not going to be installed
       Depends: node-import-lazy but it is not going to be installed
       Depends: node-is-npm (>= 1.0~) but it is not going to be installed
       Depends: node-latest-version (>= 3.0~) but it is not going to be installed
       Depends: node-semver-diff (>= 2.0~) but it is not going to be installed
       Depends: node-xdg-basedir (>= 3.0~) but it is not going to be installed
       Depends: node-validate-npm-package-name (>= 3.0~) but it is not going to be installed
       Depends: node-which (>= 1.3~) but it is not going to be installed
       Depends: node-wrappy (>= 1.0.2~) but it is not going to be installed
       Depends: node-write-file-atomic (>= 2.3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN notsup Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"12.22.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: node-aead-crypto@2.2.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ node-tradfri-client@2.2.0
added 14 packages from 16 contributors and audited 78 packages in 136.07s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities


> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ fs@0.0.1-security
added 1 package and audited 87 packages in 14.944s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ request@2.88.2
added 46 packages from 57 contributors and audited 131 packages in 42.317s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js
node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ express@4.17.1
added 55 packages from 35 contributors and audited 204 packages in 114.903s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

********************************************************
*             Installation terminée                    *
********************************************************

Ensuite, lorsque j’ai rebooté et que le daemon est tombé, j’ai relancé l’installation des dépendances et j’ai obtenu cela :

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://ftp.fr.debian.org/debian buster InRelease
Get:2 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Fetched 51.9 kB in 2s (29.2 kB/s)
Reading package lists...

Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Version actuelle : 14
Ok, version suffisante
Reading package lists...
Building dependency tree...

Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs (>= 6.11~) but it is not going to be installed
       Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
       Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
       Depends: node-ansistyles (>= 0.1.3~) but it is not going to be installed
       Depends: node-aproba (>= 1.2~) but it is not going to be installed
       Depends: node-archy (>= 1.0~) but it is not going to be installed
       Depends: node-cacache (>= 10.0.4~) but it is not going to be installed
       Depends: node-bluebird (>= 3.5.1~) but it is not going to be installed
       Depends: node-call-limit (>= 1.1~) but it is not going to be installed
       Depends: node-chownr (>= 1.0.1~) but it is not going to be installed
       Depends: node-config-chain (>= 1.1.11~) but it is not going to be installed
       Depends: node-detect-indent (>= 5.0~) but it is not going to be installed
       Depends: node-detect-newline (>= 2.1~) but it is not going to be installed
       Depends: node-editor (>= 1.0~) but it is not going to be installed
       Depends: node-fs-vacuum (>= 1.2.10~) but it is not going to be installed
       Depends: node-fs-write-stream-atomic (>= 1.0.10~) but it is not going to be installed
       Depends: node-glob (>= 7.1.2~) but it is not going to be installed
       Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
       Depends: node-has-unicode (>= 2.0.1~) but it is not going to be installed
       Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
       Depends: node-iferr (>= 0.1.5~) but it is not going to be installed
       Depends: node-inflight (>= 1.0.6~) but it is not going to be installed
       Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
       Depends: node-ini (>= 1.3.5~) but it is not going to be installed
       Depends: node-npm-package-arg but it is not going to be installed
       Depends: node-promzard but it is not going to be installed
       Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
       Depends: node-json-parse-better-errors (>= 1.0.1~) but it is not going to be installed
       Depends: node-lazy-property (>= 1.0~) but it is not going to be installed
       Depends: node-libnpx (>= 10.0.1~) but it is not going to be installed
       Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
       Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
       Depends: node-mississippi (>= 3.0~) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-move-concurrently (>= 1.0.1~) but it is not going to be installed
       Depends: node-nopt but it is not going to be installed
       Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
       Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
       Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
       Depends: node-encoding but it is not going to be installed
       Depends: node-errno but it is not going to be installed
       Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
       Depends: node-once (>= 1.4~) but it is not going to be installed
       Depends: node-opener (>= 1.4.3~) but it is not going to be installed
       Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
       Depends: node-path-is-inside (>= 1.0.2~) but it is not going to be installed
       Depends: node-promise-inflight (>= 1.0.1~) but it is not going to be installed
       Depends: node-ansi but it is not going to be installed
       Depends: node-qw (>= 1.0.1~) but it is not going to be installed
       Depends: node-read (>= 1.0.7~) but it is not going to be installed
       Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
       Depends: node-request (>= 2.83~) but it is not going to be installed
       Depends: node-retry (>= 0.10.1~) but it is not going to be installed
       Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
       Depends: node-safe-buffer (>= 5.1.1~) but it is not going to be installed
       Depends: node-semver (>= 5.5~) but it is not going to be installed
       Depends: node-sha (>= 2.0.1~) but it is not going to be installed
       Depends: node-slide (>= 1.1.6~) but it is not going to be installed
       Depends: node-sorted-object (>= 2.0.1~) but it is not going to be installed
       Depends: node-from2 but it is not going to be installed
       Depends: node-stream-iterate but it is not going to be installed
       Depends: node-ssri (>= 5.2.4~) but it is not going to be installed
       Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
       Depends: node-tar (>= 4.4~) but it is not going to be installed
       Depends: node-text-table (>= 0.2~) but it is not going to be installed
       Depends: node-uid-number (>= 0.0.6~) but it is not going to be installed
       Depends: node-unique-filename (>= 1.1~) but it is not going to be installed
       Depends: node-unpipe (>= 1.0~) but it is not going to be installed
       Depends: node-boxen (>= 1.2.1~) but it is not going to be installed
       Depends: node-import-lazy but it is not going to be installed
       Depends: node-is-npm (>= 1.0~) but it is not going to be installed
       Depends: node-latest-version (>= 3.0~) but it is not going to be installed
       Depends: node-semver-diff (>= 2.0~) but it is not going to be installed
       Depends: node-xdg-basedir (>= 3.0~) but it is not going to be installed
       Depends: node-validate-npm-package-name (>= 3.0~) but it is not going to be installed
       Depends: node-which (>= 1.3~) but it is not going to be installed
       Depends: node-wrappy (>= 1.0.2~) but it is not going to be installed
       Depends: node-write-file-atomic (>= 2.3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN notsup Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"14.16.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: node-aead-crypto@2.2.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ node-tradfri-client@2.2.0
added 14 packages from 16 contributors and audited 78 packages in 17.888s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ fs@0.0.1-security
added 1 package and audited 87 packages in 6.607s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ request@2.88.2
added 46 packages from 57 contributors and audited 131 packages in 11.359s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> node-aead-crypto@2.2.0 preinstall /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ express@4.17.1
added 55 packages from 35 contributors and audited 204 packages in 13.426s

7 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

********************************************************
*             Installation terminée                    *
********************************************************

J’ai l’impression que les sources d’installation du plugin sont comme obsolètes.

Je n’arrive pas à comprendre d’où cela peut venir. :frowning:

Bonjour,
J’ai la même erreur js internal/fs/utils.js:779 avec Google Smarthome (gsh) - stable 2021-03-03 01:04:20 V3.2.1 depuis hier.

Bonjour à tous les deux.

Je vois que NodeJS est en train de passer de la version 12 à 14.

Je suggère d’attendre les retours des développeurs sur ces points là.
Suivez les fils dédiés à vos plugins pour voir l’avancement de cette situation.

1 « J'aime »

Bonjour Fabrice,

merci oui je vais donc attendre, en attendant j’ai basculé la gestion de mes Ikea sur un PI4 esclave, là ça tourne nickel.

Bon WE

Nodejs est en effet passé de 12 à 14 depuis avril.

Mais vous aviez déjà le problème en 12 de ce que je vois donc pas de lien je pense…

Bj,
Pour ma part le problème est arrivé dans ces eaux là. J’imagine que d’autres auront le problème…
Je vais attendre pas de problème.

Bj,
Pour info: Maj gsh avec passage en NodeJS 14 OK

Bonjour,

je viens d’installer la Beta de ce jour, le daemon ne se lance toujours pas…



internal/fs/utils.js:779
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (30651)
    at Object.writeFile (fs.js:1436:5)
    at Object.Jeedom.write_pid (/var/www/html/plugins/ikealight/resources/ikealightd/jeedom/jeedom.js:70:6)
    at Object.<anonymous> (/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js:38:8)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'ERR_INVALID_ARG_TYPE'
}
[2021-04-06 09:43:32][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le log

Bonjour,

Vous avez aussi relancé une installation des dépendances du plugin ?

Bonjour,
Es tu sur de bien etre a jour ? Je viens de verifier et que ca soit le beta ou la stable ya bien la correction pour ce soucis.

Bonjour
j’ai le même souci sur PI4 à jour et JEEDOM 4.1.22 …

Mettez à jour le plugin, le problème semble corrigé.