Bonjour à tous
Je suis en cours de migration de mon contrôleur Everspring vers GEN7 mais impossible d’ouvrir l’interface Zwave UI qui renvoie l’erreur ci-dessous (la même dans le log de zwavejsd en debug)
PI3+ en BUSTER
ZwaveJs installé et fonctionnel
Dépendance relancée OK
Demon démaré OK
Etat de santé OK
Vérification des droits OK
Vérifications des packages OK
Quelqu’un a-t-il une idée, merci d’avance
Error: Not Found
at /var/www/html/plugins/zwavejs/resources/zwave-js-ui/server/app.js:1128:17
at Layer.handle [as handle_request] (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:328:13)
at /var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:346:12)
at next (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:280:10)
at session (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express-session/index.js:479:7)
at Layer.handle [as handle_request] (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:328:13)
at /var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/express/lib/router/index.js:286:9
j’ai bien peur que tu ai raison. Tu confirmes à la lecture du log ?
As-tu une piste possible pour éviter ce problème
Merci d’avance
+ 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 2s 339ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 13s 944ms
➤ YN0000: ┌ Link step
➤ YN0007: │ docsify@npm:4.13.0 must be built because it never has been before or the last one failed
➤ YN0007: │ vis-data@npm:7.1.6 [b9e30] must be built because it never has been before or the last one failed
➤ YN0007: │ vis-network@npm:9.1.6 [b9e30] must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ vue-demi@npm:0.13.11 [39524] must be built because it never has been before or the last one failed
➤ YN0007: │ @serialport/bindings-cpp@npm:10.7.0 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 3m 6s
➤ YN0000: Done with warnings in 3m 25s
+ sudo yarn run build
vite v4.4.9 building for production...
transforming...
✓ 404 modules transformed.
<--- Last few GCs --->
[9570:0x5101d90] 138842 ms: Mark-sweep 232.8 (250.0) -> 228.4 (246.8) MB, 3190.7 / 0.1 ms (average mu = 0.094, current mu = 0.044) allocation failure scavenge might not succeed
[9570:0x5101d90] 138888 ms: Scavenge 230.1 (248.1) -> 230.1 (249.1) MB, 13.9 / 0.0 ms (average mu = 0.094, current mu = 0.044) allocation failure
[9570:0x5101d90] 142579 ms: Mark-sweep 231.6 (250.4) -> 229.8 (250.8) MB, 3514.0 / 0.0 ms (average mu = 0.074, current mu = 0.060) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
ERROR: "build:ui" exited with 129.
+ chown -R www-data:www-data CHANGELOG.md LICENSE README.md SECURITY.md app.ts bin certs config dist docker docs genereteDocs.ts hass index.html kubernetes kustomization.yaml lib node_modules nodemon.json package.json package.sh pkg public server server_config.js snippets src store test tsconfig.eslint.json tsconfig.json vite.config.js wallaby.js yarn.lock
+ '[' -e /dev/ttyAMA0 ']'
+ sudo sed -i 's/console=ttyAMA0,115200//; s/kgdboc=ttyAMA0,115200//' /boot/cmdline.txt
+ sudo sed -i 's|[^:]*:[^:]*:respawn:/sbin/getty[^:]*ttyAMA0[^:]*||' /etc/inittab
sed: can't read /etc/inittab: No such file or directory
+ '[' -e /dev/ttymxc0 ']'
+ '[' -e /dev/ttyAMA0 ']'
+ sudo systemctl mask serial-getty@ttyAMA0.service
+ sudo systemctl stop serial-getty@ttyAMA0.service
++ grep Revision /proc/cpuinfo
++ cut -d: -f2
++ tr -d ' '
+ RPI_BOARD_REVISION=a02082
+ [[ a02082 == a\8 ]]
+ systemctl disable hciuart
++ grep dtoverlay=pi3-miniuart-bt /boot/config.txt
+ [[ ! -n '' ]]
+ echo 'Raspberry Pi 3 Detected. If you use a Razberry board you must Disable Bluetooth'
Raspberry Pi 3 Detected. If you use a Razberry board you must Disable Bluetooth
+ echo 'Please add '\''dtoverlay=pi3-miniuart-bt'\'' to the end of the file /boot/config.txt'
Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
+ echo 'And reboot your Raspberry Pi'
And reboot your Raspberry Pi
+ 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******************
Il semble que l’augmentation de la taille du swap soit une autre solution plus définitive. Je n’ai pas pu le vérifier car j’ai migré d’un PI3 à un PI4.