Plugin « Onduleur (NUT) » et Debian 12 : le plugin ne fonctionne pas

Bonjour.
Je viens de passer ma dev en debian 12 pour faire des tests sur les plugins : clean install de debian, install de jeedom et restauration de sauvegarde. La version de jeedom installée est la dernière stable 4.4.16. Je signale un souci avec le plugin « Onduleur (NUT) », test effectué sur les 2 versions stable et beta. Je n’ai pas d’erreur sur les dépendances, voir log ci-dessous

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_nut
+ echo 1
+ echo 2
+ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian bookworm InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 3
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/nut/resources/python_venv
+ echo 4
+ sudo /var/www/html/core/class/../../plugins/nut/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /var/www/html/plugins/nut/resources/python_venv/lib/python3.11/site-packages (24.2)
Requirement already satisfied: wheel in /var/www/html/plugins/nut/resources/python_venv/lib/python3.11/site-packages (0.44.0)
+ echo 5
+ sudo /var/www/html/core/class/../../plugins/nut/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pynut3==1.6.2
Collecting pynut3==1.6.2
  Using cached pynut3-1.6.2-py3-none-any.whl.metadata (3.3 kB)
Using cached pynut3-1.6.2-py3-none-any.whl (20 kB)
Installing collected packages: pynut3
  Attempting uninstall: pynut3
    Found existing installation: pynut3 1.6.2
    Uninstalling pynut3-1.6.2:
      Successfully uninstalled pynut3-1.6.2
Successfully installed pynut3-1.6.2
+ echo 6
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end nut
+ echo 7
+ rm /tmp/jeedom_install_in_progress_nut
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Par contre, j’ai l’erreur suivante toutes les minutes dans le log « nut »

[2024-09-11 14:57:01][DEBUG] : commande : /usr/bin/python3 /var/www/html/plugins/nut/resources/nut.py -f getInfos -a 192.168.1.38 -u xxxxxx -p xxxxxxxxxxxxxx -n ups
[2024-09-11 14:57:01][WARNING] : Exception occured: 
[2024-09-11 14:57:01][DEBUG] : commande : /usr/bin/python3 /var/www/html/plugins/nut/resources/nut.py -f getInfos -a 192.168.1.58 -u xxxxxx -p xxxxxxxxxxxxxx -n ups
[2024-09-11 14:57:01][WARNING] : Exception occured: 

accompagnée des messages suivants dans la log « cron_execution »

 Traceback (most recent call last):
  File "/var/www/html/plugins/nut/resources/nut.py", line 3, in <module>
    from pynut3 import nut3
ModuleNotFoundError: No module named 'pynut3'
Traceback (most recent call last):
  File "/var/www/html/plugins/nut/resources/nut.py", line 3, in <module>
    from pynut3 import nut3
ModuleNotFoundError: No module named 'pynut3'

A toutes fins utiles, une copie de la page santé

Bonjour,

beta à tester demain

Bonjour.

Version beta installée et testée ce matin : c’est tout bon.
Encore merci.

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