Souci de démon depuis mise a jour de z-wave js

Bonjour,

Depuis la mise a jour du plugin, impossible de redémarrer le démon.
(MQTT a bien été relancé).

Merci d’avance,

Log zwavejsd

0735|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0736|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0737|yarn run v1.22.22
0738|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0739|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0740|yarn run v1.22.22
0741|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0742|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0743|yarn run v1.22.22
0744|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0745|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0746|yarn run v1.22.22
0747|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0748|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Log zwavejs-package

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_zwavejs
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0007|+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
0008|Pre installation de l'installation/mise à jour des dépendances zwavejs
0009|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
0010|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0011|++ pwd
0012|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0013|+ cd /var/www/html/plugins/zwavejs/resources
0014|+ source ../core/config/zwavejs.config.ini
0015|+ echo 'Wanted Version: 9.12.0'
0016|Wanted Version: 9.12.0
0017|+ rm -R zwave-js-ui
0018|rm: cannot remove 'zwave-js-ui/node_modules': Directory not empty
0019|+ git clone --branch v9.12.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
0020|fatal: destination path 'zwave-js-ui' already exists and is not an empty directory.
0021|+ echo 'Pre install finished'
0022|Pre install finished
0023|+ echo 3
0024|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0025|error Error: ENOENT: no such file or directory, copyfile '/usr/local/share/.cache/yarn/v6/npm-@babel-parser-7.24.6-5e030f440c3c6c78d195528c3b688b101a365328-integrity/node_modules/@babel/parser/CHANGELOG.md' -> '/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/@babel/parser/CHANGELOG.md'
0026|info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
0027|+ sudo yarn run build
0028|yarn run v1.22.22
0029|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0030|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0031|+ chown -R www-data:www-data node_modules
0032|+ '[' -e /dev/ttyAMA0 ']'
0033|+ '[' -e /dev/ttymxc0 ']'
0034|+ '[' -e /dev/ttyAMA0 ']'
0035|++ grep Revision /proc/cpuinfo
0036|++ tr -d ' '
0037|++ cut -d: -f2
0038|+ RPI_BOARD_REVISION=
0039|+ [[ '' == a\8 ]]
0040|+ [[ '' == a\8 ]]
0041|+ [[ '' == a\d ]]
0042|+ echo 'Everything is successfully installed!'
0043|Everything is successfully installed!
0044|+ echo 11
0045|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0046|+ echo 12
0047|+ rm /tmp/jeedom_install_in_progress_zwavejs
0048|+ echo '*******************End of package installation******************'
0049|*******************End of package installation******************
0050|ls: cannot access '/tmp/jeedom_install_in_progress*': No such file or directory
0051|warning: commands will be executed using /bin/sh
0052|job 63 at Sun May 26 15:09:00 2024
0053|+ echo 4
0054|+ sudo killall apt apt-get unattended-upgr
0055|apt: no process found
0056|unattended-upgr: no process found
0057|+ sudo rm /var/lib/apt/lists/lock
0058|+ sudo rm /var/cache/apt/archives/lock
0059|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0060|+ sudo sudo dpkg --configure -a --force-confdef
0061|+ sudo apt update
0062|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0063|Hit:1 https://deb.debian.org/debian bullseye InRelease
0064|Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
0065|Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
0066|Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
0067|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0068|Reading package lists...
0069|Building dependency tree...
0070|Reading state information...
0071|1 package can be upgraded. Run 'apt list --upgradable' to see it.
0072|+ echo 5
0073|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0074|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0075|Hit:1 https://deb.debian.org/debian bullseye InRelease
0076|Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
0077|Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
0078|Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
0079|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0080|Reading package lists...
0081|E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1654868 (apt-get)
0082|E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
0083|[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
0084|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0085|+ echo 6
0086|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0087|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0088|Hit:1 https://deb.debian.org/debian bullseye InRelease
0089|Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
0090|Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
0091|Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
0092|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0093|Reading package lists...
0094|Reading package lists...
0095|Building dependency tree...
0096|Reading state information...
0097|apt-utils is already the newest version (2.2.4).
0098|build-essential is already the newest version (12.9).
0099|git is already the newest version (1:2.30.2-1+deb11u2).
0100|lsb-release is already the newest version (11.1.0).
0101|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0102|[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
0103|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0104|+ echo 7
0105|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0106|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0107|Hit:1 https://deb.debian.org/debian bullseye InRelease
0108|Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
0109|Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
0110|Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
0111|Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
0112|Reading package lists...
0113|Reading package lists...
0114|Building dependency tree...
0115|Reading state information...
0116|apt-utils is already the newest version (2.2.4).
0117|build-essential is already the newest version (12.9).
0118|git is already the newest version (1:2.30.2-1+deb11u2).
0119|lsb-release is already the newest version (11.1.0).
0120|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0121|[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
0122|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0123|+ echo 8
0124|+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
0125|+ sudo /var/www/html/core/class/../../resources/install_composer.sh
0126|Begin installation of composer
0127|--2024-05-26 15:11:23--  https://getcomposer.org/installer
0128|Resolving getcomposer.org (getcomposer.org)... 54.36.53.46, 2001:41d0:302:1100::8:104f
0129|Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
0130|HTTP request sent, awaiting response... 200 OK
0131|Length: 58444 (57K) [application/octet-stream]
0132|Saving to: 'composer-setup.php'
0133|0K .......... .......... .......... .......... .......... 87% 2.51M 0s
0134|50K .......                                               100% 19.7M=0.02s
0135|2024-05-26 15:11:23 (2.82 MB/s) - 'composer-setup.php' saved [58444/58444]
0136|All settings correct for using Composer
0137|Downloading...
0138|Composer (version 2.7.6) successfully installed to: /var/www/html/core/ajax/composer.phar
0139|Use it: php composer.phar
0140|End installation of composer
0141|+ echo 9
0142|+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install --force -g yarn
0143|npm WARN using --force Recommended protections disabled.
0144|changed 1 package in 6s
0145|+ echo 10
0146|+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0147|+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0148|+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
0149|Post installation de l'installation/mise à jour des dépendances zwavejs
0150|+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
0151|++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
0152|++ pwd
0153|+ BASEDIR=/var/www/html/plugins/zwavejs/resources
0154|+ cd /var/www/html/plugins/zwavejs/resources
0155|+ cd zwave-js-ui
0156|+ sudo yarn install
0157|yarn install v1.22.22
0158|info No lockfile found.
0159|[1/4] Resolving packages...
0160|[2/4] Fetching packages...
0161|[3/4] Linking dependencies...
0162|[4/4] Building fresh packages...
0163|success Saved lockfile.
0164|Done in 2.69s.
0165|+ sudo yarn run build
0166|yarn run v1.22.22
0167|error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources/zwave-js-ui"
0168|info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
0169|+ chown -R www-data:www-data node_modules yarn.lock
0170|+ '[' -e /dev/ttyAMA0 ']'
0171|+ '[' -e /dev/ttymxc0 ']'
0172|+ '[' -e /dev/ttyAMA0 ']'
0173|++ tr -d ' '
0174|++ cut -d: -f2
0175|++ grep Revision /proc/cpuinfo
0176|+ RPI_BOARD_REVISION=
0177|+ [[ '' == a\8 ]]
0178|+ [[ '' == a\8 ]]
0179|+ [[ '' == a\d ]]
0180|+ echo 'Everything is successfully installed!'
0181|Everything is successfully installed!
0182|+ echo 11
0183|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
0184|+ echo 12
0185|+ rm /tmp/jeedom_install_in_progress_zwavejs
0186|+ echo '*******************End of package installation******************'
0187|*******************End of package installation******************


Informations Jeedom Luna

Core : 4.4.6 (V4-stable)
DNS Jeedom Luna : oui

Plugin : Z-Wave JS
Version : 2024-05-21 01:03:16 (stable)
Statut Démon : Stoppé - (2024-05-28 07:00:16)

Bonjour,

Même problème sur smart
image

J’ai tenté une restauration mais impossible de redémarrer.
J’ai lu des propositions de dépannage mais sans explications détaillées.
Mon niveau de compétences étant « papy bricolo » si quelqu’un pouvait proposer une solution détaillée pour résoudre ce problème il en serait bénît :innocent:

Bon @Rejo007 j’y suis arrivé çà remarche

J’ai fait plein de trucs et touché a des boutons pi ça remarche :clap:

Redémarrage JEEDOM

configuration–> OS/DB -->Administration syst–>install nodeJS
Configuration–>OS/DB–>Verification générale
Redémarrage des dependances Zwave JS
redémarrage demon MQTT Man

Attendre 5 mn relancer attendre 5 mn relancer
redemarrage demon ZwaveJS
attendre 10 mn

bin çà marche
Bon courage

Merci,
J’ai restauré une sauvegarde d’avant mise a jour.
Tout est ok aussi.
Belle journée,

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.