NEWS
Fehler bei Neuinstallation (File index.html not found)
-
@shiro82 sagte in Fehler bei Neuinstallation (File index.html not found):
da ist meines Wissens alles so wie es sein soll.
Nimm das Raspberry OS Lite Image und dann als erstes nur noch
curl -sLf https://iobroker.net/install.sh | bash -
Fertig und läuft.
CANVAS wurde dann von mir versucht zu installieren (mehrfach) auch ältere Versionen wurden versucht.
Offenbar falsch, ist aber eh nicht erforderlich. Der Installer bringt das mit.
-
@thomas-braun
so kannte ich das auch... ist ja nicht mein erster PI mit Iobroker aber ich mach das jetzt noch einmal.
ich poste dann meinen Vorgang. -
ich habe nun extra eine neue SD Karte genommen. Mit dem Tool: "Raspberry Pi Imager v1.6.2" habe ich nun das PI OS Lite auf die SD kopiert.
Damit SSH gleich aktiviert und ich kann die Karte in meinen PI stecken und mit mit meinem MAC per SSH verbinden.
ich bin nun mit dem User PI verbunden und für die Befehle nacheinander aus:curl -sLf https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs curl -sLf https://iobroker.net/install.sh | bash -
bei der Installation von IOBROKER im Step 3/4 bekomme ich einige Warnungen ein paar Error
========================================================================== Installing ioBroker (3/4) ========================================================================== In file included from ../../nan/nan.h:58, from ../src/main.cpp:3: /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(diskusage, Init) ^~~~~~~~~~~ In file included from ../../nan/nan.h:58, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~ ../src/serialport.cpp: At global scope: ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^ ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:58, from ../src/./serialport.h:13, from ../src/serialport.cpp:1: /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~ ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker ioBroker wants to make sure to deliver the most stable smart home system. To allow this we decided to implement an automatic error and crash reporting solution into the js-controller and also into adapters. THIS REPORTING WILL BE ENABLED WITH THE NEXT START OF YOUR IOBROKER! For any error that leads to the crash of the js-controller or one of the relevant adapters the error details are send to a server. For the js-controller and core adapters this server is located and operated in germany. For community adapters please check the Github Readme of the affected adapter for details which Sentry server is used. If you want to disable the error reporting you can use the command 'iobroker plugin disable sentry' This command will also make sure that no adapter that runs on this host will send crash reporting data to sentry. ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service. Autostart enabled! Fixing directory permissions... ========================================================================== ioBroker was installed successfully Open http://192.168.2.18 192.168.2.24:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console!
Aber am schluss steht, dass iobroker installiert wurde.
-
@shiro82 sagte in Fehler bei Neuinstallation (File index.html not found):
ich bin nun mit dem User PI verbunden und für die Befehle nacheinander aus:
Ich hatte doch geschrieben, du sollst NUR den Einzeiler benutzen.
-
@homoran
Stimmt
Sorry. habe ich eben geändert. ist natürlich das PI OS Lite drauf -
@thomas-braun
ohne NodeJS? -
@shiro82 sagte in Fehler bei Neuinstallation (File index.html not found):
und mit mit meinem MAC
ach du grüne Neune - Äpfel!
Da kann es bei gepackten Dateien immer mal wieder zu seltsamen Dingen kommen!
-
Ja, ohne nodeJS. Auch das bringt der Installer mit auf das System.
bekomme ich einige Warnungen ein paar Error
Welche Fehler? Ich sehe da keine.
-
@shiro82 sagte in Fehler bei Neuinstallation (File index.html not found):
einige Warnungen ein paar Error
hab ich auf die Schnelle nicht wirklich welche gefunden
-
@homoran
Ich als NOOB Linux auskenner habe das als Fehler interpretiert. Habt bitte Nachsicht. Ich bin doch nur ein Datacenter Windows Admin../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
im IoBroker GUI habe ich aber auch gleich wieder Fehler:
admin.0 8291 2021-10-31 18:08:26.708 error error admin.0 8291 2021-10-31 18:08:26.694 error failed connection to socket.io from ::ffff:192.168.2.125: admin.0 8291 2021-10-31 18:08:23.671 info Use link "http://localhost:8081" to configure. admin.0 8291 2021-10-31 18:08:23.669 info http server listening on port 8081 admin.0 8291 2021-10-31 18:08:23.267 info received all objects admin.0 8291 2021-10-31 18:08:22.709 info requesting all objects admin.0 8291 2021-10-31 18:08:22.708 info requesting all states admin.0 8291 2021-10-31 18:08:22.627 info starting. Version 5.1.25 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.7, js-controller: 3.3.18 host.iobroker 2021-10-31 18:08:19.060 info instance system.adapter.admin.0 started with pid 8291 host.iobroker 2021-10-31 18:08:16.593 info instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) admin.0 8150 2021-10-31 18:08:15.975 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason admin.0 8150 2021-10-31 18:08:15.972 info terminating admin.0 8150 2021-10-31 18:08:15.970 info terminating http server on port 8081 host.iobroker 2021-10-31 18:08:15.968 info stopInstance system.adapter.admin.0 send kill signal admin.0 8150 2021-10-31 18:08:15.959 info Got terminate signal TERMINATE_YOURSELF host.iobroker 2021-10-31 18:08:15.937 info stopInstance system.adapter.admin.0 (force=false, process=true) host.iobroker 2021-10-31 18:06:55.563 info Updating repository "default" under "http://download.iobroker.net/sources-dist.json" backitup.0 8217 2021-10-31 18:04:39.624 info [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 8217 2021-10-31 18:04:39.520 info starting. Version 2.1.17 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.7, js-controller: 3.3.18 host.iobroker 2021-10-31 18:04:36.575 info instance system.adapter.backitup.0 started with pid 8217 discovery.0 8202 2021-10-31 18:04:35.481 info starting. Version 2.7.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v12.22.7, js-controller: 3.3.18 admin.0 8150 2021-10-31 18:04:32.888 warn Repository cannot be read admin.0 8150 2021-10-31 18:04:32.872 info State value to set for "admin.0.info.lastUpdateCheck" has to be type "number" but received type "string" admin.0 8150 2021-10-31 18:04:32.799 info Use link "http://localhost:8081" to configure. admin.0 8150 2021-10-31 18:04:32.797 info http server listening on port 8081 admin.0 8150 2021-10-31 18:04:32.659 info received all objects host.iobroker 2021-10-31 18:04:32.605 info instance system.adapter.discovery.0 started with pid 8202 admin.0 8150 2021-10-31 18:04:32.478 info requesting all objects admin.0 8150 2021-10-31 18:04:32.476 info requesting all states admin.0 8150 2021-10-31 18:04:32.392 info starting. Version 5.1.25 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.7, js-controller: 3.3.18 host.iobroker 2021-10-31 18:04:28.628 info instance system.adapter.admin.0 started with pid 8150 host.iobroker 2021-10-31 18:04:28.532 info starting 3 instances host.iobroker 2021-10-31 18:04:28.509 info 3 instances found host.iobroker 2021-10-31 18:04:27.950 info added notifications configuration of host host.iobroker 2021-10-31 18:04:27.829 info connected to Objects and States host.iobroker 2021-10-31 18:04:27.481 info ip addresses: 192.168.2.18 2003:cd:a715:c600:172d:c79:1684:c4f9 fe80::9aca:51b0:278d:30d4 192.168.2.24 2003:cd:a715:c600:4f68:a037:426a:1eaf fe80::9814:f5d6:f9fe:a2b9 host.iobroker 2021-10-31 18:04:27.479 info hostname: iobroker, node: v12.22.7 host.iobroker 2021-10-31 18:04:27.478 info Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
-
Du scheinst da einen Knoten in deinem Netzwerk zu haben.
iobroker list instances
ioBroker-Admin mit Verschlüsselung/Zertifikaten aufgesetzt?
-
@thomas-braun sagte in Fehler bei Neuinstallation (File index.html not found):
iobroker list instances
das ist eine Einfache Fritzbox wo nichts drauf konfiguriert ist. ich wüsste nicht was da nicht richtig sein soll.
Es ist auch keine Verschlüsselung oder ein Zertifikat drauf.pi@iobroker:~ $ iobroker list instances + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.discovery.0 : discovery : iobroker - enabled + instance is alive
-
iobroker als Hostname ist jetzt auch nicht optimal.
Kommst du denn jetzt auf das Webinterface drauf?
-
@thomas-braun
ja die UI Funktioniert. mit Fehler im LOG -
Welcher denn???
-
@thomas-braun sagte in Fehler bei Neuinstallation (File index.html not found):
Welcher denn???
Geheim!
-
aber das hatte ich doch oben geschrieben ihr lieben
admin.0 8150 2021-10-31 18:04:32.888 warn Repository cannot be read
admin.0 8291 2021-10-31 18:08:26.694 error failed connection to socket.io from ::ffff:192.168.2.125:
admin.0 8291 2021-10-31 18:08:23.671 info Use link "http://localhost:8081" to configure. -
-
@thomas-braun sagte in Fehler bei Neuinstallation (File index.html not found):
iobroker update -i
pi@iobroker:~ $ iobroker update -i Used repository: default hash unchanged, use cached sources update done Adapter "admin" : 5.1.25 , installed 5.1.25 Adapter "backitup" : 2.1.17 , installed 2.1.17 Adapter "discovery" : 2.7.0 , installed 2.7.0 Controller "js-controller" : 3.3.18 , installed 3.3.18 pi@iobroker:~ $
-
Kein Problem, weiter machen.