NEWS
{ESP Home} Webinterface wird nicht geladen
-
@dutchman
Das war meine schuld. hab des Falsche Betriebssystem installiert.
Aber jzt hab ich nen anderen Fehleresphome.0 2023-11-30 21:10:53.970 error Exception-Code: MODULE_NOT_FOUND: Cannot find module '@mongodb-js/zstd-linux-arm-gnueabihf'Require stack:- /opt/iobroker/node_modules/@mongodb-js/zstd/index.js esphome.0 2023-11-30 21:10:53.968 error Error: Cannot find module '@mongodb-js/zstd-linux-arm-gnueabihf'Require stack:- /opt/iobroker/node_modules/@mongodb-js/zstd/index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) at Function.Module._load (node:internal/modules/cjs/loader:975:27) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/opt/iobroker/node_modules/@mongodb-js/zstd/index.js:131:29) at Module._compile (node:internal/modules/cjs/loader:1356:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10) at Module.load (node:internal/modules/cjs/loader:1197:32) at Function.Module._load (node:internal/modules/cjs/loader:1013:12) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:202:29) esphome.0 2023-11-30 21:10:53.967 error unhandled promise rejection: Cannot find module '@mongodb-js/zstd-linux-arm-gnueabihf'Require stack:- /opt/iobroker/node_modules/@mongodb-js/zstd/index.js esphome.0 2023-11-30 21:10:53.964 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). esphome.0 2023-11-30 21:10:53.806 info [Error caught and send to Sentry, thank you collaborating!] error: Error: Cannot find module '@mongodb-js/zstd-linux-arm-gnueabihf'Require stack:- /opt/iobroker/node_modules/@mongodb-js/zstd/index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) at Function.Module._load (node:internal/modules/cjs/loader:975:27) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/opt/iobroker/node_modules/@mongodb-js/zstd/index.js:131:29) at Module._compile (node:internal/modules/cjs/loader:1356:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10) at Module.load (node:internal/modules/cjs/loader:1197:32) at Function.Module._load (node:internal/modules/cjs/loader:1013:12) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:202:29) esphome.0 2023-11-30 21:10:53.682 info Native Integration of ESPHome Dashboard enabled esphome.0 2023-11-30 21:10:53.604 info starting. Version 0.5.0-beta.8 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.19.0, js-controller: 5.0.17 esphome.0 2023-11-30 21:10:29.934 info terminating
-
@rackermann sagte in {ESP Home} Webinterface wird nicht geladen:
hab des Falsche Betriebssystem installiert.
Welches hast du denn jetzt installiert?
Auf meinem reinen 64bit ARM läuft es nämlich ohne Zicken.
echad@chet:/opt/iobroker $ locate mongodb-js /opt/iobroker/node_modules/@mongodb-js /opt/iobroker/node_modules/@mongodb-js/zstd /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-gnu /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-gnu/README.md /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-gnu/package.json /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-gnu/zstd.linux-arm64-gnu.node /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-musl /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-musl/README.md /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-musl/package.json /opt/iobroker/node_modules/@mongodb-js/zstd-linux-arm64-musl/zstd.linux-arm64-musl.node /opt/iobroker/node_modules/@mongodb-js/zstd/LICENSE.md /opt/iobroker/node_modules/@mongodb-js/zstd/README.md /opt/iobroker/node_modules/@mongodb-js/zstd/index.d.ts /opt/iobroker/node_modules/@mongodb-js/zstd/index.js /opt/iobroker/node_modules/@mongodb-js/zstd/package.json echad@chet:/opt/iobroker $
Was sagt
iob diag
da bei dir?
-
@thomas-braun
Zusammenfassung oder Komplett?Zusammenfassung
======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi6-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 2 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 8.2G 603M 7.0G 1.3M 716M 7.6G Swap: 104M 0B 104M Total: 8.3G 603M 7.1G Active iob-Instances: 6 Active repo(s): beta ioBroker Core: js-controller 5.0.17 admin 6.10.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Objects: 1123 States: 967 Size of iob-Database: 30M /opt/iobroker/iobroker-data/objects.jsonl 1.6M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@rackermann sagte in {ESP Home} Webinterface wird nicht geladen:
Vermutlich kommt das bei dir daher:
Kernel: aarch64 Userland: armhf
Das ist ein Mix aus einem 64Bit-Kernel mit einem 32Bit 'Userland'. Das kann unter Umständen solch schrägen Abhänigigkeiten fabrizieren. Mein System sieht an der Stelle nämlich so aus:
Kernel: aarch64 Userland: arm64
-
@thomas-braun
Neu aufsetzen oder gibt es eine andere möglichkeit des zu testen? -
Ich würde es so oder so neuaufsetzen. Dann hast du an der Stelle Ruhe.
-
Wobei ich nicht verstehe, wie man auf einem Pi5 an solch eine Installation kommt? Das kann ja erst kürzlich installiert worden sein, warum nimmt man da nicht gleich das 64Bit Image?
-
@rackermann
Ich habe ähnliche Probleme und ebenfallsKernel: aarch64 Userland: armhf
Hat das neu Aufsetzen bei dir Abhilfe geschaffen?
-
Bei mir war das Problem Node.js: v16.... als ich es auf Node.js: v18.19.0 geupdate hab, war die ESPHome oberfläche sichtbar.
-
Bei nodejs fährt man selbstverständlich eh immer die vorgesehene und empfohlene Version.
-
Ja jetzt wo ich das kapiert hab, ist es logisch
Hätte aber ruhig ein Hinweis kommen können, wieSie verwenden eine zu alte Verion von nodejs
Ich hab damals auf Github die Seite bestimmt 10x gelesen, aber das muss ich 10x ignoriert haben
-
@berndsolar13 nodejs ist aktuell
der Adapter ansich läuft auch solange das Dashboard deaktiviert ist
wenn es aktiviert wird stürzt der Adapter ab -
ok, dann ist es ein anderes Problem, bei mir kam die Webobfläche nicht, kam immer Verbindung wurde abgelehnt.
Es gibt aber einen Trick 17
Wenn du zum Beispiel docker nutzt, dann kannst du ESPHome in einem weiteren Container nutzen, und es dann so starten. Vielleicht hilft es. -
Kommt halt nur wenn das auch programmiert wurde. Aber losgelöst davon hält man das ganze auch eigenständig auf dem aktuellen Stand
-
ist richtig sollte man
Ich bin mehr so, "never touch a running system" -
@berndsolar13 sagte in {ESP Home} Webinterface wird nicht geladen:
docker
das werd ich als alternative mal testen
-
Und 'never tatsch irgendwas' ist das falscheste was man machen kann.
-
Und von mir die übliche Frage
- Um welche Adapterversion gehet es bei dem heute geschildertern Problemen?
- Welche js-controller / node version ist im Einsatz?
- Da ihr ein Problem zu haben scheint, gibt es dazu ein Issue beim Adapter ? Ansonsten bitte nicht wundern wenn niemand einem Fehler nachgeht.
-
@mcm57 Einen Issue gibts noch nicht, habe noch bedenken dass es an meiner begrenzten Kompetenz liegt
Adapterversion v0.5.0-beta.8
Node.js 18.19.0
NPM 10.2.3habe mal auf meiner NAS im Docker das Dashboard laufen da funktioniert es
Mit angabe von IP und Port auch über Iobroker
Komisch dass das Dashboard direkt im IoBroker zum Absturz führt
Werd den Adapter nochmal platt machen und neu installieren, wenn es dann nicht geht ist das Problem vermutlich nicht bei mir dann stelle ich einen Issue -
Ok,
Weiß nicht ob @Dutchman dieses Topic sieht / gesehen hat.Ansonsten würd ich raten den Test Topic zu verwenden:
https://forum.iobroker.net/topic/42741/esphome-beta-release/591
Dort liest er sicher mit.