Bonjour à tous
Je ne parviens pas à faire un restore de mon Jeedom.
Je tournais toujours sur une VM en Debian 10.
Il y a deux semaines j’ais installé l’iso en Debian 11 et rechargé mon backup sans soucis.
Depuis des scénarios étaient annulés alors aue tout etait OK niveau charge CPU mémoir ou disque, il était égualement impossible de rentrer dans les log.
Après un backup, j’ai planté mon Jeedom en tentant de résoudre ce soucis.
Depuis impossible de remonter une VM et de recharger un backup.
Voici les logs
[START RESTORE]
***************Begin Jeedom restore 2024-11-14 18:02:35***************
Send begin restore event...OK
Checking rights...OK
Restore from file : /var/www/html/core/class/../../backup/backup-Jeedom-4.4.19-2024-11-13-21h55.tar.gz
Backup database access configuration...OK
Disable all task
OK
Disable all scenario OK
Unpacking backup...
OK
Deleting database...Disabling constraints...OK
Deleting table : cache ...OK
Deleting table : cmd ...
OK
Deleting table : config ...OK
Deleting table : cron ...OK
Deleting table : dataStore ...OK
Deleting table : eqLogic ...OK
Deleting table : event ...OK
Deleting table : history ...OK
Deleting table : historyArch ...OK
Deleting table : interactDef ...OK
Deleting table : interactQuery ...OK
Deleting table : listener ...OK
Deleting table : message ...OK
Deleting table : note ...OK
Deleting table : object ...OK
Deleting table : plan ...OK
Deleting table : plan3d ...OK
Deleting table : plan3dHeader ...OK
Deleting table : planHeader ...OK
Deleting table : scenario ...OK
Deleting table : scenarioElement ...OK
Deleting table : scenarioExpression ...OK
Deleting table : scenarioSubElement ...OK
Deleting table : timeline ...OK
Deleting table : update ...OK
Deleting table : user ...OK
Deleting table : view ...OK
Deleting table : viewData ...OK
Deleting table : viewZone ...OK
Deleting table : widgets ...OK
Restoring database from backup...ERROR at line 1: Unknown command '\-'.
OK
Enable back constraints...OK
Restoring cache...OK
Error during restore : [MySQL] Error code : 42S02 (1146). Table 'jeedom.config' doesn't exist : SELECT plugin
FROM config
WHERE `key`='active'
AND `value`='1'Details : Array
(
[0] => Array
(
[file] => /var/www/html/core/class/plugin.class.php
[line] => 215
[function] => Prepare
[class] => DB
[type] => ::
)
[1] => Array
(
[file] => /var/www/html/install/restore.php
[line] => 202
[function] => listPlugin
[class] => plugin
[type] => ::
)
)
[END RESTORE ERROR]
Enable scenario : PHP Fatal error: Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.config' doesn't exist : DE LETE FROM config
WHERE `key`=:key
AND plugin=:plugin in /var/www/html/core/class/DB.class.php:120
Stack trace:
#0 /var/www/html/core/class/config.class.php(133): DB::Prepare()
#1 /var/www/html/core/class/config.class.php(69): config::remove()
#2 /var/www/html/core/class/jeedom.class.php(993): config::save()
#3 /var/www/html/install/restore.php(247): jeedom::start()
#4 {main}
thrown in /var/www/html/core/class/DB.class.php on line 120
J’ai remonté plusieurs fois la VM, restauré avant et après mise a jour. tenté des backups qui venaient d’anciennes versions sans succès.
Heureusement j’avais gardé ma VM sous Debian 10.
Jai donc testé des backup en version :
4.4.18 et 4.4.19
vers 4.3.22 et 4.4.12
J’ai égualement tenté en SSH, l’erreur reste la même.
Avez vous une idée, je seèche vraiement sur le coup.
Merci d’avance.