Jeedom ne démarre pas (4.1.25)

Suite à la mise à jour en 4.1.25 et un apt update , l’interface présente toujours ce message « Jeedom est en cours de démarrage, veuillez patienter. La page se rechargera automatiquement une fois le démarrage terminé. »

Après une restauration de l’image + restauration d’un backup , tant que le système n’est pas redémarré une première fois, tout fonctionne.

Après le premier redémarrage, le message réapparait et tous les plugins de protocole sont bloqués.

J’ai l’impression que cela proviens de mariadb dans cette image d’install,
l’utilisateur root n’a plus le mot de passe classique de l’install jeedom ( MJeedom96)

Quelqu’un à une idée ? j’ai fait un ticket au support … mais pas de news.
Je vais monter un bakcup dans une instance DIY pour confirmer un pb d’install

Maria log

2021-08-30 11:39:24 0 [Warning] The parameter innodb_large_prefix is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
2021-08-30 11:39:24 0 [Note] InnoDB: Using Linux native AIO
2021-08-30 11:39:24 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-08-30 11:39:24 0 [Note] InnoDB: Uses event mutexes
2021-08-30 11:39:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-08-30 11:39:24 0 [Note] InnoDB: Number of pools: 1
2021-08-30 11:39:24 0 [Note] InnoDB: Using generic crc32 instructions
2021-08-30 11:39:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-08-30 11:39:24 0 [Note] InnoDB: Completed initialization of buffer pool
2021-08-30 11:39:24 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-08-30 11:39:24 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-08-30 11:39:24 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-08-30 11:39:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-08-30 11:39:24 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-08-30 11:39:24 0 [Note] InnoDB: Waiting for purge to start
2021-08-30 11:39:24 0 [Note] InnoDB: 10.3.22 started; log sequence number 130778179; transaction id 14398
2021-08-30 11:39:24 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-08-30 11:39:24 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-08-30 11:39:24 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-08-30 11:39:24 0 [Note] Reading of all Master_info entries succeeded
2021-08-30 11:39:24 0 [Note] Added new Master_info '' to hash table
2021-08-30 11:39:24 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.22-MariaDB-0+deb10u1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Debian 10
2021-08-30 11:39:25 9 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2021-08-30 11:39:25 10 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2021-08-30 11:39:25 11 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2021-08-30 11:39:25 0 [Note] InnoDB: Buffer pool(s) load completed at 210830 11:39:25
2021-08-30 11:42:01 21 [Warning] Aborted connection 21 to db: 'jeedom' user: 'jeedom' host: 'localhost' (Got an error reading communication packets)
2021-08-30 11:45:02 37 [Warning] Aborted connection 37 to db: 'jeedom' user: 'jeedom' host: 'localhost' (Got an error reading communication packets)
2021-08-30 11:48:02 45 [Warning] Aborted connection 45 to db: 'jeedom' user: 'jeedom' host: 'localhost' (Got an error reading communication packets)
2021-08-30 11:51:02 52 [Warning] Aborted connection 52 to db: 'jeedom' user: 'jeedom' host: 'localhost' (Got an error reading communication packets)

J’ai fait une Install sur un DIY … même constat. Après un premier démarrage … le système est en « Jeedom est en cours de démarrage »

Bon, pas d’autre solution que de ré-install et restaure le backup sans redémarrer la box.

La solution : regarder ce qui bloque le démarrage de jeedom.

Quand on regarde dans la classe /core/jeedom.class.php , la méthode isStarted() est lié à un fichier /tmp/jeedom/stared créé dans la méthode cron().

Dans cette méthode :
Jeedom regarde les crons, puis la restauration du cache, puis le Nettoyage du cache des péripheriques USB, puis … pour enfin faire ce fameux fichier.

Un petit « SELECT count(*) FROM cron; » donne 9250 dans mon cas … aie … normale qu’elle ne démarre pas la bête !

J’ai nettoyer cette table et tous est ok.
ouf

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