Démarrage zwave-js

Bonjour,
est-ce bien cette phase d’initialisation qui peut-être très longue, car dans ma config du plugin tout est au vert
Merci

1 « J'aime »

Bonjour,

Non cette phase quand tout va bien est rapide.

Dans votre cas cela peut être un souci mqttmanager, un souci dépendances, un souci ?
On ne sait pas car vous ne donnez aucune information technique pour le dcouvrir.

Page santé Jeedom
Log des dependances du plugin
Log du demon en debug
Configuration du plugin
Idem sur mqtt manager

Bref, une photo d’un constat ne permet pas de remonter à la source su souci sans donner d’information technique

Bonjour, merci pour la réponse rapide,
la page santé (deux maj qui ne passent pas apple tv et hombridge )que je ne peux pas faire .

config plugin

log plugin

+ 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: 9.12.0'
Wanted Version: 9.12.0
+ rm -R zwave-js-ui
+ git clone --branch v9.12.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
Note: checking out '96eeb76b110f27d3ce16cfb4b3992cb8f8dc34d8'.
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 <new-branch-name>
+ 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
yarn install v1.22.22
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning archiver > archiver-utils > glob@8.1.0: Glob versions prior to v9 are no longer supported
warning archiver > archiver-utils > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning csurf@1.11.0: Please use another csrf package
warning native-url > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
warning @types/extract-zip@2.0.1: This is a stub types definition. extract-zip provides its own type definitions, so you do not need this installed.
warning c8 > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning c8 > test-exclude > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning c8 > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning c8 > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning docsify-cli > docsify-server-renderer@4.13.1: docsify-server-renderer 4.x and below is no longer supported while we investigate the future of SSR and SSG for Docsify
warning eslint > @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
warning mocha > glob@8.1.0: Glob versions prior to v9 are no longer supported
warning release-it > shelljs > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning vite-plugin-pwa > workbox-build > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning vite-plugin-pwa > workbox-build > @rollup/plugin-replace > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @zwave-js/server@1.38.0" has incorrect peer dependency "zwave-js@^13.2.0".
warning " > vis-data@7.1.9" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " > vis-data@7.1.9" has unmet peer dependency "vis-util@^5.0.1".
warning " > vis-network@9.1.9" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning " > vis-network@9.1.9" has unmet peer dependency "component-emitter@^1.3.0".
warning " > vis-network@9.1.9" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0".
warning " > vis-network@9.1.9" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning " > vis-network@9.1.9" has unmet peer dependency "vis-util@^5.0.1".
warning " > @babel/register@7.24.6" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > vite-plugin-pwa@0.16.7" has unmet peer dependency "workbox-build@^7.0.0".
warning " > vite-plugin-pwa@0.16.7" has unmet peer dependency "workbox-window@^7.0.0".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 359.42s.
+ sudo yarn run build
yarn run v1.22.22
$ npm-run-all 'build:*'
$ tsc
$ vite build
vite v4.5.3 building for production...
transforming...
✓ 577 modules transformed.
rendering chunks...
computing gzip size...
dist/registerSW.js                                    0.14 kB
dist/manifest.webmanifest                             0.50 kB
dist/index.html                                       1.68 kB │ gzip:   0.74 kB
dist/assets/MaterialIcons-Regular-5743ed3d.woff2    125.12 kB
dist/assets/MaterialIcons-Regular-e69d687a.eot      143.45 kB
dist/assets/MaterialIcons-Regular-11ec382a.woff     160.58 kB
dist/assets/MaterialIcons-Regular-29c11fa5.ttf      347.59 kB
dist/assets/DialogHealthCheck-2228ed6c.css            0.04 kB │ gzip:   0.06 kB
dist/assets/DialogGatewayValue-911dd212.css           0.06 kB │ gzip:   0.08 kB
dist/assets/NodeDetails-da00c417.css                  0.06 kB │ gzip:   0.08 kB
dist/assets/Settings-81719688.css                     0.08 kB │ gzip:   0.10 kB
dist/assets/QrReader-00dee3fb.css                     0.09 kB │ gzip:   0.10 kB
dist/assets/NodePanel-c9b9749c.css                    0.09 kB │ gzip:   0.10 kB
dist/assets/RichValue-3ea76a33.css                    0.13 kB │ gzip:   0.12 kB
dist/assets/Mesh-b27cd214.css                         0.26 kB │ gzip:   0.20 kB
dist/assets/ValueId-d2938c42.css                      0.31 kB │ gzip:   0.18 kB
dist/assets/ExpandedNode-9f727a42.css                 0.39 kB │ gzip:   0.26 kB
dist/assets/index-2a960184.css                        0.39 kB │ gzip:   0.14 kB
dist/assets/DialogAdvanced-eaabda04.css               0.45 kB │ gzip:   0.23 kB
dist/assets/Store-6f25927f.css                        0.79 kB │ gzip:   0.33 kB
dist/assets/BgRssiChart-3e7d7555.css                  1.66 kB │ gzip:   0.71 kB
dist/assets/Login-1826b0a1.css                        5.43 kB │ gzip:   1.52 kB
dist/assets/ZwaveGraph-fe07d4ee.css                 220.27 kB │ gzip:  31.02 kB
dist/assets/index-fc01ccc5.css                      645.37 kB │ gzip:  87.03 kB
dist/assets/items-c61f7084.js                         0.26 kB │ gzip:   0.20 kB
dist/assets/ControllerChart-ac3995bb.js               0.54 kB │ gzip:   0.34 kB
dist/assets/ColumnFilterBoolean-42e1d870.js           0.70 kB │ gzip:   0.43 kB
dist/assets/ReinterviewBadge-b23659ae.js              0.77 kB │ gzip:   0.51 kB
dist/assets/BlinkIcon-7531df87.js                     0.86 kB │ gzip:   0.42 kB
dist/assets/MissingKeysAlert-7a9d8cf2.js              1.18 kB │ gzip:   0.56 kB
dist/assets/ColumnFilterDate-f6968704.js              1.20 kB │ gzip:   0.57 kB
dist/assets/ColumnFilterString-b8d711ab.js            1.26 kB │ gzip:   0.63 kB
dist/assets/DialogAdvanced-9ad1aaf1.js                1.31 kB │ gzip:   0.68 kB
dist/assets/StatisticsArrows-02b52a8b.js              1.35 kB │ gzip:   0.73 kB
dist/assets/ErrorPage-0a0f6e23.js                     1.56 kB │ gzip:   0.79 kB
dist/assets/ColumnFilterNumber-7a3706f5.js            1.77 kB │ gzip:   0.75 kB
dist/assets/file-input-8b7d131c.js                    1.84 kB │ gzip:   0.86 kB
dist/assets/RichValue-c9000e32.js                     2.06 kB │ gzip:   0.87 kB
dist/assets/StatisticsCard-7026b532.js                2.56 kB │ gzip:   1.00 kB
dist/assets/Mesh-fe411d3f.js                          2.87 kB │ gzip:   1.19 kB
dist/assets/DialogSceneValue-f98fe1fe.js              3.09 kB │ gzip:   1.18 kB
dist/assets/ColumnFilter-557c4aa7.js                  3.50 kB │ gzip:   1.21 kB
dist/assets/UserCodeTable-ea568970.js                 4.04 kB │ gzip:   1.59 kB
dist/assets/Login-6bac7517.js                         4.14 kB │ gzip:   1.64 kB
dist/assets/DialogAssociation-f928d131.js             4.19 kB │ gzip:   1.51 kB
dist/assets/AssociationGroups-16d25fe8.js             4.34 kB │ gzip:   1.57 kB
dist/assets/ListInput-f63a04fd.js                     4.39 kB │ gzip:   1.41 kB
dist/assets/mdi-084c837b.js                           4.53 kB │ gzip:   1.58 kB
dist/assets/OTAUpdates-d1b603ed.js                    5.13 kB │ gzip:   2.11 kB
dist/assets/Scenes-34f5f703.js                        5.72 kB │ gzip:   1.93 kB
dist/assets/prismeditor.esm-b7e19e8f.js               7.58 kB │ gzip:   2.69 kB
dist/assets/NodeScheduler-e5a6be9a.js                 7.86 kB │ gzip:   2.60 kB
dist/assets/HomeAssistant-56f433d3.js                 8.24 kB │ gzip:   2.43 kB
dist/assets/DialogGatewayValue-5dd1adc4.js            8.29 kB │ gzip:   2.51 kB
dist/assets/ControlPanel-79e40db4.js                  9.49 kB │ gzip:   3.47 kB
dist/assets/SmartView-43100dc1.js                     9.89 kB │ gzip:   3.24 kB
dist/assets/ValueId-7616b4ae.js                      10.46 kB │ gzip:   2.94 kB
dist/assets/Store-1c5dbee0.js                        10.86 kB │ gzip:   3.36 kB
dist/assets/NodeDetails-cdbef06f.js                  12.13 kB │ gzip:   3.36 kB
dist/assets/DialogHealthCheck-d5bd9dce.js            12.39 kB │ gzip:   3.59 kB
dist/assets/SmartStart-70c128ec.js                   12.78 kB │ gzip:   3.78 kB
dist/assets/ExpandedNode-8c1f1b32.js                 14.94 kB │ gzip:   5.04 kB
dist/assets/NodePanel-eef2b2bb.js                    15.39 kB │ gzip:   4.23 kB
dist/assets/Debug-372ace54.js                        16.32 kB │ gzip:   4.18 kB
dist/assets/QrReader-fff27988.js                     20.90 kB │ gzip:   7.30 kB
dist/assets/index-588b9cda.js                        20.98 kB │ gzip:   6.08 kB
dist/assets/qr-scanner-worker.min-5f44a019.js        43.95 kB │ gzip:  10.46 kB
dist/assets/BgRssiChart-424d495b.js                  54.99 kB │ gzip:  24.30 kB
dist/assets/vuedraggable.umd-31440641.js             71.04 kB │ gzip:  24.90 kB
dist/assets/Settings-040f8116.js                     74.67 kB │ gzip:  18.68 kB
dist/assets/index-86c0f865.js                       104.95 kB │ gzip:  43.04 kB
dist/assets/ZwaveGraph-43114e71.js                  561.14 kB │ gzip: 166.35 kB
dist/assets/index-c718ba2f.js                     1,179.73 kB │ gzip: 325.11 kB
(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
vite v4.5.3 building for production...
transforming...
✓ 65 modules transformed.
rendering chunks...
computing gzip size...
dist/sw.js  43.54 kB │ gzip: 12.25 kB
✓ built in 3.10s
PWA v0.16.7
mode      injectManifest
precache  73 entries (3172.69 KiB)
files generated
dist/sw.js
✓ built in 2m 33s
Done in 223.75s.
+ chown -R www-data:www-data api certs CHANGELOG.md dist docker docs esbuild.js esbuild-register.js genereteDocs.ts index.html kubernetes kustomization.yaml LICENSE node_modules nodemon.json package.json package-lock.json package.sh pkg public README.md SECURITY.md server 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
++ tr -d ' '
++ cut -d: -f2
+ RPI_BOARD_REVISION=020c
+ [[ 020c == \a\0\2\0\8\2 ]]
+ [[ 020c == \a\2\2\0\8\2 ]]
+ [[ 020c == \a\0\2\0\d\3 ]]
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zwavejs
+ echo 5
+ rm /tmp/jeedom_install_in_progress_zwavejs
+ echo '*******************End of package installation******************'
*******************End of package installation******************
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-11 14:45:18.008e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.12.0.96eeb76
e[90m2024-09-11 14:45:18.025e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-11 14:45:18.128e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found
e[90m2024-09-11 14:45:18.132e[39m e[33mWARNe[39m e[1mSTOREe[22m: nodes.json not found
e[90m2024-09-11 14:45:18.136e[39m e[33mWARNe[39m e[1mSTOREe[22m: users.json not found
error Command failed with signal "SIGTERM".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
e[90m2024-09-11 14:56:50.415e[39m e[32mINFOe[39m e[1mAPPe[22m: Version: 9.12.0.96eeb76
e[90m2024-09-11 14:56:50.432e[39m e[32mINFOe[39m e[1mAPPe[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______  __          __                      _  _____     _    _ _____
|___  /  \ \        / /                     | |/ ____|   | |  | |_   _|
/ /____\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /______\ \/  \/ / _' \ \ / / _ \    _   | |\___ \    | |  | | | |
/ /__      \  /\  / (_| |\ V /  __/   | |__| |____) |   | |__| |_| |_
/_____|      \/  \/ \__,_| \_/ \___|    \____/|_____/     \____/|_____|
e[90m2024-09-11 14:56:50.539e[39m e[33mWARNe[39m e[1mSTOREe[22m: scenes.json not found

trop mystérieux pour moi !

Merci

Les logs entre balises auraient été plus digestes

On a pas la configuration du plugin mqtt

Vous etes sur smart, pourquoi le soft reset est coché ?

Aucune idée, je relance la depandance et le deamon sans le soft reset et avec des logs en mode dbug

Voici l’image de config du plugin MQTT


c’est suite a des mises à jours plugin ?

Bonjour,
non c une migration zwzve vers zwave-js, donc aprés l’installation des plugin mstt et zwave-js

si tu a fait une purge sur les repro, faire une relance depandance mqtt et apres relance dependance z-wave-js.

balance les logs .