Beta 4.5 - Broker MQTT plus accessible

Je viens de maj de la Beta 4.4.18 à la 4.5.

Log UPDATE

0000|[START UPDATE] 0001|[PROGRESS][1] 0002|****Update from 4.4.18 (2024-10-02 14:19:59)**** 0003|Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""} 0004|Send begin of update event...**OK** 0005|Check update... 0006|**OK** 0007|[PROGRESS][5] 0008|Check rights... 0009|**OK** 0010|[START BACKUP] 0011|***************Start of Jeedom backup at 2024-10-02 14:20:09*************** 0012|Send begin backup event...**OK** 0013|Checking files rights... 0014|**OK** 0015|Checking database... 0016|jeedom.event 0017|note : The storage engine for the table doesn't support check 0018|**OK** 0019|Backing up database... 0020|**OK** 0021|Cache persistence: 0022|**OK** 0023|Creating archive... 0024|**OK** 0025|Cleaning old backup...**OK** 0026|Limiting backup size to 1500 Mb... 0027|Delete: /var/www/html/core/php/../../backup/backup-LeTous-4.4.18-2024-10-01-08h58.tar.gz 0028|Delete: /var/www/html/core/php/../../backup/backup-LeTous-4.4.18-2024-10-02-00h27.tar.gz 0029|**OK** 0030|Backup name: /var/www/html/core/php/../../backup/backup-LeTous-4.4.18-2024-10-02-14h20.tar.gz 0031|Checking files rights... 0032|**OK** 0033|Send end backup event...**OK** 0034|Backup operation duration: 63s 0035|***************Jeedom backup end*************** 0036|[END BACKUP SUCCESS] 0037|[PROGRESS][10] 0038|[PROGRESS][15] 0039|Download url : https://github.com/jeedom/core/archive/beta.zip 0040|Download in progress...--2024-10-02 14:21:12-- https://github.com/jeedom/core/archive/beta.zip 0041|Resolving github.com (github.com)... 140.82.121.3 0042|Connecting to github.com (github.com)|140.82.121.3|:443... connected. 0043|HTTP request sent, awaiting response... 302 Found 0044|Location: https://codeload.github.com/jeedom/core/zip/refs/heads/beta [following] 0045|--2024-10-02 14:21:12-- https://codeload.github.com/jeedom/core/zip/refs/heads/beta 0046|Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 0047|Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. 0048|HTTP request sent, awaiting response... 200 **OK** 0049|Length: unspecified [application/zip] 0050|Saving to: '/tmp/jeedom/install/jeedom_update.zip' 0051|0K ........ ........ ........ ........ ........ .... 0052|.... 6.99M 0053|3072K ........ ........ ........ ........ ........ ........ 8.09M 0054|6144K ........ ........ ........ ........ ........ ........ 7.28M 0055|9216K ........ ........ ........ ........ ....... 0056|. ........ 10.1M 0057|12288K ........ ........ ........ ........ ........ ........ 5.10M 0058|15360K ........ ........ ........ ........ ........ ........ 9.66M 0059|18432K ........ ........ .. 0060|..... ........ ........ ........ 10.6M 0061|21504K ........ ........ ........ ........ ........ ........ 37.1M 0062|24576K ........ ........ ........ ........ ........ ........ 18.0M 0063|27648K ........ ........ ........ ........ ........ ........ 34.9M 0064|30720K ........ ........ ........ ........ ........ ........ 28.3M 0065|33792K ........ ........ ........ ........ ........ ........ 26.6M 0066|36864K ........ ........ ........ ........ ........ ........ 26.9M 0067|39936K ........ ........ ........ ........ ........ ........ 16.4M 0068|43008K ........ ........ ........ ........ ........ ........ 5.72M 0069|46080K ........ ........ ........ ........ ........ ........ 36.2M 0070|49152K ........ ........ ........ ........ ........ ........ 23.4M 0071|52224K ........ ........ ........ ........ ........ ........ 32.3M 0072|55296K ........ ........ ........ ........ ........ ........ 18.1M 0073|58368K ........ ........ ........ ..... 0074|... ........ ........ 33.5M 0075|61440K ........ ........ ........ ........ ........ ........ 34.7M 0076|64512K ........ ........ ........ ........ ........ ........ 10.9M 0077|67584K ........ ........ ........ ........ ........ ........ 32.2M 0078|70656K ........ ........ ........ ........ ........ ........ 44.7M 0079|73728K ........ ........ ........ ........ ........ ........ 25.3M 0080|76800K ........ ........ ........ ........ ........ ........ 30.3M 0081|79872K ........ ........ ........ ........ 36.9M=5.4s 0082|2024-10-02 14:21:18 (14.8 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [83935729] 0083|[PROGRESS][25] 0084|**OK** 0085|Cleaning folders...**OK** 0086|[PROGRESS][30] 0087|Create temporary folder...**OK** 0088|[PROGRESS][35] 0089|Unzip in progress... 0090|**OK** 0091|[PROGRESS][40] 0092|Clean temporary files (tmp)...**OK** 0093|Disable all task 0094|kill: (4057846): No such process 0095|.. 0096|kill: (4058100): No such process 0097|.. 0098|.. **OK** 0099|Disable all scenario.................. 0100|................................................................. 0101|........................ **OK** 0102|[PROGRESS][45] 0103|Update modification date of unzip file...**OK** 0104|[PROGRESS][47] 0105|Moving files...Ignore file /tmp/jeedom_unzip/core-beta///docs/de_DE/noteVersion.md because size is 0 0106|Ignore file /tmp/jeedom_unzip/core-beta///docs/en_US/noteVersion.md because size is 0 0107|Ignore file /tmp/jeedom_unzip/core-beta///docs/es_ES/noteVersion.md because size is 0 0108|Ignore file /tmp/jeedom_unzip/core-beta///docs/fr_FR/noteVersion.md because size is 0 0109|Ignore file /tmp/jeedom_unzip/core-beta///docs/pt_PT/noteVersion.md because size is 0 0110|**OK** 0111|[PROGRESS][50] 0112|Remove temporary files...**OK** 0113|[PROGRESS][52] 0114|Remove useless files... 0115|Cleaning 3rdparty 0116|Cleaning desktop 0117|Cleaning mobile 0118|Cleaning core 0119|Cleaning docs 0120|Cleaning install 0121|Cleaning script 0122|**OK** 0123|[PROGRESS][53] 0124|Update jeedom information date... 0125|**OK** 0126|[PROGRESS][59] 0127|[PROGRESS][60] 0128|Update system into : 4.5.0... 0129|Empty old cache system...**OK**Empty DB cache table...**OK** **OK** 0130|Check jeedom consistency... 0131|[START CONSISTENCY] 0132|[START CHECK AND FIX DB] 0133|Fix : ALTER TABLE `cache` ADD `timestamp` int(11) NULL 0134|Fix : ALTER TABLE `cache` DROP `datetime` 0135|Fix : CREATE TABLE IF NOT EXISTS `queue` ( 0136|`id` int(11) NOT NULL AUTO_INCREMENT, 0137|`queueId` varchar(255) NULL, 0138|`class` varchar(255) NULL, 0139|`function` varchar(255) NOT NULL, 0140|`arguments` text NULL, 0141|`createTime` datetime NOT NULL, 0142|`options` text NULL, 0143|`timeout` int(11) NULL, 0144|primary key(`id`)) 0145|ENGINE InnoDB; 0146|[END CHECK AND FIX DB] 0147|Check jeedom package...**OK** 0148|Check jeedom database...**OK** 0149|Check crons... 0150|Create queue::cron 0151|Check filesystem right... 0152|**OK** 0153|Check jeedom object... 0154|**OK** 0155|Check jeedom cmd... 0156|**OK** 0157|Set cache hour...**OK** 0158|Check composer...**OK** 0159|Check nodejs... 0160|npm warn using --force Recommended protections disabled. 0161|Hit:1 http://security.debian.org/debian-security bullseye-security InRelease 0162|Hit:2 http://deb.debian.org/debian bullseye InRelease 0163|Hit:3 http://deb.debian.org/debian bullseye-updates InRelease 0164|Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease 0165|Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease 0166|Reading package lists... 0167|Reading package lists... 0168|Building dependency tree... 0169|Reading state information... 0170|apt-utils is already the newest version (2.2.4). 0171|build-essential is already the newest version (12.9). 0172|lsb-release is already the newest version (11.1.0). 0173|git is already the newest version (1:2.30.2-1+deb11u3). 0174|0 upgraded, 0 newly installed, 0 to remove and 176 not upgraded. 0175|[Check Version NodeJS actuelle : v20.17.0 : [ OK ] 0176|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ] 0177|Clean npm cache 0178|**OK** 0179|Check apache security file...[END CONSISTENCY] 0180|**OK** 0181|Check update...**OK** 0182|***************Jeedom is up to date in 4.5*************** 0183|[PROGRESS][75] 0184|***************Update plugins*************** 0185|***************Update plugin successfully*************** 0186|[PROGRESS][90] 0187|Check update 0188|**OK** 0189|[PROGRESS][95] 0190|Enable scenario : **OK** 0191|Enable task : **OK** 0192|Check Network Conf : **OK** 0193|[PROGRESS][100] 0194|Launch cron dependancy plugins...**OK** 0195|Send end of update event...**OK** 0196|Update duration : 102s 0197|[END UPDATE SUCCESS]

Suite à cela, j’ai fais un redémarrage de la VM. Patienté tranquillement que tout se relance gentiment et depuis J’ai un soucis avec les plugins MQTT.

Ma configuration est la suivante :

  • VM Jeedom → 192.168.2.50
  • VM Docker → 192.168.2.124
  • mosquito sur 1883 et sans sécurité (oui je sais pas bien)

J’utilise les plugins suivants et tous configurés sur le broker distant :
plugin-mqtt2

Configuration

Lui me sert juste a recevoir les infos Frigate et il est repartit sans problème

plugin-zigbeelinker

Configuration

Logs dépendance
[2024-10-02 16:42:24] INFO  ##### Synchronisation du temps avant l'installation des dépendances...
[2024-10-02 16:42:27] INFO  ##### Synchronisation du temps terminée, lancement des dépendances.
#######################################################
#    INSTALL : Client MQTT       #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
Reading package lists...
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
git is already the newest version (1:2.30.2-1+deb11u3).
0 upgraded, 0 newly installed, 0 to remove and 176 not upgraded.
#######################################################
#    INSTALLING : Mosquitto for Php                   #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
#                         END                         #
#######################################################
Logs deamon
[2024-10-02 16:41:59] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est déconnecté. #####
[2024-10-02 16:41:59] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est arrêté suite à une erreur , message : The connection was lost.) #####
[2024-10-02 16:42:00] ERROR  ##### Le service Client MQTT "zigbee" est arrêté #####
[2024-10-02 16:42:13] INFO  ##### Le service Client MQTT a démarré (zigbee) #####
[2024-10-02 16:42:13] INFO  ##### Le service Client MQTT ([Maison][zigbee]) s'est connecté. #####
[2024-10-02 16:42:13] INFO  [Maison][zigbee] : Client MQTT subscribe : 1
[2024-10-02 16:42:22] INFO  ##### Le service Client MQTT "zigbee" a démarré #####
[2024-10-02 16:42:27] INFO  ############ Arrêt des services ############
[2024-10-02 16:42:27] INFO  ##### Arrêt du service ZigbeeLinker #####
[2024-10-02 16:42:27] INFO  ##### Service ZigbeeLinker Arrêté #####
[2024-10-02 16:42:27] INFO  ##### Arrêt du service Client MQTT (zigbee)#####
[2024-10-02 16:42:27] INFO  ##### Le service Client MQTT ([Maison][zigbee]) s'est déconnecté. #####
[2024-10-02 16:42:28] INFO  ##### Le service Client MQTT (zigbee) s'est arrêté correctement #####
[2024-10-02 16:42:41] INFO  ############ Démarrage des service ############
[2024-10-02 16:42:41] INFO  ##### Démarrage du service ZigbeeLinker #####
[2024-10-02 16:42:41] INFO  ##### Service ZigbeeLinker démarré #####
[2024-10-02 16:42:41] INFO  ##### Démarrage du service Client MQTT (zigbee) #####
[2024-10-02 16:42:41] INFO  ##### Le service Client MQTT a démarré (zigbee) #####
[2024-10-02 16:42:41] INFO  ##### Le service Client MQTT ([Maison][zigbee]) s'est connecté. #####
[2024-10-02 16:42:41] INFO  [Maison][zigbee] : Client MQTT subscribe : 1
[2024-10-02 16:42:41] INFO  ##### Le client MQTT zigbee a reçu un premier message de Zigbee2MQTT #####
[2024-10-02 16:42:42] INFO  ##### Démarrage du service Client MQTT (zigbee) terminé avec succès #####
[2024-10-02 16:44:00] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est déconnecté. #####
[2024-10-02 16:44:00] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est arrêté suite à une erreur , message : The connection was lost.) #####
[2024-10-02 16:44:10] ERROR  ##### Le service Client MQTT "zigbee" est arrêté #####
[2024-10-02 16:44:42] INFO  ##### Le service Client MQTT a démarré (zigbee) #####
[2024-10-02 16:44:42] INFO  ##### Le service Client MQTT ([Maison][zigbee]) s'est connecté. #####
[2024-10-02 16:44:42] INFO  [Maison][zigbee] : Client MQTT subscribe : 1
[2024-10-02 16:44:43] INFO  ##### Le service Client MQTT "zigbee" a démarré #####
[2024-10-02 16:46:01] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est déconnecté. #####
[2024-10-02 16:46:01] ERROR  ##### Le service Client MQTT ([Maison][zigbee]) s'est arrêté suite à une erreur , message : The connection was lost.) #####
[2024-10-02 16:46:11] ERROR  ##### Le service Client MQTT "zigbee" est arrêté #####
[2024-10-02 16:46:43] INFO  ##### Le service Client MQTT a démarré (zigbee) #####
[2024-10-02 16:46:43] INFO  ##### Le service Client MQTT ([Maison][zigbee]) s'est connecté. #####
[2024-10-02 16:46:43] INFO  [Maison][zigbee] : Client MQTT subscribe : 1
[2024-10-02 16:46:44] INFO  ##### Le service Client MQTT "zigbee" a démarré #####

Il est configuré en Client seulement, j’ai zigbee2mqtt installé sur mon broker.

plugin-jmqtt

Configuration

Log broker
387144|[2024-10-02 16:55:06] INFO  Démarrage du client MQTT
387145|[2024-10-02 16:55:07] INFO  Client MQTT connecté au Broker
387247|[2024-10-02 16:55:09] INFO  Client MQTT déconnecté du Broker
387248|[2024-10-02 16:55:14] INFO  Client MQTT connecté au Broker
387394|[2024-10-02 16:55:19] INFO  Client MQTT déconnecté du Broker
387395|[2024-10-02 16:55:24] INFO  Client MQTT connecté au Broker
387507|[2024-10-02 16:55:29] INFO  Client MQTT déconnecté du Broker
387508|[2024-10-02 16:55:34] INFO  Client MQTT connecté au Broker
387688|[2024-10-02 16:55:39] INFO  Client MQTT déconnecté du Broker
387689|[2024-10-02 16:55:44] INFO  Client MQTT connecté au Broker
387801|[2024-10-02 16:55:49] INFO  Client MQTT déconnecté du Broker
387802|[2024-10-02 16:55:54] INFO  Client MQTT connecté au Broker
387946|[2024-10-02 16:55:59] INFO  Client MQTT déconnecté du Broker
387947|[2024-10-02 16:56:04] INFO  Démarrage du client MQTT
387948|[2024-10-02 16:56:04] INFO  Client MQTT connecté au Broker
388034|[2024-10-02 16:56:06] INFO  Client MQTT déconnecté du Broker
388035|[2024-10-02 16:56:11] INFO  Client MQTT connecté au Broker
388149|[2024-10-02 16:56:16] INFO  Client MQTT déconnecté du Broker
388150|[2024-10-02 16:56:21] INFO  Client MQTT connecté au Broker
388320|[2024-10-02 16:56:26] INFO  Client MQTT déconnecté du Broker
388321|[2024-10-02 16:56:31] INFO  Client MQTT connecté au Broker
388475|[2024-10-02 16:56:36] INFO  Client MQTT déconnecté du Broker
388476|[2024-10-02 16:56:41] INFO  Client MQTT connecté au Broker
388608|[2024-10-02 16:56:46] INFO  Client MQTT déconnecté du Broker
388609|[2024-10-02 16:56:51] INFO  Client MQTT connecté au Broker
388747|[2024-10-02 16:56:56] INFO  Client MQTT déconnecté du Broker
388748|[2024-10-02 16:57:02] INFO  Client MQTT connecté au Broker
388902|[2024-10-02 16:57:06] INFO  Client MQTT déconnecté du Broker
388903|[2024-10-02 16:57:11] INFO  Client MQTT connecté au Broker
389047|[2024-10-02 16:57:16] INFO  Client MQTT déconnecté du Broker
389048|[2024-10-02 16:57:21] INFO  Client MQTT connecté au Broker
389204|[2024-10-02 16:57:26] INFO  Client MQTT déconnecté du Broker
389205|[2024-10-02 16:57:32] INFO  Client MQTT connecté au Broker
389375|[2024-10-02 16:57:37] INFO  Client MQTT déconnecté du Broker
389376|[2024-10-02 16:57:41] INFO  Client MQTT connecté au Broker
389520|[2024-10-02 16:57:47] INFO  Client MQTT déconnecté du Broker
389521|[2024-10-02 16:57:51] INFO  Client MQTT connecté au Broker
389691|[2024-10-02 16:57:56] INFO  Client MQTT déconnecté du Broker
389692|[2024-10-02 16:58:02] INFO  Client MQTT connecté au Broker
389822|[2024-10-02 16:58:06] INFO  Client MQTT déconnecté du Broker
389823|[2024-10-02 16:58:11] INFO  Client MQTT connecté au Broker
389985|[2024-10-02 16:58:16] INFO  Client MQTT déconnecté du Broker
389986|[2024-10-02 16:58:21] INFO  Client MQTT connecté au Broker
390156|[2024-10-02 16:58:26] INFO  Client MQTT déconnecté du Broker
390157|[2024-10-02 16:58:31] INFO  Client MQTT connecté au Broker
390333|[2024-10-02 16:58:36] INFO  Client MQTT déconnecté du Broker
390334|[2024-10-02 16:58:41] INFO  Client MQTT connecté au Broker
390496|[2024-10-02 16:58:46] INFO  Client MQTT déconnecté du Broker
390497|[2024-10-02 16:58:51] INFO  Client MQTT connecté au Broker
Log dépendance
0000|================================================================================
0001|== Jeedom 4.5 diy in Debian GNU/Linux 11 (bullseye) on x86_64/amd64/64bits
0002|== Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
0003|== jMQTT v23.11.8 (2024-06-08 14:14:48) branch:beta previously:v23.11.7
0004|======================================================================
0005|== 02/10/2024 15:43:13 == Dependencies installation for jMQTT
0006|======================================================================
0007|[  0% ] : Synchronize the package index...
0008|[  9% ] : Synchronize the package index : [  OK  ]
0009|[ 10% ] : Purge dynamic contents...
0010|[ 19% ] : Purge dynamic contents : [  OK  ]
0011|[ 20% ] : Install Composer...
0012|[ 29% ] : Install Composer : [  OK  ]
0013|[ 30% ] : Install JsonPath-PHP library...
0014|[ 39% ] : Install JsonPath-PHP library : [  OK  ]
0015|[ 40% ] : Remove Composer...
0016|[ 49% ] : Remove Composer : [  OK  ]
0017|[ 50% ] : Install python3 venv and pip debian packages...
0018|[ 59% ] : Install python3 venv and pip debian packages : [  OK  ]
0019|[ 60% ] : Create a python3 Virtual Environment...
0020|[ 69% ] : Create a python3 Virtual Environment : [  OK  ]
0021|[ 70% ] : Install required python3 libraries in venv...
0022|[ 99% ] : Install required python3 libraries in venv : [  OK  ]
0023|[100% ] : Finished !
0024|======================================================================
0025|==OK== Installation Successful
0026|======================================================================
Log deamon

12972|[2024-10-02 17:00:46,078] ERROR Client1468 Brk1468Th on_disconnect() : Unexpected disconnection from broker!

J’ai aussi tenté un redémarrage de ma VM docker, au cas où, sans succès.

Je n’avais aucun souci avant de faire la maj 4.5 et vu la date de mise a jour des plugins, je doute fort que ce soit eux le problème.


Si quelqu’un a une idée avant que je remette un backup :wink:

Il faut pas mettre un compte vu que c’est broker distant non ?

Bonjour,
Je vois que le demon mqtt manager est ok donc tout est bon non ?

Mqttmanager fonctionne mais les 2 autres plugin non, ils se déconnectent sans cesse du broker distant.

Cela n’a jamais posé de problème mais je testerai de l’enlever, bien que mqttmanager fonctionne avec.

OK, souci corrigé après redémarrage du NUC, tout simplement car j’ai une VM qui ne démarre pas au start.

J’avais fais un test sur une new VM d’un restore et cela à foutu le bins .

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