ALPHA : Mise à jour core bloqué a 53% => depuis plus d'une heure

Page concernée : Mise à jour
Version Core : 4.4 ALPHA

Voila les logs a l’état actuel => les autres logs sont vide

[START UPDATE]
****Update from 4.4.0 (2023-08-17 17:03:07)****
Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""}
Send begin of update event | OK
Check update | OK
Check rights | OK
[START BACKUP]
***************Start of Jeedom backup at 2023-08-17 17:03:13***************
Send begin backup event | OK
Checking files rights | OK
Checking  database | OK
Backing up database | OK
Cache persistence: | OK
Creating archive | OK
Cleaning old backup | OK
Limiting backup size to 1000 Mb | OK
Backup name: /var/www/html/core/php///backup/backup-JAG_JeedomVM2-4.4.0-2023-08-17-17h03.tar.gz
Checking files rights | OK
Send end backup event | OK
Backup operation duration: 48s
***************Jeedom backup end***************
[END BACKUP SUCCESS]
Download url : https://github.com/jeedom/core/archive/alpha.zip
Download in progress--2023-08-17 17:04:01--  https://github.com/jeedom/core/archive/alpha.zip
Resolving github.com (github.com)
140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443 connected.
HTTP request sent, awaiting response 302 Found
Location: https://codeload.github.com/jeedom/core/zip/refs/heads/alpha [following]
--2023-08-17 17:04:02--  https://codeload.github.com/jeedom/core/zip/refs/heads/alpha
Resolving codeload.github.com (codeload.github.com) 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443 connected.
HTTP request sent, awaiting response 200 | OK
Length: unspecified [application/zip]
Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0K       5.75M
3072K
7.00M
6144K       4.06M
9216K
6.10M
12288K       3.83M
15360K      .
7.71M
18432K       9.98M
21504K       17.1M
24576K       46.3M
27648K       29.9M
30720K       19.7M
33792K       16.4M
36864K
11.0M
39936K       16.3M
43008K       14.2M
46080K       14.2M
49152K       9.33M
52224K       18.4M
55296K
14.4M
58368K       5.24M
61440K       10.6M
64512K       11.6M
67584K
11.6M
70656K       12.8M
73728K       12.1M
76800K       9.57M
79872K
10.1M=8.3s
2023-08-17 17:04:10 (9.68 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [83763660] | OK
Cleaning folders | OK
Create temporary folder | OK
Unzip in progress | OK
Clean temporary files (tmp) | OK
Disable all task. | OK
Disable all scenario | OK
Moving files
Ignore file /tmp/jeedom_unzip/core-alpha///docs/de_DE/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/en_US/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/es_ES/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/fr_FR/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/pt_PT/noteVersion.md because size is 0 | OK
Remove temporary files | OK
Remove useless files
Cleaning 3rdparty
Cleaning desktop
Cleaning mobile
Cleaning core
Cleaning docs
Cleaning install
Cleaning script
find: '/var/www/html/install//script/*': No such file or directory | OK
Update composer file
Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
You are already using the latest available Composer version 2.5.8 (stable channel).
Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 23 installs, 19 updates, 15 removals
- Removing bacon/bacon-qr-code (1.0.3)
- Removing guzzle/guzzle (v3.9.3)
- Removing league/oauth2-client (2.6.1)
- Removing matthiasmullie/minify (1.3.69)
- Removing matthiasmullie/path-converter (1.1.3)
- Removing paragonie/random_compat (v9.99.100)
- Removing psr/simple-cache (1.0.1)
- Removing symfony/event-dispatcher (v2.8.52)
- Removing symfony/polyfill-intl-idn (v1.19.0)
- Removing symfony/polyfill-intl-normalizer (v1.19.0)
- Removing symfony/polyfill-php56 (v1.19.0)
- Removing symfony/polyfill-php70 (v1.19.0)
- Removing symfony/polyfill-php72 (v1.19.0)
- Removing symfony/polyfill-util (v1.19.0)
- Removing touki/ftp (v1.2.1)
- Locking abbadon1334/sun-position-spa-php (2.0.0)
- Locking clue/stream-filter (v1.6.0)
- Upgrading doctrine/cache (v1.6.2 => 1.13.0)
- Upgrading dragonmantank/cron-expression (v2.3.1 => v3.3.3)
- Upgrading guzzlehttp/guzzle (6.5.8 => 7.7.0)
- Upgrading guzzlehttp/promises (1.5.2 => 2.0.1)
- Upgrading guzzlehttp/psr7 (1.9.0 => 2.6.0)
- Upgrading knplabs/github-api (1.7.1 => v3.11.0)
- Upgrading league/flysystem (1.0.70 => 1.1.10)
- Locking league/mime-type-detection (1.13.0)
- Upgrading monolog/monolog (1.27.1 => 2.9.1)
- Locking php-http/cache-plugin (1.8.0)
- Locking php-http/client-common (2.7.0)
- Locking php-http/discovery (1.19.1)
- Locking php-http/guzzle7-adapter (1.0.0)
- Locking php-http/httplug (2.4.0)
- Locking php-http/message (1.16.0)
- Locking php-http/message-factory (1.1.0)
- Locking php-http/multipart-stream-builder (1.3.0)
- Locking php-http/promise (1.1.0)
- Upgrading pragmarx/google2fa (v7.0.0 => v8.0.1)
- Upgrading pragmarx/google2fa-qrcode (v1.0.3 => v3.0.0)
- Locking psr/container (1.1.2)
- Locking psr/http-client (1.0.2)
- Locking psr/http-factory (1.0.2)
- Upgrading psr/http-message (1.0.1 => 1.1)
- Upgrading sabre/dav (4.0.3 => 4.4.0)
- Upgrading sabre/event (5.0.3 => 5.1.4)
- Upgrading sabre/http (5.0.5 => 5.1.8)
- Upgrading sabre/uri (2.1.3 => 2.3.3)
- Upgrading sabre/vobject (4.2.2 => 4.5.3)
- Upgrading sabre/xml (2.1.3 => 2.2.6)
- Upgrading symfony/cache (v3.3.6 => v5.4.25)
- Locking symfony/cache-contracts (v2.5.2)
- Locking symfony/deprecation-contracts (v2.5.2)
- Upgrading symfony/expression-language (v3.3.6 => v5.4.21)
- Locking symfony/options-resolver (v5.4.21)
- Locking symfony/polyfill-php73 (v1.27.0)
- Locking symfony/polyfill-php80 (v1.27.0)
- Locking symfony/service-contracts (v2.5.2)
- Locking symfony/var-exporter (v5.4.26)
- Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file
Package operations: 22 installs, 20 updates, 15 removals
- Downloading php-http/discovery (1.19.1)
- Downloading abbadon1334/sun-position-spa-php (2.0.0)
- Downloading doctrine/cache (1.13.0)
- Downloading webmozart/assert (1.11.0)
- Downloading dragonmantank/cron-expression (v3.3.3)
- Downloading guzzlehttp/promises (2.0.1)
- Downloading symfony/polyfill-php80 (v1.27.0)
- Downloading symfony/deprecation-contracts (v2.5.2)
- Downloading psr/http-message (1.1)
- Downloading psr/http-factory (1.0.2)
- Downloading guzzlehttp/psr7 (2.6.0)
- Downloading psr/http-client (1.0.2)
- Downloading guzzlehttp/guzzle (7.7.0)
- Downloading php-http/promise (1.1.0)
- Downloading php-http/httplug (2.4.0)
- Downloading php-http/guzzle7-adapter (1.0.0)
- Downloading php-http/multipart-stream-builder (1.3.0)
- Downloading symfony/polyfill-php73 (v1.27.0)
- Downloading symfony/options-resolver (v5.4.21)
- Downloading clue/stream-filter (v1.6.0)
- Downloading php-http/message (1.16.0)
- Downloading php-http/client-common (2.7.0)
- Downloading php-http/message-factory (1.1.0)
- Downloading php-http/cache-plugin (1.8.0)
- Downloading knplabs/github-api (v3.11.0)
- Downloading sabre/uri (2.3.3)
- Downloading sabre/xml (2.2.6)
- Downloading sabre/vobject (4.5.3)
- Downloading sabre/event (5.1.4)
- Downloading sabre/http (5.1.8)
- Downloading sabre/dav (4.4.0)
- Downloading league/mime-type-detection (1.13.0)
- Downloading league/flysystem (1.1.10)
- Downloading monolog/monolog (2.9.1)
- Downloading pragmarx/google2fa (v8.0.1)
- Downloading pragmarx/google2fa-qrcode (v3.0.0)
- Downloading symfony/cache-contracts (v2.5.2)
- Downloading psr/container (1.1.2)
- Downloading symfony/service-contracts (v2.5.2)
- Downloading symfony/var-exporter (v5.4.26)
- Downloading symfony/cache (v5.4.25)
- Downloading symfony/expression-language (v5.4.21)

A disposition pour donner d’autres infos si je peux

Bonjour,
Je viens de tester sur 3 jeedoms et je ne reproduis pas le soucis, si tu relances ca fait pareil ? il est possible que vu que les dépendances se mettent a jour tu perdes le logs de la maj. Malheureusement ca je pourrais pas l’empêcher.

je viens de relancer la mise à jour et j’ai cette erreur

[START UPDATE]
****Update from 4.4.0 (2023-08-17 17:22:55)****
Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""}
Send begin of update event | OK
Check updatePHP Fatal error:  Uncaught Error: Class 'Github\HttpClient\CachedHttpClient' not found in /var/www/html/core/repo/github.repo.php:81
Stack trace:
#0 /var/www/html/core/repo/github.repo.php(99): repo_github::getGithubClient()
#1 /var/www/html/core/repo/github.repo.php(95): repo_github::checkUpdate()
#2 /var/www/html/core/class/update.class.php(83): repo_github::checkUpdate()
#3 /var/www/html/install/update.php(65): update::checkAllUpdate()
#4 {main}
thrown in /var/www/html/core/repo/github.repo.php on line 81

Pas de soucis pour cette perte, je voulais juste dire que j’avais regarder si j’avais d’autres erreur dans les logs avant de remonter mon pb ici

Ma VM est sur un DNS jeedom, si cela interresse de regarder pas de soucis pour moi

Salut,
Pour le moment je suis toujours en vacance et madame ne m’autorise qu’un temps limite de Jeedom par jour… C’est un soucis qu’un membre de l’équipe a aussi je cherche comment corriger.

Edit relance une Maj j’ai virer le cache sur GitHub.

Salut
Merci quand même pour le retour
Profite de tes vacances

1 « J'aime »

Cela va beaucoup mieux, par contre elle est très longue cette mise à jour
il y a quand même des erreurs, je ne sais pas si c’est grave

PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php:116
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
#1 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(298): GuzzleHttp\default_user_agent()
#2 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(76): GuzzleHttp\Client->configureDefaults()
#3 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(73): GuzzleHttp\Client->__construct()
#4 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(32): Http\Adapter\Guzzle7\Client::buildClient()
#5 /var/www/html/vendor/php-http/discovery/src/ClassDiscovery.php(223): Http\Adapter\Guzzle7\Client->__construct()
#6 /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(30): Http\Discovery\ClassDiscovery::instantiateClass()
#7 /var/www/html/vendor/knplabs/github-api/lib/Github/HttpClient/Builder.php(85): Http\Disco in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php on line 116

Les logs complets de la mise à jour

[START UPDATE]
****Update from 4.4.0 (2023-08-17 19:22:52)****
Parameters : {"preUpdate":"0","backup::before":"0","core":"1","force":"1","plugins":"1","update::reapply":""}
Send begin of update event | OK
Check rights | OK
Download url : https://github.com/jeedom/core/archive/alpha.zip
Download in progress--2023-08-17 19:22:55--  https://github.com/jeedom/core/archive/alpha.zip
Resolving github.com (github.com) 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443 connected.
HTTP request sent, awaiting response 302 Found
Location: https://codeload.github.com/jeedom/core/zip/refs/heads/alpha [following]
--2023-08-17 19:22:56--  https://codeload.github.com/jeedom/core/zip/refs/heads/alpha
Resolving codeload.github.com (codeload.github.com) 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443 connected.
HTTP request sent, awaiting response 200 | OK
Length: unspecified [application/zip]
Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0K
.
5.97M
3072K       6.83M
6144K
5.36M
9216K       10.4M
12288K       4.54M
15360K
. .
7.80M
18432K       8.54M
21504K       9.60M
24576K    .
9.98M
27648K       10.6M
30720K       10.9M
33792K       11.5M
36864K
9.23M
39936K       12.3M
43008K       11.4M
46080K       12.2M
49152K       12.2M
52224K
8.98M
55296K       9.79M
58368K       10.2M
61440K       10.7M
64512K .
11.3M
67584K       11.8M
70656K       11.3M
73728K       9.10M
76800K
.   12.1M
79872K                         12.4M=8.7s
2023-08-17 19:23:05 (9.21 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [83763858] | OK
Cleaning folders | OK
Create temporary folder | OK
Unzip in progress | OK
Clean temporary files (tmp) | OK
Disable all task | OK
Disable all scenario | OK
Moving files
Ignore file /tmp/jeedom_unzip/core-alpha///docs/de_DE/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/en_US/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/es_ES/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/fr_FR/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-alpha///docs/pt_PT/noteVersion.md because size is 0 | OK
Remove temporary files | OK
Remove useless files
Cleaning 3rdparty
Cleaning desktop
Cleaning mobile
Cleaning core
Cleaning docs
Cleaning install
Cleaning script
find: '/var/www/html/install//script/*': No such file or directory | OK
Update composer file
Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
You are already using the latest available Composer version 2.5.8 (stable channel).
Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading sabre/http (5.1.8 => 5.1.9)
Writing lock file
Installing dependencies from lock file
Package operations: 22 installs, 20 updates, 15 removals
- Downloading php-http/discovery (1.19.1)
- Downloading abbadon1334/sun-position-spa-php (2.0.0)
- Downloading doctrine/cache (1.13.0)
- Downloading webmozart/assert (1.11.0)
- Downloading dragonmantank/cron-expression (v3.3.3)
- Downloading guzzlehttp/promises (2.0.1)
- Downloading symfony/polyfill-php80 (v1.27.0)
- Downloading symfony/deprecation-contracts (v2.5.2)
- Downloading psr/http-message (1.1)
- Downloading psr/http-factory (1.0.2)
- Downloading guzzlehttp/psr7 (2.6.0)
- Downloading psr/http-client (1.0.2)
- Downloading guzzlehttp/guzzle (7.7.0)
- Downloading php-http/promise (1.1.0)
- Downloading php-http/httplug (2.4.0)
- Downloading php-http/guzzle7-adapter (1.0.0)
- Downloading php-http/multipart-stream-builder (1.3.0)
- Downloading symfony/polyfill-php73 (v1.27.0)
- Downloading symfony/options-resolver (v5.4.21)
- Downloading clue/stream-filter (v1.6.0)
- Downloading php-http/message (1.16.0)
- Downloading php-http/client-common (2.7.0)
- Downloading php-http/message-factory (1.1.0)
- Downloading php-http/cache-plugin (1.8.0)
- Downloading knplabs/github-api (v3.11.0)
- Downloading sabre/uri (2.3.3)
- Downloading sabre/xml (2.2.6)
- Downloading sabre/vobject (4.5.3)
- Downloading sabre/event (5.1.4)
- Downloading sabre/http (5.1.9)
- Downloading sabre/dav (4.4.0)
- Downloading league/mime-type-detection (1.13.0)
- Downloading league/flysystem (1.1.10)
- Downloading monolog/monolog (2.9.1)
- Downloading pragmarx/google2fa (v8.0.1)
- Downloading pragmarx/google2fa-qrcode (v3.0.0)
- Downloading symfony/cache-contracts (v2.5.2)
- Downloading psr/container (1.1.2)
- Downloading symfony/service-contracts (v2.5.2)
- Downloading symfony/var-exporter (v5.4.26)
- Downloading symfony/cache (v5.4.25)
- Downloading symfony/expression-language (v5.4.21)
- Removing touki/ftp (v1.2.1)
- Removing symfony/polyfill-util (v1.19.0)
- Removing symfony/polyfill-php72 (v1.19.0)
- Removing symfony/polyfill-php70 (v1.19.0)
- Removing symfony/polyfill-php56 (v1.19.0)
- Removing symfony/polyfill-intl-normalizer (v1.19.0)
- Removing symfony/polyfill-intl-idn (v1.19.0)
- Removing symfony/event-dispatcher (v2.8.52)
- Removing psr/simple-cache (1.0.1)
- Removing paragonie/random_compat (v9.99.100)
- Removing matthiasmullie/path-converter (1.1.3)
- Removing matthiasmullie/minify (1.3.70)
- Removing league/oauth2-client (2.6.1)
- Removing guzzle/guzzle (v3.9.3)
- Removing bacon/bacon-qr-code (1.0.3)
- Installing php-http/discovery (1.19.1): Extracting archive
- Upgrading abbadon1334/sun-position-spa-php (1.1 => 2.0.0): Extracting archive
- Upgrading doctrine/cache (v1.6.2 => 1.13.0): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Upgrading dragonmantank/cron-expression (v2.3.1 => v3.3.3): Extracting archive
- Upgrading guzzlehttp/promises (1.5.2 => 2.0.1): Extracting archive
- Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
- Upgrading psr/http-message (1.0.1 => 1.1): Extracting archive
- Installing psr/http-factory (1.0.2): Extracting archive
- Upgrading guzzlehttp/psr7 (1.9.0 => 2.6.0): Extracting archive
- Installing psr/http-client (1.0.2): Extracting archive
- Upgrading guzzlehttp/guzzle (6.5.8 => 7.7.0): Extracting archive
- Installing php-http/promise (1.1.0): Extracting archive
- Installing php-http/httplug (2.4.0): Extracting archive
- Installing php-http/guzzle7-adapter (1.0.0): Extracting archive
- Installing php-http/multipart-stream-builder (1.3.0): Extracting archive
- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
- Installing symfony/options-resolver (v5.4.21): Extracting archive
- Installing clue/stream-filter (v1.6.0): Extracting archive
- Installing php-http/message (1.16.0): Extracting archive
- Installing php-http/client-common (2.7.0): Extracting archive
- Installing php-http/message-factory (1.1.0): Extracting archive
- Installing php-http/cache-plugin (1.8.0): Extracting archive
- Upgrading knplabs/github-api (1.7.1 => v3.11.0): Extracting archive
- Upgrading sabre/uri (2.1.3 => 2.3.3): Extracting archive
- Upgrading sabre/xml (2.1.3 => 2.2.6): Extracting archive
- Upgrading sabre/vobject (4.2.2 => 4.5.3): Extracting archive
- Upgrading sabre/event (5.0.3 => 5.1.4): Extracting archive
- Upgrading sabre/http (5.0.5 => 5.1.9): Extracting archive
- Upgrading sabre/dav (4.0.3 => 4.4.0): Extracting archive
- Installing league/mime-type-detection (1.13.0): Extracting archive
- Upgrading league/flysystem (1.0.70 => 1.1.10): Extracting archive
- Upgrading monolog/monolog (1.27.1 => 2.9.1): Extracting archive
- Upgrading pragmarx/google2fa (v7.0.0 => v8.0.1): Extracting archive
- Upgrading pragmarx/google2fa-qrcode (v1.0.3 => v3.0.0): Extracting archive
- Installing symfony/cache-contracts (v2.5.2): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/var-exporter (v5.4.26): Extracting archive
- Upgrading symfony/cache (v3.3.6 => v5.4.25): Extracting archive
- Upgrading symfony/expression-language (v3.3.6 => v5.4.21): Extracting archive
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
19 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
rm: cannot remove '/tmp/composer': No such file or directory | OK
Update jeedom information date | OK
Check jeedom consistency
[START CONSISTENCY]
[START CHECK AND FIX DB]
[END CHECK AND FIX DB]
Check jeedom package | OK
Check jeedom database | OK
Check crons
Check filesystem right | OK
Flush cache widget
Check jeedom object | OK
Check jeedom cmd | OK
Set cache hour | OK
Check composer | OK
Check nodejsE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Hit:1 http://ftp.fr.debian.org/debian bullseye InRelease
Hit:2 http://ftp.fr.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
Reading package lists
[Check Version NodeJS actuelle : v16.20.1 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ] | OK
[END CONSISTENCY] | OK
Check update | OK
***************Jeedom is up to date in 4.4.0***************
***************Update plugins***************
***************Update plugin successfully***************
Check update
PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php:116
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
#1 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(298): GuzzleHttp\default_user_agent()
#2 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(76): GuzzleHttp\Client->configureDefaults()
#3 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(73): GuzzleHttp\Client->__construct()
#4 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(32): Http\Adapter\Guzzle7\Client::buildClient()
#5 /var/www/html/vendor/php-http/discovery/src/ClassDiscovery.php(223): Http\Adapter\Guzzle7\Client->__construct()
#6 /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(30): Http\Discovery\ClassDiscovery::instantiateClass()
#7 /var/www/html/vendor/knplabs/github-api/lib/Github/HttpClient/Builder.php(85): Http\Disco in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php on line 116

Si tu relances tu as toujours ces soucis ?

Hello

je n’arrive pas a aller sur la page du centre de mise a jour, j’ai le message suivant

Log update

0000|[START UPDATE]
0001|[PROGRESS][1]
0002|****Update from 4.4.0 (2023-08-17 20:40:49)****
0003|Parameters : {"preUpdate":"0","backup::before":"0","core":"1","force":"1","plugins":"0","update::reapply":""}
0004|Send begin of update event...OK
0005|[PROGRESS][5]
0006|Check rights...
0007|OK
0008|[PROGRESS][10]
0009|[PROGRESS][15]
0010|Download url : https://github.com/jeedom/core/archive/alpha.zip
0011|Download in progress...--2023-08-17 20:41:27--  https://github.com/jeedom/core/archive/alpha.zip
0012|Resolving github.com (github.com)... 140.82.121.3
0013|Connecting to github.com (github.com)|140.82.121.3|:443... connected.
0014|HTTP request sent, awaiting response... 302 Found
0015|Location: https://codeload.github.com/jeedom/core/zip/refs/heads/alpha [following]
0016|--2023-08-17 20:41:27--  https://codeload.github.com/jeedom/core/zip/refs/heads/alpha
0017|Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
0018|Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443...
0019|connected.
0020|HTTP request sent, awaiting response... 200 OK
0021|Length: unspecified [application/zip]
0022|Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0023|0K ........ ........ ........ ........ ........ ........ 6.64M
0024|3072K ........ ........ ........ ........ ........ ........ 8.06M
0025|6144K ........
0026|........ ........ ........ ........ ........ 7.25M
0027|9216K ........ ........ ........ ........ ........ ........ 8.29M
0028|12288K ........ ........ ........ ........ ....
0029|...
0030|. ........ 1.83M
0031|15360K ........ ........ ........ ........ ........ ........ 32.8M
0032|18432K ........ ........ ........ ........ ........ ........ 23.5M
0033|21504K ........ ........ ........ ........ ........ ........ 84.2M
0034|24576K ........ ........ ........ ........ ........ ........ 22.6M
0035|27648K ........ ........ ........ ........ ........ ........ 30.8M
0036|30720K ........ ........ ........ ........ ........ ........ 20.0M
0037|33792K ........ ........ ........ ........ ........ ........ 14.3M
0038|36864K ........ ........ ........ ........ ........ .......
0039|...... ...
0040|..... ........ ........ ........ ........ 8.08M
0041|43008K ........ ........ ........ ........ ........ ........ 9.04M
0042|46080K ........ ........ ........ ........ .......
0043|. ........ 6.04M
0044|49152K .
0045|....... ........ ........ ........ ........ ........ 7.44M
0046|52224K ........ ........ ........ ........ ........ ........ 8.65M
0047|55296K ........ ........ ........ ........ ........ ........ 11.5M
0048|58368K ........ ........ ..
0049|...... ........ ........ ........ 7.64M
0050|61440K ........ ........ ........ ........ ........ ........ 3.71M
0051|64512K ........ ........
0052|..
0053|...... ........ ........ ........ 9.66M
0054|67584K ........ ........ ........ ........ ........ ........ 7.46M
0055|70656K ........ ........ ........ ........ ........ ........ 7.70M
0056|73728K ........ .....
0057|... .
0058|....... ........ ........ ........ 8.43M
0059|76800K ........ ........ ........ ........ ........ ........ 8.70M
0060|79872K ........ ........ ........ ......                     9.28M=10s
0061|2023-08-17 20:41:38 (7.90 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [83763886]
0062|[PROGRESS][25]
0063|OK
0064|Cleaning folders...OK
0065|[PROGRESS][30]
0066|Create temporary folder...OK
0067|[PROGRESS][35]
0068|Unzip in progress...
0069|OK
0070|[PROGRESS][40]
0071|Clean temporary files (tmp)...OK
0072|Disable all task
0073|.kill: (1548): No such process
0074|.
0075|kill: (1440): No such process
0076|. OK
0077|Disable all scenario............. OK
0078|[PROGRESS][45]
0079|Moving files...
0080|Ignore file /tmp/jeedom_unzip/core-alpha///docs/de_DE/noteVersion.md because size is 0
0081|Ignore file /tmp/jeedom_unzip/core-alpha///docs/en_US/noteVersion.md because size is 0
0082|Ignore file /tmp/jeedom_unzip/core-alpha///docs/es_ES/noteVersion.md because size is 0
0083|Ignore file /tmp/jeedom_unzip/core-alpha///docs/fr_FR/noteVersion.md because size is 0
0084|Ignore file /tmp/jeedom_unzip/core-alpha///docs/pt_PT/noteVersion.md because size is 0
0085|OK
0086|[PROGRESS][50]
0087|Remove temporary files...OK
0088|[PROGRESS][52]
0089|Remove useless files...
0090|Cleaning 3rdparty
0091|Cleaning desktop
0092|Cleaning mobile
0093|Cleaning core
0094|Cleaning docs
0095|Cleaning install
0096|Cleaning script
0097|find: '/var/www/html/install/../script/*': No such file or directory
0098|OK
0099|[PROGRESS][53]
0100|Update composer file...
0101|Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
0102|You are already using the latest available Composer version 2.5.8 (stable channel).
0103|Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
0104|Do not run Composer as root/super user! See https://getcomposer.org/root for details
0105|Loading composer repositories with package information
0106|Info from https://repo.packagist.org: #StandWithUkraine
0107|Updating dependencies
0108|Lock file operations: 2 installs, 3 updates, 0 removals
0109|- Downgrading guzzlehttp/guzzle (7.7.0 => 7.5.0)
0110|- Downgrading guzzlehttp/promises (2.0.1 => 1.5.3)
0111|- Downgrading guzzlehttp/psr7 (2.6.0 => 1.9.0)
0112|- Locking league/oauth2-client (2.7.0)
0113|- Locking paragonie/random_compat (v9.99.100)
0114|Writing lock file
0115|Installing dependencies from lock file
0116|Package operations: 22 installs, 20 updates, 13 removals
0117|- Downloading php-http/discovery (1.19.1)
0118|- Downloading abbadon1334/sun-position-spa-php (2.0.0)
0119|- Downloading doctrine/cache (1.13.0)
0120|- Downloading webmozart/assert (1.11.0)
0121|- Downloading dragonmantank/cron-expression (v3.3.3)
0122|- Downloading guzzlehttp/promises (1.5.3)
0123|- Downloading psr/http-message (1.1)
0124|- Downloading symfony/polyfill-php80 (v1.27.0)
0125|- Downloading symfony/deprecation-contracts (v2.5.2)
0126|- Downloading psr/http-client (1.0.2)
0127|- Downloading guzzlehttp/guzzle (7.5.0)
0128|- Downloading php-http/promise (1.1.0)
0129|- Downloading php-http/httplug (2.4.0)
0130|- Downloading php-http/guzzle7-adapter (1.0.0)
0131|- Downloading php-http/multipart-stream-builder (1.3.0)
0132|- Downloading symfony/polyfill-php73 (v1.27.0)
0133|- Downloading symfony/options-resolver (v5.4.21)
0134|- Downloading psr/http-factory (1.0.2)
0135|- Downloading clue/stream-filter (v1.6.0)
0136|- Downloading php-http/message (1.16.0)
0137|- Downloading php-http/client-common (2.7.0)
0138|- Downloading php-http/message-factory (1.1.0)
0139|- Downloading php-http/cache-plugin (1.8.0)
0140|- Downloading knplabs/github-api (v3.11.0)
0141|- Downloading sabre/uri (2.3.3)
0142|- Downloading sabre/xml (2.2.6)
0143|- Downloading sabre/vobject (4.5.3)
0144|- Downloading sabre/event (5.1.4)
0145|- Downloading sabre/http (5.1.9)
0146|- Downloading sabre/dav (4.4.0)
0147|- Downloading league/mime-type-detection (1.13.0)
0148|- Downloading league/flysystem (1.1.10)
0149|- Downloading league/oauth2-client (2.7.0)
0150|- Downloading monolog/monolog (2.9.1)
0151|- Downloading pragmarx/google2fa (v8.0.1)
0152|- Downloading pragmarx/google2fa-qrcode (v3.0.0)
0153|- Downloading symfony/cache-contracts (v2.5.2)
0154|- Downloading psr/container (1.1.2)
0155|- Downloading symfony/service-contracts (v2.5.2)
0156|- Downloading symfony/var-exporter (v5.4.26)
0157|- Downloading symfony/cache (v5.4.25)
0158|- Downloading symfony/expression-language (v5.4.21)
0159|- Removing touki/ftp (v1.2.1)
0160|- Removing symfony/polyfill-util (v1.19.0)
0161|- Removing symfony/polyfill-php72 (v1.19.0)
0162|- Removing symfony/polyfill-php70 (v1.19.0)
0163|- Removing symfony/polyfill-php56 (v1.19.0)
0164|- Removing symfony/polyfill-intl-normalizer (v1.19.0)
0165|- Removing symfony/polyfill-intl-idn (v1.19.0)
0166|- Removing symfony/event-dispatcher (v2.8.52)
0167|- Removing psr/simple-cache (1.0.1)
0168|- Removing matthiasmullie/path-converter (1.1.3)
0169|- Removing matthiasmullie/minify (1.3.70)
0170|- Removing guzzle/guzzle (v3.9.3)
0171|- Removing bacon/bacon-qr-code (1.0.3)
0172|- Installing php-http/discovery (1.19.1): Extracting archive
0173|- Upgrading abbadon1334/sun-position-spa-php (1.1 => 2.0.0): Extracting archive
0174|- Upgrading doctrine/cache (v1.6.2 => 1.13.0): Extracting archive
0175|- Installing webmozart/assert (1.11.0): Extracting archive
0176|- Upgrading dragonmantank/cron-expression (v2.3.1 => v3.3.3): Extracting archive
0177|- Upgrading guzzlehttp/promises (1.5.2 => 1.5.3): Extracting archive
0178|- Upgrading psr/http-message (1.0.1 => 1.1): Extracting archive
0179|- Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
0180|- Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
0181|- Installing psr/http-client (1.0.2): Extracting archive
0182|- Upgrading guzzlehttp/guzzle (6.5.8 => 7.5.0): Extracting archive
0183|- Installing php-http/promise (1.1.0): Extracting archive
0184|- Installing php-http/httplug (2.4.0): Extracting archive
0185|- Installing php-http/guzzle7-adapter (1.0.0): Extracting archive
0186|- Installing php-http/multipart-stream-builder (1.3.0): Extracting archive
0187|- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
0188|- Installing symfony/options-resolver (v5.4.21): Extracting archive
0189|- Installing psr/http-factory (1.0.2): Extracting archive
0190|- Installing clue/stream-filter (v1.6.0): Extracting archive
0191|- Installing php-http/message (1.16.0): Extracting archive
0192|- Installing php-http/client-common (2.7.0): Extracting archive
0193|- Installing php-http/message-factory (1.1.0): Extracting archive
0194|- Installing php-http/cache-plugin (1.8.0): Extracting archive
0195|- Upgrading knplabs/github-api (1.7.1 => v3.11.0): Extracting archive
0196|- Upgrading sabre/uri (2.1.3 => 2.3.3): Extracting archive
0197|- Upgrading sabre/xml (2.1.3 => 2.2.6): Extracting archive
0198|- Upgrading sabre/vobject (4.2.2 => 4.5.3): Extracting archive
0199|- Upgrading sabre/event (5.0.3 => 5.1.4): Extracting archive
0200|- Upgrading sabre/http (5.0.5 => 5.1.9): Extracting archive
0201|- Upgrading sabre/dav (4.0.3 => 4.4.0): Extracting archive
0202|- Installing league/mime-type-detection (1.13.0): Extracting archive
0203|- Upgrading league/flysystem (1.0.70 => 1.1.10): Extracting archive
0204|- Upgrading league/oauth2-client (2.6.1 => 2.7.0): Extracting archive
0205|- Upgrading monolog/monolog (1.27.1 => 2.9.1): Extracting archive
0206|- Upgrading pragmarx/google2fa (v7.0.0 => v8.0.1): Extracting archive
0207|- Upgrading pragmarx/google2fa-qrcode (v1.0.3 => v3.0.0): Extracting archive
0208|- Installing symfony/cache-contracts (v2.5.2): Extracting archive
0209|- Installing psr/container (1.1.2): Extracting archive
0210|- Installing symfony/service-contracts (v2.5.2): Extracting archive
0211|- Installing symfony/var-exporter (v5.4.26): Extracting archive
0212|- Upgrading symfony/cache (v3.3.6 => v5.4.25): Extracting archive
0213|- Upgrading symfony/expression-language (v3.3.6 => v5.4.21): Extracting archive
0214|1 package suggestions were added by new dependencies, use `composer suggest` to see details.
0215|Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
0216|Generating optimized autoload files
0217|19 packages you are using are looking for funding.
0218|Use the `composer fund` command to find out more!
0219|Found 1 security vulnerability advisory affecting 1 package.
0220|Run composer audit for a full list of advisories.
0221|rm: cannot remove '/tmp/composer': No such file or directory
0222|OK
0223|[PROGRESS][58]
0224|Update jeedom information date...
0225|OK
0226|[PROGRESS][59]
0227|[PROGRESS][60]
0228|Check jeedom consistency...
0229|[START CONSISTENCY]
0230|[START CHECK AND FIX DB]
0231|[END CHECK AND FIX DB]
0232|Check jeedom package...OK
0233|Check jeedom database...OK
0234|Check crons...
0235|Check filesystem right...OK
0236|Flush cache widget...
0237|Check jeedom object...OK
0238|Check jeedom cmd...OK
0239|Set cache hour...OK
0240|Check composer...OK
0241|Check nodejs...E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
0242|Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
0243|Hit:2 http://ftp.fr.debian.org/debian bullseye InRelease
0244|Hit:3 http://ftp.fr.debian.org/debian bullseye-updates InRelease
0245|Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
0246|Reading package lists...
0247|[Check Version NodeJS actuelle : v16.20.1 : [  OK  ]
0248|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0249|OK
0250|[END CONSISTENCY]
0251|OK
0252|Check update...OK
0253|***************Jeedom is up to date in 4.4.0***************
0254|[PROGRESS][75]
0255|[PROGRESS][90]
0256|Check update
0257|PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php:116
0258|Stack trace:
0259|#0 /var/www/html/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
0260|#1 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(298): GuzzleHttp\default_user_agent()
0261|#2 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(76): GuzzleHttp\Client->configureDefaults()
0262|#3 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(73): GuzzleHttp\Client->__construct()
0263|#4 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(32): Http\Adapter\Guzzle7\Client::buildClient()
0264|#5 /var/www/html/vendor/php-http/discovery/src/ClassDiscovery.php(223): Http\Adapter\Guzzle7\Client->__construct()
0265|#6 /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(30): Http\Discovery\ClassDiscovery::instantiateClass()
0266|#7 /var/www/html/vendor/knplabs/github-api/lib/Github/HttpClient/Builder.php(85): Http\Disco in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php on line 116

log http.error
http.txt (39,6 Ko)

je vais restaurer une image de ma VM et relancer la mise à jour

1 « J'aime »

J’ai tout réinstaller chez moi et je reproduit vraiment pas… Je crois je vais devoir annuler toute la partie composer ya trop de truc qui sont aléatoires.

Je vais essayer de refaire ma vm à partir de la dernière image et je vais voir
Et je tiens au courant

Hello JAG,

Je suis aussi en train de me lancer dans ces tests pour reproduire le bug.

Tu as les problèmes lors d’une fresh install ou d’un upgradé depuis une alpha en particulier ?

Bad

Hello
J’ai fait une mise à jour depuis une alpha sous débian 11

Jusqu’à présent pas de soucis

Ok, je suis en train de faire une fresh install en debian 12.1.0 en netinstall.

En passant, la doc d’install sur VM mériterait un petit lifting :

  • Le titre est « Téléchargement d’une image Debian strecht - netinstall »,
  • Le corps parle de "debian 10 Buster " & « CD → AMD64 »,
  • Le lien « ici » point sur Debian 12.1.0 ; le bon lien pour Debian 11 latest est ,
    puis « images de CD d’installation par le réseau » → « amd64 ».

Je vous tiens au jus de mon install, je fini le système là
[ EDIT : je recommence, l’install direct en alpha est finalement assez compliquée ]
Ensuite j’upgraderai ma Jeedom de dev de la 4.4.0 alpha du 2023-07-11 10:06:46 vers la dernière alpha.
[ EDIT : Pas de problème rencontré, l’installation a pris 28s ]

0000|[START UPDATE]
0001|[PROGRESS][1]
0002|****Update from 4.4.0 (2023-08-19 12:27:08)****
0003|Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"0","update::reapply":""}
0004|Send begin of update event...OK
0005|[PROGRESS][5]
0006|Check rights...OK
0007|[START BACKUP]
0008|***************Start of Jeedom backup at 2023-08-19 12:27:08***************
0009|Send begin backup event...OK
0010|Checking files rights...OK
0011|Checking  database...OK
0012|Backing up database...OK
0013|Cache persistence:
0014|OK
0015|Creating archive...
0016|OK
0017|Cleaning old backup...OK
0018|Limiting backup size to 600 Mb...
0019|Delete: /var/www/html/core/php/../../backup/backup-JeeDev_4.4.0a-4.4.0-2023-08-13-03h59.tar.gz
0020|OK
0021|Backup name: /var/www/html/core/php/../../backup/backup-JeeDev_4.4.0a-4.4.0-2023-08-19-12h27.tar.gz
0022|Checking files rights...OK
0023|Send end backup event...OK
0024|Backup operation duration: 9s
0025|***************Jeedom backup end***************
0026|[END BACKUP SUCCESS]
0027|[PROGRESS][10]
0028|[PROGRESS][15]
0029|Download url : https://github.com/jeedom/core/archive/alpha.zip
0030|Download in progress...--2023-08-19 12:27:17--  https://github.com/jeedom/core/archive/alpha.zip
0031|Resolving github.com (github.com)... 140.82.121.3
0032|Connecting to github.com (github.com)|140.82.121.3|:443... connected.
0033|HTTP request sent, awaiting response... 302 Found
0034|Location: https://codeload.github.com/jeedom/core/zip/refs/heads/alpha [following]
0035|--2023-08-19 12:27:18--  https://codeload.github.com/jeedom/core/zip/refs/heads/alpha
0036|Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
0037|Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
0038|HTTP request sent, awaiting response...
0039|0K ........ ........ ........ ........ ........ ........ 5.95M
0040|3072K ........ ........ ........ ........ ........ ........ 6.67M
0041|6144K ......
0042|.. ........ ........ ........ ........ ........ 6.15M
0043|9216K ........ ........ ........ ........ ........ ........ 8.46M
0044|12288K ........ .......
0045|. ........ ........ ........ ........ 4.52M
0046|15360K ........ ........ ........ ........ ........ ........ 8.48M
0047|18432K ........ ........ ........ ........ ......
0048|.. ........ 8.74M
0049|21504K ........ ........ ........ ........ ........ ........ 16.2M
0050|24576K ........ ........ ........ ........ ........ ........ 11.2M
0051|27648K ........ ........ ........ ........ ........ ........ 11.2M
0052|30720K ........ ........ ........ ........ ........ ........ 11.3M
0053|33792K ..
0054|...... ........ ........ ........ ........ ........ 11.3M
0055|36864K ........ ........ ........ ........ ........ ........ 11.3M
0056|39936K ........ ........ ........ ........ ........ ........ 11.2M
0057|43008K ........ ........ ........ ........ ........ .....
0058|... 11.3M
0059|46080K ........ ........ ........ ........ ........ ........ 11.3M
0060|49152K ........ ........ ........ ........ ........ ........ 11.4M
0061|52224K ........ ........ ........ ........ ........ ........ 11.3M
0062|55296K ........ ........ ........ ........ ........
0063|........ 11.3M
0064|58368K ........ ........ ........ ........ ........ ........ 11.4M
0065|61440K ........ ........ ........ ........ ........ ........ 11.3M
0066|64512K ........ ........ ........ ........ ........ ........ 11.4M
0067|67584K ........ ........ ........ ........ .......
0068|. ........ 11.3M
0069|70656K ........ ........ ........ ........ ........ ........ 11.3M
0070|73728K ........ ........ ........ ........ ........ ........ 11.4M
0071|76800K ........ ........ ........ ........ ........ ........ 11.3M
0072|79872K ........ ........ ........ ......                     11.4M=8.3s
0073|2023-08-19 12:27:26 (9.64 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [83763886]
0074|[PROGRESS][25]
0075|OK
0076|Cleaning folders...OK
0077|[PROGRESS][30]
0078|Create temporary folder...OK
0079|[PROGRESS][35]
0080|Unzip in progress...
0081|OK
0082|[PROGRESS][40]
0083|Clean temporary files (tmp)...OK
0084|Disable all task OK
0085|Disable all scenario.................... OK
0086|[PROGRESS][45]
0087|Moving files...Ignore file /tmp/jeedom_unzip/core-alpha///docs/de_DE/noteVersion.md because size is 0
0088|Ignore file /tmp/jeedom_unzip/core-alpha///docs/en_US/noteVersion.md because size is 0
0089|Ignore file /tmp/jeedom_unzip/core-alpha///docs/es_ES/noteVersion.md because size is 0
0090|Ignore file /tmp/jeedom_unzip/core-alpha///docs/fr_FR/noteVersion.md because size is 0
0091|Ignore file /tmp/jeedom_unzip/core-alpha///docs/pt_PT/noteVersion.md because size is 0
0092|OK
0093|[PROGRESS][50]
0094|Remove temporary files...OK
0095|[PROGRESS][52]
0096|Remove useless files...
0097|Cleaning 3rdparty
0098|Cleaning desktop
0099|Cleaning mobile
0100|Cleaning core
0101|Cleaning docs
0102|Cleaning install
0103|Cleaning script
0104|find: '/var/www/html/install/../script/*': No such file or directory
0105|Cleaning vendor
0106|[PROGRESS][55]
0107|Check jeedom consistency...
0108|[START CONSISTENCY]
0109|[START CHECK AND FIX DB]
0110|[END CHECK AND FIX DB]
0111|Check jeedom package...
0112|OK
0113|Check jeedom database...OK
0114|Check crons...
0115|Check filesystem right...OK
0116|Flush cache widget...
0117|Check jeedom object...OK
0118|Check jeedom cmd...OK
0119|Set cache hour...OK
0120|Check composer...
0121|Need to install composer...
0122|rm: cannot remove '/usr/local/bin/composer': No such file or directory
0123|Begin installation of composer
0124|Installer verified
0125|All settings correct for using Composer
0126|Downloading...
0127|Composer (version 2.5.8) successfully installed to: /var/www/html/core/ajax/composer.phar
0128|Use it: php composer.phar
0129|End installation of composer
0130|OK
0131|Check nodejs...
0132|Hit:1 http://deb.debian.org/debian bullseye InRelease
0133|Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
0134|Get:3 https://deb.nodesource.com/node_16.x buster InRelease [4584 B]
0135|Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
0136|Get:5 http://deb.debian.org/debian-security bullseye-security/main Sources [217 kB]
0137|Get:6 http://deb.debian.org/debian bullseye-updates/main Sources.diff/Index [19.6 kB]
0138|Get:7 http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index [19.6 kB]
0139|Get:8 http://deb.debian.org/debian bullseye-updates/main Translation-en.diff/Index [8361 B]
0140|Get:9 http://deb.debian.org/debian bullseye-updates/main Sources T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [1673 B]
0141|Get:10 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [3382 B]
0142|Get:9 http://deb.debian.org/debian bullseye-updates/main Sources T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [1673 B]
0143|Get:10 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [3382 B]
0144|Get:11 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [2273 B]
0145|Get:11 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2023-07-31-2005.11-F-2023-07-31-2005.11.pdiff [2273 B]
0146|Get:12 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [251 kB]
0147|Get:13 http://deb.debian.org/debian-security bullseye-security/main Translation-en [163 kB]
0148|Get:14 https://deb.nodesource.com/node_16.x buster/main amd64 Packages [776 B]
0149|Fetched 784 kB in 1s (660 kB/s)
0150|Reading package lists...
0151|Reading package lists...
0152|Building dependency tree...
0153|Reading state information...
0154|apt-utils is already the newest version (2.2.4).
0155|build-essential is already the newest version (12.9).
0156|git is already the newest version (1:2.30.2-1+deb11u2).
0157|lsb-release is already the newest version (11.1.0).
0158|0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
0159|[Check Version NodeJS actuelle : v16.20.1 : [  OK  ]
0160|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0161|OK
0162|[END CONSISTENCY]
0163|OK
0164|Check update...OK
0165|***************Jeedom is up to date in 4.4.0***************
0166|[PROGRESS][75]
0167|[PROGRESS][90]
0168|Check update
0169|OK
0170|[PROGRESS][95]
0171|Enable scenario : OK
0172|Enable task : OK
0173|[PROGRESS][100]
0174|Launch cron dependancy plugins...OK
0175|Send end of update event...OK
0176|Update duration : 28s
0177|[END UPDATE SUCCESS]

Bonjour,
Merci pour le retour j’ai mis a jour la documentation (ca sera disponible dans 15 a 20min)

1 « J'aime »

Bon, après quelques heures de diag/debug, voici mes conclusions :

Composer désinstalle certains packages lors de l’upgrade et fait pas mal de changement de version, cassant le script d’upgrade au passage.

J’ai eu d’autres erreurs lors des upgrades que j’ai fait sur l’env de dev de JAG, par ex :

0284|[PROGRESS][60]
0285|Check jeedom consistency...
0286|[START CONSISTENCY]
0287|[START CHECK AND FIX DB]
0288|[END CHECK AND FIX DB]
0289|Check jeedom package...OK
0290|Check jeedom database...OK
0291|Check crons...
0292|PHP Fatal error:  Uncaught Error: Class 'Webmozart\Assert\Assert' not found in /var/www/html/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php:203
0293|Stack trace:
0294|#0 /var/www/html/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php(188): Cron\CronExpression->setExpression()
0295|#1 /var/www/html/install/consistency.php(90): Cron\CronExpression->__construct()
0296|#2 /var/www/html/install/update.php(299): require_once('/var/www/html/i...')
0297|#3 {main}
0298|thrown in /var/www/html/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php on line 203

Voici le diff complet des packages installé entre la v4.3 et la v4.4 alpha :

--- v43
+++ v44
-#V4.3
+#V4.4
+abbadon1334/sun-position-spa-php
-bacon/bacon-qr-code
+clue/stream-filter
 doctrine/cache
 dragonmantank/cron-expression
-guzzle/guzzle
 guzzlehttp/guzzle
 guzzlehttp/promises
 guzzlehttp/psr7
-influxdb/influxdb-php
 knplabs/github-api
 league/flysystem
 league/flysystem-webdav
+league/mime-type-detection
 league/oauth2-client
-matthiasmullie/minify
-matthiasmullie/path-converter
 monolog/monolog
 paragonie/constant_time_encoding
 paragonie/random_compat
+php-http/cache-plugin
+php-http/client-common
+php-http/discovery
+php-http/guzzle7-adapter
+php-http/httplug
+php-http/message
+php-http/message-factory
+php-http/multipart-stream-builder
+php-http/promise
 pragmarx/google2fa
 pragmarx/google2fa-qrcode
 psr/cache
+psr/container
+psr/http-client
+psr/http-factory
 psr/http-message
 psr/log
-psr/simple-cache
 ralouphie/getallheaders
 sabre/dav
 sabre/event
 sabre/http
 sabre/uri
 sabre/vobject
 sabre/xml
 symfony/cache
-symfony/event-dispatcher
+symfony/cache-contracts
+symfony/deprecation-contracts
 symfony/expression-language
-symfony/polyfill-intl-idn
-symfony/polyfill-intl-normalizer
-symfony/polyfill-php56
-symfony/polyfill-php70
-symfony/polyfill-php72
-symfony/polyfill-util
-touki/ftp
+symfony/options-resolver
+symfony/polyfill-php73
+symfony/polyfill-php80
+symfony/service-contracts
+symfony/var-exporter
+webmozart/assert

Il faudrait peut-être rajouter des packages à https://github.com/jeedom/core/blob/alpha/composer.json, mais je pense que le gros du problème est ailleurs, car lors de l’execution initiale du script d’upgrade, les packages « statiques » sont inclus dans le script, PHP n’a aucun moyen de savoir que les versions ont changées en cours de route et échoue à charger dynamiquement les sources nécessaires à la fin de l’execution du script d’upgrade.

Trois solutions s’offrent donc à nous pour que l’installation se passe bien :

  • Faire en sorte que toutes les bibliothèques initialement présentes soient chargées en mémoire pour être utilisées pour toute la durée du script d’upgrade, c’est donc le prochain appel à PHP qui utilisera les nouvelles libs,
  • Faire correspondre exactement ce qui est installé (libs statique) à ce que le nouveau composer installera pour la v4.4 et se laisser du temps pour trouver une façon de gérer (donc en bref, ne pas supprimer les ancienne libs),
  • Faire la purge et l’installation dynamiques des nouvelles libs AVANT le lancement du script d’upgrade, afin qu’il dispose déjà de toutes les nouvelles bibliothèques.

Je ne sais pas trop ce qui est réalisable, mais j’ai le sentiment que ce qui serait le mieux est la 3eme option, le plus simple la seconde et aucune idées de la faisabilité de la première.

My 2 millions dollars,
Bad

1 « J'aime »

Bonjour
Peux tu tester avec une double maj ? J’ai pas eu le cas mais effectivement le faite qu’on puisse pas forcer php a décharger les lib pose soucis sur la 4.4. Mais je sais pas trop comment faire.

Avant la maj c’est pas possible car j’ai pas encore l’information comme quoi il faut le faire.

La correspondance des libs c’est vraiment ce que je veux a par une ou deux que je bloque le but et que la lib soit a jour et correspond à la version de PHP (typiquement le passage en php 8 imposé justement de remettre a jour les libs).

Charger toute les libs c’est compliqué mais peut être trouver comment charger que celle utile lors de l’update, je pense d’ailleurs que seul la lib Cron expression est nécessaire. Faut je trouve si ya une solution propre pour ça.

Pour les libs manquantes elles ne sont pas utilisés par le core (normalement) donc si ça pète c’est un plugin tierce qui l’utilise faudrait voir lesquels et si je remets dans le core ou pas.

J’avais testé et les problèmes étaient identiques.

Je fini mon épisode et je recheck :wink:

Je n’ai pas eu le cas non plus lors de l’upgrade de ma VM de dev…

Mais je n’ai pas beaucoup de plugins dessus, JAG a vraiment un environnement complet !

Il y a eu aussi des soucis sur la page des mises à jour et celle des dépendances (second onglet), je ne me suis pas concentré là dessus, mais je vais le documenter tt à l’heure.

Je vais regarder ce qu’il faut modifier pour avoir la correspondance, mais je pense que selon le Jeedom, ça risque d’être compliqué :confused:

Oui oui je suis un peu bloqué la car pour être compatible php 8 il faut que je monte les lib… C’est con car c’est même pas jeedom le soucis php8 mais juste les dépendances…

Avant update, les dépendances directes suivantes sont installées :

abbadon1334/sun-position-spa-php 1.1
doctrine/cache                   1.6.2
dragonmantank/cron-expression    2.3.1
knplabs/github-api               1.7.1
league/flysystem-webdav          1.0.10
monolog/monolog                  1.27.1
pragmarx/google2fa-qrcode        1.0.3
symfony/expression-language      3.3.6

(~cmd : COMPOSER_HOME=/tmp/composer composer -d /var/www/html/ show -D)

$ ls -la /var/www/html/vendor
drwxrwxr-x  3 www-data www-data 4096 Jan 29  2023 abbadon1334
-rwxrwxr-x  1 www-data www-data  178 Jul 26 20:18 autoload.php
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 bacon
drwxrwxr-x  2 www-data www-data 4096 Jun 14 13:29 bin
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 cebe
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 christian-riesen
drwxrwxr-x  3 www-data www-data 4096 Aug 19 18:32 clue
drwxrwxr-x  2 www-data www-data 4096 Jul 26 20:18 composer
drwxrwxr-x  4 www-data www-data 4096 Jun  3  2018 doctrine
drwxrwxr-x  3 www-data www-data 4096 Aug  6  2020 dragonmantank
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 guzzle
drwxrwxr-x  5 www-data www-data 4096 Jun  3  2018 guzzlehttp
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 illuminate
drwxrwxr-x  3 www-data www-data 4096 Oct 22  2020 influxdb
drwxrwxr-x  4 www-data www-data 4096 Jun  3  2018 ircmaxell
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 knplabs
drwxrwxr-x  6 www-data www-data 4096 Jul 11  2018 league
drwxrwxr-x  4 www-data www-data 4096 Dec 22  2018 matthiasmullie
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mikey179
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 monolog
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mtdowling
drwxrwxr-x  4 www-data www-data 4096 Aug  6  2020 paragonie
drwxrwxr-x 11 www-data www-data 4096 Aug 19 18:32 php-http
drwxrwxr-x  4 www-data www-data 4096 Sep 20  2020 pragmarx
drwxrwxr-x  9 www-data www-data 4096 Nov 24  2019 psr
drwxrwxr-x  3 www-data www-data 4096 Dec 15  2018 ralouphie
drwxrwxr-x  8 www-data www-data 4096 Jul 11  2018 sabre
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 simplesoftwareio
drwxrwxr-x 18 www-data www-data 4096 Aug  6  2020 symfony
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 touki
drwxrwxr-x  3 www-data www-data 4096 Aug 19 18:31 webmozart

Mise à jour du Core 4.4 Alpha (du 2023-07-26 20:18:28) vers la dernière alpha, sans maj de plugins.

Echec à 60% sur Webmozart\Assert\Assert, full log : update_1.txt (14,2 Ko)

Les dépendances directes suivantes sont présentes en « fin » de maj :

abbadon1334/sun-position-spa-php 2.0.0
doctrine/cache                   1.13.0
dragonmantank/cron-expression    3.3.3
knplabs/github-api               3.11.0
league/flysystem-webdav          1.0.10
monolog/monolog                  2.9.1
php-http/guzzle7-adapter         1.0.0 <- NEW
pragmarx/google2fa-qrcode        3.0.0
symfony/expression-language      5.4.21
$ ls -la /var/www/html/vendor
total 120
drwxrwxr-x 28 www-data www-data 4096 Aug 19 23:42 .
drwxrwxr-x 20 www-data www-data 4096 Aug 19 23:42 ..
-rw-r--r--  1 www-data www-data   30 Aug 19 23:42 .htaccess
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 abbadon1334
-rw-r--r--  1 www-data www-data  771 Aug 19 23:42 autoload.php
drwxr-xr-x  2 root     root     4096 Aug 19 23:42 bin
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 cebe
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 christian-riesen
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 clue
drwxrwxr-x  2 www-data www-data 4096 Aug 19 23:42 composer
drwxrwxr-x  4 www-data www-data 4096 Aug 19 23:42 doctrine
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 dragonmantank
drwxrwxr-x  5 www-data www-data 4096 Aug 19 23:42 guzzlehttp
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 illuminate
drwxrwxr-x  3 www-data www-data 4096 Oct 22  2020 influxdb
drwxrwxr-x  4 www-data www-data 4096 Jun  3  2018 ircmaxell
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 knplabs
drwxrwxr-x  5 www-data www-data 4096 Aug 19 23:42 league
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mikey179
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 monolog
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mtdowling
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 paragonie
drwxrwxr-x 11 www-data www-data 4096 Aug 19 23:42 php-http
drwxrwxr-x  4 www-data www-data 4096 Aug 19 23:42 pragmarx
drwxrwxr-x  8 www-data www-data 4096 Aug 19 23:42 psr
drwxrwxr-x  3 www-data www-data 4096 Dec 15  2018 ralouphie
drwxrwxr-x  8 www-data www-data 4096 Aug 19 23:42 sabre
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 simplesoftwareio
drwxrwxr-x 11 www-data www-data 4096 Aug 19 23:42 symfony
drwxrwxr-x  3 www-data www-data 4096 Aug 19 23:42 webmozart

Attention, le dossier /var/www/html/vendor/bin est propriété de root.


Second update, échec à 90%, dépendances directes inchangées, full log : update_2.txt (13,0 Ko)

Par contre l’érreur ici vient probablement du plugin Miele :

PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php:116
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
#1 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(298): GuzzleHttp\default_user_agent()
#2 /var/www/html/plugins/miele/resources/vendor/guzzlehttp/guzzle/src/Client.php(76): GuzzleHttp\Client->configureDefaults()
#3 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(73): GuzzleHttp\Client->__construct()
#4 /var/www/html/vendor/php-http/guzzle7-adapter/src/Client.php(32): Http\Adapter\Guzzle7\Client::buildClient()
#5 /var/www/html/vendor/php-http/discovery/src/ClassDiscovery.php(223): Http\Adapter\Guzzle7\Client->__construct()
#6 /var/www/html/vendor/php-http/discovery/src/Psr18ClientDiscovery.php(30): Http\Discovery\ClassDiscovery::instantiateClass()
#7 /var/www/html/vendor/knplabs/github-api/lib/Github/HttpClient/Builder.php(85): Http\Disco in /var/www/html/vendor/guzzlehttp/guzzle/src/Utils.php on line 116

Un troisième update, dans les mêmes conditions ne change rien.


En désactivant le plugin Miele et en relançant l’upgrade une quatrième fois, tout se passe bien !!!
Dépendances directes inchangées, full update log : update_4.txt (10,0 Ko)
Rien dans le log du plugin Miele (last log : [2023-08-19 23:42:06][DEBUG] : syncDevices)

Des erreurs sont malgré tout présentes dans le http.error : http.error-all.txt (30,8 Ko),
en rapport avec symfony/polyfill-intl-normalizer

Cette fois-ci www-data est bien propriétaire de /var/www/html/vendor/bin :

$ ls -la /var/www/html/vendor
total 120
-rwxrwxr-x  1 www-data www-data   30 Aug 20 00:02 .htaccess
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 abbadon1334
-rwxrwxr-x  1 www-data www-data  771 Aug 20 00:02 autoload.php
drwxrwxr-x  2 www-data www-data 4096 Aug 20 00:02 bin
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 cebe
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 christian-riesen
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 clue
drwxrwxr-x  2 www-data www-data 4096 Aug 20 00:02 composer
drwxrwxr-x  4 www-data www-data 4096 Aug 20 00:02 doctrine
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 dragonmantank
drwxrwxr-x  5 www-data www-data 4096 Aug 20 00:02 guzzlehttp
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 illuminate
drwxrwxr-x  3 www-data www-data 4096 Oct 22  2020 influxdb
drwxrwxr-x  4 www-data www-data 4096 Jun  3  2018 ircmaxell
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 knplabs
drwxrwxr-x  5 www-data www-data 4096 Aug 20 00:02 league
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mikey179
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 monolog
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 mtdowling
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 paragonie
drwxrwxr-x 11 www-data www-data 4096 Aug 20 00:02 php-http
drwxrwxr-x  4 www-data www-data 4096 Aug 20 00:02 pragmarx
drwxrwxr-x  8 www-data www-data 4096 Aug 20 00:02 psr
drwxrwxr-x  3 www-data www-data 4096 Dec 15  2018 ralouphie
drwxrwxr-x  8 www-data www-data 4096 Aug 20 00:02 sabre
drwxrwxr-x  3 www-data www-data 4096 Jun  3  2018 simplesoftwareio
drwxrwxr-x 11 www-data www-data 4096 Aug 20 00:02 symfony
drwxrwxr-x  3 www-data www-data 4096 Aug 20 00:02 webmozart

Je pense que le plugin Miele est en cause in-finé.


EDIT : Je viens de faire une dernière restoration avant MaJ.

Même en désactivant le plugin Miele avant upgrade, le premier upgrade échoue une erreur sur Webmozart\Assert\Assert (comme premier upgrade tout en haut de ce post).
Le second update se passe bien, mais il y a toujours des erreurs : http.error.txt (8,4 Ko)
Liées à Doctrine\Common\Cache\FilesystemCache & symfony/polyfill-intl-normalizer.


Bad

1 « J'aime »

Pour le #plugin-miele, peut être que @Mips pourrait savoir