Démon KO suite V2.0 beta54 du 23/10/2024

Bonsoir @Michel_F

Petit souci ce soir… Suite installation de la version beta en objet, le démon refuse de redémarrer. J’ai lancé une réinstallation des dépendances mais ça coince : le démon indique « installation dépendances en cours » puis « dépendances non installées ».

Testé deux fois → même comportement.

J’avais vidé les logs juste avant (trop volumineux car restés en debug). Depuis la mise à jour, le log du démon ne se génère pas. Sinon je t’ai mis tout le reste.

@+

Statut

Santé

log mymodbus update

======================================================================
== 23/10/2024 23:36:11 == Dependencies installation for mymodbus
======================================================================
[  5% ] : Clean apt...
[  9% ] : Clean apt : [  OK  ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [  OK  ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [  OK  ]
[ 30% ] : Init PyEnv...
** PyEnv required: 3.9.2 < 3.11 **
[ 39% ] : Init PyEnv : [  OK  ]
[ 40% ] : install or update PyEnv...
[ 49% ] : install or update PyEnv : [  OK  ]
[ 50% ] : Install Python 3.11 with PyEnv...
** python3 path: /opt/pyenv/versions/3.11.10/bin/python3 **
[ 59% ] : Install Python 3.11 with PyEnv : [  OK  ]
[ 60% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.11.10
[ 69% ] : Setting up virtual environment : [  OK  ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [  OK  ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [  OK  ]
[ 90% ] : Summary of installed packages...
aiohappyeyeballs==2.4.3
aiohttp==3.10.10
aiosignal==1.3.1
attrs==24.2.0
frozenlist==1.4.1
idna==3.10
jeedomdaemon==1.0.2
multidict==6.1.0
propcache==0.2.0
pymodbus==3.7.3
pyserial==3.5
yarl==1.15.5
[ 99% ] : Summary of installed packages : [  OK  ]
[100% ] : Finished !
======================================================================
==OK== Installation Successful
======================================================================

log mymodbus_packages

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mymodbus
+ 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.
Get:1 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:2 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9452 B]
Hit:3 http://deb.debian.org/debian bullseye InRelease
Get:4 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:5 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:6 http://deb.debian.org/debian-security bullseye-security/main Sources [195 kB]
Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [303 kB]
Get:8 http://deb.debian.org/debian-security bullseye-security/main Translation-en [195 kB]
Fetched 786 kB in 0s (2135 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
124 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y git
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 124 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libbz2-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libbz2-dev is already the newest version (1.0.8-4).
0 upgraded, 0 newly installed, 0 to remove and 124 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libreadline-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libreadline-dev is already the newest version (8.1-1).
0 upgraded, 0 newly installed, 0 to remove and 124 not upgraded.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libsqlite3-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libsqlite3-0
Suggested packages:
sqlite3-doc
The following packages will be upgraded:
libsqlite3-0 libsqlite3-dev
2 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
Need to get 1759 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 libsqlite3-dev amd64 3.34.1-3+deb11u1 [963 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security/main amd64 libsqlite3-0 amd64 3.34.1-3+deb11u1 [797 kB]
apt-listchanges: Reading changelogs...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1759 kB in 1s (2339 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75522 files and directories currently installed.)
Preparing to unpack .../libsqlite3-dev_3.34.1-3+deb11u1_amd64.deb ...
Unpacking libsqlite3-dev:amd64 (3.34.1-3+deb11u1) over (3.34.1-3) ...
Preparing to unpack .../libsqlite3-0_3.34.1-3+deb11u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.34.1-3+deb11u1) over (3.34.1-3) ...
Setting up libsqlite3-0:amd64 (3.34.1-3+deb11u1) ...
Setting up libsqlite3-dev:amd64 (3.34.1-3+deb11u1) ...
Processing triggers for libc-bin (2.31-13+deb11u10) ...
+ echo 7
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libncurses5-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libncurses5-dev is already the newest version (6.2+20201114-2+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
+ echo 8
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libncursesw5-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libncursesw5-dev is already the newest version (6.2+20201114-2+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
+ echo 9
+ sudo apt install -o Dpkg::Options::=--force-confdef -y libffi-dev
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.3-6).
0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
+ echo 10
+ sudo apt install -o Dpkg::Options::=--force-confdef -y liblzma-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
liblzma-dev is already the newest version (5.2.5-2.1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
+ echo 11
+ sudo chmod +x /var/www/html/core/class/../../plugins/mymodbus/ressources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/mymodbus/ressources/post-install.sh
********************************************************
*           Nettoyage de l'ancienne version            *
********************************************************
Wed Oct 16 12:09:19 CEST 2024
********************************************************
*           Installation terminée                      *
********************************************************
Wed Oct 16 12:09:19 CEST 2024
+ echo 12
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mymodbus
+ echo 13
+ rm /tmp/jeedom_install_in_progress_mymodbus
+ echo '*******************End of package installation******************'
*******************End of package installation******************

log mymodbus

024-10-23 23:39:11] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:11] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:11] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:16] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:16] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:16] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:16] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:16] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:22] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:22] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:22] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:22] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:22] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:27] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:27] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:27] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:27] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:27] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:32] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:32] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:32] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:32] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:32] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:37] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:37] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:37] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:37] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:37] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'
[2024-10-23 23:39:42] DEBUG  : mymodbus::deamon_info
[2024-10-23 23:39:42] DEBUG  : mymodbus::getDeamonLaunchable
[2024-10-23 23:39:42] DEBUG  : mymodbus::getCompleteConfiguration
[2024-10-23 23:39:42] DEBUG  : mymodbus::getEqConfiguration
[2024-10-23 23:39:42] DEBUG  : mymodbus::deamon_info * daemon_info = '{"log":"mymodbus","state":"nok","launchable":"ok"}'

c’est corrigé, fais la mise à jour et relance l’installation des dépendances STP

C’est tout bon → merci m’sieur :+1:

1 « J'aime »

ça c’est du beta-testeur !!

Merci à toi !

1 « J'aime »

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