Bonjour,
Etant un bon débutant en jeedom, je rencontre des soucis pour installer la clef sonoff ZIGBEE modèle P avec la puce TI. Le plugin que j’essaie d’utiliser et le jeezigbee. J’ai aussi essayé avec le Zigbeelinker. J’ai parcouru les posts à ce sujet mais je n’ai pas trouvé mon bonheur.
Je suis sur Jeedomdelta version 4.3.17
Voila mon problème :
Page Santé
Page config plugin jeezigbee le démon est OK mais pas les dépendances
Si vous pouvez me donner un coup de pouce je vous en serais reconnaissant!!!
Bien à vous
Christophe
Et voici les logs lors de l’installation des dépendances
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
Launch pre-install of z2m dependancy
+ echo 3
+ sudo apt update
sudo: unable to resolve host freebox-vm-60370: Name or service not known
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
sudo: unable to resolve host freebox-vm-60370: Name or service not known
sudo: unable to resolve host freebox-vm-60370: Name or service not known
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
sudo: unable to resolve host freebox-vm-60370: Name or service not known
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
[Check Version NodeJS actuelle : Aucune : [ KO ]
Installation de NodeJS 16
Utilisation du dépot officiel
sudo: unable to resolve host freebox-vm-60370: Name or service not known
================================================================================
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
================================================================================
SCRIPT DEPRECATION WARNING
This script, located at https://deb.nodesource.com/setup_X, used to
install Node.js is deprecated now and will eventually be made inactive.
Please visit the NodeSource distributions Github and follow the
instructions to migrate your repo.
https://github.com/nodesource/distributions
The NodeSource Node.js Linux distributions GitHub repository contains
information about which versions of Node.js and which Linux distributions
are supported and how to install it.
https://github.com/nodesource/distributions
SCRIPT DEPRECATION WARNING
================================================================================
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
================================================================================
TO AVOID THIS WAIT MIGRATE THE SCRIPT
Continuing in 60 seconds (press Ctrl-C to abort) ...
## Installing the NodeSource Node.js 16.x repo...
## Populating apt-get cache...
+ apt-get update
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
Error executing command, exiting
sudo: unable to resolve host freebox-vm-60370: Name or service not known
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
/var/www/html/core/class/../../resources/install_nodejs.sh: line 141: nodejs: command not found
[Check Version NodeJS après install : : [ KO ] -> relancez les dépendances
sudo: unable to resolve host freebox-vm-60370: Name or service not known
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
sudo: unable to resolve host freebox-vm-60370: Name or service not known
sudo: npm: command not found
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
sudo: unable to resolve host freebox-vm-60370: Name or service not known
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 12 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
+ echo 6
+ sudo systemctl restart apache2
sudo: unable to resolve host freebox-vm-60370: Name or service not known
+ echo 7
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
sudo: unable to resolve host freebox-vm-60370: Name or service not known
+ echo 'Launch post-install of z2m dependancy'
Launch post-install of z2m dependancy
+++ dirname /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
++ cd /var/www/html/core/class/../../plugins/z2m/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ '[' -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ']'
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 'Backup configuration'
Backup configuration
+ cp -R data data-backup
+ '[' -d /var/www/html/plugins/z2m/resources/zigbee2mqtt/.git ']'
+ echo 'Update z2m (git)'
Update z2m (git)
+ git config --global --add safe.directory /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git reset --hard HEAD
HEAD is now at f224ef7 chore: Improve update script in case of local changes (#18837)
+ git pull
Already up to date.
+ npm ci
/var/www/html/core/class/../../plugins/z2m/resources/post-install.sh: line 38: npm: command not found
+ npm run build
/var/www/html/core/class/../../plugins/z2m/resources/post-install.sh: line 39: npm: command not found
+ echo 'Restore configuration'
Restore configuration
+ cp -R data-backup/configuration.example.yaml data-backup/configuration.yaml data
+ rm -rf data-backup
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************