Hello,
malgré plusieurs tentatives, je n’arrive pas a restore un backup 4.0.38 sur une fresh install
jeedom plante et ne boot plus
est-il possible de forcer une install de jeedom en version 4.0.38 ?
> pi@jeedom:/var/www/html/install $ sudo php restore.php
> [START RESTORE]
> ***************Begin Jeedom restore 2025-01-19 11:55:57***************
> Send begin restore event...OK
> Checking rights...OK
> Restore from file : /var/www/html/install/../backup/backup-abcd-4.0.38-2025- 01-19-00h05.tar.gz
> Backup database access configuration...Cannot copy /var/www/html/install/../core /config/common.config.php
> OK
> Disable all task OK
> Disable all scenario OK
> Unpacking backup...OK
> Update composer file...
> OK
> [PROGRESS][58]
> 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...OK
> Enable back constraints...OK
> Restoring cache...OK
> Restoring Plugin : calendar...OK
> Check jeedom consistency...[START CONSISTENCY]
> PHP Fatal error: Uncaught Error: Non-static method DB::compareAndFix() cannot b e called statically in /var/www/html/install/database.php:31
> Stack trace:
> #0 {main}
> thrown in /var/www/html/install/database.php on line 31
> [START CHECK AND FIX DB]
> Check jeedom database...
> Fix : ALTER TABLE `interactQuery` ENGINE = InnoDBOK
>
> Check filesystem right...OK
> [END CONSISTENCY]
> OK
> Enable scenario : OK
> Enable task : OK
> Check Network Conf : OK
> Sending end restore event...OK
> Restore duration : 52s
> ***************Jeedom Restore End***************
> [END RESTORE SUCCESS]
> pi@jeedom:/var/www/html/install $