Box Atlas plante une fois par jour et ne répond plus suite à migration en Debian 12

Hello,

Suite au passage de la box Atlas de debian 11 à 12 en utilisant le nouveau système de restauration (avec tout de même une première tentative infructueuse), je note que ma box par 3 fois a planté, sans s’éteindre, sans être accessible. Je vois les led allumées mais elle n’apparait pas sur mon réseau local. Cela est arrivé ce matin vers 09:56, les fois précédentes à d’autres heures de la journée.
Je ne sais pas trop quoi regarder, le log http.error n’affiche rien autour de l’heure du plantage (je retrouve les lignes affichées régulièrement avant et après reboot et la plupart concerne apparemment un problème connu du core 4.4):

 [php:error] [pid 1063200:tid 1063200] [client 127.0.0.1:35038] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2847|[Sat Sep 20 09:56:25.100082 2025] [php:error] [pid 1073604:tid 1073604] [client 127.0.0.1:54898] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2848|[Sat Sep 20 09:56:30.011693 2025] [php:error] [pid 1064159:tid 1064159] [client 127.0.0.1:54948] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2849|[Sat Sep 20 09:56:35.194236 2025] [php:error] [pid 1073604:tid 1073604] [client 127.0.0.1:47438] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2850|[Sat Sep 20 09:56:43.014494 2025] [php:error] [pid 1073565:tid 1073565] [client 127.0.0.1:59672] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2851|[Sat Sep 20 09:56:48.072357 2025] [php:error] [pid 655673:tid 655673] [client 127.0.0.1:59720] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2852|[Sat Sep 20 09:56:49.008152 2025] [php:error] [pid 744413:tid 744413] [client 127.0.0.1:59746] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2853|[Sat Sep 20 09:56:54.131242 2025] [php:error] [pid 1041053:tid 1041053] [client 127.0.0.1:38654] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2854|[Sat Sep 20 09:56:54.978541 2025] [php:error] [pid 735116:tid 735116] [client 127.0.0.1:38668] PHP Fatal error:  Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n  thrown in /var/www/html/core/class/cmd.class.php on line 1036
2855|[Sat Sep 20 14:17:04.281252 2025] [mpm_prefork:notice] [pid 610:tid 610] AH00163: Apache/2.4.62 (Debian) configured -- resuming normal operations
2856|[Sat Sep 20 14:17:04.288410 2025] [core:notice] [pid 610:tid 610] AH00094: Command line: '/usr/sbin/apache2'
2857|[Sat Sep 20 14:17:22.783955 2025] [php:warn] [pid 640:tid 640] [client 192.168.1.5:45328] PHP Warning:  include(/var/www/html/plugins/lgthinq2/vendor/composer/../psr/log/Psr/Log/LoggerAwareTrait.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 576
2858|[Sat Sep 20 14:17:22.784344 2025] [php:warn] [pid 640:tid 640] [client 192.168.1.5:45328] PHP Warning:  include(): Failed opening '/var/www/html/plugins/lgthinq2/vendor/composer/../psr/log/Psr/Log/LoggerAwareTrait.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/vendor/composer/ClassLoader.php on line 576
2859|[Sat Sep 20 14:17:22.803791 2025] [php:warn] [pid 640:tid 640] [client 192.168.1.5:45328] PHP Warning:  include(/var/www/html/plugins/lgthinq2/vendor/composer/../psr/log/Psr/Log/LoggerAwareInterface.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 576
2860|[Sat Sep 20 14:17:22.803919 2025] [php:warn] [pid 640:tid 640] [client 192.168.1.5:45328] PHP Warning:  include(): Failed opening '/var/www/html/plugins/lgthinq2/vendor/composer/../psr/log/Psr/Log/LoggerAwareInterface.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/vendor/composer/ClassLoader.php on line 576
2861|[Sat Sep 20 14:17:24.253677 2025] [php:warn] [pid 641:tid 641] [client 192.168.1.5:40278] PHP Warning:  A non-numeric value encountered in /var/www/html/plugins/camera/core/class/camera.class.php on line 631
2862|[Sat Sep 20 14:17:24.325259 2025] [php:warn] [pid 1132:tid 1132] [client 192.168.1.5:40310] PHP Warning:  include(/var/www/html/plugins/lgthinq2/vendor/composer/../psr/log/Psr/Log/LoggerAwareTrait.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 576

Ma page santé :

La charge ne semble pas non plus avoir peaké juste à ce moment-là (charge à 1min depuis le plugin monitoring):

J’ai tenté de regarder tous les logs un par un autour de cette heure fatidique mais je n’ai rien vu de particulier.
Un plugin pas compatible avec deb12 ? Normalement j’ai parcouru la liste attentivement avant la migration.
Un bloc code avec une syntaxe non prise en compte en deb12 ? J’aurais une erreur dans un log, non ?
Quelqu’un aurait une idée? Je ferai de mon mieux pour fournir toutes les infos nécessaires.

Bonjour

La Debian 12 n’est pas officiellement validée sur l’Atlas, le support va vous conseiller de repasser en 11.

Pas validée officiellement mais l’image est quand même mise à disposition sur le dépôt :wink:

Bah oui c’est mis à disposition faut bien avancer. Et la doc dit 4.5 compatible Debian 12 donc passe en 4.5 et le souci sera réglé mais je doute que ces petites erreurs PHP arrivent à faire planter la box à elles seules.

1 « J'aime »

Ok je pense plutôt que je repasserai en debian 11 en attendant la 4.5 si je ne trouve pas de solution

1 « J'aime »

Je suis pas certain qu’une sauvegarde jeedom issu d’un système debian 12 puisse être utilisée sous debian 11.
En tout cas, c’était ainsi.

1 « J'aime »

J’ai encore des sauvegardes en debian 11 sous le coude, avant migration :wink: .
J’ai trouvé un item « intéressant » : ma mémoire libre (toujours d’après le plugin monitoring) descend à moins de 5% puis remonte à 70% quand je reboote. Est-ce que c’est un comportement « normal » ?