Erreur update 4.4.0 (alpha)

Bonjour à toutes et à tous,

depuis quelques jours, j’ai un message d’erreur lors de la mise à jour des plug-in dans mon instance Jeedom en version 4.4.0 (Réglages => Système > Centre de mise à jour):

Erreur sur la vérification des mises à jour : No PSR-18 clients found. Make sure to install a package providing « psr/http-client-implementation ». Example: « php-http/guzzle7-adapter ».

Voici le contenu de l’onglet Information avec le détail de l’erreur :

> [START UPDATE]
> ****Update from 4.4.0 (2023-09-22 11:59:09)****
> Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""}
> Send begin of update event | OK
> Check update
> Error during update : No PSR-18 clients found. Make sure to install a package providing "psr/http-client-implementation". Example: "php-http/guzzle7-adapter".Details : Array
> (
> [0] => Array
> (
> [file] => /var/www/html/vendor/knplabs/github-api/lib/Github/HttpClient/Builder.php
> [line] => 85
> [function] => find
> [class] => Http\Discovery\Psr18ClientDiscovery
> [type] => ::
> [args] => Array
> (
> )
> )
> [1] => Array
> (
> [file] => /var/www/html/vendor/knplabs/github-api/lib/Github/Client.php
> [line] => 129
> [function] => __construct
> [class] => Github\HttpClient\Builder
> [type] => ->
> [args] => Array
> (
> )
> )
> [2] => Array
> (
> [file] => /var/www/html/core/repo/github.repo.php
> [line] => 80
> [function] => __construct
> [class] => Github\Client
> [type] => ->
> [args] => Array
> (
> )
> )
> [3] => Array
> (
> [file] => /var/www/html/core/repo/github.repo.php
> [line] => 101
> [function] => getGithubClient
> [class] => repo_github
> [type] => ::
> [args] => Array
> (
> )
> )
> [4] => Array
> (
> [file] => /var/www/html/core/repo/github.repo.php
> [line] => 97
> [function] => checkUpdate
> [class] => repo_github
> [type] => ::
> [args] => Array
> (
> [0] => update Object
> (
> [id:update:private] => 57
> [type:update:private] => plugin
> [logicalId:update:private] => AlternativeMarketForJeedom
> [name:update:private] => AlternativeMarketForJeedom
> [localVersion:update:private] => 343bcae5016f24767608b520b8aefa3614554755
> [remoteVersion:update:private] => 343bcae5016f24767608b520b8aefa3614554755
> [status:update:private] => ok
> [configuration:update:private] => {"user":"NextDom","repository":"plugin-AlternativeMarketForJeedom","version":"master"}
> [source:update:private] => github
> [updateDate:update:private] =>
> [_changeUpdate:update:private] =>
> [_changed:update:private] =>
> )
> )
> )
> [5] => Array
> (
> [file] => /var/www/html/core/class/update.class.php
> [line] => 83
> [function] => checkUpdate
> [class] => repo_github
> [type] => ::
> [args] => Array
> (
> [0] => Array
> (
> [0] => update Object
> (
> [id:update:private] => 57
> [type:update:private] => plugin
> [logicalId:update:private] => AlternativeMarketForJeedom
> [name:update:private] => AlternativeMarketForJeedom
> [localVersion:update:private] => 343bcae5016f24767608b520b8aefa3614554755
> [remoteVersion:update:private] => 343bcae5016f24767608b520b8aefa3614554755
> [status:update:private] => ok
> [configuration:update:private] => {"user":"NextDom","repository":"plugin-AlternativeMarketForJeedom","version":"master"}
> [source:update:private] => github
> [updateDate:update:private] =>
> [_changeUpdate:update:private] =>
> [_changed:update:private] =>
> )
> [1] => update Object
> (
> [id:update:private] => 61
> [type:update:private] => plugin
> [logicalId:update:private] => Mattermost
> [name:update:private] => Mattermost
> [localVersion:update:private] => c76fdaeda7054b9de57b27b2481f4e3df6a86417
> [remoteVersion:update:private] => repository not found
> [status:update:private] => ok
> [configuration:update:private] => {"user":"lucguinchard","repository":"plugin-Mattermost","version":"main"}
> [source:update:private] => github
> [updateDate:update:private] =>
> [_changeUpdate:update:private] =>
> [_changed:update:private] =>
> )
> [2] => update Object
> (
> [id:update:private] => 59
> [type:update:private] => plugin
> [logicalId:update:private] => RTSP
> [name:update:private] => RTSP
> [localVersion:update:private] => 5465cc6df0dd7d6d70638f7bce4ef783397fb182
> [remoteVersion:update:private] => 5465cc6df0dd7d6d70638f7bce4ef783397fb182
> [status:update:private] => ok
> [configuration:update:private] => {"user":"NextDom","repository":"plugin-RTSP","version":"master"}
> [source:update:private] => github
> [updateDate:update:private] =>
> [_changeUpdate:update:private] =>
> [_changed:update:private] =>
> )
> )
> )
> )
> [6] => Array
> (
> [file] => /var/www/html/install/update.php
> [line] => 66
> [function] => checkAllUpdate
> [class] => update
> [type] => ::
> [args] => Array
> (
> [0] =>
> [1] =>
> )
> )
> )
> [END UPDATE ERROR]
> PHP Fatal error:  Uncaught Http\Discovery\Exception\DiscoveryFailedException: Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors
> - No valid candidate found using strategy "Http\Discovery\Strategy\CommonClassesStrategy". We tested the following candidates: Http\Discovery\Strategy\CommonClassesStrategy::symfonyPsr18Instantiate, GuzzleHttp\Client, Http\Discovery\Strategy\CommonClassesStrategy::buzzInstantiate.
> - No valid candidate found using strategy "Http\Discovery\Strategy\CommonPsr17ClassesStrategy". We tested the following candidates: .
> in /var/www/html/vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php:41
> Stack trace:
> #0 /var/www/html/vendor/php-http/discovery/src/ClassDiscovery.php(94): Http\Discovery\Exception\DiscoveryFailedException::create(Array)
> #1 /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(25): Http\Discovery\ClassDiscovery::findOneByType('Psr\Http\Client')
> #2 /var/www/html/ in /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php on line 27

Une idée?

C’est la version alpha donc c’est peut-être normal, mais je préfère le remonter…

Merci d’avance

Se serait bien de mettre les logs entre balise </>
Il faut lancer deux fois la mise à jour

Hello @JAG

Merci de ta réponse, mais j’ai tenté de la lancer au moins 4 fois de suite et toujours la même erreur.

Bug connnu, tu l’as déjà eu?

C’est une alpha donc plein d évolution

Ok, je vais repasser en v4 stable pour ne pas polluer avec des erreurs liée à la version alpha.

Merci

Y a pas de stable en v 4.4

Et repasser en v4.3 depuis une 4.4 alpha n’est pas non plus conseillé

Ok, donc j’attend un peu que le bug soit corrigé?
Dois-je remonter cette erreur dans un canal particulier concernant l’alpha?
Pour analyse et correction?

Vu les tags de ton post ne tkt pas c vu par Loic

1 « J'aime »

Ok, super, merci!

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