Ma femme s’est aperçu que le robot aspi ne passait plus dans la maison.
J’ai vérifié il fonctionne bien depuis l’appli android xiaomi home mais NOK sur jeedom depuis xiaomi home.
j’ai relancé les dépendances et le demon reste en NOk dans les logs j’ai ca :
[2024-07-30 23:17:00] ERROR : Attention je pense qu’il y a un soucis avec le démon que j’ai relancé plus de 3 fois consécutivement
[2024-07-30 23:17:00] INFO : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel info --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey VSYXFEW7UcCRlLqElMF3NhwBRINtaryl --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
Traceback (most recent call last):
File « /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py », line 27, in
from devices.aquara import *
File « /var/www/html/plugins/xiaomihome/resources/xiaomihomed/devices/aquara.py », line 8, in
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
File « /usr/local/lib/python3.7/dist-packages/cryptography/hazmat/primitives/ciphers/init.py », line 11, in
from cryptography.hazmat.primitives.ciphers.base import (
File « /usr/local/lib/python3.7/dist-packages/cryptography/hazmat/primitives/ciphers/base.py », line 10, in
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
ImportError: libssl.so.3: cannot open shared object file: No such file or directory
[2024-07-30 23:17:30] ERROR : Impossible de lancer le démon xiaomihomed. Vérifiez le log.
[2024-07-30 23:20:05] ERROR : Attention je pense qu’il y a un soucis avec le démon que j’ai relancé plus de 3 fois consécutivement
[2024-07-30 23:20:05] INFO : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel info --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey VSYXFEW7UcCRlLqElMF3NhwBRINtaryl --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
Traceback (most recent call last):
File « /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py », line 27, in
from devices.aquara import *
File « /var/www/html/plugins/xiaomihome/resources/xiaomihomed/devices/aquara.py », line 8, in
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
File « /usr/local/lib/python3.7/dist-packages/cryptography/hazmat/primitives/ciphers/init.py », line 11, in
from cryptography.hazmat.primitives.ciphers.base import (
File « /usr/local/lib/python3.7/dist-packages/cryptography/hazmat/primitives/ciphers/base.py », line 10, in
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
ImportError: libssl.so.3: cannot open shared object file: No such file or directory
[2024-07-30 23:20:35] ERROR : Impossible de lancer le démon xiaomihomed. Vérifiez le log.
Je pense avoir le soucis depuis 15-20jours (d’après les logs sur l’appli android xiaomi home l’aspirateur ne s’est pas lancé depuis) et biensur je n’ai pas de sauvegarde aussi « vieille »
sudo pip3 install --upgrade pip
Looking in indexes: Simple index, piwheels - Simple index
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 5
sudo python3 -m pip install --force-reinstall --upgrade pyudev
Looking in indexes: Simple index, piwheels - Simple index
Collecting pyudev
Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.5 MB/s eta 0:00:00
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.3
Uninstalling pyudev-0.24.3:
Successfully uninstalled pyudev-0.24.3
Successfully installed pyudev-0.24.3
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 6
sudo python3 -m pip install --force-reinstall --upgrade construct
Looking in indexes: Simple index, piwheels - Simple index
Collecting construct
Downloading https://www.piwheels.org/simple/construct/construct-2.10.70-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 2.3 MB/s eta 0:00:00
Installing collected packages: construct
Attempting uninstall: construct
Found existing installation: construct 2.10.70
Uninstalling construct-2.10.70:
Successfully uninstalled construct-2.10.70
Successfully installed construct-2.10.70
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 7
sudo python3 -m pip install --force-reinstall --upgrade requests
Looking in indexes: Simple index, piwheels - Simple index
Collecting requests
Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 2.1 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests)
Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 2.5 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests)
Downloading https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 3.7 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.7-py3-none-any.whl (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 3.8 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests)
Downloading https://www.piwheels.org/simple/certifi/certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 7.0 MB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.0.7
Uninstalling urllib3-2.0.7:
Successfully uninstalled urllib3-2.0.7
Attempting uninstall: idna
Found existing installation: idna 3.7
Uninstalling idna-3.7:
Successfully uninstalled idna-3.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.7.4
Uninstalling certifi-2024.7.4:
Successfully uninstalled certifi-2024.7.4
Attempting uninstall: requests
Found existing installation: requests 2.31.0
Uninstalling requests-2.31.0:
Successfully uninstalled requests-2.31.0
Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.31.0 urllib3-2.0.7
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 8
sudo python3 -m pip install --force-reinstall --upgrade pyserial
Looking in indexes: Simple index, piwheels - Simple index
Collecting pyserial
Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.8 MB/s eta 0:00:00
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Successfully uninstalled pyserial-3.5
Successfully installed pyserial-3.5
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 9
sudo python3 -m pip install --force-reinstall --upgrade future
Looking in indexes: Simple index, piwheels - Simple index
Collecting future
Downloading https://www.piwheels.org/simple/future/future-1.0.0-py3-none-any.whl (491 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 7.4 MB/s eta 0:00:00
Installing collected packages: future
Attempting uninstall: future
Found existing installation: future 1.0.0
Uninstalling future-1.0.0:
Successfully uninstalled future-1.0.0
Successfully installed future-1.0.0
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 10
sudo python3 -m pip install --force-reinstall --upgrade pycrypto
Looking in indexes: Simple index, piwheels - Simple index
Collecting pycrypto
Downloading https://www.piwheels.org/simple/pycrypto/pycrypto-2.6.1-cp37-cp37m-linux_armv7l.whl (525 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.4/525.4 kB 7.2 MB/s eta 0:00:00
Installing collected packages: pycrypto
Attempting uninstall: pycrypto
Found existing installation: pycrypto 2.6.1
Uninstalling pycrypto-2.6.1:
Successfully uninstalled pycrypto-2.6.1
Successfully installed pycrypto-2.6.1
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 11
sudo python3 -m pip install --force-reinstall --upgrade cryptography
Looking in indexes: Simple index, piwheels - Simple index
Collecting cryptography
Downloading https://www.piwheels.org/simple/cryptography/cryptography-43.0.0-cp37-abi3-linux_armv7l.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 10.8 MB/s eta 0:00:00
Collecting cffi>=1.12 (from cryptography)
Downloading https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp37-cp37m-linux_armv7l.whl (219 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 219.9/219.9 kB 7.2 MB/s eta 0:00:00
Collecting pycparser (from cffi>=1.12->cryptography)
Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.7/119.7 kB 7.1 MB/s eta 0:00:00
Installing collected packages: pycparser, cffi, cryptography
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: cffi
Found existing installation: cffi 1.15.1
Uninstalling cffi-1.15.1:
Successfully uninstalled cffi-1.15.1
Attempting uninstall: cryptography
Found existing installation: cryptography 43.0.0
Uninstalling cryptography-43.0.0:
Successfully uninstalled cryptography-43.0.0
Successfully installed cffi-1.15.1 cryptography-43.0.0 pycparser-2.21
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 12
sudo python3 -m pip install --force-reinstall --upgrade enum34
Looking in indexes: Simple index, piwheels - Simple index
Collecting enum34
Downloading https://www.piwheels.org/simple/enum34/enum34-1.1.10-py3-none-any.whl (11 kB)
Installing collected packages: enum34
Attempting uninstall: enum34
Found existing installation: enum34 1.1.10
Uninstalling enum34-1.1.10:
Successfully uninstalled enum34-1.1.10
Successfully installed enum34-1.1.10
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 13
sudo python3 -m pip install --force-reinstall --upgrade enum-compat
Looking in indexes: Simple index, piwheels - Simple index
Collecting enum-compat
Downloading https://www.piwheels.org/simple/enum-compat/enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
Installing collected packages: enum-compat
Attempting uninstall: enum-compat
Found existing installation: enum-compat 0.0.3
Uninstalling enum-compat-0.0.3:
Successfully uninstalled enum-compat-0.0.3
Successfully installed enum-compat-0.0.3
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 14
sudo python3 -m pip install --force-reinstall --upgrade wheel
Looking in indexes: Simple index, piwheels - Simple index
Collecting wheel
Downloading https://www.piwheels.org/simple/wheel/wheel-0.42.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 2.2 MB/s eta 0:00:00
Installing collected packages: wheel
Attempting uninstall: wheel
Found existing installation: wheel 0.42.0
Uninstalling wheel-0.42.0:
Successfully uninstalled wheel-0.42.0
Successfully installed wheel-0.42.0
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
echo 15
sudo python3 -m pip install --force-reinstall --upgrade yeelight
Looking in indexes: Simple index, piwheels - Simple index
Collecting yeelight
Downloading https://www.piwheels.org/simple/yeelight/yeelight-0.7.14-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 kB 2.2 MB/s eta 0:00:00
Collecting future (from yeelight)
Using cached https://www.piwheels.org/simple/future/future-1.0.0-py3-none-any.whl (491 kB)
Collecting ifaddr (from yeelight)
Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting importlib_metadata (from yeelight)
Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting async-timeout (from yeelight)
Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting typing-extensions>=3.6.5 (from async-timeout->yeelight)
Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Collecting zipp>=0.5 (from importlib_metadata->yeelight)
Downloading https://www.piwheels.org/simple/zipp/zipp-3.15.0-py3-none-any.whl (6.8 kB)
Installing collected packages: ifaddr, zipp, typing-extensions, future, importlib_metadata, async-timeout, yeelight
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: zipp
Found existing installation: zipp 3.15.0
Uninstalling zipp-3.15.0:
Successfully uninstalled zipp-3.15.0
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.7.1
Uninstalling typing_extensions-4.7.1:
Successfully uninstalled typing_extensions-4.7.1
Attempting uninstall: future
Found existing installation: future 1.0.0
Uninstalling future-1.0.0:
Successfully uninstalled future-1.0.0
Attempting uninstall: importlib_metadata
Found existing installation: importlib-metadata 1.7.0
Uninstalling importlib-metadata-1.7.0:
Successfully uninstalled importlib-metadata-1.7.0
Attempting uninstall: async-timeout
Found existing installation: async-timeout 4.0.3
Uninstalling async-timeout-4.0.3:
Successfully uninstalled async-timeout-4.0.3
Attempting uninstall: yeelight
Found existing installation: yeelight 0.7.14
Uninstalling yeelight-0.7.14:
Successfully uninstalled yeelight-0.7.14
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-miio 0.5.12 requires importlib_metadata<2,>=1; python_version <= « 3.7 », but you have importlib-metadata 6.7.0 which is incompatible.
Successfully installed async-timeout-4.0.3 future-1.0.0 ifaddr-0.2.0 importlib_metadata-6.7.0 typing-extensions-4.7.1 yeelight-0.7.14 zipp-3.15.0
WARNING: Running pip as the ‹ root › user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.4 documentation
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists…
Building dependency tree…
Reading state information…
python3-cryptography is already the newest version (2.6.1-3+deb10u4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists…
Building dependency tree…
Reading state information…
libffi-dev is already the newest version (3.2.1-9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists…
Building dependency tree…
Reading state information…
libssl-dev is already the newest version (1.1.1n-0+deb10u6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Les logs ne sont pas très lisible, il faut utiliser un Texte préformaté (bouton </>):
saisissez ou collez du code ici
et pas une:
Citation
je n’ai pas lu les logs du coup mais vu sur la page santé vous êtes sous debian 10 qui n’est plus supporté, installez debian 11 (pas 12!) et restaurez un backup jeedom pour commencer
Salut,
Pour info, j’ai eu le même soucis il y a 15 jours. J’ai fini par faire un Restore d’un Backup datant d’avant la mise à jour de Z2m, tout a remarché aussitôt. Et j’ai relancé la mise à jour z2m, qui fonctionne bien cette fois ci. Il peut arriver qu’une mise à jour se passe mal de temps en temps. D’où l’intérêt d’voir toujours sous le coude un Backup récent…
Courage.
Le problème c’est que j’ai des save mais pour moi le problème date de plus de 15jours et je fais une save par jour avec une limite de 15 fichiers du coup pas moyen de restaurer…
Mise à jour: en fait j’ai mis ma plus Vieille sauvegarde relancé les dépendances et c’etait ok. Ensuite j’ai refais la mise à jour de jeedom et c’est toujours bon.