Je viens de faire la dernière mise à jour de zwavejs et depuis il refuse de démarrer. J’ai des erreurs dans le log d’installation des dépendances mais je ne sais pas si c’est grave ou pas:
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_zwavejs
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
+ echo 'Pre installation de l'\''installation/mise à jour des dépendances zwavejs'
Pre installation de l'installation/mise à jour des dépendances zwavejs
+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/pre_install.sh
++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/zwavejs/resources
+ cd /var/www/html/plugins/zwavejs/resources
+ source ../core/config/zwavejs.config.ini
+ echo 'Wanted Version: 8.25.1'
Wanted Version: 8.25.1
+ rm -R zwave-js-ui
+ git clone --branch v8.25.1 --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
Note: checking out '9b831e2df121bf0e4ae80a0753dfe603d1855d65'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
+ echo 'Pre install finished'
Pre install finished
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
+ echo 'Post installation de l'\''installation/mise à jour des dépendances zwavejs'
Post installation de l'installation/mise à jour des dépendances zwavejs
+++ dirname /var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh
++ cd /var/www/html/core/class/../../plugins/zwavejs/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/zwavejs/resources
+ cd /var/www/html/plugins/zwavejs/resources
+ cd zwave-js-ui
+ sudo yarn install
➤ YN0000: ┌ Resolution step
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide @babel/core (pd92f5), requested by @babel/register
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide @egjs/hammerjs (pb72e2), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide component-emitter (p9f27e), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide esbuild (pf84f9), requested by esbuild-register
➤ YN0060: │ zwave-js-ui@workspace:. provides eslint (p560d0) with version 8.36.0, which doesn't satisfy what eslint-loader requests
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide keycharm (p9e48c), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide postcss (pce5b2), requested by autoprefixer
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide postcss (p6ab14), requested by postcss-import
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide postcss (peb2b3), requested by postcss-url
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide timsort (pd6433), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide uuid (pe7f05), requested by vis-data
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide uuid (p57e35), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide vis-util (p1f15e), requested by vis-data
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide vis-util (p6ebf7), requested by vis-network
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide webpack (p76062), requested by eslint-loader
➤ YN0002: │ zwave-js-ui@workspace:. doesn't provide webpack (pad391), requested by mini-css-extract-plugin
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed in 5s 113ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 13s 54ms
➤ YN0000: ┌ Link step
+ sudo yarn run build
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] ...
+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md app.ts bin certs config docker docs genereteDocs.ts hass index.html kubernetes kustomization.yaml lib node_modules nodemon.json package.json package.sh pkg public server_config.js snippets src store test tsconfig.eslint.json tsconfig.json vite.config.js wallaby.js yarn.lock
+ '[' -e /dev/ttyAMA0 ']'
+ '[' -e /dev/ttymxc0 ']'
+ '[' -e /dev/ttyAMA0 ']'
++ grep Revision /proc/cpuinfo
++ cut -d: -f2
++ tr -d ' '
+ RPI_BOARD_REVISION=020c
+ [[ 020c == a\8 ]]
+ [[ 020c == a\8 ]]
+ [[ 020c == a\d ]]
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
+ rm /tmp/jeedom_install_in_progress_zwavejs
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Le log de zwavejs:
[2023-09-15 18:15:19]INFO : Arrêt du démon ZwaveJS
[2023-09-15 18:15:21]ERROR : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2023-09-15 18:15:19
[2023-09-15 18:15:23]DEBUG : [configureSettings] Informations reçues de MQTT Manager : {"ip":"127.0.0.1","port":"1883","user":"jeedom","password":"***************************************"}
[2023-09-15 18:15:23]INFO : Démarrage du démon ZwaveJS : STORE_DIR=/var/www/html/plugins/zwavejs/data/store KEY_S0_Legacy=0102030405060708090A0B0C0D0E0F10 KEY_S2_Unauthenticated=B5E62B417E79F28B0FD86105EAA31951 KEY_S2_Authenticated=FF6A6747F6C56EC7B1586D09A60DDC2D KEY_S2_AccessControl=8A0226076B4664A5ECAE7672D68ACAE0 SESSION_SECRET=jeedomSession yarn start
[2023-09-15 18:15:39]ERROR : Impossible de démarrer le démon ZwaveJS, consultez les logs
Le log de zwavejsd :
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] ...