Mysqlcheck not found sous Debian 13

Bonjour,

Comme il faisait trop chaud pour travailler aujourd’hui, j’ai jeté un coup d’oeil sur un problème que j’ai rencontré depuis mon passage à Debian 13:

En fait le problème peut facilement être résolu dans /var/www/html/install/backup.php:

/** system("mysqlcheck " . $str_db_connexion . ’ --auto-repair --silent --tables ’ . $table); */
system("mariadb-check " . $str_db_connexion . ’ --auto-repair --silent --tables ’ . $table);

Depuis, ça fonctionne comme prévu:

0000|[START BACKUP]
0001|***************Start of Jeedom backup at 2026-08-14 14:50:00***************
0002|Send begin backup event...OK
0003|Checking files rights...OK
0004|Checking  table cache...OK
0005|Checking  table cmd...OK
0006|Checking  table config...OK
0007|Checking  table cron...OK
0008|Checking  table dataStore...OK
0009|Checking  table eqLogic...OK
0010|Checking  table eqReal...OK
0011|Checking  table history...OK
0012|Checking  table historyArch...OK
0013|Checking  table interactDef...OK
0014|Checking  table interactQuery...OK
0015|Checking  table listener...OK
0016|Checking  table message...OK
0017|Checking  table note...OK
0018|Checking  table object...OK
0019|Checking  table plan...OK
0020|Checking  table plan3d...OK
0021|Checking  table plan3dHeader...OK
0022|Checking  table planHeader...OK
0023|Checking  table queue...OK
0024|Checking  table scenario...OK
0025|Checking  table scenarioElement...OK
0026|Checking  table scenarioExpression...OK
0027|Checking  table scenarioSubElement...OK
0028|Checking  table timeline...OK
0029|Checking  table update...OK
0030|Checking  table user...OK
0031|Checking  table view...OK
0032|Checking  table viewData...OK
0033|Checking  table viewZone...OK
0034|Checking  table widgets...OK

L’autre solution, s’il faut tenir compte des anciennes versions, serait de créer un symlink mariadb-check → mysqlcheck.

À voir si ça peut être intégré dans une prochaine release

Bonjour,

Debian 13 n’est pas supporté encore (il le sera début septembre normalement) :

Quitte à passer sur Debian 13 alors autant utiliser la branche dédiée du core : fix/debian13-compatibility qui intègre cette correction et de nombreuses autres nécessaires pour que Jeedom fonctionne correctement sur cette version de Debian.

1 « J'aime »

Merci pour l’info

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