NEWS
ioBroker kaputt "gerettet"
-
-
@subman82 sagte in ioBroker kaputt "gerettet":
Oder habe ich schon zu viel verändert?
Es ist wurscht was da geändert wurde, da man vor dem Restor am besten den gesamten IOBroker löscht und dann außer Linux eh nix mehr da ist
Nur sollte man schon noch vorher per SSH auf die Kiste kommen.
-
das hat sich hier unglücklich überschnitten.
Thomas:Du verwirrst mich. Welche drei Versionen?:
Ich meine die 3 aktuellen Versionen von node,nodejs und npm.Meldung des Browser:
"Fehler: Verbindung fehlgeschlagenThomas:Und konkret bedeutet das? Läuft der iobroker? Wenn nicht, mit welchen Meldungen?
Firefox kann keine Verbindung zu dem Server unter 192.168.178.58:8081 aufbauen.Die Website könnte vorübergehend nicht erreichbar sein, versuchen Sie es bitte später nochmals. Wenn Sie auch keine andere Website aufrufen können, überprüfen Sie bitte die Netzwerk-/Internetverbindung. Wenn Ihr Computer oder Netzwerk von einer Firewall oder einem Proxy geschützt wird, stellen Sie bitte sicher, dass Firefox auf das Internet zugreifen darf."
Iobroker scheint aber auch nicht im Hintergrund zu laufen, da es auf keine Befehle mehr über Siri reagiert.
Über Putty (SSH?) kann ich auf den Raspberry zugreifen aber Iobroker läuft nicht. Ich habe das System damals über Ebay fertig gekauft und dann nur die notwendigen Adaptern selber installiert, drum bin ich da nicht so fit drin, sorry:/
pi@raspberrypi:~ $ apt list --upgradable Auflistung... Fertig freetype2-doc/oldstable 2.9.1-3+deb10u3 all [aktualisierbar von: 2.9.1-3+deb10u2] libfreetype6-dev/oldstable 2.9.1-3+deb10u3 armhf [aktualisierbar von: 2.9.1-3+deb10u2] libfreetype6/oldstable 2.9.1-3+deb10u3 armhf [aktualisierbar von: 2.9.1-3+deb10u2] libfribidi-dev/oldstable 1.0.5-3.1+deb10u2 armhf [aktualisierbar von: 1.0.5-3.1+deb10u1] libfribidi0/oldstable 1.0.5-3.1+deb10u2 armhf [aktualisierbar von: 1.0.5-3.1+deb10u1] libgssapi-krb5-2/oldstable 1.17-3+deb10u4 armhf [aktualisierbar von: 1.17-3+deb10u3] libk5crypto3/oldstable 1.17-3+deb10u4 armhf [aktualisierbar von: 1.17-3+deb10u3] libkrb5-3/oldstable 1.17-3+deb10u4 armhf [aktualisierbar von: 1.17-3+deb10u3] libkrb5support0/oldstable 1.17-3+deb10u4 armhf [aktualisierbar von: 1.17-3+deb10u3] pi@raspberrypi:~ $ iobroker status internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:~ $ iobroker list instances internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []
-
@subman82 sagte in ioBroker kaputt "gerettet":
Ich meine die 3 aktuellen Versionen von node,nodejs und npm.
Es gibt keine individuellen Versionen. Das ist alles richtig im Paket 'nodejs' drin. Frickel da nix herum.
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller iobroker update -i iobroker upgrade iobroker start iobroker status
-
@thomas-braun said in ioBroker kaputt "gerettet":
iobroker status
pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN checkPermissions Missing write access to /home/pi npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN pi No description npm WARN pi No repository field. npm WARN pi No license field. npm ERR! code EACCES npm ERR! syscall access npm ERR! path /home/pi npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/home/pi' npm ERR! [Error: EACCES: permission denied, access '/home/pi'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/home/pi' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-09-11T10_27_38_573Z-debug.log pi@raspberrypi:~ $ iobroker update -i internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:~ $ iobroker upgrade internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:~ $ iobroker start pi@raspberrypi:~ $ iobroker status internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []
War das nicht das Problem mit dem falschen Verzeichnis? Aber wie ändere ich das?
-
Du stehst immer noch im falschen Verzeichnis.
Warum gibst du nicht alles ein, was ich vorgebe?Die Zeile mit dem
cd
drin steht da nicht zur Zierde. -
Ooooh, ich dachte immer da sich bei Putty nach der Eingabe dieses Befehls nichts getan hat, wäre es nur eine Art Befehl um SSH bzw. Putty zu starten.Wieder was gelernt, werde es nicht mehr weglassen!! Das bestimmt was root zu tun oder? (Ich kann echt garnix am PC:/)
Ich habe somit nochmal von oben angefangen und folgende Logs:
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.17 > usb@1.9.2 install /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb > node-gyp-build make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb/build“ wird betreten CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function ‘Napi::Value SetDebugLevel(const Napi::CallbackInfo&)’: ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value()); ^ In file included from ../src/node_usb.h:11, from ../src/node_usb.cc:1: ../libusb/libusb/libusb.h:1325:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value()); ^ In file included from ../src/node_usb.h:11, from ../src/node_usb.cc:1: ../libusb/libusb/libusb.h:1325:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o CXX(target) Release/obj.target/usb_bindings/src/transfer.o SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb/build“ wird verlassen > usb@1.9.2 install /opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb > node-gyp-build make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb/build“ wird betreten CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function ‘Napi::Value SetDebugLevel(const Napi::CallbackInfo&)’: ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value()); ^ In file included from ../src/node_usb.h:11, from ../src/node_usb.cc:1: ../libusb/libusb/libusb.h:1325:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value()); ^ In file included from ../src/node_usb.h:11, from ../src/node_usb.cc:1: ../libusb/libusb/libusb.h:1325:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o CXX(target) Release/obj.target/usb_bindings/src/transfer.o SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827: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) ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram/build“ wird verlassen > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.js-controller-adapter-KzcGIgOj/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.js-controller-adapter-KzcGIgOj/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../../nan/nan.h:60, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793: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), \ ^ ..................... + iobroker.js-controller@4.0.23 added 1112 packages from 283 contributors, removed 9 packages and updated 245 packages in 758.546s 50 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ iobroker status iobroker is running on this host. Objects type: jsonl States type: jsonl pi@raspberrypi:/opt/iobroker $ iobroker list instances Cannot determine Set feature status: Connection is closed. Unable to subscribe to evicted Keyspace events from Redis Server: Connection is closed. Unable to subscribe to meta namespace "meta." changes: Connection is closed. Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
Musste Log abkürzen ,da eine Fehlermeldung beim Absenden auftrat (Payload too large) Ich hoffe du kannst trotzdem etwas damit anfangen.
Es hat sich durch hinzufügen des ersten Schrittes (1. cd /opt/iobroker) auf jedenfall etwas geändert...ich komme wieder auf die Benutzeroberfläche:))
Die Instanzen sind noch alle da aber auf rot. -
@subman82 sagte in ioBroker kaputt "gerettet":
Wieder was gelernt
Dann gleich noch was, Putty ist lediglich ein Tool um z.B. eine Konsole für ein SSH Verbindung zu öffnen, nicht mehr und nicht weniger
-
@jan1 Viel lernen ich noch muss
Ich danke euch auf jeden Fall, insbesondere für die Geduld
-
-
@subman82
Thomas hat ein Gedulds Abo, also der gibt so schnell nicht auf
Was Linux betrifft, hat er schon jeden hier bekehrt und auf den rechten Pfad geführt, inklusive meiner Wenigkeit. -
@jan1 Ich muss jetzt Familienprogramm launchen und gucke später hier weiter
Besten Dank erstmal Jungs!!!! -
Wir sind jetzt zurück und in der Zwischenzeit sind die meistens Instanzen auf grün gewechselt. Die brauchten wohl nach dem Neustart einfach etwas Zeit.
Die Harmony und die Zigbee Instanz stehen noch auf rot. Mal gucken wie ich das noch beseitigt bekomme aber da der Rest erst mal läuft bin ich mehr als glücklich und dankbar!!!
Lieben Dank nochmal,insbesondere an Thomas!! -
@subman82 sagte in ioBroker kaputt "gerettet":
Die brauchten wohl nach dem Neustart einfach etwas Zeit.
Die müssen nach dem 'Backup-Bauplan' zuerst mal gebaut werden.
Das dauert halt.
Der zigbee kann da auch schon mal etwas zickbee werden.
Schau dir dessen Neustart mal im LogFile an. -
@subman82
Wenn alle anderen grün werden und nur Harmony und Zigbee nicht, dann hast beim Harmony wohl ne falsche, oder überhaupt ein IP eingetragen. Bei einem Hub muss nichts gemacht werden. Zigbee dauert unter Umständen wirklich sehr lange, bringt aber bei Fehlern auch ein sehr brauchbares Log. -
bei der Harmony ist die richtige IP hinterlegt,gerade nochmal abgeglichen. Mehr kann man da wirklich nicht eintragen.
Hab den Hub und dann die Instanz neugestartet, jetzt ist sie auch grün,JUHU:)bei zigbee steht einiges, da geh ich aber ein andermal dran...
2022-09-11 18:45:55.181 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2022-09-11 18:45:55.180 error Caught by controller[0]: } host.raspberrypi 2022-09-11 18:45:55.180 error Caught by controller[0]: ] host.raspberrypi 2022-09-11 18:45:55.180 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js' host.raspberrypi 2022-09-11 18:45:55.180 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js', host.raspberrypi 2022-09-11 18:45:55.179 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js', host.raspberrypi 2022-09-11 18:45:55.179 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/index.js', host.raspberrypi 2022-09-11 18:45:55.176 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/devices/danfoss.js', host.raspberrypi 2022-09-11 18:45:55.176 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/index.js', host.raspberrypi 2022-09-11 18:45:55.175 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/securifi.js', host.raspberrypi 2022-09-11 18:45:55.175 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js', host.raspberrypi 2022-09-11 18:45:55.175 error Caught by controller[0]: requireStack: [ host.raspberrypi 2022-09-11 18:45:55.175 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.raspberrypi 2022-09-11 18:45:55.175 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) { host.raspberrypi 2022-09-11 18:45:55.174 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12) host.raspberrypi 2022-09-11 18:45:55.174 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) host.raspberrypi 2022-09-11 18:45:55.174 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) host.raspberrypi 2022-09-11 18:45:55.174 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) host.raspberrypi 2022-09-11 18:45:55.174 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js:5:13) host.raspberrypi 2022-09-11 18:45:55.173 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) host.raspberrypi 2022-09-11 18:45:55.173 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) host.raspberrypi 2022-09-11 18:45:55.173 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27) host.raspberrypi 2022-09-11 18:45:55.173 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) host.raspberrypi 2022-09-11 18:45:55.172 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js host.raspberrypi 2022-09-11 18:45:55.172 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js host.raspberrypi 2022-09-11 18:45:55.172 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js host.raspberrypi 2022-09-11 18:45:55.172 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/index.js host.raspberrypi 2022-09-11 18:45:55.172 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/devices/danfoss.js host.raspberrypi 2022-09-11 18:45:55.171 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/index.js host.raspberrypi 2022-09-11 18:45:55.171 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/securifi.js host.raspberrypi 2022-09-11 18:45:55.171 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js host.raspberrypi 2022-09-11 18:45:55.170 error Caught by controller[0]: Require stack: host.raspberrypi 2022-09-11 18:45:55.170 error Caught by controller[0]: Error: Cannot find module 'uri-js' host.raspberrypi 2022-09-11 18:45:55.170 error Caught by controller[0]: ^ host.raspberrypi 2022-09-11 18:45:55.169 error Caught by controller[0]: throw err; host.raspberrypi 2022-09-11 18:45:55.169 error Caught by controller[0]: internal/modules/cjs/loader.js:905
Schönen Sonntag noch!
-
@subman82
Wenn nur ein Harmony Hub vorhanden, dann brauchst eben auch gar keine IP eintragen, da dann automatisch der verfügbare Hub genommen wird, wenn das Subnetzt passtWobei beim Zigbee fehlt wohl das Modul uri-js, somit könnte beim Harmony auch was anderes der Grund für den roten Status sein.
-
@jan1 sagte in ioBroker kaputt "gerettet":
uri-js
Das Modul hab ich aber nicht im zigbee-Adapter drin sondern im backitup:
echad@chet:/opt/iobroker $ npm ls uri-js iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.backitup@2.4.12 └─┬ request@2.88.2 └─┬ har-validator@5.1.5 └─┬ ajv@6.12.6 └── uri-js@4.4.1
Da scheint mir doch eher dort was im Argen zu liegen.
-
@thomas-braun
In der Tat etwas seltsam, wobei der Rest ja nach dem Restor läuft. Ist die Frage ob der Restor mit dem Backitup gemacht wurde, oder manuell.