NEWS
Worx Adapter läuft nicht "File index.html not found"
-
Hallo, habe heute den Worx Adapter installiert
und beim öffnen der Einstellungen des Adapters wird nur "File index.html not found" angezeigt. Adapter ist gelb. Kann mir da jemand weiterhelfen?
Log zeigt Folgendes... -
@bill-s-preston Schon probiert nochmal zu löschen und neuzuinstallieren
-
Deine Admin Version scheint zu alt zu sein.
Bin gerade am Handy aber wir sind meine ich schon weit über V6. -
Ich empfehle das komplette System auf den aktuellen Stand zu bringen, wenn allein der Admin veraltet ist, ist''s der Rest bestimmt auch..??
Also mal her mit den Infos, wie Node Versionen, Js-Controller und dem ganzen System.. das kann ja alles und nix sein.. -
-
======================= SUMMARY =======================
v.2023-04-16Operatingsystem: Raspbian GNU/Linux 10 (buster)
Kernel: 5.10.103-v7l+
Installation: Native
Timezone: Europe/Berlin (CEST, +0200)
User-ID: 1000
X-Server: true
Boot Target: graphical.targetPending OS-Updates: 89
Pending iob updates: 26Nodejs-Installation: /usr/bin/nodejs v16.19.1
/usr/bin/node v16.19.1
/usr/bin/npm 8.19.3
/usr/local/bin/npx 6.14.12Recommended versions are nodejs 18.x.y and npm 9.x.y
*** nodejs is NOT correctly installed ***MEMORY:
total used free shared buff/cache available
Mem: 3.8G 2.3G 311M 265M 1.2G 1.7G
Swap: 99M 53M 46M
Total: 3.9G 2.4G 357MActive iob-Instances: 35
Active repo(s): Stable (default)ioBroker Core: js-controller 4.0.24
admin 5.1.28ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonlStatus admin and web instance:
- system.adapter.admin.0 : admin : iobroker - enabled, port: 7777, bind: 0.0.0.0, run as: admin
- system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 13650
States: 8853Size of iob-Database:
21M /opt/iobroker/iobroker-data/objects.jsonl
9.7M /opt/iobroker/iobroker-data/objects.json.migrated
9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated
9.4M /opt/iobroker/iobroker-data/states.jsonl
1.8M /opt/iobroker/iobroker-data/states.json.migrated
1.8M /opt/iobroker/iobroker-data/states.json.bak.migrated
Some problems detected, please run iob fix and try to have them fixed
Nodejs ist anscheinend nicht korrekt installiert
-
@bill-s-preston sagte in Worx Adapter läuft nicht "File index.html not found":
buster
Muss auf 'Bullseye' / Debian 11 aktualisiert werden.
X-Server: true
Boot Target: graphical.targetDas ganze dann ohne Desktop, nur Kommandozeile.
Pending OS-Updates: 89
Pending iob updates: 26DRINGEND alles auf Stand halten.
*** nodejs is NOT correctly installed ***
Richtig, npx liegt daneben.
Some problems detected, please run 'iob fix' and try to have them fixed
Solltest du neben den anderen Dingen auch noch machen.
-
Scheint ja ein bisschen mehr im Argen zu sein.
Ich werde mal anfangen aufzuräumen. -
@thomas-braun was meinst genau du mit "npx liegt daneben" ?
-
/usr/local/bin/npx 6.14.12
ist der falsche Pfad. Das Programm landet dort nur wenn es händisch installiert wurde und bleibt dann da liegen. Eine ordentliche Installation via Paketmanager landet (wie bei den drei anderen Programmen zu sehen) in /usr/bin
Schau in meiner Signatur nach dem nodejs-HowTo, da steht es genauer drin. Und auch wie man das fixt.
-
So, npx liegt jetzt in /usr/bin/
Das Update vom Admin Adapter funktioniert nicht.
Nachdem ich auf der Info-Seite vom iobroker admin aktualisieren gestartet habe, ist iobroker nicht mehr erreichbar uns muss erst per "iobroker start admin" wieder gestartet werden. Die Version bleibt danach aber die alte (5.1.28).Habe irgendwo gelesen, dass die NodeJS version zu aktuell sein kann und man erstmal downgraden muss für eine höhere admin version.
-
Hast du die Hausaufgaben erledigt?
iob diag
sagt nun?
Mach die Updates nicht aus der GUI heraus sondern über die Kommandozeile. Da sieht man u. U. genaueres.
iob update iob upgrade admin --debug
schaut wie aus?
-
"Hast du die Hausaufgaben erledigt?"
Noch nicht ganz. Ich muss noch auf Bullseye' / Debian 11 aktualisieren."Mach die Updates nicht aus der GUI heraus sondern über die Kommandozeile. Da sieht man u. U. genaueres."
So hat es geklappt. Tausend Dank! Konnte den Admin Adapter aktualisieren und den Worx Adapter installieren.Wenn ich Zeit finde werde ich das komplette System updaten.
Danke nochmal! -
-
======================= SUMMARY =======================
v.2023-04-16Operatingsystem: Raspbian GNU/Linux 10 (buster)
Kernel: 5.10.103-v7l+
Installation: Native
Timezone: Europe/Berlin (CEST, +0200)
User-ID: 1000
X-Server: true
Boot Target: graphical.targetPending OS-Updates: 13
Pending iob updates: 22Nodejs-Installation: /usr/bin/nodejs v16.20.0
/usr/bin/node v16.20.0
/usr/bin/npm 8.19.4
/usr/bin/npx 8.19.4Recommended versions are nodejs 18.x.y and npm 9.x.y
Your nodejs installation is correctMEMORY:
total used free shared buff/cache available
Mem: 3.8G 2.5G 168M 106M 1.2G 1.5G
Swap: 99M 69M 30M
Total: 3.9G 2.6G 198MActive iob-Instances: 36
Active repo(s): Stable (default)ioBroker Core: js-controller 4.0.24
admin 6.3.5ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonlStatus admin and web instance:
- system.adapter.admin.0 : admin : iobroker - enabled, port: 7777, bind: 0.0.0.0, run as: admin
- system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 14252
States: 9379Size of iob-Database:
22M /opt/iobroker/iobroker-data/objects.jsonl
9.7M /opt/iobroker/iobroker-data/objects.json.migrated
9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated
4.9M /opt/iobroker/iobroker-data/states.jsonl
1.8M /opt/iobroker/iobroker-data/states.json.migrated
1.8M /opt/iobroker/iobroker-data/states.json.bak.migrated=================== END OF SUMMARY ====================
pi@iobroker:~ $
-
Ist ja immer noch nicht aktualisiert.
Updates einspielen!!!Warum läuft der Admin eigentlich auf einem anderem als dem vorgesehenen Port?