Bonjour à tous,
Suite nouvelle reinstall et load d’un backup, impossible de faire tourner zwaveJS alors qu’il fonctionnait parfaitement avant la reinstall
Voici les elements que je peux fournir :
Jeedom sur un SSD
Le dongle Zwave (aeotec 7) est branché au meme port USB2 qu’avant la reinstall
Santé :
Les updates dispo :
Le plugin :
Les logs de packages :
+ 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
rm: cannot remove 'zwave-js-ui': No such file or directory
+ git clone --branch v9.12.0 --depth 1 https://github.com/zwave-js/zwave-js-ui
Cloning into 'zwave-js-ui'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 7934 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
+ 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
/var/www/html/core/class/../../plugins/zwavejs/resources/post_install.sh: line 9: cd: zwave-js-ui: No such file or directory
+ sudo yarn install
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.11s.
+ sudo yarn run build
yarn run v1.22.22
error Couldn't find a package.json file in "/var/www/html/plugins/zwavejs/resources"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+ chown -R www-data:www-data node_modules post_install.sh pre_install.sh rename_files.py transform_command.py 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=c03115
+ [[ c03115 == \a\0\2\0\8\2 ]]
+ [[ c03115 == \a\2\2\0\8\2 ]]
+ [[ c03115 == \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******************
Les logs du plugin :
[2024-07-03 16:19:32] zwavejs.ERROR: Erreur sur la fonction deamon_start du plugin :
SQLSTATE[HY000] [2002] No such file or directory [] []
[2024-07-03 16:28:08] zwavejs.ERROR: Erreur sur la fonction deamon_start du plugin : SQLSTATE[HY000] [2002] No such file or directory [] []
Et à tout hasard :
Filesystem Size Used Avail Use% Mounted on
/dev/root 110G 7.1G 99G 7% /
devtmpfs 1.7G 0 1.7G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 759M 1.2M 758M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 256M 8.0M 249M 4% /tmp/jeedom
/dev/loop0 43M 43M 0 100% /snap/certbot/3832
/dev/loop1 93M 93M 0 100% /snap/core/17201
/dev/loop2 60M 60M 0 100% /snap/core20/2321
/dev/sda1 255M 31M 225M 13% /boot
tmpfs 380M 12K 380M 1% /run/user/1000
Merci pour votre aide ![]()


