NEWS
Diskussion zum HowTo nodejs-Installation und upgrade
-
@thomas-braun
Top danke, funktioniert! -
@Thomas-Braun Danke für die Anleitung zum Umgang mit Node.js
"Aufgeschreckt" durch eine Schlagzeile, dass Sicherheitslücken in Node.js 12.22.1 vorhanden wären, habe ich den Status geprüft und es war 12.22.2 in den letzten Tagen verfügbar. Installation war auch erfolgreich.
Nu sehe ich heute die Info im IObroker das 12.22.3 verfügbar ist und da ich von Bugfixing zum 12.22.2 ausgehe, wollte ich auch dies mit
sudo apt update
sudo apt upgrade
installieren aber es wird kein keine neuere Version gefunden.
Überprüfung meiner Version bestätigt 12.22.2 ist installiertWas sollte ich versuchen? Oder einfach noch etwas abwarten und nochmal probieren?
Vielen Dank
-
@pete0815 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Oder einfach noch etwas abwarten und nochmal probieren?
Ein neues Release muss zunächst von nodesource neugepackt werden. Das kann u. U. ein paar Stunden / wenige Tage dauern. Abwarten.
[Edit:] Ein Blick in das ChangeLog hätte dir verraten:
2021-07-05, Version 12.22.3 'Erbium' (LTS), @richardlau
Notable Changes
Node.js 12.22.2 introduced a regression in the Windows installer on non-English locales that is being fixed in this release. There is no need to download this release if you are not using the Windows installer.Die Version wird vermutlich nicht gebaut werden, da für Linux irrelevant.
-
@thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:
Die Version wird vermutlich nicht gebaut werden, da für Linux irrelevant.
Danke, worauf basiert denn diese Anzeige?
-
@pete0815
Das musst du den Developer des info-Adapters fragen.
Ich vermute, da wird nur geschaut ob auf einem Server von nodejs.org eine neue, höhere Versionsnummer zu finden ist.
Da wird auch schon mal eine falsche Versionsnummer ausgegeben.Bislang war jedenfalls das nodesource-Repository recht zuverlässig und zeitnah mit dem letzten Release bestückt. Einfach dem Paketmanager vertrauen. Und den halt regelmäßig zu Rate ziehen, was Updates angeht.
-
@thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:
@pete0815
Da wird auch schon mal eine falsche Versionsnummer ausgegeben.Danke, gut zu wissen da ich sonst immer leicht beunruhigt bin, wenn etwas von grün auf orange umschlägt und für mich in Richtung handlungsbedarf deutet.
Bislang war jedenfalls das nodesource-Repository recht zuverlässig und zeitnah mit dem letzten Release bestückt. Einfach dem Paketmanager vertrauen. Und den halt regelmäßig zu Rate ziehen, was Updates angeht.
ok. wenn ich das als Unwissender richtig verstehe ist dieses Repository ja auch eine etwas weitreichendere Geschichte als IObroker (keine Abwertung) und "da wäre bei nicht zuverlässiger Funktionalität mehr Party"
-
Hallo zusammen,
ich habe ein Problem und benötige dringend Hilfe.
Habe festgestellt das meine Installation von NodeJs nicht korrekt ist.
Habe nun schon 3x versucht das Ganze zu korrigieren doch ich habe immer wieder den selben Fehler.
Ich komme soweit, dass alles in den korrekten Verzeichnissen liegt und mein ioBroker auch läuft, doch kann ich nichts updaten bzw. neu installieren, da dann immer ein npm error angezeigt wird.(Zum Glück hab ich immer nen Clone von meiner SSD so dass ich die nur umstöpseln brauch und alles "erstmal" wieder läuft wie zuvor)
Vorgegangen bin ich so:
Bei der Prüfung kommt folgendes:
pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/local/bin/node /usr/local/bin/npm v14.17.2 v14.17.2 7.19.1 nodejs: Installiert: 14.17.2-1nodesource1 Installationskandidat: 14.17.2-1nodesource1 Versionstabelle: *** 14.17.2-1nodesource1 100 100 /var/lib/dpkg/status 12.22.2-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
(V14 ist installiert, da ich zuvor beide (12 & 14) in der Liste hatte. Hab V14 nun auskommentiert und möchte auch zu V12 zurück)
Wenn ich nun, wie in Teil 2 "Installation geradeziehen" beschrieben, viaiobroker stop
und dann
sudo rm /usr/local/bin/node
gefolgt von
sudo rm /usr/local/bin/npm
Die beiden fehlerhaften Dateien lösche und dann erneut abfrage, erscheint Folgendes:
pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.17.2 -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden pi@raspberrypi:~ $
Danach hab ich einmal ein reboot gemacht und nochmals geprüft:
pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.17.2 v14.17.2 6.14.13 nodejs: Installiert: 14.17.2-1nodesource1 Installationskandidat: 14.17.2-1nodesource1 Versionstabelle: *** 14.17.2-1nodesource1 100 100 /var/lib/dpkg/status 12.22.2-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
Soweit so gut. Nun trau ich mich nicht mehr weiter...
Der ioBroker startet doch wenn ich ein Update machen möchte (hier Hue über die ioBroker Oberfläche) dann kommt das:
$ ./iobroker upgrade hue Update hue from @3.5.15 to @3.5.19 NPM version: 6.14.13npm install iobroker.hue@3.5.19 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! Error while executing:npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/DrozmotiX/ioBroker.tado.gitnpm ERR! npm ERR! Host key verification failed.npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehennpm ERR! und das Repository existiert.npm ERR! npm ERR! exited with error code: 128 npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-07-06T11_51_48_577Z-debug.log upload [4] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/words.js words.js application/javascript Update "system.adapter.hue.0" upload [3] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/instruction.png instruction.png image/png upload [2] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index_m.html index_m.html text/html upload [1] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index.html index.html text/html upload [0] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/hue.jpeg hue.jpeg image/jpeg Adapter "hue" updated process exited with code 0
Wie ist die richtige Vorgehensweise bzw. was muss ich als Nächstes tun damit alles wieder rund läuft?
Sorry, falls es etwas viel ist, bin Newbie in ioBroker und Linux...Vielen Dank schonmal vorab für eure Hilfe!
LG Yvonne -
In meiner Signatur ist ein HowTo verlinkt. Danach kann man das alles wieder geradebiegen.
-
Genau danach bin ich ja vorgegangen. (Teil 2)
Scheitere aber immer wieder an dem gleichen Problem?
Hab ich etwas vergessen/übersehen?iobroker fix
hat leider auch nicht geholfen...
-
Da hängt noch eine git-Installation von tado in der Luft.
Und die nodeJS@14 steht da verwaist herum, da das entsprechende Repo ausgeschaltet wurde.
Mach das 14er-Repo wieder aktiv.
Zu tado:
iobroker list adapters
-
Ok, V14 ist wieder aktiv.
bzgl. tado:
pi@raspberrypi:~ $ iobroker list adapters system.adapter.admin : admin - v4.2.1 system.adapter.alexa2 : alexa2 - v3.9.1 system.adapter.backitup : backitup - v2.1.13 system.adapter.cloud : cloud - v4.0.11 system.adapter.deconz : deconz - v1.3.16 system.adapter.device-reminder : device-reminder - v1.2.1 system.adapter.devices : devices - v0.3.16 system.adapter.discovery : discovery - v2.6.2 system.adapter.harmony : harmony - v1.2.2 system.adapter.hue : hue - v3.5.15 system.adapter.influxdb : influxdb - v1.9.5 system.adapter.info : info - v1.7.14 system.adapter.iot : iot - v1.8.22 system.adapter.javascript : javascript - v5.1.3 system.adapter.life360 : life360 - v0.2.14 system.adapter.mihome-vacuum : mihome-vacuum - v3.2.0 system.adapter.netatmo : netatmo - v1.3.3 system.adapter.pushover : pushover - v2.0.3 system.adapter.scenes : scenes - v2.3.6 system.adapter.shelly : shelly - v4.0.7 system.adapter.simple-api : simple-api - v2.6.1 system.adapter.socketio : socketio - v3.1.4 system.adapter.sonoff : sonoff - v2.4.0 system.adapter.tado : tado - v0.3.0 system.adapter.telegram : telegram - v1.8.1 system.adapter.tr-064 : tr-064 - v4.2.12 system.adapter.vis : vis - v1.3.10 system.adapter.web : web - v3.4.1 system.adapter.whatsapp-cmb : whatsapp-cmb - v0.1.6 system.adapter.yahka : yahka - v0.12.0 system.adapter.yeelight-2 : yeelight-2 - v1.0.3 pi@raspberrypi:~ $
Danke dir schonmal für die Hilfe!
Soll ich die V14 lassen oder auf V12 herunter?
-
@pupsimupsi
v14 kann bleiben, wenn es sauber im System ist. Sollte aber der Fall sein, wenn die Quelle jetzt wieder aktiv ist.Versuch mal den npm cache zu löschen:
cd /opt/iobroker sudo -u iobroker npm cache clear --force
-
erledigt:
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -u iobroker npm cache clear --force npm WARN using --force I sure hope you know what you are doing. pi@raspberrypi:/opt/iobroker $ cd pi@raspberrypi:~ $ sudo reboot
Erneuter Versuch und gleiches Problem:
$ ./iobroker upgrade hue Update hue from @3.5.15 to @3.5.19 NPM version: 6.14.13npm install iobroker.hue@3.5.19 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/DrozmotiX/ioBroker.tado.gitnpm ERR! npm ERR! Host key verification failed.npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehennpm ERR! und das Repository existiert.npm ERR! npm ERR! exited with error code: 128 npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-07-06T12_27_04_846Z-debug.log upload [4] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/words.js words.js application/javascript Update "system.adapter.hue.0" upload [3] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/instruction.png instruction.png image/png upload [2] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index_m.html index_m.html text/html upload [1] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index.html index.html text/html upload [0] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/hue.jpeg hue.jpeg image/jpeg Adapter "hue" updated process exited with code 0
Ich dreh durch...was ist das nur?
-
cd /opt/iobroker npm list | grep -i tado
-
ergibt das:
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm list | grep -i tado npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! ├─┬ UNMET DEPENDENCY iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf npm ERR! missing: iobroker.alexa2@3.9.1, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.backitup@2.1.13, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.cloud@4.0.11, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.deconz@1.3.16, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.device-reminder@1.2.1, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.devices@0.3.16, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.discovery@2.6.2, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.harmony@1.2.2, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.hue@3.5.15, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.influxdb@1.9.5, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.iot@1.8.22, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.javascript@5.1.3, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.life360@git+ssh://git@github.com/MiGoller/ioBroker.life360.git#a3ab4d0c99ed5eeef1fde0d92b09df5bd3b34da2, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.mihome-vacuum@git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#7bd985aabfef8e7535660d2a670d0a4c3e9d0d16, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.shelly@4.0.7, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.simple-api@2.6.1, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.telegram@1.8.1, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.tr-064@4.2.12, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.vis@1.3.10, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.web@3.4.1, required by iobroker.inst@2.0.3 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.admin@4.2.1 npm ERR! missing: @types/iobroker@3.3.0, required by @iobroker/adapter-core@2.5.0 npm ERR! missing: mime-types@2.1.30, required by type-is@1.6.18 npm ERR! missing: mime-types@2.1.30, required by accepts@1.3.7 npm ERR! missing: mime-types@2.1.30, required by request@2.88.2 npm ERR! missing: mime-types@2.1.30, required by form-data@2.3.3 npm ERR! missing: ws@7.4.6, required by engine.io@3.5.0 npm ERR! missing: ws@7.4.6, required by engine.io-client@3.5.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.alexa2@3.9.1 npm ERR! missing: @sentry/integrations@6.7.1, required by iobroker.alexa2@3.9.1 npm ERR! missing: alexa-remote2@3.8.1, required by iobroker.alexa2@3.9.1 npm ERR! missing: @sentry/node@6.5.1, required by iobroker.alexa2@3.9.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/integrations@6.7.1 npm ERR! missing: @sentry/utils@6.7.1, required by @sentry/integrations@6.7.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/utils@6.7.1 npm ERR! missing: alexa-cookie2@3.4.3, required by alexa-remote2@3.8.1 npm ERR! missing: uuid@8.3.2, required by alexa-remote2@3.8.1 npm ERR! missing: ws@7.4.6, required by alexa-remote2@3.8.1 npm ERR! missing: cookie@0.4.1, required by alexa-cookie2@3.4.3 npm ERR! missing: http-proxy-middleware@1.3.1, required by alexa-cookie2@3.4.3 npm ERR! missing: @types/http-proxy@1.17.6, required by http-proxy-middleware@1.3.1 npm ERR! missing: is-plain-obj@3.0.0, required by http-proxy-middleware@1.3.1 npm ERR! missing: micromatch@4.0.4, required by http-proxy-middleware@1.3.1 npm ERR! missing: picomatch@2.3.0, required by micromatch@4.0.4 npm ERR! missing: @sentry/core@6.5.1, required by @sentry/node@6.5.1 npm ERR! missing: @sentry/hub@6.5.1, required by @sentry/node@6.5.1 npm ERR! missing: @sentry/tracing@6.5.1, required by @sentry/node@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/node@6.5.1 npm ERR! missing: @sentry/utils@6.5.1, required by @sentry/node@6.5.1 npm ERR! missing: cookie@0.4.1, required by @sentry/node@6.5.1 npm ERR! missing: @sentry/hub@6.5.1, required by @sentry/core@6.5.1 npm ERR! missing: @sentry/minimal@6.5.1, required by @sentry/core@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/core@6.5.1 npm ERR! missing: @sentry/utils@6.5.1, required by @sentry/core@6.5.1 npm ERR! missing: @sentry/hub@6.5.1, required by @sentry/minimal@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/minimal@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/hub@6.5.1 npm ERR! missing: @sentry/utils@6.5.1, required by @sentry/hub@6.5.1 npm ERR! missing: @sentry/hub@6.5.1, required by @sentry/tracing@6.5.1 npm ERR! missing: @sentry/minimal@6.5.1, required by @sentry/tracing@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/tracing@6.5.1 npm ERR! missing: @sentry/utils@6.5.1, required by @sentry/tracing@6.5.1 npm ERR! missing: @sentry/types@6.5.1, required by @sentry/utils@6.5.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.backitup@2.1.13 npm ERR! missing: dropbox-v2-api@2.4.42, required by iobroker.backitup@2.1.13 npm ERR! missing: google-auth-library@7.2.0, required by iobroker.backitup@2.1.13 npm ERR! missing: googleapis@76.0.0, required by iobroker.backitup@2.1.13 npm ERR! missing: fs-extra@10.0.0, required by iobroker.backitup@2.1.13 npm ERR! missing: node-schedule@2.0.0, required by iobroker.backitup@2.1.13 npm ERR! missing: webdav@4.6.0, required by iobroker.backitup@2.1.13 npm ERR! missing: request@2.88.0, required by dropbox-v2-api@2.4.42 npm ERR! missing: qs@6.5.2, required by request@2.88.0 npm ERR! missing: tough-cookie@2.4.3, required by request@2.88.0 npm ERR! missing: mime-types@2.1.30, required by request@2.88.0 npm ERR! missing: punycode@1.4.1, required by tough-cookie@2.4.3 npm ERR! missing: gaxios@4.3.0, required by google-auth-library@7.2.0 npm ERR! missing: gcp-metadata@4.3.0, required by google-auth-library@7.2.0 npm ERR! missing: jws@4.0.0, required by google-auth-library@7.2.0 npm ERR! missing: gtoken@5.3.0, required by google-auth-library@7.2.0 npm ERR! missing: gaxios@4.3.0, required by gcp-metadata@4.3.0 npm ERR! missing: jwa@2.0.0, required by jws@4.0.0 npm ERR! missing: gaxios@4.3.0, required by gtoken@5.3.0 npm ERR! missing: google-p12-pem@3.1.0, required by gtoken@5.3.0 npm ERR! missing: jws@4.0.0, required by gtoken@5.3.0 npm ERR! missing: jwa@2.0.0, required by jws@4.0.0 npm ERR! missing: google-auth-library@7.2.0, required by googleapis@76.0.0 npm ERR! missing: googleapis-common@5.0.2, required by googleapis@76.0.0 npm ERR! missing: gaxios@4.3.0, required by googleapis-common@5.0.2 npm ERR! missing: google-auth-library@7.2.0, required by googleapis-common@5.0.2 npm ERR! missing: uuid@8.3.2, required by googleapis-common@5.0.2 npm ERR! missing: jsonfile@6.1.0, required by fs-extra@10.0.0 npm ERR! missing: universalify@2.0.0, required by fs-extra@10.0.0 npm ERR! missing: universalify@2.0.0, required by jsonfile@6.1.0 npm ERR! missing: cron-parser@3.3.0, required by node-schedule@2.0.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.cloud@4.0.11 npm ERR! missing: socket.io@1.7.4, required by iobroker.cloud@4.0.11 npm ERR! missing: socket.io-client@1.7.4, required by iobroker.cloud@4.0.11 npm ERR! missing: ws@7.4.6, required by iobroker.cloud@4.0.11 npm ERR! missing: has-binary@0.1.7, required by socket.io@1.7.4 npm ERR! missing: debug@2.3.3, required by socket.io@1.7.4 npm ERR! missing: engine.io@1.8.5, required by socket.io@1.7.4 npm ERR! missing: object-assign@4.1.0, required by socket.io@1.7.4 npm ERR! missing: socket.io-adapter@0.5.0, required by socket.io@1.7.4 npm ERR! missing: socket.io-client@1.7.4, required by socket.io@1.7.4 npm ERR! missing: socket.io-parser@2.3.1, required by socket.io@1.7.4 npm ERR! missing: isarray@0.0.1, required by has-binary@0.1.7 npm ERR! missing: ms@0.7.2, required by debug@2.3.3 npm ERR! missing: accepts@1.3.3, required by engine.io@1.8.5 npm ERR! missing: base64id@1.0.0, required by engine.io@1.8.5 npm ERR! missing: cookie@0.3.1, required by engine.io@1.8.5 npm ERR! missing: debug@2.3.3, required by engine.io@1.8.5 npm ERR! missing: engine.io-parser@1.3.2, required by engine.io@1.8.5 npm ERR! missing: ws@1.1.5, required by engine.io@1.8.5 npm ERR! missing: negotiator@0.6.1, required by accepts@1.3.3 npm ERR! missing: mime-types@2.1.30, required by accepts@1.3.3 npm ERR! missing: has-binary@0.1.7, required by engine.io-parser@1.3.2 npm ERR! missing: arraybuffer.slice@0.0.6, required by engine.io-parser@1.3.2 npm ERR! missing: base64-arraybuffer@0.1.5, required by engine.io-parser@1.3.2 npm ERR! missing: blob@0.0.4, required by engine.io-parser@1.3.2 npm ERR! missing: wtf-8@1.0.0, required by engine.io-parser@1.3.2 npm ERR! missing: ultron@1.0.2, required by ws@1.1.5 npm ERR! missing: options@0.0.6, required by ws@1.1.5 npm ERR! missing: debug@2.3.3, required by socket.io-adapter@0.5.0 npm ERR! missing: socket.io-parser@2.3.1, required by socket.io-adapter@0.5.0 npm ERR! missing: isarray@0.0.1, required by socket.io-parser@2.3.1 npm ERR! missing: component-emitter@1.1.2, required by socket.io-parser@2.3.1 npm ERR! missing: debug@2.2.0, required by socket.io-parser@2.3.1 npm ERR! missing: json3@3.3.2, required by socket.io-parser@2.3.1 npm ERR! missing: ms@0.7.1, required by debug@2.2.0 npm ERR! missing: has-binary@0.1.7, required by socket.io-client@1.7.4 npm ERR! missing: component-emitter@1.2.1, required by socket.io-client@1.7.4 npm ERR! missing: debug@2.3.3, required by socket.io-client@1.7.4 npm ERR! missing: engine.io-client@1.8.5, required by socket.io-client@1.7.4 npm ERR! missing: parseuri@0.0.5, required by socket.io-client@1.7.4 npm ERR! missing: socket.io-parser@2.3.1, required by socket.io-client@1.7.4 npm ERR! missing: component-emitter@1.2.1, required by engine.io-client@1.8.5 npm ERR! missing: debug@2.3.3, required by engine.io-client@1.8.5 npm ERR! missing: ws@1.1.5, required by engine.io-client@1.8.5 npm ERR! missing: engine.io-parser@1.3.2, required by engine.io-client@1.8.5 npm ERR! missing: parseqs@0.0.5, required by engine.io-client@1.8.5 npm ERR! missing: parseuri@0.0.5, required by engine.io-client@1.8.5 npm ERR! missing: xmlhttprequest-ssl@1.5.3, required by engine.io-client@1.8.5 npm ERR! missing: parsejson@0.0.3, required by engine.io-client@1.8.5 npm ERR! missing: ultron@1.0.2, required by ws@1.1.5 npm ERR! missing: options@0.0.6, required by ws@1.1.5 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.deconz@1.3.16 npm ERR! missing: @sentry/integrations@6.7.1, required by iobroker.deconz@1.3.16 npm ERR! missing: @sentry/node@6.7.1, required by iobroker.deconz@1.3.16 npm ERR! missing: ws@7.4.6, required by iobroker.deconz@1.3.16 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/node@6.7.1 npm ERR! missing: @sentry/utils@6.7.1, required by @sentry/node@6.7.1 npm ERR! missing: @sentry/core@6.7.1, required by @sentry/node@6.7.1 npm ERR! missing: @sentry/hub@6.7.1, required by @sentry/node@6.7.1 npm ERR! missing: @sentry/tracing@6.7.1, required by @sentry/node@6.7.1 npm ERR! missing: cookie@0.4.1, required by @sentry/node@6.7.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/core@6.7.1 npm ERR! missing: @sentry/utils@6.7.1, required by @sentry/core@6.7.1 npm ERR! missing: @sentry/hub@6.7.1, required by @sentry/core@6.7.1 npm ERR! missing: @sentry/minimal@6.7.1, required by @sentry/core@6.7.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/minimal@6.7.1 npm ERR! missing: @sentry/hub@6.7.1, required by @sentry/minimal@6.7.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/hub@6.7.1 npm ERR! missing: @sentry/utils@6.7.1, required by @sentry/hub@6.7.1 npm ERR! missing: @sentry/types@6.7.1, required by @sentry/tracing@6.7.1 npm ERR! missing: @sentry/utils@6.7.1, required by @sentry/tracing@6.7.1 npm ERR! missing: @sentry/hub@6.7.1, required by @sentry/tracing@6.7.1 npm ERR! missing: @sentry/minimal@6.7.1, required by @sentry/tracing@6.7.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.device-reminder@1.2.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.discovery@2.6.2 npm ERR! missing: @harmonyhub/discover@1.0.8, required by iobroker.harmony@1.2.2 npm ERR! missing: harmonyhubws@1.0.6, required by iobroker.harmony@1.2.2 npm ERR! missing: @iobroker/adapter-core@1.0.3, required by iobroker.harmony@1.2.2 npm ERR! missing: semaphore@1.0.5, required by iobroker.harmony@1.2.2 npm ERR! missing: debug@4.3.1, required by @harmonyhub/discover@1.0.8 npm ERR! missing: autobind-decorator@2.4.0, required by @harmonyhub/discover@1.0.8 npm ERR! missing: ms@2.1.2, required by debug@4.3.1 npm ERR! missing: ws@6.2.1, required by harmonyhubws@1.0.6 npm ERR! missing: @types/iobroker@1.4.13, required by @iobroker/adapter-core@1.0.3 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.hue@3.5.15 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.influxdb@1.9.5 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.info@1.7.14 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.iot@1.8.22 npm ERR! missing: canvas@2.8.0, required by iobroker.iot@1.8.22 npm ERR! missing: uuid@8.3.2, required by iobroker.iot@1.8.22 npm ERR! missing: iobroker.type-detector@1.0.8, required by iobroker.iot@1.8.22 npm ERR! missing: jsdom@16.6.0, required by iobroker.iot@1.8.22 npm ERR! missing: @mapbox/node-pre-gyp@1.0.5, required by canvas@2.8.0 npm ERR! missing: rimraf@3.0.2, required by @mapbox/node-pre-gyp@1.0.5 npm ERR! missing: semver@7.3.5, required by @mapbox/node-pre-gyp@1.0.5 npm ERR! missing: make-dir@3.1.0, required by @mapbox/node-pre-gyp@1.0.5 npm ERR! missing: nopt@5.0.0, required by @mapbox/node-pre-gyp@1.0.5 npm ERR! missing: semver@6.3.0, required by make-dir@3.1.0 npm ERR! missing: acorn@8.3.0, required by jsdom@16.6.0 npm ERR! missing: escodegen@2.0.0, required by jsdom@16.6.0 npm ERR! missing: http-proxy-agent@4.0.1, required by jsdom@16.6.0 npm ERR! missing: is-potential-custom-element-name@1.0.1, required by jsdom@16.6.0 npm ERR! missing: form-data@3.0.1, required by jsdom@16.6.0 npm ERR! missing: tough-cookie@4.0.0, required by jsdom@16.6.0 npm ERR! missing: parse5@6.0.1, required by jsdom@16.6.0 npm ERR! missing: whatwg-url@8.6.0, required by jsdom@16.6.0 npm ERR! missing: ws@7.4.6, required by jsdom@16.6.0 npm ERR! missing: acorn@7.4.1, required by acorn-globals@6.0.0 npm ERR! missing: whatwg-url@8.6.0, required by data-urls@2.0.0 npm ERR! missing: estraverse@5.2.0, required by escodegen@2.0.0 npm ERR! missing: @tootallnate/once@1.1.2, required by http-proxy-agent@4.0.1 npm ERR! missing: debug@4.3.1, required by http-proxy-agent@4.0.1 npm ERR! missing: ms@2.1.2, required by debug@4.3.1 npm ERR! missing: mime-types@2.1.30, required by form-data@3.0.1 npm ERR! missing: tr46@2.1.0, required by whatwg-url@8.6.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.javascript@5.1.3 npm ERR! missing: @types/node@12.20.10, required by iobroker.javascript@5.1.3 npm ERR! missing: semver@7.3.4, required by iobroker.javascript@5.1.3 npm ERR! missing: node-inspect@2.0.0, required by iobroker.javascript@5.1.3 npm ERR! missing: mime-types@2.1.30, required by form-data@2.5.1 npm ERR! missing: @sentry/integrations@6.7.1, required by @iobroker/plugin-sentry@1.1.10 npm ERR! missing: picomatch@2.3.0, required by anymatch@3.1.1 npm ERR! missing: picomatch@2.3.0, required by readdirp@3.5.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.life360@git+ssh://git@github.com/MiGoller/ioBroker.life360.git#a3ab4d0c99ed5eeef1fde0d92b09df5bd3b34da2 npm ERR! missing: geolocation-utils@1.2.3, required by iobroker.life360@git+ssh://git@github.com/MiGoller/ioBroker.life360.git#a3ab4d0c99ed5eeef1fde0d92b09df5bd3b34da2 npm ERR! missing: point-in-polygon@1.0.1, required by geolocation-utils@1.2.3 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.mihome-vacuum@git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#7bd985aabfef8e7535660d2a670d0a4c3e9d0d16 npm ERR! missing: canvas@2.8.0, required by iobroker.mihome-vacuum@git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#7bd985aabfef8e7535660d2a670d0a4c3e9d0d16 npm ERR! missing: treemap-js@1.2.1, required by iobroker.mihome-vacuum@git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#7bd985aabfef8e7535660d2a670d0a4c3e9d0d16 npm ERR! missing: zlib@1.0.5, required by iobroker.mihome-vacuum@git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#7bd985aabfef8e7535660d2a670d0a4c3e9d0d16 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.pushover@2.0.3 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.scenes@2.3.6 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.shelly@4.0.7 npm ERR! missing: coiot-coap@1.0.0, required by iobroker.shelly@4.0.7 npm ERR! missing: mqtt@4.2.6, required by iobroker.shelly@4.0.7 npm ERR! missing: xmlbuilder@15.1.1, required by iobroker.shelly@4.0.7 npm ERR! missing: mqtt-connection@4.1.0, required by iobroker.shelly@4.0.7 npm ERR! missing: commander@6.2.1, required by coiot-coap@1.0.0 npm ERR! missing: concat-stream@2.0.0, required by mqtt@4.2.6 npm ERR! missing: debug@4.3.1, required by mqtt@4.2.6 npm ERR! missing: mqtt-packet@6.7.0, required by mqtt@4.2.6 npm ERR! missing: readable-stream@3.6.0, required by mqtt@4.2.6 npm ERR! missing: split2@3.2.2, required by mqtt@4.2.6 npm ERR! missing: ws@7.4.6, required by mqtt@4.2.6 npm ERR! missing: readable-stream@3.6.0, required by concat-stream@2.0.0 npm ERR! missing: ms@2.1.2, required by debug@4.3.1 npm ERR! missing: debug@4.3.1, required by mqtt-packet@6.7.0 npm ERR! missing: readable-stream@3.6.0, required by split2@3.2.2 npm ERR! missing: mqtt-packet@6.7.0, required by mqtt-connection@4.1.0 npm ERR! missing: debug@4.3.1, required by mqtt-packet@6.7.0 npm ERR! missing: ms@2.1.2, required by debug@4.3.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.simple-api@2.6.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.socketio@3.1.4 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.sonoff@2.4.0 npm ERR! missing: mqtt-connection@4.1.0, required by iobroker.sonoff@2.4.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf npm ERR! missing: iobroker-jsonexplorer@0.1.0, required by iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf npm ERR! missing: simple-oauth2@2.5.2, required by iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf npm ERR! missing: @hapi/joi@15.1.1, required by simple-oauth2@2.5.2 npm ERR! missing: date-fns@2.22.1, required by simple-oauth2@2.5.2 npm ERR! missing: debug@4.3.1, required by simple-oauth2@2.5.2 npm ERR! missing: wreck@14.2.0, required by simple-oauth2@2.5.2 npm ERR! missing: @hapi/address@2.1.4, required by @hapi/joi@15.1.1 npm ERR! missing: @hapi/bourne@1.3.2, required by @hapi/joi@15.1.1 npm ERR! missing: @hapi/hoek@8.5.1, required by @hapi/joi@15.1.1 npm ERR! missing: @hapi/topo@3.1.6, required by @hapi/joi@15.1.1 npm ERR! missing: @hapi/hoek@8.5.1, required by @hapi/topo@3.1.6 npm ERR! missing: ms@2.1.2, required by debug@4.3.1 npm ERR! missing: boom@7.3.0, required by wreck@14.2.0 npm ERR! missing: bourne@1.1.2, required by wreck@14.2.0 npm ERR! missing: hoek@6.1.3, required by wreck@14.2.0 npm ERR! missing: hoek@6.1.3, required by boom@7.3.0 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.telegram@1.8.1 npm ERR! missing: node-telegram-bot-api@0.52.0, required by iobroker.telegram@1.8.1 npm ERR! missing: socksv5@https://github.com/christophgysin/socksv5/tarball/7b4eba5b30ecdb6d9e656dcfede1e6884dc7c6d9, required by iobroker.telegram@1.8.1 npm ERR! missing: bl@1.2.3, required by node-telegram-bot-api@0.52.0 npm ERR! missing: debug@3.2.7, required by node-telegram-bot-api@0.52.0 npm ERR! missing: eventemitter3@3.1.2, required by node-telegram-bot-api@0.52.0 npm ERR! missing: pump@2.0.1, required by node-telegram-bot-api@0.52.0 npm ERR! missing: es-abstract@1.18.0, required by array.prototype.findindex@2.1.0 npm ERR! missing: get-intrinsic@1.1.1, required by es-abstract@1.18.0 npm ERR! missing: has-symbols@1.0.2, required by es-abstract@1.18.0 npm ERR! missing: is-callable@1.2.3, required by es-abstract@1.18.0 npm ERR! missing: is-regex@1.1.3, required by es-abstract@1.18.0 npm ERR! missing: is-string@1.0.6, required by es-abstract@1.18.0 npm ERR! missing: string.prototype.trimend@1.0.4, required by es-abstract@1.18.0 npm ERR! missing: string.prototype.trimstart@1.0.4, required by es-abstract@1.18.0 npm ERR! missing: unbox-primitive@1.0.1, required by es-abstract@1.18.0 npm ERR! missing: is-callable@1.2.3, required by es-to-primitive@1.2.1 npm ERR! missing: has-symbols@1.0.2, required by is-symbol@1.0.3 npm ERR! missing: has-symbols@1.0.2, required by get-intrinsic@1.1.1 npm ERR! missing: has-symbols@1.0.2, required by is-regex@1.1.3 npm ERR! missing: has-symbols@1.0.2, required by unbox-primitive@1.0.1 npm ERR! missing: is-bigint@1.0.2, required by which-boxed-primitive@1.0.2 npm ERR! missing: is-boolean-object@1.1.1, required by which-boxed-primitive@1.0.2 npm ERR! missing: is-number-object@1.0.5, required by which-boxed-primitive@1.0.2 npm ERR! missing: is-string@1.0.6, required by which-boxed-primitive@1.0.2 npm ERR! missing: ms@2.1.3, required by debug@3.2.7 npm ERR! missing: ipv6@3.1.1, required by socksv5@https://github.com/christophgysin/socksv5/tarball/7b4eba5b30ecdb6d9e656dcfede1e6884dc7c6d9 npm ERR! missing: sprintf@0.1.3, required by ipv6@3.1.1 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.tr-064@4.2.12 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.vis@1.3.10 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.web@3.4.1 npm ERR! missing: iobroker.simple-api@2.6.1, required by iobroker.web@3.4.1 npm ERR! missing: mime-types@2.1.30, required by iobroker.web@3.4.1 npm ERR! missing: mime-db@1.47.0, required by mime-types@2.1.30 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.whatsapp-cmb@0.1.6 npm ERR! missing: @iobroker/adapter-core@2.5.0, required by iobroker.yahka@0.12.0 npm ERR! missing: get-intrinsic@1.1.1, required by call-bind@1.0.2 npm ERR! missing: es-abstract@1.18.0, required by is-typed-array@1.1.4 npm ERR! missing: has-symbols@1.0.2, required by is-typed-array@1.1.4 npm ERR! missing: es-abstract@1.18.0, required by which-typed-array@1.1.4 npm ERR! missing: has-symbols@1.0.2, required by which-typed-array@1.1.4 npm ERR! missing: has-symbols@1.0.2, required by object.assign@4.1.2 pi@raspberrypi:/opt/iobroker $
Nur ERROR
-
@pupsimupsi sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
! /usr/bin/git ls-remote -h -t ssh://git@github.com/DrozmotiX/ioBroker.tado.gitnpm ERR! npm ERR! Host key verification failed.npm ERR!
da gab es ein Problem mit dem Key
-
@pupsimupsi sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
cd /opt/iobroker npm uninstall iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf
[Edit:] Wechsel ins Installationsverzeichnis ergänzt.
-
ergibt Folgendes:
pi@raspberrypi:~ $ npm uninstall iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. up to date in 0.779s found 0 vulnerabilities ╭────────────────────────────────────────────────────────────────╮ │ │ │ New major version of npm available! 6.14.13 → 7.19.1 │ │ Changelog: https://github.com/npm/cli/releases/tag/v7.19.1 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯ pi@raspberrypi:~ $
Das Update-Problem besteht leider weiterhin:
$ ./iobroker upgrade hue Update hue from @3.5.15 to @3.5.19 NPM version: 6.14.13 npm install iobroker.hue@3.5.19 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.gitnpm ERR! npm ERR! Host key verification failed.npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehennpm ERR! und das Repository existiert.npm ERR! npm ERR! exited with error code: 128 npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-07-06T13_03_02_832Z-debug.log upload [4] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/words.js words.js application/javascript Update "system.adapter.hue.0" upload [3] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/instruction.png instruction.png image/png upload [2] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index_m.html index_m.html text/html upload [1] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index.html index.html text/html upload [0] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/hue.jpeg hue.jpeg image/jpeg Adapter "hue" updated process exited with code 0
Langsam hab ich das Gefühl mein System ist so verbogen das es nicht mehr zu retten ist...!?
Aber es lief ja eigenartiger Weise bevor ich die nodejs "geradegezogen" habe.Kann ich es noch retten?
-
@pupsimupsi sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
i@raspberrypi:~ $ npm uninstall iobroker.tado@git+ssh://git@github.com/Drozmoti
npm Befehle 7mmer im iobroker Installationsverzeichnis ausführen!
-
@homoran
OK, machs nochmal!
Danke!