NEWS
Iobroker Windows Installation aktualisieren
-
Hallo, es gibt ja von @sigi234
Folgenden Beschreibung:
https://forum.iobroker.net/topic/51574/windows-installation-update
Komme nicht ganz klar.
Muss man notgedrungen den installer nutzen?
Ist generell ne Docker Lösung sinnvoller?
Habe ja schon im Discord dazu die Info von @Dutchman bekommen.
Sieht das die Mehrheit auch so, dass man anstatt direkt auf Windows eher einen docker auf Windows laufen lassen sollte, welcher dann iobroker beinhaltet? -
@ben1983 Die Beschreibung ist für eine Windows Neuinstallation, mit dem Installer...
Ich nutze den Installer seit es ihn gibt - keine Probleme...
Für ein js-Update brauchst du nur die letzten 4 Punkte von Schritt 1.
Und nur falls dann mal die Konsole nicht mehr startet Schritt 2. (braucht man aber nicht jedes mal, warum auch immer). -
@ben1983 Die Beschreibung ist für eine Windows Neuinstallation, mit dem Installer...
Ich nutze den Installer seit es ihn gibt - keine Probleme...
Für ein js-Update brauchst du nur die letzten 4 Punkte von Schritt 1.
Und nur falls dann mal die Konsole nicht mehr startet Schritt 2. (braucht man aber nicht jedes mal, warum auch immer). -
@ben1983 Die Beschreibung ist für eine Windows Neuinstallation, mit dem Installer...
Ich nutze den Installer seit es ihn gibt - keine Probleme...
Für ein js-Update brauchst du nur die letzten 4 Punkte von Schritt 1.
Und nur falls dann mal die Konsole nicht mehr startet Schritt 2. (braucht man aber nicht jedes mal, warum auch immer).@Ben1983 das sieht aber anders aus als das was dein Vorredner geschrieben hat:
Für ein js-Update brauchst du nur die letzten 4 Punkte von Schritt 1.
Sieht das die Mehrheit auch so, dass man anstatt direkt auf Windows eher einen docker auf Windows laufen lassen sollte, welcher dann iobroker beinhaltet?
Wäre nice, aber WSL2 kann keine USB-Geräte durchreichen. (zumindest war das zuletzt so als ich es versucht hab).
-
@Ben1983 das sieht aber anders aus als das was dein Vorredner geschrieben hat:
Für ein js-Update brauchst du nur die letzten 4 Punkte von Schritt 1.
Sieht das die Mehrheit auch so, dass man anstatt direkt auf Windows eher einen docker auf Windows laufen lassen sollte, welcher dann iobroker beinhaltet?
Wäre nice, aber WSL2 kann keine USB-Geräte durchreichen. (zumindest war das zuletzt so als ich es versucht hab).
@alcalzone habe jetzt iobroker komplett runter geschmissen und neu installiert. (NachAnleitung).
Leider bekomme ich keine Verbindung zu port 8081
Kann mir da jemand helfen, was da wieder los ist? -
@alcalzone habe jetzt iobroker komplett runter geschmissen und neu installiert. (NachAnleitung).
Leider bekomme ich keine Verbindung zu port 8081
Kann mir da jemand helfen, was da wieder los ist?iobroker list instances -
iobroker list instances@thomas-braun sagte in Iobroker Windows Installation aktualisieren:
iobroker list instances
********************************************************** *** Welcome to ioBroker. *** *** *** *** Type 'iobroker help' for list of instructions. *** *** For more help see *** *** https://github.com/ioBroker/ioBroker.docs *** ********************************************************** Your environment has been set up for using Node.js 16.14.0 (x64) and npm. C:\Program Files\iobroker\SmartHome>iobroker list instances system.adapter.admin.0 : admin : Server(SmartHome) - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.discovery.0 : discovery : Server(SmartHome) - enabled system.adapter.info.0 : info : Server(SmartHome) - enabled + instance is alive C:\Program Files\iobroker\SmartHome>
Die Versionist auch korrekt? -
@thomas-braun sagte in Iobroker Windows Installation aktualisieren:
iobroker list instances
********************************************************** *** Welcome to ioBroker. *** *** *** *** Type 'iobroker help' for list of instructions. *** *** For more help see *** *** https://github.com/ioBroker/ioBroker.docs *** ********************************************************** Your environment has been set up for using Node.js 16.14.0 (x64) and npm. C:\Program Files\iobroker\SmartHome>iobroker list instances system.adapter.admin.0 : admin : Server(SmartHome) - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.discovery.0 : discovery : Server(SmartHome) - enabled system.adapter.info.0 : info : Server(SmartHome) - enabled + instance is alive C:\Program Files\iobroker\SmartHome>
Die Versionist auch korrekt?@ben1983
Bitte keine Schwarz/weiß Bilder aus dem Terminal. Text auch als Text in CodeTags setzen. -
@ben1983
Bitte keine Schwarz/weiß Bilder aus dem Terminal. Text auch als Text in CodeTags setzen.@thomas-braun Sorry, habe ich gerade geändert
-
@thomas-braun Sorry, habe ich gerade geändert
@ben1983
Der admin läuft nicht.iobroker start admin -
@ben1983
Der admin läuft nicht.iobroker start admin@thomas-braun keine veränderung
C:\Program Files\iobroker\SmartHome>iobroker start admin C:\Program Files\iobroker\SmartHome>iobroker list instances system.adapter.admin.0 : admin : Server(SmartHome) - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.discovery.0 : discovery : Server(SmartHome) - enabled system.adapter.info.0 : info : Server(SmartHome) - enabled + instance is alive C:\Program Files\iobroker\SmartHome> -
@ben1983
Der admin läuft nicht.iobroker start admin@thomas-braun Aber node.js 16.4 ist ok?
-
@ben1983
Der admin läuft nicht.iobroker start admin@thomas-braun

ich glaube hiernach lief es nicht mehr -
@thomas-braun Aber node.js 16.4 ist ok?
@ben1983 node@14 ist die empfohlene Version.
Warum der admin nicht startet steht evtl. im log drin.
Unter Linux so:iobroker logs --watchOb das unter Windows auch funktioniert musst du mal ausprobieren.
-
@ben1983 node@14 ist die empfohlene Version.
Warum der admin nicht startet steht evtl. im log drin.
Unter Linux so:iobroker logs --watchOb das unter Windows auch funktioniert musst du mal ausprobieren.
@thomas-braun sagte in Iobroker Windows Installation aktualisieren:
iobroker logs --watch
C:\Program Files\iobroker\SmartHome>iobroker logs --watch 2022-02-28 16:26:32.675 - info: host.Server(SmartHome) instance system.adapter.info.0 started with pid 7420 2022-02-28 16:26:39.195 - error: host.Server(SmartHome) Caught by controller[0]: TypeError: Class extends value undefined is not a constructor or null 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\agent.js:114:44) 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\index.js:5:33) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\agent.js:161:25) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: TypeError: Class extends value undefined is not a constructor or null 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\agent.js:114:44) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\index.js:5:33) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\agent.js:161:25)geht nochellen lang
-
@thomas-braun sagte in Iobroker Windows Installation aktualisieren:
iobroker logs --watch
C:\Program Files\iobroker\SmartHome>iobroker logs --watch 2022-02-28 16:26:32.675 - info: host.Server(SmartHome) instance system.adapter.info.0 started with pid 7420 2022-02-28 16:26:39.195 - error: host.Server(SmartHome) Caught by controller[0]: TypeError: Class extends value undefined is not a constructor or null 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\agent.js:114:44) 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.196 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.197 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\index.js:5:33) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.198 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.199 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\agent.js:161:25) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: TypeError: Class extends value undefined is not a constructor or null 2022-02-28 16:26:39.200 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\agent.js:114:44) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.201 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\socks-proxy-agent\dist\index.js:5:33) 2022-02-28 16:26:39.202 - error: host.Server(SmartHome) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-28 16:26:39.203 - error: host.Server(SmartHome) Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-28 16:26:39.204 - error: host.Server(SmartHome) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\agent.js:161:25)geht nochellen lang
-
Your environment has been set up for using Node.js 16.14.0 (x64) and npm.Ob da was krumm ist kann ich für Windooze nicht sagen, hab ich keine Ahnung von.
-
@thomas-braun Aber node.js 16.4 ist ok?
@ben1983 sagte in Iobroker Windows Installation aktualisieren:
@thomas-braun Aber node.js 16.4 ist ok?
Nein, 14........
Startet der Host unter Services?
-
Your environment has been set up for using Node.js 16.14.0 (x64) and npm.Ob da was krumm ist kann ich für Windooze nicht sagen, hab ich keine Ahnung von.
@thomas-braun ich schmeis es nochmal runter.
Wo bekomme ich denn die 14er Version her?beinode.js finde ich nur di latest? -
@thomas-braun ich schmeis es nochmal runter.
Wo bekomme ich denn die 14er Version her?beinode.js finde ich nur di latest?https://nodejs.org/en/download/releases/
Aber ich bin hier raus. Von dem komischen Windows hab ich keinen Plan.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
