Homebridge Kaput :-(

Bonjour,
j’ai fait une restauration image ce matin afin de mettre debian à jour car homebridge ne marchait plus…
restauration ok… mise à jour ok…

malheureusement, les dépendances de homebridge ne veulent pas se relancer :-((( … et d’ailleurs elles tentent sans arrêt de se relancer… :-(((

voici mon log debug… est-ce qu’une bonne âme pourrait m’aider ??

MERCI

**== Jeedom 3.3.53 sur Debian GNU/Linux 9.4 (stretch)/arm64/aarch64/64bits aka 'smart' avec nodeJS v4.8.2 et jsonrpc:enable et homebridge (stable) 2020-11-07 01:36:02**
**======================================================================**
**== 09/11/2020 11:35:04 == Installation des dépendances de homebridge**
**======================================================================**
**[  0% ] : Vérification des droits...**
**[  9% ] : Vérification des droits : [  OK  ]**
**[ 10% ] : Prérequis...**
**Désactivation de la source repo.jeedom.com !**
**[ 19% ] : Prérequis : [  OK  ]**
**[ 20% ] : Mise à jour APT et installation des packages nécessaires...**
**[ 29% ] : Mise à jour APT et installation des packages nécessaires : [ERREUR]**
**[ 30% ] : Vérification de la version de NodeJS installée...**
**Version actuelle : v4.8.2**
**[ 39% ] : Vérification de la version de NodeJS installée : [  OK  ]**
**[ 40% ] : Installation de NodeJS 12...**
**KO, version obsolète à upgrader**
**Suppression du Nodejs existant et installation du paquet recommandé**
**Utilisation du dépot officiel**
**Version après install : v4.8.2**
**Version non suffisante, relancez les dépendances**
**[ 44% ] : Installation de NodeJS 12 : [ERREUR]**
**[ 45% ] : Installation de npm car non présent...**
**[ 49% ] : Installation de npm car non présent : [ERREUR]**
**[ 50% ] : Nettoyage anciens modules...**
**[ 59% ] : Nettoyage anciens modules : [  OK  ]**
**[ 60% ] : Installation de Homebridge master, veuillez patienter svp...**
**[ 79% ] : Installation de Homebridge master, veuillez patienter svp : [ERREUR]**
**[ 80% ] : Configuration Avahi...**
**Désactivation de avahi-daemon au démarrage...(il démarrera avec le daemon (on contourne le bug de la Smart du 1 jan 1970))**
**[ 89% ] : Configuration Avahi : [  OK  ]**
**[ 90% ] : Nettoyage 1/2...**
**[ 94% ] : Nettoyage 1/2 : [  OK  ]**
**[ 95% ] : Nettoyage 2/2...**
**Réactivation de la source repo.jeedom.com qu'on avait désactivé !**
**[ 99% ] : Nettoyage 2/2 : [  OK  ]**
**[100% ] : Terminé !**
**======================================================================**
**== KO == Erreur d'Installation**
**======================================================================**
**== ANALYSE DES ERREURS...**
**== AUCUNE ERREUR CONNUE DÉTECTÉE**
**== Erreur à l'étape : Mise à jour APT et installation des packages nécessaires**
**== Ligne 60**
**== La commande `sudo apt-get update' pose problème**
**== Le code de retour est 100**
**== Le message d'erreur :**
**Hit:1 http://security.debian.org stretch/updates InRelease**
**Ign:2 http://ftp.debian.org/debian stretch InRelease**
**Hit:3 http://www.deb-multimedia.org stretch InRelease**
**Hit:5 http://ftp.debian.org/debian stretch-updates InRelease**
**Hit:6 http://ftp.debian.org/debian stretch-backports InRelease**
**Hit:7 http://ftp.debian.org/debian stretch-proposed-updates InRelease**
**Hit:8 http://ftp.debian.org/debian stretch Release**
**Ign:4 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ InRelease**
**Ign:9 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release**
**Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:10 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Err:10 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages**
**404  Not Found**
**Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en**
**Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US**
**Err:14 https://oph.mdrjr.net/meveric all InRelease**
**Connection timed out after 120001 milliseconds**
**Err:15 https://oph.mdrjr.net/meveric stretch InRelease**
**Connection timed out after 120001 milliseconds**
**Reading package lists...**
**W: The repository 'http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release' does not have a Release file.**
**W: Failed to fetch https://oph.mdrjr.net/meveric/dists/all/InRelease  Connection timed out after 120001 milliseconds**
**W: Failed to fetch https://oph.mdrjr.net/meveric/dists/stretch/InRelease  Connection timed out after 120001 milliseconds**
**E: Failed to fetch https://repo.jeedom.com/odroid/dists/stable/main/binary-arm64/Packages  404  Not Found**
**W: Some index files failed to download. They have been ignored, or old ones used instead.**
**======================================================================**

== Erreur à l'étape : Installation de NodeJS 12
== Ligne 148
== La commande `sudo -E bash -' pose problème
== Le code de retour est 1
== Le message d'erreur :
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://www.deb-multimedia.org stretch InRelease
Hit:5 http://ftp.debian.org/debian stretch-updates InRelease
Hit:6 http://ftp.debian.org/debian stretch-backports InRelease
Hit:7 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:8 http://ftp.debian.org/debian stretch Release
Ign:4 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ InRelease
Ign:9 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release
Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:11 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
Ign:12 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Err:11 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Packages
404  Not Found
Ign:12 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en
Ign:13 https://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Translation-en_US
Err:14 https://oph.mdrjr.net/meveric all InRelease
Connection timed out after 120000 milliseconds
Err:15 https://oph.mdrjr.net/meveric stretch InRelease
Connection timed out after 120001 milliseconds
Reading package lists...
W: The repository 'http://repo.jeedom.com/odroid dists/stable/main/binary-arm64/ Release' does not have a Release file.
W: Failed to fetch https://oph.mdrjr.net/meveric/dists/all/InRelease  Connection timed out after 120000 milliseconds
W: Failed to fetch https://oph.mdrjr.net/meveric/dists/stretch/InRelease  Connection timed out after 120001 milliseconds
E: Failed to fetch https://repo.jeedom.com/odroid/dists/stable/main/binary-arm64/Packages  404  Not Found
W: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
======================================================================
== Erreur à l'étape : Installation de npm car non présent
== Ligne 166
== La commande `sudo DEBIAN_FRONTEND=noninteractive apt-get install -y npm' pose problème
== Le code de retour est 100
== Le message d'erreur :
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
npm : Depends: nodejs (>= 6.11~) but 4.8.2~dfsg-1 is to be installed
Depends: node-abbrev (>= 1.1.1~) but 1.0.9-1 is to be installed
Depends: node-ansi-regex (>= 3.0~) but 2.0.0-1 is to be installed
Depends: node-cacache (>= 10.0.4~) but it is not going to be installed
Depends: node-config-chain (>= 1.1.11~) but it is not going to be installed
Depends: node-glob (>= 7.1.2~) but 7.1.1-1 is to be installed
Depends: node-hosted-git-info (>= 2.6~) but 2.1.5-1 is to be installed
Depends: node-ini (>= 1.3.5~) but 1.1.0-1 is to be installed
Depends: node-npm-package-arg but it is not going to be installed
Depends: node-jsonstream (>= 1.3.2~) but 1.0.3-4 is to be installed
Depends: node-libnpx (>= 10.0.1~) but it is not going to be installed
Depends: node-lockfile (>= 1.0.3~) but 0.4.1-1 is to be installed
Depends: node-lru-cache (>= 4.1.1~) but 4.0.2-1 is to be installed
Depends: node-move-concurrently (>= 1.0.1~) but it is not going to be installed
Depends: node-normalize-package-data (>= 2.4~) but 2.3.5-2 is to be installed
Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
Depends: node-resolve-from (>= 4.0~) but 2.0.0-1 is to be installed
Depends: node-npmlog (>= 4.1.2~) but 0.0.4-1 is to be installed
Depends: node-osenv (>= 0.1.5~) but 0.1.0-1 is to be installed
Depends: node-read-package-json (>= 2.0.13~) but 1.2.4-1 is to be installed
Depends: node-request (>= 2.83~) but 2.26.1-1 is to be installed
Depends: node-retry (>= 0.10.1~) but 0.6.0-1 is to be installed
Depends: node-rimraf (>= 2.6.2~) but 2.5.4-2 is to be installed
Depends: node-semver (>= 5.5~) but 5.3.0-1 is to be installed
Depends: node-sha (>= 2.0.1~) but 1.2.3-1 is to be installed
Depends: node-slide (>= 1.1.6~) but 1.1.4-1 is to be installed
Depends: node-strip-ansi (>= 4.0~) but 3.0.1-1 is to be installed
Depends: node-tar (>= 4.4~) but 2.2.1-1 is to be installed
Depends: node-boxen (>= 1.2.1~) but it is not going to be installed
Depends: node-latest-version (>= 3.0~) but it is not going to be installed
Depends: node-which (>= 1.3~) but 1.2.11-1 is to be installed
E: Unable to correct problems, you have held broken packages.
======================================================================
== Erreur à l'étape : Installation de npm car non présent
== Ligne 167
== La commande `sudo npm install -g npm' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================
== Erreur à l'étape : Installation de Homebridge master, veuillez patienter svp
== Ligne 204
== La commande `sudo -E -n npm install --no-fund --no-package-lock --no-audit --unsafe-perm -g homebridge-camera-ffmpeg@latest' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================
== Erreur à l'étape : Installation de Homebridge master, veuillez patienter svp
== Ligne 205
== La commande `sudo -E -n npm install --no-fund --no-package-lock --no-audit --unsafe-perm -g homebridge-alexa@latest' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================
== Erreur à l'étape : Installation de Homebridge master, veuillez patienter svp
== Ligne 206
== La commande `sudo -E -n npm install --no-fund --no-package-lock --no-audit --unsafe-perm -g homebridge-gsh@latest' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================
== Erreur à l'étape : Installation de Homebridge master, veuillez patienter svp
== Ligne 207
== La commande `sudo -E -n npm install --no-fund --no-package-lock --no-audit --unsafe-perm -g homebridge-config-ui-x@latest' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================
== Erreur à l'étape : Installation de Homebridge master, veuillez patienter svp
== Ligne 208
== La commande `sudo -E -n npm install --no-fund --no-package-lock --no-audit --unsafe-perm' pose problème
== Le code de retour est 1
== Le message d'erreur :
sudo: npm: command not found
======================================================================"
1 « J'aime »

Hello,

L’info est là : pas de npm, pas de homebridge

V3 c’est pas forcement un bon départ et Strech est un OS pas forcement au top non plus…
Si tu peux pas installer npm avec cette combinaison, alors ça n’ira pas plus loin

1 « J'aime »

La Debian stretch 9.4 sur votre Smart n’est pas non plus trop à jour.
Chez moi, elle est en 9.13
image

1 « J'aime »

Bonjour et merci… mais comment puis-je le mettre dans une telle version… le recovery mode aurait dû me le mettre dans la dernière version non ??

bonjour et merci… comment mettre ce npm ??

Comment, c’est facile :

sudo apt-get install -y npm

La vraie question c’est : est-ce possible avec cette installation… N’ayant pas de smart, je ne peux pas être catégorique, mais j’ai l’impression qu’il faut avant faire la mise à jour de tout ça

en faisant le recovery mode ce matin, le système n’aurait-il pas dû se mettre dans la dernière version ??

ça depends probablement de la manip. Recovery ça sonne plus comme « réparation » que « mise à jour »

Bonjour naboleo
La smart en stretch est compatible Homebridge.
éviter de proposer des commandes qui vont compliquer le travail de diag de @nebz

akenad :slight_smile:

1 « J'aime »

bonjour fabounet,

un « Restauration Image » ou un Recovery Mode met la smart en Jeedom V3 et stretch [9.4]

(Le présent sujet fait suite à celui-ci : Homebridge foutu :-(?)

akenad :slight_smile:

merci… auriez-vous une explication concernant mes dépendances qui ne se mettent en erreur ??

Bonjour,

C’est gentil… Non, seulement j’ai jamais prétendu que la smart n’était pas compatible (j’ai soumis l’idée que la combinaison ne l’était pas). Ni proposé de forcer l’installation de npm… Donc merci de ne pas déformer mes propos…

+++

Hello, fait un ticket sur le core en disant que le repo.jeedom.com à un problème sur ta smart, ils ont une commande toute faites.

Ainsi que le repo : oph.mdrjr.net

C’est ça qui bloque tout

1 « J'aime »

Merci énormément

restons unis pour aider un pauvre débutant comme moi qui aimait tellement ouvrir ses volets avec Siri :slight_smile:
merci beaucoup en tout cas pour la rapidité d’intérêt pour mon problème

3 « J'aime »

Pas de souci, les choses étant claires pour tout le monde, on peut désormais espérer que le support va solutionner ton problème

2 « J'aime »

@fabounet,

A priori actuellement Index of /meveric n’est plus accessible et le repo.jeedom.com/odroid est obsolète.
La commande toute faites fait probablement quelque chose qui ressemble à ceci :. (A confirmer) :
-met en commentaire (ou supprime) la ligne correspondant à repo.jeedom.com dans /etc/apt/sources.list
-renomme (ou supprime) les fichiers commençant par « meveric » dans /etc/apt/sources.list.d

Pour jeter un oeil via Jeedom :
Réglages (roue crantée) > Système (pas en V3) > Configuration > OS/DB > Système > Administration
tapez les commandes :

cat /etc/apt/sources.list

puis

ls -ial /etc/apt/sources.list.d

akenad :slight_smile:

merci beaucoup :slight_smile:

merci @akenad
dois-je rentrer ces lignes de commandes telles que tapées ?? (en respectant l’espace après cat et après ls ??
merci

Oui.

akenad :slight_smile: