Plugin TahomaLocal : installation des dépendances impossible

Bonjour,

Depuis peu, certainement l’issue d’une mise à jour j’ai perdu les fonctionnalités du plugin TahomaLocal.

Après divers essais, je me trouve dans la situation ou je ne peux plus installer mes dépendances, avec un message d’erreur :

image

et le log suivant :

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_TaHomaLocal
0003|+ echo 1
0004|+ echo 2
0005|+ sudo killall apt apt-get unattended-upgr
0006|apt: no process found
0007|apt-get: no process found
0008|unattended-upgr: no process found
0009|+ sudo rm /var/lib/apt/lists/lock
0010|+ sudo rm /var/cache/apt/archives/lock
0011|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0012|+ sudo sudo dpkg --configure -a --force-confdef
0013|+ sudo apt update
0014|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0015|Hit:1 https://deb.nodesource.com/node_18.x nodistro InRelease
0016|Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
0017|Hit:3 http://archive.raspberrypi.org/debian buster InRelease
0018|Reading package lists...
0019|Building dependency tree...
0020|Reading state information...
0021|All packages are up to date.
0022|+ echo 3
0023|+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-daemon
0024|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0025|Reading package lists...
0026|Building dependency tree...
0027|Reading state information...
0028|avahi-daemon is already the newest version (0.7-4+deb10u3).
0029|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0030|+ echo 4
0031|+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-utils
0032|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0033|Reading package lists...
0034|Building dependency tree...
0035|Reading state information...
0036|avahi-utils is already the newest version (0.7-4+deb10u3).
0037|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0038|+ echo 5
0039|+ sudo apt install -o Dpkg::Options::=--force-confdef -y curl
0040|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0041|Reading package lists...
0042|Building dependency tree...
0043|Reading state information...
0044|curl is already the newest version (7.64.0-4+deb10u9).
0045|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0046|+ echo 6
0047|+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
0048|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0049|Reading package lists...
0050|Building dependency tree...
0051|Reading state information...
0052|php-yaml is already the newest version (2.0.2+1.3.1-4+b1).
0053|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0054|+ echo 7
0055|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
0056|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0057|Reading package lists...
0058|Building dependency tree...
0059|Reading state information...
0060|python3-pyudev is already the newest version (0.21.0-1).
0061|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0062|+ echo 8
0063|+ sudo systemctl restart apache2
0064|Warning: The unit file, source configuration file or drop-ins of apache2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
0065|+ echo 9
0066|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end TaHomaLocal
0067|+ echo 10
0068|+ rm /tmp/jeedom_install_in_progress_TaHomaLocal
0069|+ echo '*******************End of package installation******************'
0070|*******************End of package installation******************

J’avoue être un peu perdu !

Merci d’avance pour votre aide


Informations Jeedom

Core : 4.4.9 (V4-stable)
DNS Jeedom : non

Plugin : TaHomaLocal
Version : 2024-07-24 16:16:41 (stable)
Statut Démon : ne démarre plus !

Bonjour

Vous êtes encore sous debian buster = 10, c’est peut être la cause car il n’est plus maintenu par debian depuis le 1er juillet. De ce fait, les dépôts aussi.

Il faut penser à faire une nouvelle installatio ou figer votre jeedom en l’état.

Antoine

Merci pour le retour.

Après bascule sur Debian 11,pas d’évolution, le problématiques sont identiques et j’ai même ajouté la perte de la maitrise du plugin Jeeduino et mes MCP23017.

Bonjour,

Les messages d’erreur sont des messages système, pas des messages plugin.

Avez-vous vos packages tous mis à jour ?

Dans tous les cas, une demande d’aide, c’est avec un screenshot de la pge Santé de Jeedom.

Bonjour,

Merci pour l’aide. Je n’avais pas pensé au screenshots je croyais que le log suffisait.

Tout est a jour, côté package

Ci-joint la santé jeedom

Merci

OK.

Et sinon, ca veut dire quoi « après bascule sur Debian 11 » ?
Vous avez fait quoi exactement avec votre RPi3B ?

Et bien j’ai sauvegardé mon jeedom et je suis reparti sur une nouvelle installation complète du raspberry pi b+ puis import de la sauvegarde

Très bien.

Pourriez-vous passer en Log Debug sur le plugin TahomaLocal, relancer les dépendances et me renvoyer le Log TaHomaLocal_packages et les messages d’erreur si il y en a.

Merci

Bonjour

Votre installation python est étrange, avec deux versions 3.9.x…

Antoine

Bonsoir.

Au contraire, c’est ce qui est attendu.

Merci encore pour votre aide.

Pas de message d’erreur à l’installation des dépendances.

Le log :

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_TaHomaLocal
0003|+ echo 1
0004|+ echo 2
0005|+ sudo killall apt apt-get unattended-upgr
0006|apt: no process found
0007|apt-get: no process found
0008|+ sudo rm /var/lib/apt/lists/lock
0009|+ sudo rm /var/cache/apt/archives/lock
0010|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0011|+ sudo sudo dpkg --configure -a --force-confdef
0012|+ sudo apt update
0013|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0014|Hit:1 https://deb.nodesource.com/node_18.x nodistro InRelease
0015|Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
0016|Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
0017|Reading package lists...
0018|Building dependency tree...
0019|Reading state information...
0020|All packages are up to date.
0021|+ echo 3
0022|+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-daemon
0023|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0024|Reading package lists...
0025|Building dependency tree...
0026|Reading state information...
0027|avahi-daemon is already the newest version (0.8-5+deb11u2).
0028|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0029|+ echo 4
0030|+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-utils
0031|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0032|Reading package lists...
0033|Building dependency tree...
0034|Reading state information...
0035|avahi-utils is already the newest version (0.8-5+deb11u2).
0036|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0037|+ echo 5
0038|+ sudo apt install -o Dpkg::Options::=--force-confdef -y curl
0039|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0040|Reading package lists...
0041|Building dependency tree...
0042|Reading state information...
0043|curl is already the newest version (7.74.0-1.3+deb11u12).
0044|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0045|+ echo 6
0046|+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
0047|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0048|Reading package lists...
0049|Building dependency tree...
0050|Reading state information...
0051|php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0052|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0053|+ echo 7
0054|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
0055|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0056|Reading package lists...
0057|Building dependency tree...
0058|Reading state information...
0059|python3-pyudev is already the newest version (0.22.0-2).
0060|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0061|+ echo 8
0062|+ sudo systemctl restart apache2
0063|+ echo 9
0064|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end TaHomaLocal
0065|+ echo 10
0066|+ rm /tmp/jeedom_install_in_progress_TaHomaLocal
0067|+ echo '*******************End of package installation******************'
0068|*******************End of package installation******************`Texte préformaté`

par contre, quelques instants après :

Et sur la partie passerelles, toujours :

Normallement, on a pas une ligne pour python2 et une pour python3?

Antoine

Non, c’est les deux même version.

Tu n’est pas sous Debian 11 ?

Normalement oui en debian 11. J’ai suivi le tuto et monté le tout avec Raspberry Pi OS (Legacy, 32-bit) Lite

Bonjour,

Vous n’avez plus les messages d’erreur.
Le Log d’installation des dépendances est maintenant normal …

Donc nous sommes passés à un problème différent !

J’ignore pourquoi votre box Tahoma n’est pas découverte ?
Vous avez quel modèle de box Somfy ?

Si votre box n’est pas découverte, vous avez, avec le plugin, la possibilité de passer en Mode IP.
Vous devez saisir l’adresse IPv4 et le PIN de la box.

Avez-vous essayé ce mode ?

C’est voulu d’être en 32bit ?

Pour la partie 32 bits, j’ai fais confiance au Tuto qui mentionne que c’est la seule version 100% compatibles avec les plugin.

Est-ce toujours vrai ?

Vous avez essayez cela ?

Après avoir résolu des problèmes sur un autre plugin (sur conseils de passionnés du forum !), je pensais que ça aurait pu débloquer ceux_là… mais non !

Le log TahomaLocal à l’installation des dépendances (qui ne dépasse jamais les 7%) :

[2024-08-11 15:30:24] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:24] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:24] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:24] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:29] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:29] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:29] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:29] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:32] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:32] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:32] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:32] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:34] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:34] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:35] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:35] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:40] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:40] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:42] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:42] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:47] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:47] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:48] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:48] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:30:53] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:30:53] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:30:55] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:30:55] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:31:00] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:31:00] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:31:01] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:31:01] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2024-08-11 15:31:06] DEBUG  : +- Method: TaHomaLocal::getPluginConfigurationStatus
[2024-08-11 15:31:06] DEBUG  : || Succeeded to load GetFileContent
[2024-08-11 15:31:06] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-08-11 15:31:06] DEBUG  : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)

et celui-là sur Tahomalocal-packages :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-daemon
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
avahi-daemon is already the newest version (0.8-5+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-utils
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
avahi-utils is already the newest version (0.8-5+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y curl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.74.0-1.3+deb11u12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 7
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.22.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 8
+ sudo systemctl restart apache2
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end TaHomaLocal
+ echo 10
+ rm /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci encore !

La box est une Tahoma Switch, et j’ai encore testé le mode de connexion avec adresse IP (j’ai un bail statique),et rien n’y fait.

Toujours :
image

Quand jevérifie les packages system,j’ai ça :

Il n’y aurait pas des packages qui ne se seraient pas bien mis à jour,qu’il faudrait que je fasse en ligne de commande en SSH (non prévue par jeedom pour debian 11 ? )