Impossible de demarrer le démon apres Maj

Bonjour, j’ai une smart en 4.3 debian 10. je viens de mettre a jour le plug in mais je n’arrive plus a demarrer le démon.
J’ai un modem USB de GCE. mon compteur est un linky en mode historique

[2024-05-21 11:03:03]DEBUG : calculatepapp
[2024-05-21 11:03:03]DEBUG : Pas de calcul
[2024-05-21 11:03:03]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:03]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:03]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:03]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:03]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:03]DEBUG : [TELEINFO_deamon] état global => retour: nok
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:04]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon] état global => retour: nok
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:04]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:04]DEBUG : [TELEINFO_deamon] état global => retour: nok
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:32]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon] état global => retour: nok
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:32]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:32]DEBUG : [TELEINFO_deamon] état global => retour: nok
[2024-05-21 11:03:37]DEBUG : [TELEINFO_deamon_infoserial] test pid
[2024-05-21 11:03:37]ERROR : [TELEINFO_deamon_infoserial] le deamon port modem 1 n'est pas démarré
[2024-05-21 11:03:37]DEBUG : [TELEINFO_deamon_modem] état : nok
[2024-05-21 11:03:37]DEBUG : [TELEINFO_deamon_MQTT] état : sans
[2024-05-21 11:03:37]DEBUG : [TELEINFO_deamon_prod] état : sans
[2024-05-21 11:03:37]DEBUG : [TELEINFO_deamon] état global => retour: nok

log démon

Error: importing module from jeedom folder
No module named 'requests'

Qu’ai je mal configuré ?
Merci pour votre aide
teleinfolog.txt (700 Ko)
teleinfo_packages.txt (12,5 Ko)
teleinfo.txt (20,2 Ko)

Bonjour,
Pourtant je l’ai faite sur plusieurs jeedom sans pb.
As tu essayé de redémarrer ta jeedom ?

je viens de tester le reboot, ca ne change rien. Demon NOK

Tu sembles avoir une erreur autour de python3,
dans le log il te propose d’installer manuellement
apt-get install python3-venv
je ne suis pas spécialiste donc …
Si c’était chez moi je ferais d’abord une mise à jour système
sudo apt update && sudo apt full-upgrade -y
et ensuite test teleinfo
et ensuite ce qu’il demande de faire
de toute façon j’ai des sauvegardes

C’est une smart. Je ne peux pas faire ça je pense. Ou il vaut mieux éviter

je peux le faire directement depuis jeedom ca ?

Je ne connais pas les smart il faudrait peut-être mieux attendre que noyax passe ou un connaisseur.
Je ne veux pas te faire casser qq chose, les conseilleurs n’étant pas les payeurs :disappointed_relieved:

Ok je vais attendre

j’ai mis a jour en 4.4 et toujours le meme problème. j’ai reinstamé le plug in, les dépendances… je ne sais plus ou chercher

Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'
Error: importing module from jeedom folder
No module named 'requests'

si je fais ceci ca peut fonctionner ?

car je vois des problèmes dans l’installation des dépendances

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_teleinfo
+ echo 1
+ sudo apt-get --allow-releaseinfo-change
E: Command line option --allow-releaseinfo-change is not understood in combination with the other options
+ 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.
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:3 http://www.deb-multimedia.org buster InRelease [18.1 kB]
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:5 https://oph.mdrjr.net/meveric buster InRelease
Get:6 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:7 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-ftdi1
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-ftdi1 is already the newest version (1.4-1+b2).
0 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
Wed May 22 12:20:31 UTC 2024
**********************************
*  Installation des dépendances  *
**********************************
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://www.deb-multimedia.org buster InRelease [18.1 kB]
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:5 https://oph.mdrjr.net/meveric buster InRelease
Get:6 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:7 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
libapache2-mod-php7.3 php7.3-cli php7.3-common php7.3-curl php7.3-dev
php7.3-gd php7.3-imap php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql
php7.3-opcache php7.3-readline php7.3-soap php7.3-xml php7.3-xmlrpc
php7.3-zip setup-odroid
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt apt-transport-https
apt-utils base-files bzip2 ca-certificates chromium chromium-common curl
dbus dbus-user-session debconf debconf-i18n debian-archive-keyring
device-tree-compiler dirmngr distro-info-data dpkg dpkg-dev espeak
espeak-data ffmpeg file git git-man glib-networking glib-networking-common
glib-networking-services gnupg gnupg-agent gnupg-l10n gnupg-utils gpg
gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv gzip iproute2
iputils-ping isc-dhcp-client isc-dhcp-common klibc-utils libapt-inst2.0
libapt-pkg5.0 libarchive13 libavahi-client3 libavahi-common-data
libavahi-common3 libavcodec58 libavdevice58 libavfilter7 libavformat58
libavresample4 libavutil56 libbluray2 libbrotli1 libbsd0 libbz2-1.0
libbz2-dev libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcairo-gobject2
libcairo2 libcups2 libcurl3-gnutls libcurl4 libdbi-perl libdbus-1-3
libdns-export1104 libdpkg-perl libespeak1 libexpat1 libexpat1-dev libflac8
libfreetype6 libfribidi0 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30
libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libhogweed4 libicu63
libinput-bin libinput10 libisc-export1100 libjpeg-dev libjpeg62-turbo
libjpeg62-turbo-dev libjson-c3 libk5crypto3 libklibc libkrb5-3
libkrb5support0 libksba8 libldap-2.4-2 libldap-common libldb1 libllvm7
liblz4-1 liblzma5 libmagic-mgc libmagic1 libncurses-dev libncurses5
libncurses5-dev libncurses6 libncursesw5 libncursesw6 libnettle6 libnss3
libopenjp2-7 libopenmpt0 libp11-kit0 libpam-systemd libpcap0.8 libperl5.28
libpixman-1-0 libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libportaudio2 libpostproc55 libproxy1v5 libpython3.7
libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5printsupport5 libqt5widgets5
librsvg2-2 librsvg2-common libsasl2-2 libsasl2-modules-db libsmbclient
libsndfile1 libsqlite3-0 libssl-dev libssl1.1 libswresample3 libswscale5
libsystemd0 libtasn1-6 libtiff5 libtinfo5 libtinfo6 libudev-dev libudev1
libunwind8 libwavpack1 libwbclient0 libwebp6 libwebpdemux2 libwebpmux3
libx11-6 libx11-data libx11-xcb1 libxml2 libxslt1.1 libzmq5 libzstd1
linux-libc-dev locales mariadb-client mariadb-client-10.3
mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3
mariadb-server-core-10.3 multiarch-support ncurses-base ncurses-bin nmap
nmap-common nodejs openssl perl perl-base perl-modules-5.28 php7.3
policykit-1 psmisc python-apt-common python-lxml python3-apt python3.7
python3.7-dev python3.7-minimal rsyslog rtl8821cu-dkms samba-common
samba-libs smbclient sudo systemd systemd-sysv tzdata udev unzip vim
vim-common vim-runtime vim-tiny wpasupplicant xserver-common xvfb xxd
xz-utils zlib1g zlib1g-dev
226 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Need to get 254 MB/264 MB of archives.
After this operation, 24.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Wed May 22 12:20:45 UTC 2024
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
icu-devtools libicu-dev libicu63 libxml2 libxslt1.1 pkg-config
Suggested packages:
icu-doc
The following NEW packages will be installed:
icu-devtools libicu-dev libxml2-dev libxslt1-dev pkg-config
The following packages will be upgraded:
libicu63 libxml2 libxslt1.1
3 upgraded, 5 newly installed, 0 to remove and 242 not upgraded.
Need to get 1374 kB/19.6 MB of archives.
After this operation, 49.4 MB of additional disk space will be used.
Err:1 http://security.debian.org/debian-security buster/updates/main arm64 libxml2 arm64 2.9.4+dfsg1-7+deb10u5
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:2 http://security.debian.org/debian-security buster/updates/main arm64 libxml2-dev arm64 2.9.4+dfsg1-7+deb10u5
404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libx/libxml2/libxml2_2.9.4+dfsg1-7+deb10u5_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libx/libxml2/libxml2-dev_2.9.4+dfsg1-7+deb10u5_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
Wed May 22 12:20:51 UTC 2024
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
The following additional packages will be installed:
libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
python3.7 python3.7-dev python3.7-minimal python3.7-venv
Suggested packages:
python3.7-doc binfmt-support
The following NEW packages will be installed:
python3-venv python3.7-venv
The following packages will be upgraded:
libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
python3.7 python3.7-dev python3.7-minimal
7 upgraded, 2 newly installed, 0 to remove and 238 not upgraded.
Need to get 8232 kB/8233 kB of archives.
After this operation, 56.3 kB of additional disk space will be used.
Err:1 http://security.debian.org/debian-security buster/updates/main arm64 python3.7-dev arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:2 http://security.debian.org/debian-security buster/updates/main arm64 python3.7 arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:3 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-dev arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:4 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7 arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:5 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-stdlib arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:6 http://security.debian.org/debian-security buster/updates/main arm64 python3.7-minimal arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:7 http://security.debian.org/debian-security buster/updates/main arm64 libpython3.7-minimal arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
Err:8 http://security.debian.org/debian-security buster/updates/main arm64 python3.7-venv arm64 3.7.3-2+deb10u4
404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/python3.7-dev_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/python3.7_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/libpython3.7-dev_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/libpython3.7_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/libpython3.7-stdlib_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/python3.7-minimal_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/libpython3.7-minimal_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/python3.7/python3.7-venv_3.7.3-2+deb10u4_arm64.deb  404  Not Found [IP: 2a04:4e42:6a::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Wed May 22 12:20:54 UTC 2024
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/var/www/html/plugins/teleinfo/ressources/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
Wed May 22 12:20:54 UTC 2024
/var/www/html/plugins/teleinfo/ressources/venv/bin/python3: No module named pip
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
sudo: /var/www/html/plugins/teleinfo/ressources/venv/bin/pip3: command not found
Wed May 22 12:20:54 UTC 2024
*************************************
*  Installation des dépendances OK  *
*************************************
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end teleinfo
+ echo 6
+ rm /tmp/jeedom_install_in_progress_teleinfo
+ echo '*******************End of package installation******************'
*******************End of package installation******************

EDIT j’ai testé et ca ne fonctionne pas

Salut,

Oui

Il faut le faire en root donc : sudo apt-get --allow-releaseinfo-change update

oui j’ai ajouté sudo entre 2 et ca fonctionne ! Merci @Bison !

Je suis tombé par hasard sur l’autre post

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.