okay danke dir für deine Erläuterung.
Woran scheiterst du da? Log anhalten mit crtl-c, dann markieren, kopieren und hier einfügen.
Das ist das was ich nicht wusste wie es geht den Log anzuhalten um etwas herauszukopieren
okay danke dir für deine Erläuterung.
Woran scheiterst du da? Log anhalten mit crtl-c, dann markieren, kopieren und hier einfügen.
Das ist das was ich nicht wusste wie es geht den Log anzuhalten um etwas herauszukopieren
wollte es jetzt so versuchen nur leider komm ich nicht mehr per Termius auf den RasPi.
Habe ihn bereits vom Strom getrennt aber danach auch leider ohne Erfolg 🤔
Jemand ein Vorschlag?
so hab Bildschirm angeschlossen und es versucht zu installieren hat es auch gemacht aber der Fehler ist nach wie vor vorhanden
so hab es hinbekommen, bis jetzt läuft die Homebridge mit aktueller Node hoff es bleibt auch so
Hallo ich habe versucht auf meinem Raspberry Pi 4 Homebridge nach der Anleitung zu installieren.
Leider komme ich bei Schritt 3 nicht weiter
sobald ich in die Datei /var/homebridge/config.json den folgenden Code eingetragen habe
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:32",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
}
}
],
"accessories": []
}
Alles anzeigen
und mit sudo systemctl restart homebridge; sudo journalctl -fau homebridge Homebridge neu starte erhalte ich folgende Fehlermeldung:
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: innerError Error: Cannot find module '../build/Debug/pty.node'
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: Require stack:
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: - /usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: - /usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/index.js
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: - /usr/lib/node_modules/homebridge-config-ui-x/dist/main.js
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: - /usr/lib/node_modules/homebridge-config-ui-x/dist/bin/fork.js
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Function.Module._load (internal/modules/cjs/loader.js:690:27)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Module.require (internal/modules/cjs/loader.js:852:19)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at require (internal/modules/cjs/helpers.js:74:18)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Object.<anonymous> (/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js:30:15)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Module._compile (internal/modules/cjs/loader.js:959:30)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Module.load (internal/modules/cjs/loader.js:815:32)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Function.Module._load (internal/modules/cjs/loader.js:727:14)
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: at Module.require (internal/modules/cjs/loader.js:852:19) {
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: code: 'MODULE_NOT_FOUND',
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: requireStack: [
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/index.js',
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: '/usr/lib/node_modules/homebridge-config-ui-x/dist/main.js',
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: '/usr/lib/node_modules/homebridge-config-ui-x/dist/bin/fork.js'
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: ]
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: }
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] Error: The module '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/build/Release/pty.node'
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: was compiled against a different Node.js version using
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: NODE_MODULE_VERSION 64. This version of Node.js requires
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: the module (for instance, using `npm rebuild` or `npm install`).
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] Node.js v12.14.0
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] Failed to load node-pty module
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] This could be because the installation of this plugin did not complete successfully or you may have recently upgraded Node.js to a new major version and have not reinstalled or rebuilt this plugin.
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] This can usually be fixed by uninstalling and reinstalling this plugin (exact command may vary based on your platform and setup):
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] sudo npm uninstall -g homebridge-config-ui-x
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] [Config] [node-pty] sudo npm install -g --unsafe-perm homebridge-config-ui-x
Jan 04 20:30:59 raspberrypi4 homebridge[21846]: [2020-1-4 20:30:59] Got SIGTERM, shutting down Homebridge...
Alles anzeigen
aktuell habe ich node in Version v12.14.0 installiert
Versuch mal:
sudo npm uninstall -g homebridge-config-ui-x --unsafe-perm
sudo npm install -g homebridge-config-ui-x --unsafe-perm
damit wird das Plugin nochmal geloescht und neu installiert, sollte das nichts bringen, dann suche mal nach npm rebuild...
uninstall & install habe ich schon mehrmals gemacht, npm rebuild auch schon des öfteren...
alles leider ohne Erfolg
sonst noch irgendwelche Ideen?
Im Log steht doch ganz klar, was du zu tun hast.
... This can usually be fixed by uninstalling and reinstalling this plugin (exact command may vary based on your platform and setup):
....sudo npm uninstall -g homebridge-config-ui-x
....sudo npm install -g --unsafe-perm homebridge-config-ui-x
Du hast ein Problem mit config-ui-x. Also folgende Schritte machst du bitte nochmal und langsam und das Installationslog jedes einzelnen Befehls postest du hier. Ein "hab ich schon mehrfach gemacht" reicht nicht.
1. systemctl stop homebridge
2. sudo npm uninstall -g homebridge-config-ui-x
3. sudo npm install -g --unsafe-perm homebridge-config-ui-x
4.systemctl start homebridge
pi@raspberrypi4:~ $ systemctl stop homebridge
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Legitimierung ist zum Stoppen von »homebridge.service« notwendig.
Multiple identities can be used for authentication:
1. ,,, (pi)
2. root
Choose identity to authenticate as (1-2): 1
Password:
==== AUTHENTICATION COMPLETE ===
pi@raspberrypi4:~ $ sudo npm uninstall -g homebridge-config-ui-x
removed 304 packages in 7.07s
pi@raspberrypi4:~ $ sudo npm install -g --unsafe-perm homebridge-config-ui-x
/usr/local/bin/homebridge-config-ui-x -> /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
/usr/local/bin/hb-service -> /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js
> [email protected] install /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js
> @nestjs/[email protected] postinstall /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/@nestjs/core
> opencollective || exit 0
Thanks for installing nest 🙏
Please consider donating to our open collective
to help us maintain this package.
Number of contributors: 395
Number of backers: 276
Annual budget: US$ 65,266
Current balance: US$ 5,028
👉 Become a partner: https://opencollective.com/nest/donate
> [email protected] postinstall /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch
> node scripts/post-install.js
pi@raspberrypi4:~ $ sudo journalctl -fau homebridge
Jan 04 21:31:57 raspberrypi4 systemd[1]: Stopped Node.js HomeKit Server.
Jan 04 21:31:57 raspberrypi4 systemd[1]: Started Node.js HomeKit Server.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loaded config.json with 0 accessories and 1 platforms.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] ---
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-config-ui-x' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-config-ui-x'.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-panasonic-viera-tv' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-panasonic-viera-tv'.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loaded plugin: homebridge-config-ui-x
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Registering platform 'homebridge-config-ui-x.config'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] ---
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loaded plugin: homebridge-panasonic-viera-tv
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Registering accessory 'homebridge-panasonic.Panasonic-TV'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] ---
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loaded plugin: homebridge-pioneer-avr
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Registering accessory 'homebridge-pioneer-avr.pioneerAvrAccessory'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] ---
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loading 1 platforms...
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] Initializing config platform...
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] Spawning homebridge-config-ui-x with PID 13961
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Loading 0 accessories...
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: Setup Payload:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: X-HM://0023ISYWY02LL
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: ┌────────────┐
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: │ 031-45-154 │
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: └────────────┘
Jan 04 21:31:58 raspberrypi4 homebridge[13926]:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Homebridge is running on port 51826.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: innerError Error: Cannot find module '../build/Debug/pty.node'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: Require stack:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: - /usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: - /usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/index.js
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: - /usr/lib/node_modules/homebridge-config-ui-x/dist/main.js
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: - /usr/lib/node_modules/homebridge-config-ui-x/dist/bin/fork.js
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Function.Module._load (internal/modules/cjs/loader.js:690:27)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Module.require (internal/modules/cjs/loader.js:852:19)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at require (internal/modules/cjs/helpers.js:74:18)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Object.<anonymous> (/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js:30:15)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Module._compile (internal/modules/cjs/loader.js:959:30)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Module.load (internal/modules/cjs/loader.js:815:32)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Function.Module._load (internal/modules/cjs/loader.js:727:14)
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: at Module.require (internal/modules/cjs/loader.js:852:19) {
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: code: 'MODULE_NOT_FOUND',
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: requireStack: [
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/lib/index.js',
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: '/usr/lib/node_modules/homebridge-config-ui-x/dist/main.js',
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: '/usr/lib/node_modules/homebridge-config-ui-x/dist/bin/fork.js'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: ]
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: }
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] Error: The module '/usr/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/build/Release/pty.node'
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: was compiled against a different Node.js version using
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: NODE_MODULE_VERSION 64. This version of Node.js requires
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: the module (for instance, using `npm rebuild` or `npm install`).
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] Node.js v12.14.0
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] Failed to load node-pty module
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] This could be because the installation of this plugin did not complete successfully or you may have recently upgraded Node.js to a new major version and have not reinstalled or rebuilt this plugin.
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] This can usually be fixed by uninstalling and reinstalling this plugin (exact command may vary based on your platform and setup):
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] sudo npm uninstall -g homebridge-config-ui-x
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] [Config] [node-pty] sudo npm install -g --unsafe-perm homebridge-config-ui-x
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Got SIGTERM, shutting down Homebridge...
Alles anzeigen
Irgendwie sind bei dir an zwei Stellen die Plugins installiert, siehe:
Irgendwie sind bei dir an zwei Stellen die Plugins installiert, siehe:
Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-config-ui-x' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-config-ui-x'.- Jan 04 21:31:58 raspberrypi4 homebridge[13926]: [2020-1-4 21:31:58] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-panasonic-viera-tv' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-panasonic-viera-tv'.
kann das damit zusammenhängen dass ich beim installieren mal das -g vergessen hatte?
Kann ich einfach das Verzeichnis /usr/local/lib/node_modules/ oder /usr/lib/node_modules/ löschen?
Wenn ich npm rebuild --unsafe-perm als root ausführe kommt folgendes
pi@raspberrypi4:~ $ su
Passwort:
root@raspberrypi4:/home/pi# npm rebuild --unsafe-perm
> [email protected] install /home/pi/node_modules/node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js
prebuild-install WARN install EACCES: permission denied, open 'build/Release/pty.node'
gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 4.19.75-v7l+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/node-pty-prebuilt-multiarch
gyp ERR! node -v v12.14.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2020-01-04T21_10_52_443Z-debug.log
Alles anzeigen
>> kann das damit zusammenhängen dass ich beim installieren mal das -g vergessen hatte?
Ja das kann gut sein. Und das deinstallieren / neuinstallieren hat es vermutlich verschlimmbessert.
Ich würde die SD nochmal komplett neu flashen und von vorn anfangen.
>> kann das damit zusammenhängen dass ich beim installieren mal das -g vergessen hatte?
Ja das kann gut sein. Und das deinstallieren / neuinstallieren hat es vermutlich verschlimmbessert.
Ich würde die SD nochmal komplett neu flashen und von vorn anfangen.
gibt es Alternativen? kann ich das irgendwie rauskratzen?
Auf dem Raspi läuft schon der ioBroker, den ich jetzt nur ungern platt machen würde.
Ja so ist es, -g vergessen, wurde also nicht global installiert. Ach und sorry für meine Befehle, da fehlte natürlich ein sudo davor. Daran müsstest du selbst denken, wenn solche Leute wie ich helfen, die alles als root installiert haben. Also nochmal.
1. sudo systemctl stop homebridge
2. sudo npm uninstall -g homebridge-config-ui-x
3. sudo npm uninstall homebridge-config-ui-x
4. sudo npm install -g --unsafe-perm homebridge-config-ui-x
5.sudo systemctl start homebridge
Damit müsste es dann tatsächlich gehen.
Danke für eure Unterstützung!
nachdem ich jetzt unter den folgenden Verzeichnissen
/usr/local/lib/node_modules/ und /usr/lib/node_modules/
alle Unterverzeichnisse mit rm -r homebridge-xxx gelöscht habe und das ganze nochmal mit sudo npm install -g --unsafe-perm homebridge-config-ui-x neu installiert habe scheint es zu funktionieren.