Mise à jour JMQTT - Dernière stable version : 2023-04-15 01:01:22

Bonsoir,

Je viens de pousser la dernière mise à jour du plugin,
J’ai relancé les dépendances puis constaté ceci :

Logs de mes dépendances :

======================================================================
== 15/04/2023 01:36:45 == Dependencies installation for jMQTT
======================================================================
[  0% ] : Checking parameters...
== System: Linux Jeedom 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
== Jeedom version: 4.3.17
== jMQTT version: 2023-04-15
[  9% ] : Checking parameters : [  OK  ]
[ 10% ] : Synchronize the package index...
[ 19% ] : Synchronize the package index : [  OK  ]
[ 20% ] : Install Composer...
[ 29% ] : Install Composer : [  OK  ]
[ 30% ] : Install JsonPath-PHP library...
[ 39% ] : Install JsonPath-PHP library : ERROR
[ 40% ] : Remove Composer...
[ 49% ] : Remove Composer : [  OK  ]
[ 50% ] : Install python3 venv and pip debian packages...
[ 59% ] : Install python3 venv and pip debian packages : [  OK  ]
[ 60% ] : Create a python3 Virtual Environment...
[ 69% ] : Create a python3 Virtual Environment : [  OK  ]
[ 70% ] : Install required python3 libraries in venv...
[ 99% ] : Install required python3 libraries in venv : [  OK  ]
[100% ] : Finished !
======================================================================
== KO == Installation Error
======================================================================
== ANALYSING ERRORS...
== NO KNOWN ERROR DETECTED
== Error in step : Install JsonPath-PHP library
== Line 32
== Command `sudo -u www-data php /var/www/html/plugins/jMQTT/resources/composer.phar update --working-dir=/var/www/html/plugins/jMQTT/resources/JsonPath-PHP' have an issue
== Return code is 2
== Error message :
Loading composer repositories with package information
A connection timeout was encountered. If you intend to run Composer without connecting to the internet, run the command again prefixed with COMPOSER_DISABLE_NETWORK=1 to make Composer run in offline mode.
https://repo.packagist.org could not be fully loaded (curl error 28 while downloading https://repo.packagist.org/packages.json: Resolving timed out after 10002 milliseconds), package information was loaded from the local cache and may be out of date
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires galbar/jsonpath 3.0, found galbar/jsonpath[dev-normalize_length_op, dev-refactor_extract_private_methods, dev-master, dev-fix-#24_proper_serializarion_of_objects_and_arrays_when_empty, dev-fix_53_revert_length_functionality, dev-add_support_for_not_symbol, dev-44-add_symbol_or_and_operators, 0.5.0, ..., 0.8, 1.0, ..., 1.3.1, 2.0, 2.1] but it does not match the constraint.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Page santée de mon installation Jeedom :

Ceci étant, le démon est OK,

Au plaisir,
Bonne soirée,

Hello @Toms,

Merci d’avoir mis à jour jMQTT aussi vite et ces infos détaillées :wink:

D’après les logs :

Il semblerait que la machine qui execute jMQTT n’a pas réussi à se connecter à Internet et notamment repo.packagist.org pour mettre à jour la liste des packages composer. Il devait y avoir un problème de réseau chez toi (ou sur le chemin vers Packagist) ou une maintenance chez eux pile à ce moment.

Le package est pourtant bien dispo (galbar/jsonpath - Packagist) et mes Jeedom en 4.3.17 se sont bien update (je suis en Debian 10.13 et PHP 7.3.31-1, mais ça ne devrait rien changer).

Peux-tu re-re-essayer de relancer les dépendances stp ?

Merci,
Bad

Lo @Bad,

Effectivement, je viens de relancer les dépendances et voici les logs :

======================================================================
== 15/04/2023 13:41:25 == Dependencies installation for jMQTT
======================================================================
[  0% ] : Checking parameters...
== System: Linux Jeedom 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
== Jeedom version: 4.3.17
== jMQTT version: 2023-04-15
[  9% ] : Checking parameters : [  OK  ]
[ 10% ] : Synchronize the package index...
[ 19% ] : Synchronize the package index : [  OK  ]
[ 20% ] : Install Composer...
[ 29% ] : Install Composer : [  OK  ]
[ 30% ] : Install JsonPath-PHP library...
[ 39% ] : Install JsonPath-PHP library : [  OK  ]
[ 40% ] : Remove Composer...
[ 49% ] : Remove Composer : [  OK  ]
[ 50% ] : Install python3 venv and pip debian packages...
[ 59% ] : Install python3 venv and pip debian packages : [  OK  ]
[ 60% ] : Create a python3 Virtual Environment...
[ 69% ] : Create a python3 Virtual Environment : [  OK  ]
[ 70% ] : Install required python3 libraries in venv...
[ 99% ] : Install required python3 libraries in venv : [  OK  ]
[100% ] : Finished !
======================================================================
== OK == Installation Successful
======================================================================

Je n’ai pas prêté attention à l’ensemble des logs après la mise à jour,
Désolé pour le dérangement,

Si je peux rendre service n’hésite pas à me solliciter,

Bon wee-end,
Au plaisir,

1 « J'aime »

Aucun souci, ravi que ce ne soit pas un bug.

Tu peux clore le sujet ?

Excellent weekend à toi aussi

2 « J'aime »

20 messages ont été scindés en un nouveau sujet : Problème jmqtt

Lo,

Pas de problème, vous pouvez rester sur mon topic,

Au plaisir,
Bon dimanche,

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.