Erreur lors de la mise à jour 4.5.2 vers 4.5.3

Bonjour,

J’ai une erreur lors de la mise à jour d’un des mes Jeedom au momment où le script s’arrête les taches avant d’appliquer la mise à jour ( Disable all task ) à cause d’une exception PHP dans le module DB.class.php

Le problème reste présent malgré un reboot ou la restauration d’un sauvegarde précédente.

[START UPDATE]
Update from 4.5.2 (2026-04-29 07:36:39)
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 2026-04-29 07:36:40
Send begin backup event | OK
Checking files rights | OK
Checking table cache | OK
Checking table cmd | OK
Checking table config | OK
Checking table cron | OK
Checking table dataStore | OK
Checking table eqLogic | OK
Checking table history | OK
Checking table historyArch | OK
Checking table interactDef | OK
Checking table interactQuery | OK
Checking table listener | OK
Checking table message | OK
Checking table note | OK
Checking table object | OK
Checking table plan | OK
Checking table plan3d | OK
Checking table plan3dHeader | OK
Checking table planHeader | OK
Checking table queue | OK
Checking table scenario | OK
Checking table scenarioElement | OK
Checking table scenarioExpression | OK
Checking table scenarioSubElement | OK
Checking table timeline | OK
Checking table update | OK
Checking table user | OK
Checking table view | OK
Checking table viewData | OK
Checking table viewZone | OK
Checking table widgets | OK
Backing up database | OK
Cache persistence: | OK
Creating archive | OK
Cleaning old backup | OK
Limiting backup size to 500 Mb
Delete: /var/www/html/core/php///backup/backup-BPMU-4.5.2-2026-04-22-07h42.tar.gz | OK
Backup name: /var/www/html/core/php///backup/backup-BPMU-4.5.2-2026-04-29-07h36.tar.gz
Checking files rights | OK
Send end backup event | OK
Backup operation duration: 12s
Jeedom backup end
[END BACKUP SUCCESS]
Download url : https://github.com/jeedom/core/archive/master.zip
Download in progress–2026-04-29 07:36:52-- https://github.com/jeedom/core/archive/master.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/master [following]
–2026-04-29 07:36:52-- https://codeload.github.com/jeedom/core/zip/refs/heads/master
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
1.62M
3072K
.
637K
6144K
904K
9216K
.
781K
12288K
.
687K
15360K
965K
18432K
. 797K
21504K
.
. 778K
24576K
823K
27648K
.
837K
30720K
926K
33792K .
864K
36864K
809K
39936K
1023K
43008K
812K
46080K
.
. 909K
49152K
833K
52224K
1.11M
55296K
.
898K
58368K .
906K
61440K
651K
64512K
874K
67584K
757K
70656K
735K
73728K
1.03M
76800K
891K
79872K .
. 866K=96s
2026-04-29 07:38:32 (853 KB/s) - ‹ /tmp/jeedom/install/jeedom_update.zip › saved [83996682] | OK
Cleaning folders | OK
Create temporary folder | OK
Unzip in progress | OK
Clean temporary files (tmp) | OK
Disable all taskError during update : [MySQL] Error code : HY000 (2006). MySQL server has gone away : REPLACE config
SET key=:key,
value=:value,
plugin=:pluginDetails : Array
(
[0] => Array
(
[file] => /var/www/html/core/class/config.class.php
[line] => 103
[function] => Prepare
[class] => DB
[type] => ::
)
[1] => Array
(
[file] => /var/www/html/core/class/jeedom.class.php
[line] => 944
[function] => save
[class] => config
[type] => ::
)
[2] => Array
(
[file] => /var/www/html/install/update.php
[line] => 211
[function] => stop
[class] => jeedom
[type] => ::
)
)
[END UPDATE ERROR]
PHP Fatal error: Uncaught Exception: [MySQL] Error code : HY000 (2006). MySQL server has gone away : REPLACE config
SET key=:key,
value=:value,
plugin=:plugin in /var/www/html/core/class/DB.class.php:120
Stack trace:
#0 /var/www/html/core/class/config.class.php(103): DB::Prepare()
#1 /var/www/html/core/class/jeedom.class.php(944): config::save()
#2 /var/www/html/install/update.php(211): jeedom::stop()
#3 {main}
thrown in /var/www/html/core/class/DB.class.php on line 120

Note:
J’ai passé avec succés les vérification systéme ( Réglage>Configuration>_OS/DB>Vérifications systéme

Salut,

Il me semble que certain ont reussi en relançant l’update sans reboot.

Effectivement, au bout de 3 relance, ça a finit par passer sans erreur. Je pense qu’il y a une faiblesse dans le script de mis à jour. Par expérience ( PRO) , ce genre de petits défauts fini toujours par resurgir à un moment ou un autre.

Merci pour l’astuce :slight_smile:

1 « J'aime »