Commande message() retourne une erreur SQL dans scénario

Bonjour @Loic,

Si ça peut aider à la recherche du problème ,voici mon log update suite à la mise a jour d’une plugin.
J’ai également le même message que @c.miorin dans dans Vérification de la base de donnée.

Ma config :
Box Atlas
OS Debian buster 10.11 (qui n’est plus la version préconisée pour jeedom 4.4 => J’étais justement en train de préparer la mise a jour vers debian bulleye)
Core 4.4.3 stable

Voici mon log : (voir ligne 112 à 120)

0000|OK
0001|Cleaning old backup...OK
0002|Limiting backup size to 500 Mb...
0003|Delete: /var/www/html/core/php/../../backup/backup-NOMDEMABOX-4.4.3-2024-04-12-05h28.tar.gz
0004|OK
0005|Backup name: /var/www/html/core/php/../../backup/backup-NOMDEMABOX-4.4.3-2024-04-13-10h06.tar.gz
0006|Checking files rights...
0007|OK
0008|Send end backup event...OK
0009|Backup operation duration: 163s
0010|***************Jeedom backup end***************
0011|[END BACKUP SUCCESS]
0012|[PROGRESS][10]
0013|[PROGRESS][15]
0014|Download url : https://github.com/jeedom/core/archive/V4-stable.zip
0015|Download in progress...--2024-04-13 10:09:29--  https://github.com/jeedom/core/archive/V4-stable.zip
0016|Resolving github.com (github.com)... 140.82.121.3
0017|Connecting to github.com (github.com)|140.82.121.3|:443... connected.
0018|HTTP request sent, awaiting response... 302 Found
0019|Location: https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable [following]
0020|--2024-04-13 10:09:30--  https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable
0021|Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
0022|Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
0023|HTTP request sent, awaiting response... 200 OK
0024|Length: 87540322 (83M) [application/zip]
0025|Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0026|0K ........ ........ ........ ........ ........ ........  3% 2.46M 33s

0064|.
0065|...... ........ ........ ........ 97% 5.59M 1s
0066|82944K ........ ........ ........ ........ .......          100% 5.09M=21s
0067|2024-04-13 10:09:51 (4.06 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [87540322/87540322]
0068|[PROGRESS][25]
0069|OK
0070|Cleaning folders...OK
0071|[PROGRESS][30]
0072|Create temporary folder...OK
0073|[PROGRESS][35]
0074|Unzip in progress...
0075|OK
0076|[PROGRESS][40]
0077|Clean temporary files (tmp)...OK
0078|Disable all task
0079|.
0080|OK
0081|Disable all scenario.......................................
0082|...................... OK
0083|[PROGRESS][45]
0084|Moving files...
0085|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/de_DE/noteVersion.md because size is 0
0086|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/en_US/noteVersion.md because size is 0
0087|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/es_ES/noteVersion.md because size is 0
0088|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/fr_FR/noteVersion.md because size is 0
0089|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/pt_PT/noteVersion.md because size is 0
0090|OK
0091|[PROGRESS][50]
0092|Remove temporary files...OK
0093|[PROGRESS][52]
0094|Remove useless files...
0095|Cleaning 3rdparty
0096|Cleaning desktop
0097|Cleaning mobile
0098|Cleaning core
0099|Cleaning docs
0100|Cleaning install
0101|Cleaning script
0102|find: '/var/www/html/install/../script/*': No such file or directory
0103|OK
0104|[PROGRESS][53]
0105|Update jeedom information date...
0106|OK
0107|[PROGRESS][59]
0108|[PROGRESS][60]
0109|Check jeedom consistency...
0110|[START CONSISTENCY]
0111|[START CHECK AND FIX DB]
0112|Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
0113|Fix :
0114|CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC)[END CHECK AND FIX DB]
0115|Check jeedom package...
0116|OK
0117|Check jeedom database...
0118|Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
0119|Fix :
0120|CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC)OK
0121|Check crons...
0122|Check filesystem right...
0123|OK
0124|Flush cache widget...
0125|Check jeedom object...
0126|OK
0127|Check jeedom cmd...OK
0128|Set cache hour...OK
0129|Check composer...OK
0130|Check nodejs...
0131|Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
0132|Hit:2 http://deb.debian.org/debian buster InRelease
0133|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0134|Hit:4 http://deb.debian.org/debian buster-backports InRelease
0135|Hit:5 https://deb.nodesource.com/node_18.x buster InRelease
0136|Hit:6 https://repository.salamek.cz/deb/pub all InRelease
0137|Fetched 34.8 kB in 3s (13.3 kB/s)
0138|Reading package lists...
0139|Reading package lists...
0140|Building dependency tree...
0141|Reading state information...
0142|apt-utils is already the newest version (1.8.2.3).
0143|build-essential is already the newest version (12.6).
0144|lsb-release is already the newest version (10.2019051400).
0145|git is already the newest version (1:2.20.1-2+deb10u8).
0146|0 upgraded, 0 newly installed, 0 to remove and 267 not upgraded.
0147|[Check Version NodeJS actuelle : v18.17.1 : [  OK  ]
0148|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0149|OK
0150|[END CONSISTENCY]
0151|OK
0152|Check update...OK
0153|***************Jeedom is up to date in 4.4.3***************
0154|[PROGRESS][75]
0155|***************Update plugins***************
0156|[2024-04-13 10:10:37] ALERT  : Début de la mise à jour de : jeeasy
0157|[2024-04-13 10:10:37] ALERT  : Téléchargement du plugin (source : market)...
0158|[2024-04-13 10:10:38] ALERT  : Téléchargement de jeeasy...
0159|[2024-04-13 10:10:38] ALERT  : URL https://market.jeedom.com/core/php/downloadFile.php?id=3828&version=stable&jeedomversion=4.4.3...
0160|--2024-04-13 10:10:38--  https://market.jeedom.com/core/php/downloadFile.php?id=3828&version=stable&jeedomversion=4.4.3...
0161|Resolving market.jeedom.com (market.jeedom.com)... 57.128.120.126
0162|Connecting to market.jeedom.com (market.jeedom.com)|57.128.120.126|:443... connected.
0163|HTTP request sent, awaiting response...
0164|200 OK
0165|Length: unspecified [application/octet-stream]
0166|Saving to: '/tmp/jeedom/market/jeeasy.zip'
0167|0K .......... .......... .......... .......... ..........  533K

0194|1350K .......... .......... .......... .......... .......... 1.80M
0195|1400K .....                                                  5.48M=1.0s
0196|2024-04-13 10:10:39 (1.40 MB/s) - '/tmp/jeedom/market/jeeasy.zip' saved [1439168]
0197|[2024-04-13 10:10:39] ALERT  : OK
0198|[2024-04-13 10:10:39] ALERT  : Décompression du zip...
0199|[2024-04-13 10:10:39] ALERT  : OK
0200|[2024-04-13 10:10:41] ALERT  : Action de pré-update...
0201|[2024-04-13 10:10:41] ALERT  : OK
0202|[2024-04-13 10:10:41] ALERT  : Post-installation de jeeasy...
0203|[2024-04-13 10:10:41] ALERT  : Vérification des droits sur les fichiers...
0204|[2024-04-13 10:10:43] ALERT  : OK
0205|[2024-04-13 10:10:43] ALERT  : Suppression des fichiers inutiles...
0206|[2024-04-13 10:10:45] ALERT  : OK
0207|[2024-04-13 10:10:45] ALERT  : END UPDATE SUCCESS
0208|***************Update plugin successfully***************
0209|[PROGRESS][90]
0210|Check update
0211|OK
0212|[PROGRESS][95]
0213|Enable scenario : OK
0214|Enable task : OK
0215|Check Network Conf : OK
0216|[PROGRESS][100]
0217|Launch cron dependancy plugins...OK
0218|Send end of update event...OK
0219|Update duration : 251s
0220|[END UPDATE SUCCESS]

L’erreur ne dérange en rien le fonctionnement de ma box (du moins pour l’instant :slight_smile: )
Néanmoins avant de faire la migration vers Debian 11 j’attend de voir d’où vient ce « problème » pour une migration propre de ma box atlas.

PS 1 : j’ai tenté également une install un peu « cavalière » de ma sauvegarde atlas sur une box Luna en Debian 11, j’ai également ce message « d’erreur » qui apparait pour la base de donnée.

PS : Si besoin de créer un post spécifique merci de me dire
En espérant que ça puisse aider la communauté

Bonne journée à tous :wave:
Slts

Bonjour
Tu es en debian 10 c’est ça le soucis la version de mariadb de debian 10 ne supporte pas des index aussi grand qu’en debian 11 donc normal que tu aies ce soucis

Bonjour Loïc,

J’ai toujours le message depuis notre dernier message échange.
Rien d’urgent en soi c’est juste pour avancer sur le sujet.

Du coup pour moi qui suis un debian 11 serais-tu d’où vient le problème, dois-je mettre à jour Maria dB ?

Merci d’avance.


Pardon erreur de ma part c’est debian 12 qui n’aura plus ce message et pas 11. Mais c’est vraiment juste une information ça n’a aucun impact sur votre jeedom et c’est juste que j’ai anticipé pour debian 12.

2 « J'aime »