Fehler nach update verschiedener Plug ins

  • HI, erfreulich lange, lief bei mir alles supi. Nun habe ich gestern einige plug ins aktualisiert und die homebridge läuft nicht mehr. Da der letzte Ausfall lange her ist, fällt mir gerade nicht ein, was zu tun ist.... Wer hat einen tipp? hier das log: THX


    pi@raspberrypi:~ $ sudo systemctl restart homebridge; sudo journalctl -fau homebridge

    -- Logs begin at Fr 2020-05-15 17:40:23 CEST. --

    Mai 15 17:59:34 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

    Mai 15 17:59:36 raspberrypi homebridge[9326]: [2020-5-15 17:59:36] [Config] Homebridge Config UI X v4.19.0 is listening on :: port 8888

    Mai 15 17:59:45 raspberrypi systemd[1]: homebridge.service holdoff time over, scheduling restart.

    Mai 15 17:59:45 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

    Mai 15 17:59:45 raspberrypi systemd[1]: Starting Node.js HomeKit Server...

    Mai 15 17:59:45 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Mai 15 17:59:45 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

    Mai 15 17:59:45 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Mai 15 18:00:59 raspberrypi systemd[1]: Starting Node.js HomeKit Server...

    Mai 15 18:00:59 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Mai 15 18:01:02 raspberrypi homebridge[9480]: [2020-5-15 18:01:02] Loaded config.json with 0 accessories and 6 platforms.

    Mai 15 18:01:02 raspberrypi homebridge[9480]: [2020-5-15 18:01:02] ---

    Mai 15 18:01:04 raspberrypi homebridge[9480]: [2020-5-15 18:01:04] Loaded plugin: homebridge-alexa

    Mai 15 18:01:04 raspberrypi homebridge[9480]: [2020-5-15 18:01:04] Registering platform 'homebridge-alexa.Alexa'

    Mai 15 18:01:04 raspberrypi homebridge[9480]: [2020-5-15 18:01:04] ---

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Loaded plugin: homebridge-automower

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Registering platform 'homebridge-automower.HomebridgeAutomower'

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ---

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Loaded plugin: homebridge-config-ui-x

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Registering platform 'homebridge-config-ui-x.config'

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ---

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ====================

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ERROR LOADING PLUGIN homebridge-fritz:

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Error: Plugin /usr/local/lib/node_modules/homebridge-fritz requires a HomeBridge version of ^1.0.0 which does not satisfy the current HomeBridge version of 0.4.53. You may need to upgrade your installation of HomeBridge.

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:57:11)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:153:14)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Array.forEach (<anonymous>)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:145:22)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:24)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:32:16)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Module._compile (internal/modules/cjs/loader.js:722:30)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Module.load (internal/modules/cjs/loader.js:620:32)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ====================

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ====================

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ERROR LOADING PLUGIN homebridge-hydrawise:

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Error: Plugin /usr/local/lib/node_modules/homebridge-hydrawise requires a HomeBridge version of >=1.0.0 which does not satisfy the current HomeBridge version of 0.4.53. You may need to upgrade your installation of HomeBridge.

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:57:11)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:153:14)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Array.forEach (<anonymous>)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:145:22)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:24)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:32:16)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Module._compile (internal/modules/cjs/loader.js:722:30)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: at Module.load (internal/modules/cjs/loader.js:620:32)

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ====================

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Loaded plugin: homebridge-platform-wemo

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Registering platform 'homebridge-platform-wemo.BelkinWeMo'

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] ---

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] Loading 6 platforms...

    Mai 15 18:01:05 raspberrypi homebridge[9480]: [2020-5-15 18:01:05] [Config] Initializing config platform...

    Mai 15 18:01:06 raspberrypi homebridge[9480]: [2020-5-15 18:01:06] [Config] Spawning homebridge-config-ui-x with PID 9509

    Mai 15 18:01:06 raspberrypi homebridge[9480]: [2020-5-15 18:01:06] [WeMo Platform] Initializing BelkinWeMo platform...

    Mai 15 18:01:06 raspberrypi homebridge[9480]: [2020-5-15 18:01:06] Error: The requested platform 'Fritz!Box' was not registered by any plugin.

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Module._compile (internal/modules/cjs/loader.js:722:30)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Module.load (internal/modules/cjs/loader.js:620:32)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at tryModuleLoad (internal/modules/cjs/loader.js:560:12)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Function.Module._load (internal/modules/cjs/loader.js:552:3)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at startup (internal/bootstrap/node.js:300:19)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)

    Mai 15 18:01:06 raspberrypi homebridge[9480]: [2020-5-15 18:01:06] Got SIGTERM, shutting down Homebridge...

    Mai 15 18:01:11 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=143/n/a

    Mai 15 18:01:11 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

    Mai 15 18:01:12 raspberrypi homebridge[9480]: [2020-5-15 18:01:12] [Config] Homebridge Config UI X v4.19.0 is listening on :: port 8888

  • steht alles da, mehrfach:

    Error: Plugin /usr/local/lib/node_modules/homebridge-hydrawise requires a HomeBridge version of >=1.0.0 which does not satisfy the current HomeBridge version of 0.4.53. You may need to upgrade your installation of HomeBridge.

    Fehler: Plugin /usr/local/lib/node_modules/homebridge-hydrawise erfordert eine HomeBridge-Version von >=1.0.0, die nicht der aktuellen HomeBridge-Version 0.4.53 entspricht. Möglicherweise müssen Sie Ihre Installation von HomeBridge aktualisieren.


    homebridge aktualisieren!

  • Die ersten beiden Fehler sagen dir du solltest mal die homebridge auf die neueste Version updaten. Scheinbar läuft bei die V0.4.53 und manche Plugins brauch was "besseres". Bezieht sich auf "homebridge-fritz" und "homebridge-hydrawise"

    Und die letze Meldung sagt, du hast noch nicht mal das besagte Plugin "homebridge-fritz" geladen oder es wird halt nicht gefunden.



    Also update von HB und Nachinstallation der beiden Plugins (zur Sicherheit) wäre ein Ansatz.



    Nachtrag:

    .... und der det war schneller :)

  • HI,


    ich habe den Schritt 2 auf dieser Webseite komplett neu durchgeführt. Dabei bekomme ich beim letzten Schritt "Installation Homebridge" folgende Fehlermeldungen:

    o npm install -g --unsafe-perm homebridge

    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)

    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)

    pi@raspberrypi:~ $

    pi@raspberrypi:~ $


    was ist zu tun? 1000 Dank!


    beim Starten der homebridge kommt dann diese Fehlermeldung:


    errypi:~ $ sudo systemctl restart homebridge; sudo journalctl -fau homebridge

    -- Logs begin at So 2020-05-17 17:17:01 CEST. --

    Mai 17 18:14:08 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

    Mai 17 18:14:08 raspberrypi homebridge[2246]: [2020-5-17 6:14:08 PM] Got SIGTERM, shutting down Homebridge...

    Mai 17 18:14:13 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=143/n/a

    Mai 17 18:14:13 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

    Mai 17 18:14:13 raspberrypi systemd[1]: Starting Node.js HomeKit Server...

    Mai 17 18:14:13 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Mai 17 18:14:13 raspberrypi homebridge[2826]: node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)

    Mai 17 18:14:13 raspberrypi homebridge[2826]: node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)

    Mai 17 18:14:13 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE

    Mai 17 18:14:13 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

  • was ist zu tun? 1000 Dank!

    Das ist kein Raspi 3 oder 4?

  • Ich würde erstmal nur node neu installieren.

  • Nein, das meine ich nicht. Ich meine die node-Installation wie in der Anleitung beschrieben.

    Siehe https://smartapfel.de/homebridge/homebridge-installieren/

  • Nein, das meine ich nicht. Ich meine die node-Installation wie in der Anleitung beschrieben.

    Siehe https://smartapfel.de/homebridge/homebridge-installieren/

    HI, das habe ich gemacht, ich habe nur den letzten Teil oben einkopiert - siehe unten, oder verstehe ich dich falsch ?


    pi@raspberrypi:~ $

    pi@raspberrypi:~ $ uname -m

    armv7l

    pi@raspberrypi:~ $ wget https://nodejs.org/dist/v10.16….16.0-linux-armv7l.tar.gz

    --2020-05-18 19:51:43-- https://nodejs.org/dist/v10.16….16.0-linux-armv7l.tar.gz

    Auflösen des Hostnamen »nodejs.org (nodejs.org)«... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:172e, ...

    Verbindungsaufbau zu nodejs.org (nodejs.org)|104.20.23.46|:443... verbunden.

    HTTP-Anforderung gesendet, warte auf Antwort...

    200 OK

    Länge: 18890540 (18M) [application/gzip]

    In »»node-v10.16.0-linux-armv7l.tar.gz.2«« speichern.


    node-v10.16.0-linux 100%[=====================>] 18,01M 10,3MB/s in 1,8s


    2020-05-18 19:51:45 (10,3 MB/s) - »»node-v10.16.0-linux-armv7l.tar.gz.2«« gespeichert [18890540/18890540]


    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ wget https://nodejs.org/dist/v10.16….16.0-linux-armv7l.tar.gz

    --2020-05-18 19:51:45-- https://nodejs.org/dist/v10.16….16.0-linux-armv7l.tar.gz

    Auflösen des Hostnamen »nodejs.org (nodejs.org)«... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:172e, ...

    Verbindungsaufbau zu nodejs.org (nodejs.org)|104.20.23.46|:443... verbunden.

    HTTP-Anforderung gesendet, warte auf Antwort... 200 OK

    Länge: 18890540 (18M) [application/gzip]

    In »»node-v10.16.0-linux-armv7l.tar.gz.3«« speichern.


    node-v10.16.0-linux 100%[=====================>] 18,01M 10,7MB/s in 1,7s


    2020-05-18 19:51:47 (10,7 MB/s) - »»node-v10.16.0-linux-armv7l.tar.gz.3«« gespeichert [18890540/18890540]


    pi@raspberrypi:~ $ tar xf node-v10.16.0-linux-armv7l.tar.gz


    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ tar xf node-v10.16.0-linux-armv7l.tar.gz


    pi@raspberrypi:~ $

    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ sudo cp -R node-v10.16.0-linux-armv7l/* /usr/local/

    pi@raspberrypi:~ $

    pi@raspberrypi:~ $ sudo npm install -g n

    /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n

    + [email protected]

    updated 1 package in 2.033s



    ╭────────────────────────────────────────────────────────────────╮

    │ │

    │ New minor version of npm available! 6.9.0 → 6.14.5 │

    │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.5

    │ Run npm install -g npm to update! │

    │ │

    ╰────────────────────────────────────────────────────────────────╯


    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ sudo npm install -g n

    /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n

    + [email protected]

    updated 1 package in 0.843s



    ╭────────────────────────────────────────────────────────────────╮

    │ │

    │ New minor version of npm available! 6.9.0 → 6.14.5 │

    │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.5

    │ Run npm install -g npm to update! │

    │ │

    ╰────────────────────────────────────────────────────────────────╯


    pi@raspberrypi:~ $

    pi@raspberrypi:~ $ sudo n lts



    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)

    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)

    /usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/bin/node)

    /usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/bin/node)

    installed : (with npm )

    pi@raspberrypi:~ $ 1

    -bash: 1: Kommando nicht gefunden.

    pi@raspberrypi:~ $ sudo n lts

    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)

    node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)

    /usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/bin/node)

    /usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/bin/node)

    installed : (with npm )

    pi@raspberrypi:~ $

  • HI, das habe ich gemacht, ich habe nur den letzten Teil oben einkopiert - siehe unten, oder verstehe ich dich falsch ?

    Nein, genau so. Hilft aber nicht. Hätte ich diesen Fehler, würde ich jetzt den Raspi neu aufsetzen. Der Fehler steckt in den Innereien des Betriebssystems und nicht bei Node oder Homebridge.


    Vorher würde ich Verzweiflungstaten wie

    sudo apt-get install libstdc++6

    sudo apt-get install build-essential

    begehen, allerdings ohne Hoffnung, dass das wirklich funktioniert.


    Bevor du den Raspi plättest, muss mindestens deine Homebridge-Konfiguration gesichert werden. Die ist unersetzbar, außer du willst deine config.json neu eintippen. Einloggen und dann:

    tar cvzf homebridge-backup.tgz /var/homebridge


    Das erzeugt ein Archiv namens homebridge-backup.tgz, in dem sich deine Konfiguration befindet. Das muss vom Raspi runter und irgendwohin kopiert werden, wo es der Vernichtung entgeht. Wenn du einen Mac oder eine andere Linuxmaschine hast, dann öffne ein Terminalfenster und gib ein:

    scp 192.168.1.22:homebridge-backup.tgz .

    wobei du natürlich die IP-Adresse deines Raspi nimmst. Dieser Befehl kopiert deine Konfiguration auf einen sicheren Rechner.


    Auf deinem iPhone unternimmst du nichts. Lösche deine bestehende Installation nicht aus Home heraus.


    Wenn du alles neu aufgesetzt hast, kopierst du vor dem Start der Homebridge deine Konfiguration zurück. Aus deinem Mac gibst du im Terminal ein:

    scp homebridge-backup.tgz 192.168.1.22:


    Dann loggst du dich auf dem Raspi ein und packst das Archiv wieder aus:

    cd /var

    sudo tar xvzf /home/pi/homebridge-backup.tgz und dann

    sudo chown -R homebridge:homebridge /var/homebridge


    Plugins installieren und dann die Homebridge starten.


    det hat Backup-Tools geschrieben - die können das bestimmt bequemer.

    Homebridge-Tool zum aktualisieren, sichern, neu aufsetzen.....

  • Na Super....


    Vielen Dank aber, werde ich probieren. Da auf dem Rasp aber noch FlightRadar24 läuft, werde ich den nicht plattmachen, sondern mir einen zweiten zulegen müssen.


    Kann ich mit

    sudo apt-get install libstdc++6

    sudo apt-get install build-essential

    etwas am Raspi zerstören, so dass danach auch FR24 nicht mehr funzt, oder kein Risiko?


    Ich würde dann auf dem alten Raspi Homebridge möglichst komplett löschen/deinstallieren. Wie ist da der Befehl? Danke!

  • etwas am Raspi zerstören, so dass danach auch FR24 nicht mehr funzt, oder kein Risiko?

    Dann würde ich nichts weiter tun. Lass alles so, wie es ist.

    Ich würde dann auf dem alten Raspi Homebridge möglichst komplett löschen/deinstallieren. Wie ist da der Befehl? Danke!

    Kannst du alles drauf lassen, nur sollte es nicht mehr gestartet werden.


    sudo systemctl stop homebridge

    sudo systemctl disable homebridge


    Wenn du trotzdem etwas deinstallieren willst, kannst du das tun mit npm uninstall, beispielsweise


    npm uninstall -g --unsafe-perm homebridge-hue

    npm uninstall -g --unsafe-perm homebridge