Bonjour,
suite à la derniere mise a jours, je n’avais pas Pyenv4jeedom jusqu’a présent, je n’arrive pas à lancer le démon de plugin-mymodbus
L’erreur est la suivante :
[2024-03-10 18:42:00]ERROR : Erreur sur la fonction deamon_start du plugin : L'environnement pyenv n'a pas pu être installé
[2024-03-10 18:42:01]DEBUG : deamon_info = {"state":"nok","launchable":"ok"}
[2024-03-10 18:42:02]DEBUG : deamon_info = {"state":"nok","launchable":"ok"}
[2024-03-10 18:42:07]DEBUG : deamon_info = {"state":"nok","launchable":"ok"}
[2024-03-10 18:42:09]DEBUG : deamon_info = {"state":"nok","launchable":"ok"}
j’ai fais pas mal de chose que j’ai vu sur le forum comme
- Arret des équipements
- désactivation mymodbus
- desactivation Pyenv 4
- activation pyenv4
- relance dépendance
- attendre 30mn
- activation mymobus
- relance dépendance.
- activation 1 equipements
- relance du démon
- KO.
Les logs d’installe de Pyenv4 :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_pyenv
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/pyenv/ressources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/pyenv/ressources/post-install.sh
********************************************************
* Installation de pyenv *
********************************************************
Sun Mar 10 15:19:23 CET 2024
********************************************************
* Installation terminée *
********************************************************
Sun Mar 10 15:19:23 CET 2024
+ echo 3
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end pyenv
+ echo 4
+ rm /tmp/jeedom_install_in_progress_pyenv
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Les logs en debut de PYenv4
2024-03-10 18:47:21]DEBUG : pyenv::init
[2024-03-10 18:47:21]DEBUG : pyenv::createVirtualenv * pluginId = 'mymodbus', pythonVersion = '3.11.8', requirements = 'requests pyserial pyudev pymodbus==3.2.2', suffix = 'pymodbus3.2.2', upgrade = 'false'
[2024-03-10 18:47:21]DEBUG : pyenv::virtualenvIsInstalled * virtualenv = mymodbus++pymodbus3.2.2
[2024-03-10 18:47:21]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenvs --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:21]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'virtualenvs --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:21]DEBUG : pyenv::pluginExists * pluginId = mymodbus
[2024-03-10 18:47:21]DEBUG : pyenv::installPython * version = 3.11.8
[2024-03-10 18:47:21]DEBUG : pyenv::pythonIsInstalled * version = 3.11.8
[2024-03-10 18:47:21]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'versions --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:21]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'versions --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:22]DEBUG : pyenv::runPyenv -> 3.11.8
[2024-03-10 18:47:22]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenv 3.11.8 mymodbus++pymodbus3.2.2', virtualenv = 'NULL', daemon = 'false', lock = 'true'
[2024-03-10 18:47:22]DEBUG : pyenv::getVirtualenvNames * pluginId = 'mymodbus', pythonVersion = '3.11.8', suffix = 'pymodbus3.2.2'
[2024-03-10 18:47:22]DEBUG : pyenv::pluginExists * pluginId = mymodbus
[2024-03-10 18:47:22]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:22]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:27]DEBUG : pyenv::getVirtualenvNames * pluginId = 'mymodbus', pythonVersion = '3.11.8', suffix = 'pymodbus3.2.2'
[2024-03-10 18:47:27]DEBUG : pyenv::pluginExists * pluginId = mymodbus
[2024-03-10 18:47:27]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:27]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:28]DEBUG : pyenv::init
[2024-03-10 18:47:28]DEBUG : pyenv::createVirtualenv * pluginId = 'mymodbus', pythonVersion = '3.11.8', requirements = 'requests pyserial pyudev pymodbus==3.2.2', suffix = 'pymodbus3.2.2', upgrade = 'false'
[2024-03-10 18:47:28]DEBUG : pyenv::virtualenvIsInstalled * virtualenv = mymodbus++pymodbus3.2.2
[2024-03-10 18:47:28]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenvs --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:28]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'virtualenvs --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:29]DEBUG : pyenv::pluginExists * pluginId = mymodbus
[2024-03-10 18:47:29]DEBUG : pyenv::installPython * version = 3.11.8
[2024-03-10 18:47:29]DEBUG : pyenv::pythonIsInstalled * version = 3.11.8
[2024-03-10 18:47:29]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'versions --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:29]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'versions --bare', virtualenv = 'NULL', daemon = 'false'
[2024-03-10 18:47:29]DEBUG : pyenv::runPyenv -> 3.11.8
[2024-03-10 18:47:29]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenv 3.11.8 mymodbus++pymodbus3.2.2', virtualenv = 'NULL', daemon = 'false', lock = 'true'
[2024-03-10 18:47:29]DEBUG : pyenv::getVirtualenvNames * pluginId = 'mymodbus', pythonVersion = '3.11.8', suffix = 'pymodbus3.2.2'
[2024-03-10 18:47:29]DEBUG : pyenv::pluginExists * pluginId = mymodbus
[2024-03-10 18:47:29]DEBUG : pyenv::runPyenv * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false', lock = 'false'
[2024-03-10 18:47:29]DEBUG : pyenv::sourceScript * command = 'pyenv', args = 'virtualenvs --skip-aliases --bare', virtualenv = 'NULL', daemon = 'false'
ma page santé :
Pour info c’est un jeedom entierrement dédié à Mymodbus
merci