Error Python venv

Bonjour, j’ai un onduleur EATON (en usb sur mon proxmox) j’ai lancé la mise à jour du plugin j’ai eu 2 messages d’erreur malgré cela j’ai relancé les dépendances puis le daemon, cela semble fonctionner.
Je poste les logs pour confirmer que tout est ok ?
Merci

[2026-03-28 10:44:03] ERROR  [Python-Version] Python venv introuvable :: /var/www/html/plugins/Nut_free/core/class/../../resources/venv/bin/python3
[2026-03-28 10:44:03] ERROR  [DAEMON] Python venv introuvable : /var/www/html/plugins/Nut_free/core/class/../../resources/venv/bin/python3
[2026-03-28 10:45:46] DEBUG  [Python-Dep] PythonDepString / PythonDepNum :: pynutclient==2.8.4|requests==2.32.5 / 2
[2026-03-28 10:45:46] INFO  [PyEnv-Version] PyEnvVersion :: 2.6.26-5-g8397a19c
[2026-03-28 10:45:46] INFO  [Python-Version] PythonVersion (venv) :: 3.12.12
[2026-03-28 10:45:46] INFO  [DAEMON] Démarrage : /var/www/html/plugins/Nut_free/core/class/../../resources/venv/bin/python3 '/var/www/html/plugins/Nut_free/resources/nutfreed/nutfreed.py' --socketport 55113 --callback 'http://127.0.0.1:80/plugins/Nut_free/core/php/jeeNut_free.php' --apikey '7py1tXuLxXkMffd89llRqI04i5FVYCSBcZJ77OUMuWYcLK46D3dV37eBgnxPlQTg' --loglevel 'debug' --pluginversion '2.2.1' --cyclepolling 60 --cyclewatcher 5 --cyclefactor 1 --pid '/tmp/jeedom/Nut_free/deamon.pid' >> /var/www/html/core/class/../../log/Nut_free_daemon 2>&1 &
[2026-03-28 10:45:46] INFO  [CALLBACK] Démon démarré
[2026-03-28 10:45:47] INFO  [DAEMON] Démarré avec succès
[2026-03-28 10:45:47] DEBUG  [DAEMON] Envoi : {"action":"add_device","device":{"eqLogicId":362,"eqName":"Eaton650_Onduleur","host":"127.0.0.1","port":3493,"upsName":"","autoDet

Installation :

2026-03-28 10:45:14] e[0mUpdating 38f3333..90dfbca
[2026-03-28 10:45:14] Fast-forward
[2026-03-28 10:45:14]  CHANGELOG.md              |  93 +++++++++++++++++++------------------
[2026-03-28 10:45:14]  bin/pyenv-virtualenv      |   2 +-
[2026-03-28 10:45:14]  bin/pyenv-virtualenv-init | 116 +++++++++++++++++++++++++++++++++++++++++++++-
[2026-03-28 10:45:14]  test/init.bats            | 102 ++++++++++++++++++++++++++++++++++++++++
[2026-03-28 10:45:14]  test/test_helper.bash     |   8 ++++
[2026-03-28 10:45:14]  5 files changed, 274 insertions(+), 47 deletions(-)
[2026-03-28 10:45:14] ** PyEnv Installation / Update / Cleaning :: Done **
[2026-03-28 10:45:14] **************************************************
[2026-03-28 10:45:14] * Compile and Install Python 3.12.12 (with PyEnv) *
[2026-03-28 10:45:14] **************************************************
[2026-03-28 10:45:14] *                                                *
[2026-03-28 10:45:14] * ATTENTION : Cette phase de l'installation peut *
[2026-03-28 10:45:14] * être longue et durer de 2 minutes (Config ++)  *
[2026-03-28 10:45:14] * à plus de 40 minutes sur des petites config !  *
[2026-03-28 10:45:14] **************************************************
[2026-03-28 10:45:14] ** Python 3.12.12 Installation :: Done **
[2026-03-28 10:45:14] *****************************************
[2026-03-28 10:45:14] * Check Versions : Python PyEnv vs Venv *
[2026-03-28 10:45:14] *****************************************
[2026-03-28 10:45:14] ** Python Versions :: PyEnv = 3.12.12 / Venv = None **
[2026-03-28 10:45:14] ** Python Versions Mismatch :: NEED UPDATE **
[2026-03-28 10:45:14] **************************
[2026-03-28 10:45:14] * Create Python3.12 venv *
[2026-03-28 10:45:14] **************************
[2026-03-28 10:45:14] Python3 (Venv) Version :: None
[2026-03-28 10:45:14] Latest Python version installed with PyEnv :: 3.12.12
[2026-03-28 10:45:23] ** Create Python3.12 Venv :: Done **
[2026-03-28 10:45:23] *****************************
[2026-03-28 10:45:23] * Install Python3 libraries *
[2026-03-28 10:45:23] *****************************
[2026-03-28 10:45:23] Requirement already satisfied: pip in ./venv/lib/python3.12/site-packages (26.0.1)
[2026-03-28 10:45:23] Collecting wheel
[2026-03-28 10:45:23]   Using cached wheel-0.46.3-py3-none-any.whl.metadata (2.4 kB)
[2026-03-28 10:45:23] Collecting packaging>=24.0 (from wheel)
[2026-03-28 10:45:23]   Using cached packaging-26.0-py3-none-any.whl.metadata (3.3 kB)
[2026-03-28 10:45:23] Using cached wheel-0.46.3-py3-none-any.whl (30 kB)
[2026-03-28 10:45:23] Using cached packaging-26.0-py3-none-any.whl (74 kB)
[2026-03-28 10:45:23] Installing collected packages: packaging, wheel
[2026-03-28 10:45:23]
[2026-03-28 10:45:23] Successfully installed packaging-26.0 wheel-0.46.3
[2026-03-28 10:45:24] ** Install Pip / Wheel :: Done **
[2026-03-28 10:45:24] Collecting pynutclient==2.8.4 (from -r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 1))
[2026-03-28 10:45:24]   Downloading pynutclient-2.8.4-py3-none-any.whl.metadata (13 kB)
[2026-03-28 10:45:25] Collecting requests==2.32.5 (from -r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 2))
[2026-03-28 10:45:25]   Using cached requests-2.32.5-py3-none-any.whl.metadata (4.9 kB)
[2026-03-28 10:45:25] Collecting charset_normalizer<4,>=2 (from requests==2.32.5->-r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 2))
[2026-03-28 10:45:25]   Downloading charset_normalizer-3.4.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (40 kB)
[2026-03-28 10:45:25] Collecting idna<4,>=2.5 (from requests==2.32.5->-r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 2))
[2026-03-28 10:45:25]   Using cached idna-3.11-py3-none-any.whl.metadata (8.4 kB)
[2026-03-28 10:45:25] Collecting urllib3<3,>=1.21.1 (from requests==2.32.5->-r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 2))
[2026-03-28 10:45:25]   Downloading urllib3-2.6.3-py3-none-any.whl.metadata (6.9 kB)
[2026-03-28 10:45:25] Collecting certifi>=2017.4.17 (from requests==2.32.5->-r /var/www/html/plugins/Nut_free/resources/requirements.txt (line 2))
[2026-03-28 10:45:25]   Downloading certifi-2026.2.25-py3-none-any.whl.metadata (2.5 kB)
[2026-03-28 10:45:25] Downloading pynutclient-2.8.4-py3-none-any.whl (24 kB)
[2026-03-28 10:45:25] Using cached requests-2.32.5-py3-none-any.whl (64 kB)
[2026-03-28 10:45:25] Downloading charset_normalizer-3.4.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (207 kB)
[2026-03-28 10:45:25] Using cached idna-3.11-py3-none-any.whl (71 kB)
[2026-03-28 10:45:25] Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)
[2026-03-28 10:45:25] Downloading certifi-2026.2.25-py3-none-any.whl (153 kB)
[2026-03-28 10:45:25] Installing collected packages: urllib3, pynutclient, idna, charset_normalizer, certifi, requests
[2026-03-28 10:45:26]
[2026-03-28 10:45:26] Successfully installed certifi-2026.2.25 charset_normalizer-3.4.6 idna-3.11 pynutclient-2.8.4 requests-2.32.5 urllib3-2.6.3
[2026-03-28 10:45:26] ** Install Python3 libraries :: Done **
[2026-03-28 10:45:26] ********************
[2026-03-28 10:45:26] * SSH-Manager (opt) *
[2026-03-28 10:45:26] ********************
[2026-03-28 10:45:26] ** Vérification/installation du plugin SSH-Manager... **
[2026-03-28 10:45:26] INFO  [DEP-INSTALL] Le plugin SSH-Manager est déjà installé
[2026-03-28 10:45:26] INFO  [DEP-INSTALL] Plugin SSH-Manager :: actif
[2026-03-28 10:45:26] INFO  [DEP-INSTALL] >>>> Fin des dépendances <<<<
[2026-03-28 10:45:26] ** SSH-Manager :: Done **
[2026-03-28 10:45:26] ****************************
[2026-03-28 10:45:26] * Set Owner on Directories *
[2026-03-28 10:45:26] ****************************
[2026-03-28 10:45:26] ** Set Owner for Venv Dir :: Done **
[2026-03-28 10:45:26] ****************
[2026-03-28 10:45:26] * Install DONE *
[2026-03-28 10:45:26] ****************
[2026-03-28 10:45:27] DEBUG  [DepInfo] INFO  All dependencies are installed
Core : 4.5.2 (master)
DNS Jeedom : non

Plugin : NUT Free
Version : 2026-03-13 01:15:03 (stable)
Statut Démon : Démarré - (2026-03-28 10:45:46)

Informations Jeedom

Core : 4.5.2 (master)
DNS Jeedom : non

Plugin : NUT Free
Version : 2026-03-13 01:15:03 (stable)
Statut Démon : Démarré - (2026-03-28 10:45:46)

Informations complémentaires

Debian : 12.13
Plugin NUT Free (Version / Branche) : 2.2.1 / stable (market)
Plugin SSH Manager (Version / Branche) : 1.2.1 / stable (market)
Python : 3.12.12
PyEnv : 2.6.26-5-g8397a19c
Équipements : 1 actif(s) / 1 total

Bonjour @kwet,

Tout ce que je vois dans les logs fournies est bon : pas de soucis :wink:

Les messages d’erreurs que tu as au début viennent du fait qu’au moment du lancement, les dépendances n’étaient pas encore installées, et du coup il râle :slight_smile: mais après installation des dépendances (les lignes juste en dessous) tout se passe bien et le démon se lance.

Précaution à bien prendre : Recréer un nouvel équipement et de ne pas réutiliser les anciens, et lorsque tu as terminé de modifier les scénarios qui sont attachés avec certaines anciennes commandes, il faut supprimer les anciens équipements.

A ce moment là, ta « migration » sera terminée et tu pourras profiter des nouvelles fonctionnalités et les prochaines mises à jour se feront sans problème :+1:

Bonne journée,
TiTidom.

Hello @TiTidom ,

Super je viens de récréer l’équipement, modifier mon virtuel et mes scénarios.
Merci pour ton travail !!

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.