Démon s’arrête depuis maj 2024-05-24

Bonjour,

Utilisateur du plugin zigbeelinker depuis des mois. Cela fonctionne bien jusqu’à aujourd’hui.
J’ai fais la dernière Maj, cela fonctionnait toujours mais je ne pouvais plus ouvrir l’interface zibee2mqtt.
J’ai alors tenter de relancer le Démon et depuis celui ci s’arrête au bout de 1min et plus rien ne fonctionne.

Je suis sur la dernière version de Jeedom et en box Atlas.

Voilà le débug des dépendances :


######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1).
gcc is already the newest version (4:8.3.0-1).
make is already the newest version (4.2.1-1.2).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 264 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 18 already installed : Nothing to do !
#######################################################
#    INSTALLING : Mosquitto for Php                   #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####    Stopping Zigbee2mqtt deamon                  #
#######################################################
##### Update : Download update from Zigbee2mqtt git
##### up to date
#######################################################
##### Configure deamon and start it
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
#                         END                         #
#######################################################

J’ai tenté de cliquer sur le bouton réparé. Cela ne fonctionne pas mieux mais le long des dépendances est différents:

#    INSTALL : Zigbee2mqtt                            #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Ign:3 http://deb.debian.org/debian buster-backports InRelease
Hit:4 http://security.debian.org buster/updates InRelease
Err:5 http://deb.debian.org/debian buster-backports Release
404  Not Found [IP: 2a04:4e42:6a::644 80]
Hit:6 https://deb.nodesource.com/node_18.x buster InRelease
Hit:7 http://armbian.hosthatch.com/apt buster InRelease
Hit:8 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
Reading package lists...
E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file.
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1).
gcc is already the newest version (4:8.3.0-1).
make is already the newest version (4.2.1-1.2).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 264 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 18 already installed : Nothing to do !
#######################################################
#    INSTALLING : Mosquitto for Php                   #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####    Stopping Zigbee2mqtt deamon                  #
#######################################################
##### Repare Zigbee2MQTT
npm WARN using --force Recommended protections disabled.
## Supprime l'installation dans /opt/zigbee2mqtt
#######################################################
##### First installation : Download Zigbee2mqtt git
Cloning into '/opt/zigbee2mqtt'...
#######################################################
##### Install/Update Zigbee2mqtt
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/eslint-plugin@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/parser@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/scope-manager@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/type-utils@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/types@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/typescript-estree@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/utils@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/visitor-keys@7.8.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || >=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }
added 795 packages, and audited 796 packages in 42s
86 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
#######################################################
##### Configure deamon and start it
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
#                         END                         #

Bonjour

Il faut mettre à jour votre nodejs.

  1. réappliquer la mise à jour de votre jeedom actuel. Donner les logs.
  2. Si cela ne change rien. Le mieux comme vos dépôts apt ne sont pas à jour et que vous avez une box officielle, faire ticket ou une recovery. La recovery mettra à jour vers debian 11. Je vous conseille de faire une recherche sur ce point.

Antoine

Merci pour votre reponse.

Pour le point 1 comment on reapplique une Maj de Jeedom ?

Est il possible de lancer une Maj de nodeJS par une commande SSH ?

J’ai relance une maj dans le centre Maj et j’ai l’impression qu’il y a une erreur au niveau du nodejs

[START UPDATE]
****Update from 4.4.6 (2024-05-25 07:43:29)****
Parameters : {"preUpdate":"0","backup::before":"1","core":"1","force":"0","plugins":"1","update::reapply":""}
Send begin of update event | OK
Check update | OK
Check rights | OK
[START BACKUP]
***************Start of Jeedom backup at 2024-05-25 07:43:31***************
Send begin backup event | OK
Checking files rights | OK
Checking  database | OK
Backing up database | OK
Cache persistence: | OK
Creating archive | OK
Cleaning old backup | OK
Limiting backup size to 500 Mb
Delete: /var/www/html/core/php///backup/backup-Jarvis-4.4.6-2024-05-25-05h59.tar.gz | OK
Backup name: /var/www/html/core/php///backup/backup-Jarvis-4.4.6-2024-05-25-07h43.tar.gz
Checking files rights | OK
Send end backup event | OK
Backup operation duration: 345s
***************Jeedom backup end***************
[END BACKUP SUCCESS]
Download url : https://github.com/jeedom/core/archive/V4-stable.zip
Download in progress--2024-05-25 07:49:16--  https://github.com/jeedom/core/archive/V4-stable.zip
Resolving github.com (github.com) 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443 connected.
HTTP request sent, awaiting response
302 Found
Location: https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable [following]
--2024-05-25 07:49:16--  https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable
Resolving codeload.github.com (codeload.github.com) 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443 connected.
HTTP request sent, awaiting response 200 | OK
Length: 87541768 (83M) [application/zip]
Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0K        3% 28.1M 3s
3072K        7% 16.6M 4s
6144K       10% 30.8M 3s
9216K       14% 19.7M 3s
12288K       17% 26.3M 3s
15360K       21% 35.0M 3s
18432K
25% 18.5M 3s
21504K       28% 30.8M 2s
24576K       32% 30.9M 2s
27648K       35% 17.8M 2s
30720K       39% 30.8M 2s
33792K       43% 17.7M 2s
36864K       46% 31.5M 2s
39936K       50% 17.3M 2s
43008K       53% 28.6M 2s
46080K       57% 32.9M 1s
49152K
61% 18.1M 1s
52224K       64% 31.1M 1s
55296K       68% 30.0M 1s
58368K       71% 18.3M 1s
61440K       75% 30.9M 1s
64512K       79% 31.0M 1s
67584K       82% 17.9M 1s
70656K       86% 30.7M 0s
73728K       89% 27.9M 0s
76800K    .
93% 18.3M 0s
79872K       97% 29.1M 0s
82944K               100% 32.8M=3.4s
2024-05-25 07:49:20 (24.3 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [87541768/87541768] | OK
Cleaning folders | OK
Create temporary folder | OK
Unzip in progress | OK
Clean temporary files (tmp) | OK
Disable all task.
. | OK
Disable all scenario
 | OK
Moving files
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/de_DE/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/en_US/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/es_ES/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/fr_FR/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/pt_PT/noteVersion.md because size is 0 | OK
Remove temporary files | OK
Remove useless files
Cleaning 3rdparty
Cleaning desktop
Cleaning mobile
Cleaning core
Cleaning docs
Cleaning install
Cleaning script
find: '/var/www/html/install//script/*': No such file or directory | OK
Update jeedom information date | OK
Check jeedom consistency
[START CONSISTENCY]
[START CHECK AND FIX DB]
Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
Fix :
CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC)[END CHECK AND FIX DB]
Check jeedom package | OK
Check jeedom database
Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
Fix :
CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC) | OK
Check crons
Check filesystem right | OK
Flush cache widget
Check jeedom object | OK
Check jeedom cmd | OK
Set cache hour | OK
Check composer | OK
Check nodejs
E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file.
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Ign:3 http://deb.debian.org/debian buster-backports InRelease
Get:4 http://security.debian.org buster/updates InRelease [34.8 kB]
Err:5 http://deb.debian.org/debian buster-backports Release
404  Not Found [IP: 2a04:4e42:6a::644 80]
Hit:6 https://deb.nodesource.com/node_18.x buster InRelease
Hit:7 http://xogium.performanceservers.nl/apt buster InRelease
Hit:8 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
Get:9 http://security.debian.org buster/updates/main arm64 Packages [766 kB]
Get:10 http://security.debian.org buster/updates/main armhf Packages [770 kB]
Reading package lists
Reading package lists
Building dependency tree
Reading state information
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 264 not upgraded.
[Check Version NodeJS actuelle : v18.17.1 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ] | OK
[END CONSISTENCY] | OK
Check update | OK
***************Jeedom is up to date in 4.4.6***************
***************Update plugins***************
[2024-05-25 07:49:58][ALERT] : Vérification des mises à jour, mise à jour et réinstallation désactivées sur mczremote
[2024-05-25 07:49:58][ALERT] : Vérification des mises à jour, mise à jour et réinstallation désactivées sur weather
***************Update plugin successfully***************
Check update | OK
Enable scenario : | OK
Enable task : | OK
Check Network Conf : | OK
Launch cron dependancy plugins | OK
Send end of update event | OK
Update duration : 390s
[END UPDATE SUCCESS]

Depuis le menu mise à jour de jeedom Puis choisir votre mise à jour dans le menu du bas.

Oui, mais je ne vous le conseille pas sur une box officielle, d’ou le ticket.

Ticket donc ou procédure de recovery pour passer sur debian 11. Mais il faut avant:

  • vérifier que les plugins que vous utilisez son compatible debian 11
  • avoir une sauvegarde externalisée
  • ?

J’ai bien une sauvegarde externalise
Par contre c’est la compatibilité avec les plugins qui me fait peur.

Sinon je pensais faire un back up de mon Jeedom mais je sais pas l’impact sur zigbeelinker que jai desinstalle reinstalle depuis hier

Bon j’ai repris une sauvegarde, je suis revenu à une ancienne version de ZigbeeLinker, et cela fonctionne. Maintenant je touche plus à rien.
Trop peur de faire des MAJ

Bonjour,

Même symptôme chez moi, demon reste vert mais plus d’accès à zigbee2mqtt sur le port 8080 et plus rien ne fonctionne.

Raspberry Pi 4
Jeedom 4.3.23
Debian 10 Buster à jour
Nodejs 18.20.1

Restauration du backup de la nuit et retour à zigbeelinker du 2024-5-14 version stable et tout refonctionne à nouveau

Idem chez moi, j’ai le même souci que vous…

Salut,

Avez-vous lu ceci concernant le bautrate?
Eventuellement en le configurant, ça résoudra vos soucis ( ou pas)

[Plugin ZigbeeLinker] Post officiel (pour Zigbee2MQTT) [changelog] - #42 par MrGreen

2 « J'aime »

Hello,

Je n’ai pas vu cette case car je n’ai pas de Conbee ni de Sonoff mais une CC2531 mais je peux essayé de refaire un test :wink:

1 « J'aime »

Hello, il y a surtout le fait que c’est buster et qu’il y a une source (backports comme d’hab) qui est dans les choux, il faut remplacer par archive.debian.org dans les sources dans /etc/apt/sources.list ou un des fichiers dans /etc/apt/sources.list.d/

Attention uniquement la source qui contient backports !

Et pour info il n’y a plus de support pour buster après le 30 juin !!! Donc mettez à jour !

Hello,

Merci pour l’info, donc le mieux serait que je migre sur un Debian 11 si je comprends bien t si je ne veux pas bidouillé le(s) fichiers

Oui de toute façon car fin de support ! Mais passer sur archive c’est pas tant de la bidouille, c’est la suite logique :slight_smile:

1 « J'aime »

Oui ca je sais mais passer à Debian 11 m’impose à changer Blea (entre autre) par autre chose

Pas certain que je sache faire sans tout cassé :wink:

Bonjour,

Pour mettre à jour nodejs :

akenad :slight_smile:

1 « J'aime »

Bonjour,

Merci pour vos retours. Si je comprends bien, ppur les prochaines maj de zigbeelinker il faut absolument passer sur desbian 11 ?