Jeedom, démarrage NOK suite à maj 4.2.9

Bonjour,
Depuis que j’ai fais la maj de Jeedom de 4.1.8 vers 4.2.9, après le reboot, mon Jeedom ne redémarre pas totalement.

Je tourne sous Proxmox, une VM DIY Debian + Jeedom.

J’ai refait mes tests en partant d’une sauvegarde proxmox du 31/01, à chaque fois le même problème.

Donc en 4.1.8, tout marche, ne pas faire attention à l’erreur sur jMQTT, c’est un broker de test que je ne démarre que pour du débug. Je relance mon Jeedom, toujours OK.

Je lance la MAJ vers la 4.2.9, ainsi que les 4 plugins

Une fois la maj finie, je reçois toujours des données sous jMQTT, mais 4 plugins sont déjà en erreur

Je reboote Jeedom et là Jeedom ne se lance pas complétement et tous les plugins non plus.

J’ai refait une installation propre depuis l’iso mis à disposition par l’équipe Jeedom, j’importe ma sauvegarde, 4.1.8, je fais la maj 4.2.9, rebelote, ça ne repart pas.

Bref, je ne sais plus quoi faire :sob:

Bonjour,
Personne d’autre à ce problème ?

Bonjour,

Celui-là, non.

Y a-t-il eu des mises à jour de plugins en même temps? apparemment oui.
Essayez une mise à jour à la fois ou essayez de désactiver ces plugins en question

Il me semble qu’il y a des problèmes connus avec #plugin-conso par exemple

Aucun problème sur le plugin UniFi Network.

Mais fournis le log de dépendances ainsi que celui du demon et celui unifi pour qu’on puisse t’aider.

Sinon mettez a jour la 4.2.9 est déjà ancienne…

1 « J'aime »

Bonjour,
Merci pour vos réponses, je n’avais pas vu les notifications !!

J’ai donc désactivé tous les plugins en erreur, toujours le même pb.
Tous les autres plugins, idem.
Dans les logs j’y vois des erreurs mais bien incapable d’analyser et encore d’apporter une correction

http.error.txt (1,6 Ko)
cron_execution.txt (29,6 Ko)

Manu

Tentez de relancer les dépendances du plugin mqtt puis rebootez proprement via le menu

Install la maj du core y’a eu des trucs sur les dépendances puis reboot et relance les dépendances ?

J’ai relancé les dépendances de MQTT et jMQTT.
J’ai un warning dans le log des dépendances de MQTT :

PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Pas de pb sous jMQTT.

J’ai donc supprimer le plugin MQTT, mais j’ai toujours l’erreur dans le log http.error.

0151|[16-Feb-2022 13:22:12 Europe/Brussels] PHP Warning:  socket_connect(): unable to connect [113]: No route to host in /var/www/html/plugins/jMQTT/core/class/jMQTT.class.php on line 808
0152|[Wed Feb 16 13:25:16.035124 2022] [core:notice] [pid 474] AH00052: child pid 838 exit signal Segmentation fault (11)
0153|[Wed Feb 16 13:25:16.035226 2022] [core:notice] [pid 474] AH00052: child pid 870 exit signal Segmentation fault (11)
0154|[Wed Feb 16 13:25:16.076462 2022] [mpm_prefork:notice] [pid 474] AH00169: caught SIGTERM, shutting down
0155|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0156|[Wed Feb 16 13:25:34.705346 2022] [mpm_prefork:notice] [pid 498] AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations
0157|[Wed Feb 16 13:25:34.705423 2022] [core:notice] [pid 498] AH00094: Command line: '/usr/sbin/apache2

Et aussi sous PHP

0481|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0482|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0483|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0484|PHP Notice:  Undefined index: percentFull in /var/www/html/plugins/envoy/core/class/envoy.class.php on line 113
0485|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0486|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0487|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0488|PHP Notice:  A non well formed numeric value encountered in /var/www/html/core/php/utils.inc.php on line 207
0489|PHP Notice:  A non well formed numeric value encountered in /var/www/html/core/php/utils.inc.php on line 208
0490|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0491|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0492|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0493|PHP Notice:  A non well formed numeric value encountered in /var/www/html/core/php/utils.inc.php on line 207


0494|PHP Notice:  A non well formed numeric value encountered in /var/www/html/core/php/utils.inc.php on line 208

Le point commun à tout ça semble être /usr/lib/php/20180731/mosquitto.so

Par contre comment le corrigé ?

jMQTT_dep.txt (1,3 Ko)
MQTT_dep.txt (2,7 Ko)

Effectivement, après une vérification sous ssh, pas de fichier mosquito.so

root@jeedom:~# ls /usr/lib/php/20180731/m
mbstring.so  mysqli.so    mysqlnd.so

J’ai aussi vu ce post, est-ce au final le même problème ?

https://community.jeedom.com/t/unable-to-load-dynamic-library-mosquitto-so/63882/11

je pense que vous n’êtes pas dans la bonne version de php, on dirait un système qui a été (mal) migré vers debian 10… le plus simple est probablement de repartir sur une installation propre et vous restaurez votre sauvegarde.

car à coté de votre problème de mosquitto on voit des erreurs sur gmdate qui est une fonction native

et ce qui me fait le plus peur c’est :

child pid 870 exit signal Segmentation fault (11)

… bizarre, les tests, je les fais depuis une vm fraichement installée avec un ISO fourni par Jeedom.
Je recommence.

Je viens de refaire l’installation depuis l’iso jeedom-debian-buster-amd64-4.1.27.iso
Je restaure ma sauvegarde 4.1.28, tout fonctionne.
Je mets à jour vers la 4.2.11, et je retombe vers mes problèmes de Jeedom qui ne finit pas de démarrer.

0268|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0269|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0270|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0271|PHP Notice:  Undefined index: percentFull in /var/www/html/plugins/envoy/core/class/envoy.class.php on line 113
0272|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0273|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0274|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0275|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
0276|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0277|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0278|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0279|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
0280|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0281|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0282|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0283|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0284|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0285|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0286|2022-02-16 21:19:01 starting Jeedom
0287|PHP Notice:  Undefined index: percentFull in /var/www/html/plugins/envoy/core/class/envoy.class.php on line 113
0288|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0289|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0290|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0291|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
0292|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0293|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0294|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
0295|PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
0296|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0297|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0298|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265
0299|PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1265

Partez sur une debian 10 lite, et lancez juste la commande qui fonctionne bien dans la doc. Une fois installé restaurez votre sauvegarde 4.2

Mes backups sont en 4.1.28
J’ai refait une install depuis debian 10 lite, installé Jeedom, restauré ma sauvegarde.
Avant de migrer en 4.2.x, je vois déjà des erreurs liè à Mosquitto.so mais mon jeedom tourne. En 4.2.x, il ne tourne plus.

PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Cron-execution :

PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Notice:  Undefined index: percentFull in /var/www/html/plugins/envoy/core/class/envoy.class.php on line 113
sudo: arp-scan : commande introuvable
PHP Notice:  Undefined index: byTime in /var/www/html/plugins/scan_ip/core/class/scan_ip.widget_alerte.php on line 133
PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/scan_ip/core/class/scan_ip.widget_alerte.php on line 133
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 148
PHP Warning:  A non-numeric value encountered in /var/www/html/vendor/symfony/expression-language/Node/BinaryNode.php on line 144
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195
PHP Warning:  gmdate() expects parameter 2 to be int, string given in /var/www/html/core/class/scenarioExpression.class.php on line 1195

MQTT_dep4.1.28.txt (2,8 Ko)

Bref, j’ai peur que mon backup soit foireux, des années de Jeedom :woozy_face: :sob:

1 « J'aime »

Tu doit en avoir plusieurs des backups, un par jour.

Et c’est quoi ce plugin envoy ?? Tu a essayé de le désactiver / supprimer ?

Envoy permet de récupérer les états de mon installation photovoltaïque.

J’ai fait un essai en supprimant tout mes plugins, mon installation est toujours bancale.

si dans le backup tu as le plugin MQTT activé et qu’il y a un souci dessus, à chaque fois que tu vas restaurer tu vas rajouter le problème.

quand tu enlève l’extension php d’apache dans php.ini as-tu toujours le souci après restauration ?