Je n'ai plus accès ma smart pendant mon absence avec l'erreur connue et inquiétante "Can't connect to local MySQL server...".
A mon retour l'alarme a fonctionné mais restait active et google home impuissant.
Je me reconnecte et cela marche.
Voila l'historique de ce qui c'est passé sur le log http.error, apparemment cela essayait de se reconnecter jusqu'à ce que apache ait peut-être redémarré (l'heure est redevenu correct peut-être que je n'avais pas redémarré depuis le changement d'heure), enfin il semblerait qu'à la fin du log que le cache soit plein.
Ne plus être connecté en mon absence c'est un gros problème que je ne souhaite pas voir renouvelé.
Quelle est l'interprétation du log par des spécialistes?
En attendant une réponse je vide le cache.
Code : Tout sélectionner
thrown in /var/www/html/core/class/DB.class.php on line 37
[Sun Mar 17 16:15:57.344568 2019] [:error] [pid 31260] [client 127.0.0.1:56126] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/html/core/class/DB.class.php:37
Stack trace:
#0 /var/www/html/core/class/DB.class.php(37): PDO->__construct('mysql:host=loca...', 'jeedom', 'edc920f3e45849a', Array)
#1 /var/www/html/core/class/DB.class.php(49): DB->__construct()
#2 /var/www/html/core/class/DB.class.php(80): DB::getConnection()
#3 /var/www/html/core/class/config.class.php(144): DB::Prepare('SELECT `value`
...', Array, 0)
#4 /var/www/html/core/class/jeedom.class.php(339): config::byKey('api::blea::mode', 'core', 'enable')
#5 /var/www/html/plugins/blea/core/php/jeeBlea.php(20): jeedom::apiAccess('GlIelDHrNBb0u0Q...', 'blea')
#6 {main}
thrown in /var/www/html/core/class/DB.class.php on line 37
[Thu Jan 01 00:00:24.078423 1970] [mpm_prefork:notice] [pid 674] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Thu Jan 01 00:00:24.078670 1970] [core:notice] [pid 674] AH00094: Command line: '/usr/sbin/apache2'
[17-Mar-2019 17:43:54 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4068713 bytes) in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106
[Thu Jan 01 00:00:28.249992 1970] [mpm_prefork:notice] [pid 658] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Thu Jan 01 00:00:28.250872 1970] [core:notice] [pid 658] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 17 18:58:45.748532 2019] [:error] [pid 1143] [client 192.168.0.24:50601] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4012559 bytes) in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106, referer: http://192.168.0.31/index.php?v=d&p=view&view_id=1
[Mon Mar 18 00:48:54.044665 2019] [:error] [pid 1146] [client 192.168.0.24:54394] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3883348 bytes) in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106, referer: http://192.168.0.31/index.php?v=d&p=view&view_id=1
[Mon Mar 18 05:53:48.131231 2019] [:error] [pid 1144] [client 192.168.0.24:54434] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3700061 bytes) in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106, referer: http://192.168.0.31/index.php?v=d&p=view&view_id=1
[Mon Mar 18 08:19:05.720675 2019] [:error] [pid 815] [client 192.168.0.24:64825] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3695212 bytes) in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php on line 106, referer: http://192.168.0.31/index.php?v=d&m=pool&p=panel