<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition]]></title><description><![CDATA[<p dir="auto"><span style="color:#ff0000"><strong>MOD-EDIT: Diese Anleitung ist veraltet. Update und Fix der nodejs Installation ist mittlerweile in dem Befehl <code>iob nodejs-update</code> enthalten</strong></span></p>
<p dir="auto">Hi,</p>
<p dir="auto">in diesem Artikel möchte ich einen Überblick geben, wie inzwischen (meint anno 2021 mit einem js-controller 3.x bzw 4.x) Node.js Updates bei ioBroker ausgeführt werden sollten bzw können.</p>
<h3>Was ist Node.js und warum muss man es updaten?</h3>
<p dir="auto">Node.js ist die Laufzeitumgebung der Programmiersprache JavaScript, in der ioBroker geschrieben ist. Ohne Node.js funktioniert ioBroker nicht. Node.js hast Du initial selbst installiert oder der ioBroker-Installer hat dies für dich getan.</p>
<p dir="auto">Wie bei vielen Open-Source-Technologien üblich, entwickelt sich Node.js schnell weiter. Kleinere Updates, die die Stabilität und Sicherheit steigern oder gar neue Funktionen hinzufügen, erscheinen regelmäßig.</p>
<p dir="auto">Node.js-Versionen mit gerader Hauptversionsnummer werden als LTS-Versionen (<strong>L</strong>ong <strong>T</strong>erm <strong>S</strong>upport) bezeichnet und einige Jahre gepflegt (z.B. 12.x). Jedes Jahr kommt eine neue Version ins LTS - in diesem Jahr (2021) ist das Node.js 16, welche im April veröffentlicht wurde und ab Oktober 2021 eine LTS Version wird.</p>
<p dir="auto">Im gleichem Zug erreichen frühere LTS-Versionen ihr Lebensende (EOL, <strong>E</strong>nd <strong>o</strong>f <strong>L</strong>ife).  So hat Node.js 8 im April 2020 den EOL-Status erhalten und bekommt damit keine Updates mehr, Nodejs 10.x wird Ende April 2021 Ihr Lebensende erreichen. Es wird also keine Sicherheits-Updates mehr geben! Node.js 12.x wird im April 2022 eol geben.</p>
<p dir="auto"><strong>Alle Node.js-Versionen mit ungeraden Versionsnummern sind Entwicklungsversionen und sollten nicht produktiv genutzt werden.</strong></p>
<p dir="auto">ioBroker nutzt viele Module und Erweiterungen aus der JavaScript Open-Source Szene, und dort kommt es regelmäßig vor, dass Versionen die EOL gehen zeitnah danach auch nicht weiter unterstützt werden. Das hat im ersten Schritt keine echte Auswirkung, aber mittelfristig wird es also Adapter, und später auch den js-controller geben, der EOL Versionen von Node.js nicht mehr unterstützt.</p>
<p dir="auto"><strong>Node.js 10 wird mit dem js-controller 3.x voll unterstützt. Ab dem js-controller 4.0 (Februar 2022) ist Node.js 10.x nicht mehr untertsützt.</strong></p>
<h3>Auf welche Node.js Version updaten?</h3>
<p dir="auto"><strong>Aktuell empfiehlt ioBroker die Nutzung von Node.js 16.x.</strong></p>
<p dir="auto">Folgende Adapter haben momentan Probleme mit Node.js 14:</p>
<ul>
<li>jeelink</li>
</ul>
<p dir="auto">Folgende Adapter haben momentan Probleme mit Node.js 16:</p>
<ul>
<li>jeelink?</li>
</ul>
<p dir="auto">*<em>Node.js 16.x wird auch vom js-controller 3.3 grundsätzlich unterstützt, aber nur mit npm 6! npm 7 bzw 8 sind mit dem js-controller 4.0 nutzbar.</em></p>
<h3>Update vorbereiten</h3>
<h4>Node.js Version prüfen</h4>
<p dir="auto">Bevor man beginnt, sollte man in der Befehlszeile mit dem Befehl</p>
<pre><code>node -v
</code></pre>
<p dir="auto">überprüfen, welche Version von Node.js gerade installiert ist. Eine gute Idee ist es, diese Versionsangabe auch mit der Node.js-Version im Übersichts-Fenster des ioBroker-Admins für diesen Host zu vergleichen. Sollten sich die Versionen unterscheiden, sind mehrere Node.js-Varianten installiert, was zu Problemen führen kann. <strong>Diese Probleme müssen VOR dem Update dann behoben werden!</strong> Anleitung zB unter <a href="https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2">https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2</a></p>
<h4>Betriebssystem prüfen</h4>
<p dir="auto">Dann auch prüfen was man für ein Betriebssystem hat. Vor allem im Raspi Umfeld sind gern auch älterer Systeme auf basis von "Debian jessie" oder "Debian wheezy" im Einsatz. Für die gibt es nichts was höher ist als Nodejs 10, da steht dann ggf auch ein Betriebssystemupdate an, was wir hier aber nicht behandeln können.<br />
Unterstützte Linux Distributionen sind unter <a href="https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions" rel="nofollow ugc">https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions</a> aufgelistet.<br />
Unter Debian und Ubuntu gibt es mit <code>lsb_release -a</code> eine Ausgabe was man aktuell nutzt.</p>
<h4>js-controller Version prüfen</h4>
<p dir="auto">Weiterhin bitte prüfen welche js-controller Version Installiert ist (ebenfalls auf dem Host-Tab im Admin einsehbar).<br />
Bei Versionen VOR js-controller 3.x, wenn möglich bitte zuerst den js-controller aktualisieren. Am besten auf mindestens die 3.2! Hierzu gibt es extra Threads im Forum wie z.B. <a href="https://forum.iobroker.net/topic/42385/js-controller-3-2-jetzt-im-stable">https://forum.iobroker.net/topic/42385/js-controller-3-2-jetzt-im-stable</a> bzw <a href="https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-f%C3%BCr-alle-user-im-stable">https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-für-alle-user-im-stable</a></p>
<h4>Adapter aktualisieren</h4>
<p dir="auto">Damit es nach dem Update zu keinen Inkompatibilitäten oder Probleme kommt, sollte man alle Adapter prüfen und aktualisieren. Vor allem Adapter mit nativen Bestandteilen, wie alles mit Serialport oder Bluetooth können Probleme bereiten. Hier am besten die Adapter-Readme's per Admin oder im GitHub prüfen, ob neue Versionen zur Verfügung stehen die die geplante Node.js Version explizit erst unterstützen.</p>
<p dir="auto">Bei Updates wo es größere Versionssprünge bei npm gibt (zb Node.js 14-&gt;16 updated npm von 6.x auf 8.x) kann es sehr hilfreich sein wenn man schaut ob Adapter die von GitHub installiert wurden inzwischen in der gleichen version auf auf npm liegen und dann ggf von dort nochmals installieren oder updaten. Im Admin werden Adapter die per GitHub installiert wurden gesondert mit einem GitHub Symbol angezeigt. Das hilft auch im Vorfeld Probleme zu vermeiden.</p>
<p dir="auto">Wenn man diesen Schritt nicht durchführt kann es zu unnötigen Problemen beim update der Adapter kommen!</p>
<h4>Backup erstellen</h4>
<p dir="auto">Zuerst muss natürlich unbedingt ein Backup erstellt werden. Dazu kann z.B. der BackItUp-Adapter genutzt oder der Kommandozeilenbefehl</p>
<pre><code>cd /opt/iobroker
iobroker backup
</code></pre>
<p dir="auto">ausgeführt werden. Das Backup sollte aktuell sein, damit möglichst keine Daten verloren gehen.</p>
<h3>Node.js updaten</h3>
<p dir="auto"><strong>Für Windows-Systeme kann ich leider gerade nichts genaues sagen, wir schauen das wir das noch ergänzen.</strong> Aufruf an die Community: Wer Schritte hat gern als eigener Post oder hier einbringen :-) Danke<br />
Einen Post aus der Community gab es dazu: <a href="https://forum.iobroker.net/post/624003">https://forum.iobroker.net/post/624003</a></p>
<h4>Linux-Systeme</h4>
<p dir="auto"><strong>ioBroker stoppen</strong><br />
Zuerst ioBroker stoppen, damit Updates keine Nebeneffekte oder Abstürze verursachen.</p>
<pre><code>iobroker stop
</code></pre>
<p dir="auto">Bitte anschließend im Webbrowser prüfen, dass der ioBroker-Admin danach wirklich nicht mehr läuft. Sollte er weiterhin aufrufbar sein, dann den Rechner neu starten und nochmals „iobroker stop“ ausführen und erneut testen. Für die Techniker unter uns: Man kann auch mit einem Tool wie "top" prüfen, ob noch Prozesse existieren, die mit "io." beginnen. Die dann am besten mit einem beherzten "sudo kill -9 &lt;ProzessID&gt;" zwangsbeenden.</p>
<p dir="auto"><strong>Node.js updaten</strong><br />
Jetzt aktualisiert man Node.js auf die gewünschte neue Version.</p>
<p dir="auto">Unter Linux reicht es, dazu den Nodesource-Installationsbefehl für das jeweilige Betriebssystem auszuführen. Verschiedene Varianten (auch Root und Nicht-Root) sind unter <a href="https://github.com/nodesource/distributions#debinstall" rel="nofollow ugc">https://github.com/nodesource/distributions#debinstall</a> gelistet.</p>
<p dir="auto">Zum Beispiel lauten die Befehle für einen Raspberry Pi der ein Debian bzw. Raspbian-Image verwendet wie folgt, wenn man <em>nicht</em> als root-User (z.B. richtig mit dem User "pi") angemeldet ist:</p>
<pre><code>curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
</code></pre>
<p dir="auto">Für Node.js 16 einfach in der URL oben anstelle der 14 eine 16 reinschreiben.</p>
<p dir="auto">Für macOS gibt einen Installer auf <a href="https://nodejs.org/en/download/" rel="nofollow ugc">https://nodejs.org/en/download/</a> , den man einfach ausführt.</p>
<p dir="auto">Ob die Aktualisierung geklappt hat, kann man wieder mit dem Befehl</p>
<pre><code>node -v
</code></pre>
<p dir="auto">überprüfen.</p>
<p dir="auto">Auch die npm Version sollte mit</p>
<pre><code>npm -v
</code></pre>
<p dir="auto">geprüft werden. Mit einem js-controller &lt;4 sicherstellen das idealerweise keine 7.x/8.x von npm installiert ist!</p>
<p dir="auto"><strong>ioBroker fixer ausführen</strong><br />
Da die Installation von Node.js einige Einstellungen am System verändert haben kann, ist es jetzt ratsam, den ioBroker-Installationsfixer aufzurufen. Das geschieht mit dem Befehl</p>
<pre><code>iobroker fix
</code></pre>
<p dir="auto">Er stellt unter anderem die für den Betrieb von ioBroker notwendigen Sicherheitseinstellungen wieder her und prüft und korrigiert alle Berechtigungen. Das kann einen Augenblick dauern, bitte Geduld haben.</p>
<h3>Erster ioBroker Neustart NACH Update</h3>
<p dir="auto">Einige genutzte JavaScript Module haben binäre Teile, welche bei einem Node.js Update nicht mehr kompatibel sind und neu erstellt werden müssen.</p>
<h4>Automatische Rebuilds</h4>
<p dir="auto">ioBroker versucht seit dem js-controller 3.0 automatisch die Adapter zu erkennen die nicht starten weil Sie aktualisiert werden müssen. Dies funktioniert so das die typischen Fehlermeldungen erkannt werden und ioBroker dann die Aktualisierung versucht.</p>
<p dir="auto"><strong>js-controller 3.x</strong><br />
Zuerst wird ein "rebuild" des betroffenen Adapters ausgeführt, falls das nicht hilft werden die Adapter-Abhängigkeiten aktualisiert.</p>
<p dir="auto"><strong>js-controller 4.0</strong><br />
Zuerst wird versucht alle Adapter zu rebuilden, falls das nicht hilft wird versucht zielgerichtet die relevanten Module neu zu bauen.</p>
<p dir="auto">Daher kann es sein das der Adapter mehrfach ersucht wird neu zu starten. <strong>Hier bitte UNBEDINGT Geduld haben!</strong> Erst wenn der Adapter dauerhaft rot bleibt und auch im Log steht das der Rebuild nicht geklappt hat aktiv werden!</p>
<p dir="auto">Bei einigen Adaptern (zB iot die optionale native Abhängigkeiten haben) funktioniert die automatische Erkennung nicht und das rebuild muss manuell angestoßen werden. Dies kann dadurch erkannt werden das der Adapter "Rot" bleibt und nicht startet oder einzelne Funktionen nicht gehen und das als Fehler im Log steht. Dann sollte das Log geprüft werden (neben Admin stehen Logfiles auch unter /opt/iobroker/log/... zur Verfügung.</p>
<h4>Manuelle Rebuilds</h4>
<p dir="auto">Hier zu gibt es <code>iobroker rebuild</code>, bzw die Kommandos die im Log angezeigt werden falls der Automatische Rebuild nicht funktioniert.</p>
<h4>Sonderfälle (z.B. Serialport)</h4>
<p dir="auto">Leider gibt es Sonderfälle, wo auch die obigen Optionen das Rebuild nicht erledigen, einer davon ist Serialport.</p>
<p dir="auto">Dort kann ein Log zB (auch nach allen Rebuild Versuchen) wie folgt aussehen</p>
<pre><code>host.SmartHomeCenter | 2020-05-10 09:28:01.788 | error | Caught by controller[0]: }
host.SmartHomeCenter | 2020-05-10 09:28:01.788 | error | Caught by controller[0]: ]
host.SmartHomeCenter | 2020-05-10 09:28:01.788 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node'
host.SmartHomeCenter | 2020-05-10 09:28:01.787 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/build/default/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.787 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/Release/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.787 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/out/Release/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.787 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/Debug/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.787 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/out/Debug/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.786 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/build/Release/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.786 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/build/Debug/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.786 | error | Caught by controller[0]: '/opt/iobroker/node_modules/serialport/build/serialport.node',
host.SmartHomeCenter | 2020-05-10 09:28:01.786 | error | Caught by controller[0]: tries: [
host.SmartHomeCenter | 2020-05-10 09:28:01.786 | error | Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30) {
host.SmartHomeCenter | 2020-05-10 09:28:01.785 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/serialport/lib/bindings/auto-detect.js:16:22)
host.SmartHomeCenter | 2020-05-10 09:28:01.785 | error | Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
host.SmartHomeCenter | 2020-05-10 09:28:01.785 | error | Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
host.SmartHomeCenter | 2020-05-10 09:28:01.785 | error | Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
host.SmartHomeCenter | 2020-05-10 09:28:01.785 | error | Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
host.SmartHomeCenter | 2020-05-10 09:28:01.784 | error | Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
host.SmartHomeCenter | 2020-05-10 09:28:01.784 | error | Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
host.SmartHomeCenter | 2020-05-10 09:28:01.784 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36)
host.SmartHomeCenter | 2020-05-10 09:28:01.784 | error | Caught by controller[0]: at bindings (/opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:93:9)
host.SmartHomeCenter | 2020-05-10 09:28:01.783 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/compiled/12.16.3/linux/arm/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.783 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/build/default/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.783 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/Release/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.783 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/out/Release/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.782 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/Debug/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.782 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/out/Debug/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.782 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/build/Release/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.782 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/build/Debug/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.781 | error | Caught by controller[0]: → /opt/iobroker/node_modules/serialport/build/serialport.node
host.SmartHomeCenter | 2020-05-10 09:28:01.781 | error | Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.SmartHomeCenter | 2020-05-10 09:28:01.781 | error | Caught by controller[0]: ^
host.SmartHomeCenter | 2020-05-10 09:28:01.780 | error | Caught by controller[0]: throw err
host.SmartHomeCenter | 2020-05-10 09:28:01.780 | error | Caught by controller[0]: /opt/iobroker/node_modules/serialport/node_modules/bindings/bindings.js:96
</code></pre>
<p dir="auto">Es gibt auch andere Fehlermeldungen die aber alle auf das gleiche hinauslaufen.<br />
Die einfachste Option ist es dann manuell im richtigen Verzeichnis neu zu bauen.<br />
In dem Fall das Verzeichenis mit "bindings" suchen - oben ist das /opt/iobroker/node_modules/serialport/node_modules/bindings ... bei neueren Versionen kann es auch etwas wie /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings sein.<br />
Dann in dieses Verzeichnis wechseln und <code>npm install --production</code> ausführen. Danach den Adapter nochmal sneu starten, das sollte dann tun.</p>
<p dir="auto">Ein weiterer Fall sind Adapter mit canvas Modul (ggf echarts oder Mihome-vacuum) wo es Probleme gebe kann.</p>
<p dir="auto">Andere Sonderfälle muss man sich im Detail ansehen. Bitte unten Posten und wir unterstützen.</p>
<h3>Weitere Notfall Optionen</h3>
<p dir="auto">Im früheren Artikel unter <a href="https://forum.iobroker.net/topic/22867/how-to-node-js-f%C3%BCr-iobroker-richtig-updaten">https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten</a> sind noch weitere manuelle Möglichkeiten beschrieben ioBroker wieder zum laufen zu bekommen, aber diese sollten an sich nicht mehr nötig sein, gehen aber natürlich auch noch!<br />
Dieser Artikel gilt also auch weiterhin.</p>
<p dir="auto">Jetzt viel Erfolg und gebt bitte Feedback wie git es geklappt hat oder welche Probleme Ihr habt.</p>
<p dir="auto">Ingo</p>
]]></description><link>https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 01:48:54 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/44566.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Apr 2021 22:31:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Mon, 20 Mar 2023 17:11:12 GMT]]></title><description><![CDATA[<p dir="auto">da wir wieder ein Jahr weiter sind und Node18 aktuell, geht es jetzt wieder hier weiter :)</p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/64033/troubleshooting-nodejs-update">https://forum.iobroker.net/topic/64033/troubleshooting-nodejs-update</a></p>
]]></description><link>https://forum.iobroker.net/post/966109</link><guid isPermaLink="true">https://forum.iobroker.net/post/966109</guid><dc:creator><![CDATA[Dutchman]]></dc:creator><pubDate>Mon, 20 Mar 2023 17:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Tue, 14 Mar 2023 22:20:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/socke85" aria-label="Profile: socke85">@<bdi>socke85</bdi></a> am besten adapter deinstallieren und neu installieren. Irgendwie ist deinem npm ein Paket abhanden gekommen</p>
]]></description><link>https://forum.iobroker.net/post/962837</link><guid isPermaLink="true">https://forum.iobroker.net/post/962837</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Tue, 14 Mar 2023 22:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Tue, 14 Mar 2023 22:17:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/socke85" aria-label="Profile: socke85">@<bdi>socke85</bdi></a><br />
Und</p>
<pre><code>iob diag
</code></pre>
<p dir="auto">erzählt dir?</p>
]]></description><link>https://forum.iobroker.net/post/962836</link><guid isPermaLink="true">https://forum.iobroker.net/post/962836</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 14 Mar 2023 22:17:36 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Tue, 14 Mar 2023 21:04:46 GMT]]></title><description><![CDATA[<p dir="auto">Ich habe heute nodejs und auch openkx geupdatet alles aktuell leider bekomme ich den Adapter nicht mehr zum laufen, habe auch schon ältere Versionen probiert.</p>
<p dir="auto">Das log erzählt mir:</p>
<pre><code>ost.Jarvis
2023-03-14 21:59:03.543	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: }
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: ]
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: requireStack: [
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
host.Jarvis
2023-03-14 21:59:03.543	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at Object.&lt;anonymous&gt; (/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js:8:16)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/main.js
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: Require stack:
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: Error: Cannot find module 'binary-parser'
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: ^
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: throw err;
host.Jarvis
2023-03-14 21:59:03.542	error	Caught by controller[0]: node:internal/modules/cjs/loader:988
host.Jarvis
2023-03-14 21:58:57.808	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.Jarvis
2023-03-14 21:58:57.808	error	Caught by controller[0]: }
host.Jarvis
2023-03-14 21:58:57.808	error	Caught by controller[0]: ]
host.Jarvis
2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
host.Jarvis
2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
host.Jarvis
2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
host.Jarvis
2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
host.Jarvis
2023-03-14 21:58:57.807	error	Caught by controller[0]: requireStack: [
</code></pre>
]]></description><link>https://forum.iobroker.net/post/962825</link><guid isPermaLink="true">https://forum.iobroker.net/post/962825</guid><dc:creator><![CDATA[socke85]]></dc:creator><pubDate>Tue, 14 Mar 2023 21:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Fri, 10 Feb 2023 23:58:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a><br />
ok, danke. Dann werd ich mal updaten!</p>
<p dir="auto">Edit:<br />
Update lief problemlos! Danke für die Hilfe!</p>
]]></description><link>https://forum.iobroker.net/post/944771</link><guid isPermaLink="true">https://forum.iobroker.net/post/944771</guid><dc:creator><![CDATA[GR]]></dc:creator><pubDate>Fri, 10 Feb 2023 23:58:53 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Fri, 10 Feb 2023 22:42:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gr" aria-label="Profile: gr">@<bdi>gr</bdi></a> sagte in <a href="/post/944769">[How-to] Node.js ioBroker richtig updaten-2021/22 Edition</a>:</p>
<blockquote>
<p dir="auto">Hab einen unsauberen 'npm tree'.</p>
</blockquote>
<p dir="auto">Nö, der schaut prima aus.</p>
]]></description><link>https://forum.iobroker.net/post/944770</link><guid isPermaLink="true">https://forum.iobroker.net/post/944770</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Fri, 10 Feb 2023 22:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Fri, 10 Feb 2023 22:41:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a><br />
Hab einen unsauberen 'npm tree'. Das sieht bei mir so aus:</p>
<pre><code>pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
│ │ │ │   ├── github-from-package@0.0.0 deduped
│   │   ├── github-from-package@0.0.0
</code></pre>
<p dir="auto">Wie bring ich das hin? Kann ich einfach auf 16 updaten?</p>
]]></description><link>https://forum.iobroker.net/post/944769</link><guid isPermaLink="true">https://forum.iobroker.net/post/944769</guid><dc:creator><![CDATA[GR]]></dc:creator><pubDate>Fri, 10 Feb 2023 22:41:30 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Fri, 03 Feb 2023 20:13:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/calherian" aria-label="Profile: calherian">@<bdi>calherian</bdi></a></p>
<p dir="auto">16 richtig installiert?</p>
<p dir="auto">Und auf welchen der siebenhundert irgendwas Einträge beziehst du dich?</p>
]]></description><link>https://forum.iobroker.net/post/940364</link><guid isPermaLink="true">https://forum.iobroker.net/post/940364</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Fri, 03 Feb 2023 20:13:05 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Fri, 03 Feb 2023 20:07:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aleks-83" aria-label="Profile: aleks-83">@<bdi>aleks-83</bdi></a> habe heute zum ersten Mal Iobroker installiert. Dein Hinweis mit dem kopieren klappt bei mir nur mit der Node 18 aber nicht mit der 16. gibts da einen anderen Trick?</p>
]]></description><link>https://forum.iobroker.net/post/940362</link><guid isPermaLink="true">https://forum.iobroker.net/post/940362</guid><dc:creator><![CDATA[Calherian]]></dc:creator><pubDate>Fri, 03 Feb 2023 20:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 15:43:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Mir kommts auch komisch vor. Ich habe vorsichtshalber auch die betreffende SD Karte nun mal aussortiert. Ich meine die lief jetzt auch schon wieder ein gutes Jahr.<br />
Ich hatte ganz am Anfang meiner ioBroker Zeit mal Probleme mit ein paar billig-SDs, das hatte sich damals ähnlich eigenartig 'angefühlt'.</p>
]]></description><link>https://forum.iobroker.net/post/899364</link><guid isPermaLink="true">https://forum.iobroker.net/post/899364</guid><dc:creator><![CDATA[Pedder007]]></dc:creator><pubDate>Sat, 26 Nov 2022 15:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 15:41:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pedder007" aria-label="Profile: pedder007">@<bdi>pedder007</bdi></a></p>
<p dir="auto">Das kann aber eigentlich nicht mit einem ordentlich ausgeführten Upgrade in Zusammenhang stehen.</p>
]]></description><link>https://forum.iobroker.net/post/899362</link><guid isPermaLink="true">https://forum.iobroker.net/post/899362</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 26 Nov 2022 15:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 15:39:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a>, nee leider nicht. Hatte sogar den ganzen PI rebootet. Irgendwas ist da ordentlich aus dem Tritt geraten. Allerdings auch bei deConz. hatte sogar ein paar remote Butttons verloren, die sich auch nicht wieder anlernen ließen.<br />
Habe mir dann eine meiner Clone-Karten genommen, aktuelles Backup drüber gespielt und dann das update nochmals von vorne durchgeführt. Beim 2.ten Mal gab's die Probleme dann nicht mehr.<br />
Aber man muss IT ja auch nicht <em>immer</em> verstehen ;-)</p>
]]></description><link>https://forum.iobroker.net/post/899360</link><guid isPermaLink="true">https://forum.iobroker.net/post/899360</guid><dc:creator><![CDATA[Pedder007]]></dc:creator><pubDate>Sat, 26 Nov 2022 15:39:31 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 15:34:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pedder007" aria-label="Profile: pedder007">@<bdi>pedder007</bdi></a> sagte in <a href="/post/899354">[How-to] Node.js ioBroker richtig updaten-2021/22 Edition</a>:</p>
<blockquote>
<p dir="auto">Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps</p>
</blockquote>
<pre><code>iobroker restart
</code></pre>
<p dir="auto">hätte vermutlich ausgereicht.</p>
]]></description><link>https://forum.iobroker.net/post/899356</link><guid isPermaLink="true">https://forum.iobroker.net/post/899356</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 26 Nov 2022 15:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 15:32:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> ok danke. Hab ich's mir immer zu umständlich gemacht ;-)<br />
Drauf gekommen bin ich gerade aber auch erst dadurch, dass ich ein update/upgrade gemacht hatte und aus Versehen den ioBroker vorher nicht gestoppt hatte. Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps ;-)<br />
Schönes WE <img src="https://forum.iobroker.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=ba16ebd4856" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://forum.iobroker.net/post/899354</link><guid isPermaLink="true">https://forum.iobroker.net/post/899354</guid><dc:creator><![CDATA[Pedder007]]></dc:creator><pubDate>Sat, 26 Nov 2022 15:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 13:42:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pedder007" aria-label="Profile: pedder007">@<bdi>pedder007</bdi></a></p>
<p dir="auto">Nö.<br />
Das läuft eh über 'das normale' full-upgrade des Betriebssystems mit.<br />
Ist ja gerade der Witz an der Sache das ganze über ein Repo reinzuziehen.<br />
Da man das ja regelmäßig macht rutscht auch regelmäßig nodeJS nach.<br />
Deswegen verstehe ich auch nie warum hier so viele mit alten Versionen rumeiern.</p>
]]></description><link>https://forum.iobroker.net/post/899276</link><guid isPermaLink="true">https://forum.iobroker.net/post/899276</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 26 Nov 2022 13:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sat, 26 Nov 2022 12:52:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: Thomas-Braun">@<bdi>Thomas-Braun</bdi></a> hallöle, ich hätte da nochmal eine generelle Frage bzgl. Node update:<br />
Spricht eigentlich etwas dagegen, das node update im Rahmen eines normalen PI updates/upgrades mit zu aktualisieren, wenn man den iobroker vorher stoppt und hinterher den Fixer drüber laufen lässt?</p>
]]></description><link>https://forum.iobroker.net/post/899253</link><guid isPermaLink="true">https://forum.iobroker.net/post/899253</guid><dc:creator><![CDATA[Pedder007]]></dc:creator><pubDate>Sat, 26 Nov 2022 12:52:08 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 23 Nov 2022 10:21:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Super danke!</p>
]]></description><link>https://forum.iobroker.net/post/897537</link><guid isPermaLink="true">https://forum.iobroker.net/post/897537</guid><dc:creator><![CDATA[Xsev]]></dc:creator><pubDate>Wed, 23 Nov 2022 10:21:31 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 23 Nov 2022 10:20:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xsev" aria-label="Profile: xsev">@<bdi>xsev</bdi></a> sagte in <a href="/post/897533">[How-to] Node.js ioBroker richtig updaten-2021/22 Edition</a>:</p>
<blockquote>
<p dir="auto">gyp ERR! find Python - version is 3.5.3 - should be &gt;=3.6.0</p>
</blockquote>
<p dir="auto">Python zu alt.<br />
System upgraden, das ist vermutlich noch ein Buster oder älteres.</p>
]]></description><link>https://forum.iobroker.net/post/897536</link><guid isPermaLink="true">https://forum.iobroker.net/post/897536</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Wed, 23 Nov 2022 10:20:20 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 23 Nov 2022 10:16:30 GMT]]></title><description><![CDATA[<p dir="auto">Ich bekomme den Zigbee Adapter leider nicht mehr grün nach dem nodes Update (V16). Wenn ich den <em>npm install --production</em> ausführe bekomme ich folgende Fehlermeldung. Der Adapter läuft auf einem Slave Raspi.</p>
<pre><code>pi@Slaveserver1:/opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings $ npm install --production               npm WARN config production Use `--omit=dev` instead.

&gt; @serialport/bindings@9.2.8 install
&gt; prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install warn install No prebuilt binaries found (target=16.18.1 runtime=node arch=arm libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using node-gyp@9.1.0
gyp info using node@16.18.1 | linux | arm
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - executable path is "/usr/bin/python3"
gyp ERR! find Python - version is "3.5.3"
gyp ERR! find Python - version is 3.5.3 - should be &gt;=3.6.0
gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - executable path is "/usr/bin/python"
gyp ERR! find Python - version is "2.7.13"
gyp ERR! find Python - version is 2.7.13 - should be &gt;=3.6.0
gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
gyp ERR! stack     at PythonFinder.&lt;anonymous&gt; (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
gyp ERR! stack     at ChildProcess.exithandler (node:child_process:394:7)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at maybeClose (node:internal/child_process:1100:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
gyp ERR! node -v v16.18.1
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok
npm ERR! code 1
npm ERR! path /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
npm ERR! command failed
npm ERR! command sh -c -- prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/iobroker/.npm/_logs/2022-11-23T10_08_21_335Z-debug-0.log

</code></pre>
]]></description><link>https://forum.iobroker.net/post/897533</link><guid isPermaLink="true">https://forum.iobroker.net/post/897533</guid><dc:creator><![CDATA[Xsev]]></dc:creator><pubDate>Wed, 23 Nov 2022 10:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 16 Nov 2022 21:50:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> sagte in <a href="/post/892867">[How-to] Node.js ioBroker richtig updaten-2021/22 Edition</a>:</p>
<blockquote>
<p dir="auto">Was sagt denn der Part etwas davor zu nodejs/npm?</p>
</blockquote>
<pre><code>*** NodeJS-Installation ***

/usr/bin/nodejs         v18.12.1
/usr/bin/node           v18.12.1
/usr/bin/npm            8.19.2

nodejs:
  Installed: 18.12.1-deb-1nodesource1
  Candidate: 18.12.1-deb-1nodesource1
  Version table:
 *** 18.12.1-deb-1nodesource1 500
        500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     12.22.9~dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

</code></pre>
<p dir="auto">Mach dir keine weiteren Gedanken. Das war eine Testinstallation unter wsl und ubuntu. Ich war nur über die npm 9 gestolpert.</p>
<p dir="auto">OT:<br />
ioBroker läuft unter wsl dem Anschein nach übrigens - also admin und core. Ich habe aber keine weiteren Adapter getestet. Insgesamt ist das aber eine Umgebung mit der ich mich nicht anfreunden kann. Die Einbindung ins Netzwerk ist totaler Krampf.</p>
]]></description><link>https://forum.iobroker.net/post/893260</link><guid isPermaLink="true">https://forum.iobroker.net/post/893260</guid><dc:creator><![CDATA[OstfrieseUnterwegs]]></dc:creator><pubDate>Wed, 16 Nov 2022 21:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 16 Nov 2022 12:09:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ostfrieseunterwegs" aria-label="Profile: ostfrieseunterwegs">@<bdi>ostfrieseunterwegs</bdi></a></p>
<p dir="auto">Das steht aber auch:</p>
<pre><code>The recommended versions for ioBroker are nodeJS v16 / npm v8!
Don't trust the doctor if he recommends different versions!
</code></pre>
<p dir="auto">Ich glaube ich nehme den Check wieder raus, der verwirrt mehr als das er was nutzt.<br />
Wäre auch eher was für den iob_diag-Thread.</p>
<p dir="auto">Was sagt denn der Part etwas davor zu nodejs/npm?</p>
]]></description><link>https://forum.iobroker.net/post/892867</link><guid isPermaLink="true">https://forum.iobroker.net/post/892867</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Wed, 16 Nov 2022 12:09:18 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Wed, 16 Nov 2022 12:01:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: Thomas-Braun">@<bdi>Thomas-Braun</bdi></a><br />
Dein iob_diag sagte meine nodejs 16 und npm 8 sind nicht OK.<br />
Hab dann ein node upgrade deinem [how-to] folgend gemacht bekomme aber immer noch npm 8.19.2. Komplettes apt remove nodejs und neu installieren hat auch nichts geändert.<br />
iob_diag</p>
<pre><code>Check                               Value   Recommendation/Notes
npm ping                            ok
npm -v                              not ok  Use npm v9.1.1
node -v                             ok      current: v18.12.1, recommended: v18.12.1
npm config get registry             ok      using default registry (https://registry.npmjs.org/)
which git                           ok      /usr/bin/git
Perms check on cached files         ok
Perms check on local node_modules   ok
Perms check on global node_modules  ok
Perms check on local bin folder     ok
Perms check on global bin folder    ok
Verify cache contents               ok      verified 6 tarballs
npm ERR! Some problems found. See above for recommendations.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/iobroker/.npm/_logs/2022-11-16T11_59_07_124Z-debug-0.log

The recommended versions for ioBroker are nodeJS v16 / npm v8!
Don't trust the doctor if he recommends different versions!
</code></pre>
<p dir="auto">Oder ist das ein Thema für den iob_diag thread?</p>
]]></description><link>https://forum.iobroker.net/post/892864</link><guid isPermaLink="true">https://forum.iobroker.net/post/892864</guid><dc:creator><![CDATA[OstfrieseUnterwegs]]></dc:creator><pubDate>Wed, 16 Nov 2022 12:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sun, 30 Oct 2022 19:18:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Soll ich dann einen neuen post aufmachen am besten?</p>
]]></description><link>https://forum.iobroker.net/post/882669</link><guid isPermaLink="true">https://forum.iobroker.net/post/882669</guid><dc:creator><![CDATA[JuStForFun]]></dc:creator><pubDate>Sun, 30 Oct 2022 19:18:02 GMT</pubDate></item><item><title><![CDATA[Reply to [How-to] Node.js ioBroker richtig updaten-2021&#x2F;22 Edition on Sun, 30 Oct 2022 19:17:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justforfun" aria-label="Profile: justforfun">@<bdi>justforfun</bdi></a></p>
<p dir="auto">Das ist ein anderes Thema.</p>
]]></description><link>https://forum.iobroker.net/post/882668</link><guid isPermaLink="true">https://forum.iobroker.net/post/882668</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sun, 30 Oct 2022 19:17:34 GMT</pubDate></item></channel></rss>