NEWS
[gelöst] ioBroker startet nicht mehr
-
Hallo,
hab ioBroker auf einem Tinkerboard S auf dem internen Speicher am laufen. Wollte nur das Board in ein anderes Gehäuse mit Lüfter umziehen, weil er immer sehr heiß wird. Hab dann noch die Befehle sudo upt-get update/upgrade ausgeführt, das wahr wahrscheinlich der Fehler! Jetzt läuft der ioBroker nicht mehr.
Hab schon einiges probiert, hab aber nicht so viel Erfahrung!
Jetzt könnte ich neu aufsetzen, hab aber die letzten Tage meine Poolsteuerung und andere Projekte realisiert und leider kein aktuelles Backup davon, deswegen muss das System wieder starten.
Ich bitte um Hilfe!
Hab Debian Buster mit node 12.10.3 und npm 6.14.6 installiert.
Bei dem Befehl ps -A | grep iobroker kommt nichts, wenn der js-Controller neu gestartet wird kommt:internal/modules/cjs/loader.js:968
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Hab auch versucht den controller, Admin und Discovery Adapter neu zu installieren, aber ohne Erfolg.
Desweiteren kommt die Meldung "No connection to states 192.168.178.32:6379[redis]"Ich weiß leider nicht mehr weiter und bitte um Hilfe, das die Stundenlange Arbeit der letzten Tage nicht umsonst waren.
Danke!Gruß Stefan
-
@Ham Hast du schon ein
npm rebuild
versucht?cd /opt/iobroker npm rebuild
-
@UncleSam sagte in ioBroker startet nicht mehr:
npm rebuild
Hallo, danke für die schnelle Antwort.
Habs grad probiert, dann kommt das hier(da kann ich aber nicht viel mit anfangen):
> @serialport/bindings@8.0.8 install /opt/iobroker/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=12.18.3 runtime=node arch=arm libc= platform=linux) make: Entering directory '/opt/iobroker/node_modules/@serialport/bindings/build' CXX(target) Release/obj.target/bindings/src/serialport.o In file included from ../src/./serialport.h:6, from ../src/serialport.cpp:1: ../../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../../nan/nan.h:2294:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../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:270: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:314: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:363: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:409: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:430:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^ ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608: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/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:642:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/serialport.cpp:483:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(serialport, init); ^~~~~~~~~~~ CXX(target) Release/obj.target/bindings/src/serialport_unix.o In file included from ../src/serialport.h:6, from ../src/serialport_unix.cpp:2: ../../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../../nan/nan.h:2294:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)': ../src/serialport_unix.cpp:176: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:176: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:86: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:86: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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/bindings/src/poller.o In file included from ../src/poller.cpp:1: ../../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../../nan/nan.h:2294:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node COPY Release/bindings.node make: Leaving directory '/opt/iobroker/node_modules/@serialport/bindings/build' > serialport@8.0.8 postinstall /opt/iobroker/node_modules/serialport > node thank-you.js Thank you for using serialport! If you rely on this package, please consider supporting our open collective: > https://opencollective.com/serialport/donate iobroker.admin@4.1.6 /opt/iobroker/node_modules/iobroker.admin @iobroker/adapter-core@2.4.0 /opt/iobroker/node_modules/@iobroker/adapter-core @types/iobroker@3.0.11 /opt/iobroker/node_modules/@types/iobroker @types/node@14.6.0 /opt/iobroker/node_modules/@types/node body-parser@1.19.0 /opt/iobroker/node_modules/body-parser bytes@3.1.0 /opt/iobroker/node_modules/bytes content-type@1.0.4 /opt/iobroker/node_modules/content-type debug@2.6.9 /opt/iobroker/node_modules/debug ms@2.0.0 /opt/iobroker/node_modules/ms depd@1.1.2 /opt/iobroker/node_modules/depd http-errors@1.7.2 /opt/iobroker/node_modules/http-errors inherits@2.0.3 /opt/iobroker/node_modules/inherits setprototypeof@1.1.1 /opt/iobroker/node_modules/setprototypeof statuses@1.5.0 /opt/iobroker/node_modules/statuses toidentifier@1.0.0 /opt/iobroker/node_modules/toidentifier iconv-lite@0.4.24 /opt/iobroker/node_modules/iconv-lite safer-buffer@2.1.2 /opt/iobroker/node_modules/safer-buffer on-finished@2.3.0 /opt/iobroker/node_modules/on-finished ee-first@1.1.1 /opt/iobroker/node_modules/ee-first qs@6.7.0 /opt/iobroker/node_modules/qs raw-body@2.4.0 /opt/iobroker/node_modules/raw-body unpipe@1.0.0 /opt/iobroker/node_modules/unpipe type-is@1.6.18 /opt/iobroker/node_modules/type-is media-typer@0.3.0 /opt/iobroker/node_modules/media-typer mime-types@2.1.27 /opt/iobroker/node_modules/mime-types mime-db@1.44.0 /opt/iobroker/node_modules/mime-db connect-flash@0.1.1 /opt/iobroker/node_modules/connect-flash cookie-parser@1.4.5 /opt/iobroker/node_modules/cookie-parser cookie@0.4.0 /opt/iobroker/node_modules/cookie cookie-signature@1.0.6 /opt/iobroker/node_modules/cookie-signature express@4.17.1 /opt/iobroker/node_modules/express accepts@1.3.7 /opt/iobroker/node_modules/accepts negotiator@0.6.2 /opt/iobroker/node_modules/negotiator array-flatten@1.1.1 /opt/iobroker/node_modules/array-flatten content-disposition@0.5.3 /opt/iobroker/node_modules/content-disposition safe-buffer@5.1.2 /opt/iobroker/node_modules/safe-buffer encodeurl@1.0.2 /opt/iobroker/node_modules/encodeurl escape-html@1.0.3 /opt/iobroker/node_modules/escape-html etag@1.8.1 /opt/iobroker/node_modules/etag finalhandler@1.1.2 /opt/iobroker/node_modules/finalhandler parseurl@1.3.3 /opt/iobroker/node_modules/parseurl fresh@0.5.2 /opt/iobroker/node_modules/fresh merge-descriptors@1.0.1 /opt/iobroker/node_modules/merge-descriptors methods@1.1.2 /opt/iobroker/node_modules/methods path-to-regexp@0.1.7 /opt/iobroker/node_modules/path-to-regexp proxy-addr@2.0.6 /opt/iobroker/node_modules/proxy-addr forwarded@0.1.2 /opt/iobroker/node_modules/forwarded ipaddr.js@1.9.1 /opt/iobroker/node_modules/ipaddr.js range-parser@1.2.1 /opt/iobroker/node_modules/range-parser send@0.17.1 /opt/iobroker/node_modules/send destroy@1.0.4 /opt/iobroker/node_modules/destroy mime@1.6.0 /opt/iobroker/node_modules/mime ms@2.1.1 /opt/iobroker/node_modules/send/node_modules/ms serve-static@1.14.1 /opt/iobroker/node_modules/serve-static utils-merge@1.0.1 /opt/iobroker/node_modules/utils-merge vary@1.1.2 /opt/iobroker/node_modules/vary express-fileupload@1.2.0 /opt/iobroker/node_modules/express-fileupload busboy@0.3.1 /opt/iobroker/node_modules/busboy dicer@0.3.0 /opt/iobroker/node_modules/dicer streamsearch@0.1.2 /opt/iobroker/node_modules/streamsearch express-session@1.17.1 /opt/iobroker/node_modules/express-session depd@2.0.0 /opt/iobroker/node_modules/express-session/node_modules/depd on-headers@1.0.2 /opt/iobroker/node_modules/on-headers safe-buffer@5.2.0 /opt/iobroker/node_modules/express-session/node_modules/safe-buffer uid-safe@2.1.5 /opt/iobroker/node_modules/uid-safe random-bytes@1.0.0 /opt/iobroker/node_modules/random-bytes passport@0.4.1 /opt/iobroker/node_modules/passport passport-strategy@1.0.0 /opt/iobroker/node_modules/passport-strategy pause@0.0.1 /opt/iobroker/node_modules/pause passport-local@1.0.0 /opt/iobroker/node_modules/passport-local passport.socketio@3.7.0 /opt/iobroker/node_modules/passport.socketio xtend@4.0.2 /opt/iobroker/node_modules/xtend request@2.88.2 /opt/iobroker/node_modules/request aws-sign2@0.7.0 /opt/iobroker/node_modules/aws-sign2 aws4@1.10.1 /opt/iobroker/node_modules/aws4 caseless@0.12.0 /opt/iobroker/node_modules/caseless combined-stream@1.0.8 /opt/iobroker/node_modules/combined-stream delayed-stream@1.0.0 /opt/iobroker/node_modules/delayed-stream extend@3.0.2 /opt/iobroker/node_modules/extend forever-agent@0.6.1 /opt/iobroker/node_modules/forever-agent form-data@2.3.3 /opt/iobroker/node_modules/form-data asynckit@0.4.0 /opt/iobroker/node_modules/asynckit har-validator@5.1.5 /opt/iobroker/node_modules/har-validator ajv@6.12.4 /opt/iobroker/node_modules/ajv fast-deep-equal@3.1.3 /opt/iobroker/node_modules/fast-deep-equal fast-json-stable-stringify@2.1.0 /opt/iobroker/node_modules/fast-json-stable-stringify json-schema-traverse@0.4.1 /opt/iobroker/node_modules/json-schema-traverse uri-js@4.2.2 /opt/iobroker/node_modules/uri-js punycode@2.1.1 /opt/iobroker/node_modules/punycode har-schema@2.0.0 /opt/iobroker/node_modules/har-schema http-signature@1.2.0 /opt/iobroker/node_modules/http-signature assert-plus@1.0.0 /opt/iobroker/node_modules/assert-plus jsprim@1.4.1 /opt/iobroker/node_modules/jsprim extsprintf@1.3.0 /opt/iobroker/node_modules/extsprintf json-schema@0.2.3 /opt/iobroker/node_modules/json-schema verror@1.10.0 /opt/iobroker/node_modules/verror core-util-is@1.0.2 /opt/iobroker/node_modules/core-util-is sshpk@1.16.1 /opt/iobroker/node_modules/sshpk asn1@0.2.4 /opt/iobroker/node_modules/asn1 bcrypt-pbkdf@1.0.2 /opt/iobroker/node_modules/bcrypt-pbkdf tweetnacl@0.14.5 /opt/iobroker/node_modules/tweetnacl dashdash@1.14.1 /opt/iobroker/node_modules/dashdash ecc-jsbn@0.1.2 /opt/iobroker/node_modules/ecc-jsbn jsbn@0.1.1 /opt/iobroker/node_modules/jsbn getpass@0.1.7 /opt/iobroker/node_modules/getpass is-typedarray@1.0.0 /opt/iobroker/node_modules/is-typedarray isstream@0.1.2 /opt/iobroker/node_modules/isstream json-stringify-safe@5.0.1 /opt/iobroker/node_modules/json-stringify-safe oauth-sign@0.9.0 /opt/iobroker/node_modules/oauth-sign performance-now@2.1.0 /opt/iobroker/node_modules/performance-now qs@6.5.2 /opt/iobroker/node_modules/request/node_modules/qs tough-cookie@2.5.0 /opt/iobroker/node_modules/tough-cookie psl@1.8.0 /opt/iobroker/node_modules/psl tunnel-agent@0.6.0 /opt/iobroker/node_modules/tunnel-agent uuid@3.4.0 /opt/iobroker/node_modules/uuid semver@7.3.2 /opt/iobroker/node_modules/iobroker.admin/node_modules/semver socket.io@2.3.0 /opt/iobroker/node_modules/socket.io debug@4.1.1 /opt/iobroker/node_modules/socket.io/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/socket.io/node_modules/ms engine.io@3.4.2 /opt/iobroker/node_modules/engine.io base64id@2.0.0 /opt/iobroker/node_modules/base64id cookie@0.3.1 /opt/iobroker/node_modules/engine.io/node_modules/cookie debug@4.1.1 /opt/iobroker/node_modules/engine.io/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/engine.io/node_modules/ms engine.io-parser@2.2.0 /opt/iobroker/node_modules/engine.io-parser after@0.8.2 /opt/iobroker/node_modules/after arraybuffer.slice@0.0.7 /opt/iobroker/node_modules/arraybuffer.slice base64-arraybuffer@0.1.5 /opt/iobroker/node_modules/base64-arraybuffer blob@0.0.5 /opt/iobroker/node_modules/blob has-binary2@1.0.3 /opt/iobroker/node_modules/has-binary2 isarray@2.0.1 /opt/iobroker/node_modules/isarray ws@7.3.1 /opt/iobroker/node_modules/ws socket.io-adapter@1.1.2 /opt/iobroker/node_modules/socket.io-adapter socket.io-client@2.3.0 /opt/iobroker/node_modules/socket.io-client backo2@1.0.2 /opt/iobroker/node_modules/backo2 component-bind@1.0.0 /opt/iobroker/node_modules/component-bind component-emitter@1.2.1 /opt/iobroker/node_modules/component-emitter debug@4.1.1 /opt/iobroker/node_modules/socket.io-client/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/socket.io-client/node_modules/ms engine.io-client@3.4.3 /opt/iobroker/node_modules/engine.io-client component-emitter@1.3.0 /opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter component-inherit@0.0.3 /opt/iobroker/node_modules/component-inherit debug@4.1.1 /opt/iobroker/node_modules/engine.io-client/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/engine.io-client/node_modules/ms has-cors@1.1.0 /opt/iobroker/node_modules/has-cors indexof@0.0.1 /opt/iobroker/node_modules/indexof parseqs@0.0.5 /opt/iobroker/node_modules/parseqs better-assert@1.0.2 /opt/iobroker/node_modules/better-assert callsite@1.0.0 /opt/iobroker/node_modules/callsite parseuri@0.0.5 /opt/iobroker/node_modules/parseuri ws@6.1.4 /opt/iobroker/node_modules/engine.io-client/node_modules/ws async-limiter@1.0.1 /opt/iobroker/node_modules/async-limiter xmlhttprequest-ssl@1.5.5 /opt/iobroker/node_modules/xmlhttprequest-ssl yeast@0.1.2 /opt/iobroker/node_modules/yeast object-component@0.0.3 /opt/iobroker/node_modules/object-component socket.io-parser@3.3.0 /opt/iobroker/node_modules/socket.io-client/node_modules/socket.io-parser debug@3.1.0 /opt/iobroker/node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug ms@2.0.0 /opt/iobroker/node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/ms to-array@0.1.4 /opt/iobroker/node_modules/to-array socket.io-parser@3.4.1 /opt/iobroker/node_modules/socket.io-parser debug@4.1.1 /opt/iobroker/node_modules/socket.io-parser/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/socket.io-parser/node_modules/ms iobroker.discovery@2.3.11 /opt/iobroker/node_modules/iobroker.discovery netmask@1.0.6 /opt/iobroker/node_modules/netmask node-mndp@0.0.3 /opt/iobroker/node_modules/node-mndp node-ssdp@4.0.0 /opt/iobroker/node_modules/node-ssdp async@2.6.3 /opt/iobroker/node_modules/async lodash@4.17.20 /opt/iobroker/node_modules/lodash bluebird@3.7.2 /opt/iobroker/node_modules/bluebird debug@3.2.6 /opt/iobroker/node_modules/node-ssdp/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/node-ssdp/node_modules/ms ip@1.1.5 /opt/iobroker/node_modules/ip @serialport/parser-byte-length@8.0.6 /opt/iobroker/node_modules/@serialport/parser-byte-length @serialport/parser-cctalk@8.0.6 /opt/iobroker/node_modules/@serialport/parser-cctalk @serialport/parser-delimiter@8.0.6 /opt/iobroker/node_modules/@serialport/parser-delimiter @serialport/parser-readline@8.0.6 /opt/iobroker/node_modules/@serialport/parser-readline @serialport/parser-ready@8.0.6 /opt/iobroker/node_modules/@serialport/parser-ready @serialport/parser-regex@8.0.6 /opt/iobroker/node_modules/@serialport/parser-regex ansi-regex@2.1.1 /opt/iobroker/node_modules/ansi-regex aproba@1.2.0 /opt/iobroker/node_modules/aproba are-we-there-yet@1.1.5 /opt/iobroker/node_modules/are-we-there-yet delegates@1.0.0 /opt/iobroker/node_modules/delegates readable-stream@2.3.7 /opt/iobroker/node_modules/readable-stream isarray@1.0.0 /opt/iobroker/node_modules/readable-stream/node_modules/isarray process-nextick-args@2.0.1 /opt/iobroker/node_modules/process-nextick-args string_decoder@1.1.1 /opt/iobroker/node_modules/string_decoder util-deprecate@1.0.2 /opt/iobroker/node_modules/util-deprecate base64-js@1.3.1 /opt/iobroker/node_modules/base64-js bindings@1.5.0 /opt/iobroker/node_modules/bindings file-uri-to-path@1.0.0 /opt/iobroker/node_modules/file-uri-to-path buffer@5.6.0 /opt/iobroker/node_modules/buffer ieee754@1.1.13 /opt/iobroker/node_modules/ieee754 chownr@1.1.4 /opt/iobroker/node_modules/chownr code-point-at@1.1.0 /opt/iobroker/node_modules/code-point-at console-control-strings@1.1.0 /opt/iobroker/node_modules/console-control-strings decompress-response@4.2.1 /opt/iobroker/node_modules/decompress-response mimic-response@2.1.0 /opt/iobroker/node_modules/mimic-response deep-extend@0.6.0 /opt/iobroker/node_modules/deep-extend dgram@1.0.1 /opt/iobroker/node_modules/dgram dns-packet@1.3.1 /opt/iobroker/node_modules/dns-packet end-of-stream@1.4.4 /opt/iobroker/node_modules/end-of-stream once@1.4.0 /opt/iobroker/node_modules/once wrappy@1.0.2 /opt/iobroker/node_modules/wrappy expand-template@2.0.3 /opt/iobroker/node_modules/expand-template fs-constants@1.0.0 /opt/iobroker/node_modules/fs-constants gauge@2.7.4 /opt/iobroker/node_modules/gauge has-unicode@2.0.1 /opt/iobroker/node_modules/has-unicode object-assign@4.1.1 /opt/iobroker/node_modules/object-assign signal-exit@3.0.3 /opt/iobroker/node_modules/signal-exit string-width@1.0.2 /opt/iobroker/node_modules/string-width is-fullwidth-code-point@1.0.0 /opt/iobroker/node_modules/is-fullwidth-code-point number-is-nan@1.0.1 /opt/iobroker/node_modules/number-is-nan strip-ansi@3.0.1 /opt/iobroker/node_modules/strip-ansi wide-align@1.1.3 /opt/iobroker/node_modules/wide-align github-from-package@0.0.0 /opt/iobroker/node_modules/github-from-package ini@1.3.5 /opt/iobroker/node_modules/ini minimist@1.2.5 /opt/iobroker/node_modules/minimist mkdirp-classic@0.5.3 /opt/iobroker/node_modules/mkdirp-classic napi-build-utils@1.0.2 /opt/iobroker/node_modules/napi-build-utils nan@2.14.1 /opt/iobroker/node_modules/nan noop-logger@0.1.1 /opt/iobroker/node_modules/noop-logger npmlog@4.1.2 /opt/iobroker/node_modules/npmlog set-blocking@2.0.0 /opt/iobroker/node_modules/set-blocking pump@3.0.0 /opt/iobroker/node_modules/pump simple-concat@1.0.1 /opt/iobroker/node_modules/simple-concat simple-get@3.1.0 /opt/iobroker/node_modules/simple-get strip-json-comments@2.0.1 /opt/iobroker/node_modules/strip-json-comments tar-fs@2.1.0 /opt/iobroker/node_modules/tar-fs tar-stream@2.1.3 /opt/iobroker/node_modules/tar-stream bl@4.0.2 /opt/iobroker/node_modules/bl inherits@2.0.4 /opt/iobroker/node_modules/bl/node_modules/inherits readable-stream@3.6.0 /opt/iobroker/node_modules/bl/node_modules/readable-stream readable-stream@3.6.0 /opt/iobroker/node_modules/tar-stream/node_modules/readable-stream which-pm-runs@1.0.0 /opt/iobroker/node_modules/which-pm-runs detect-libc@1.0.3 /opt/iobroker/node_modules/detect-libc mkdirp@0.5.5 /opt/iobroker/node_modules/mkdirp prebuild-install@5.3.5 /opt/iobroker/node_modules/prebuild-install node-abi@2.18.0 /opt/iobroker/node_modules/node-abi semver@5.7.1 /opt/iobroker/node_modules/node-abi/node_modules/semver rc@1.2.8 /opt/iobroker/node_modules/rc @serialport/binding-abstract@8.0.6 /opt/iobroker/node_modules/@serialport/binding-abstract debug@4.1.1 /opt/iobroker/node_modules/@serialport/binding-abstract/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/@serialport/binding-abstract/node_modules/ms @serialport/binding-mock@8.0.6 /opt/iobroker/node_modules/@serialport/binding-mock debug@4.1.1 /opt/iobroker/node_modules/@serialport/binding-mock/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/@serialport/binding-mock/node_modules/ms @serialport/bindings@8.0.8 /opt/iobroker/node_modules/@serialport/bindings debug@4.1.1 /opt/iobroker/node_modules/@serialport/bindings/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/@serialport/bindings/node_modules/ms @serialport/stream@8.0.6 /opt/iobroker/node_modules/@serialport/stream debug@4.1.1 /opt/iobroker/node_modules/@serialport/stream/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/@serialport/stream/node_modules/ms mdns-discovery@0.2.6 /opt/iobroker/node_modules/mdns-discovery debug@2.2.0 /opt/iobroker/node_modules/mdns-discovery/node_modules/debug ms@0.7.1 /opt/iobroker/node_modules/mdns-discovery/node_modules/ms serialport@8.0.8 /opt/iobroker/node_modules/serialport debug@4.1.1 /opt/iobroker/node_modules/serialport/node_modules/debug ms@2.1.2 /opt/iobroker/node_modules/serialport/node_modules/ms
Gruß Stefan
-
@Ham sagte in ioBroker startet nicht mehr:
Habs grad probiert, dann kommt das hier
Sieht meiner Ansicht nach gut aus. Keine Fehlermeldungen. Startet danach iobroker.js-controller immer noch nicht?
Dann könntest du noch einnpm i
im ioBroker-Verzeichnis versuchen. Das sollte alle Abhängigkeiten installieren. -
Danke!
Nein der js-controller startet immer noch nicht. Selbe Fehlermeldung.
Bei dem Befehl npm i kommt:npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.8 > epoll@2.0.10 install /opt/iobroker/node_modules/epoll > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/epoll/build' CXX(target) Release/obj.target/epoll/src/epoll.o SOLINK_MODULE(target) Release/obj.target/epoll.node COPY Release/epoll.node make: Leaving directory '/opt/iobroker/node_modules/epoll/build' > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o In file included from ../src/main.cpp:3: ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../nan/nan.h:2294:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../../nan/nan.h:56, from ../src/main.cpp:3: ../src/main.cpp: At global scope: /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608: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/12.18.3/include/node/node.h:642: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) ^~~~~~~~~~~ CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o SOLINK_MODULE(target) Release/obj.target/diskusage.node COPY Release/diskusage.node make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../src/unix_dgram.cc:5: ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../nan/nan.h:2294:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../../nan/nan.h:56, from ../src/unix_dgram.cc:5: ../src/unix_dgram.cc: At global scope: /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608: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/12.18.3/include/node/node.h:642: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: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build' > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional > node rebuild.js ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks. > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker > node lib/checkVersions.js NPM version: 6.14.8 > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first No connection to states 192.168.178.32:6379[redis] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 22 npm ERR! iobroker.js-controller@3.1.6 install: `node iobroker.js setup first` npm ERR! Exit status 22 npm ERR! npm ERR! Failed at the iobroker.js-controller@3.1.6 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-08-18T12_33_58_599Z-debug.log
-
@Ham sagte in ioBroker startet nicht mehr:
No connection to states 192.168.178.32:6379[redis]
Läuft dein Redis-Server auf der angegebenen Adresse oder ist das ein Konfigurationsfehler?
Wie sieht dein Setup aus? Ist es eine Master-Slave-Installation oder hast du nur eine ioBroker-Instanz auf dem Tinkerboard? Was ist das für eine IP-Adresse? Falls es die des Tinkerboards sein sollte, dann würde ich 127.0.0.1 verwenden (das funktioniert auch, wenn das Gerät die IP ändert).
-
Kannst du mal deine Konfiguration posten (evtl. sensible Daten rauslöschen):
cat /opt/iobroker/iobroker-data/iobroker.json
-
Danke für deine Hilfe!
Ja das ist die Adresse des Tinker. Master Slave hab ich, wobei das Slave System aktuell nicht erreichbar ist(hab mich aber noch nicht drum gekümmert, weil auf dem Slave noch nicht viel läuft)
Muß ich die Adresse in der redis.conf ändern?hier die Konfiguration:
{ "system": { "memoryLimitMB": 0, "hostname": "" }, "multihostService": { "enabled": true, "secure": true, "password": "" }, "network": { "IPv4": true, "IPv6": true, "bindAddress": null, "useSystemNpm": true }, "objects": { "type": "file", "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", "host": "0.0.0.0", "port": 9001, "user": "", "pass": "", "noFileCache": false, "connectTimeout": 2000, "options": { "auth_pass": null, "retry_max_delay": 5000 } }, "states": { "type": "redis", "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].", "host": "192.168.178.32", "port": 6379, "maxQueue": 1000, "options": { "auth_pass": null, "retry_max_delay": 5000 } }, "log": { "level": "info", "maxDays": 7, "noStdout": true, "transport": { "file1": { "type": "file", "enabled": true, "filename": "log/iobroker", "fileext": ".log", "maxsize": null, "maxFiles": null }, "syslog1": { "type": "syslog", "enabled": false, "host": "localhost", "host_comment": "The host running syslogd, defaults to localhost.", "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", "protocol": "udp4", "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", "facility_comment": "Syslog facility to use (Default: local0).", "localhost": "iobroker", "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).", "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).", "app_name_comment": "The name of the application (Default: process.title).", "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)." } } }, "dataDirComment": "Always relative to iobroker.js-controller/", "dataDir": "../../iobroker-data/"
-
@Ham sagte in ioBroker startet nicht mehr:
Ja das ist die Adresse des Tinker.
Versuch mal die beiden
"host": "xxx"
zu ändern. Mir scheint auch der für dieobjects
falsch zu sein. Beide sollten"127.0.0.1"
als Wert haben.Überprüfe auch, ob dein Redis überhaupt läuft (und ob der richtig konfiguriert ist). Der Redis sollte meines Erachtens einfach auf 0.0.0.0 hören. Bei mir steht in der redis.conf:
bind 0.0.0.0
Du kannst schon auf eine IP-Adresse binden, aber das braucht man eigentlich erst bei komplizierteren Setups (respektive bei erhöhter Sicherheit). -
leider komme ich auch nicht mit dem Befehl iobroker setup custom weiter, da kommt diesselbe Fehlermeldung wie beim starten des js-controllers. Meintest du das ich da die beiden Host ändern sollte?
in der Redis.conf habe ich jetz auf 0.0.0.0 umgestellt, aber ohne Erfolg.
-
Sorry, habs jetzt verstanden.
Hab beide Hosts geändert, aber ohne Erfolg. IoBroker startet immer noch nicht
-
@Ham Jetzt musst du js-controller nochmals installieren:
npm i
. -
@UncleSam
Er läut wieder!!! Super! Vielen Dank für die schnelle Hilfe!Ich mach mal schnell eine Backup!
Aber warum das ganze, darf ich kein Update des Linux Systems machen? Und was war jetzt das Hauptproblem?
iobroker status spuckt mir das hier aus:
iobroker is running on this host.
No iobroker host is running.
Objects type: file
States type: redis
Cannot load "custom": Error: Connection is closed.Ist das in Ordnung?
Gruß Stefan
-
@Ham sagte in ioBroker startet nicht mehr:
@UncleSam
Er läut wieder!!! Super! Vielen Dank für die schnelle Hilfe!Nichts zu danken.
Aber warum das ganze, darf ich kein Update des Linux Systems machen? Und was war jetzt das Hauptproblem?
Eventuell war es nur die Objects-Konfig oder aber das ganze Redis-Gedöns.
Aber grundsätzlich sollte es schon möglich sein, ein Linux upzudaten, auf dem ioBroker läuft. Aber bei so vielen Abhängigkeiten kann schon mal was schief gehen.iobroker status spuckt mir das hier aus:
iobroker is running on this host.
No iobroker host is running.
Bei mir sieht es mit Multihost und fünf angehängten Slaves so aus:
> iobroker status iobroker is running on this host. At least one iobroker host is running. Objects type: file States type: redis
Ich bin mir nicht sicher, ob er sich selber dazu zählt; sonst würde "No host" stimmen. Sofern du wieder aufs Admin kommst und deine Adapter laufen, sollte alles in Ordnung sein.
-
nach der korrekten Multihost installation steht jetzt bei mir auch:
At least one iobroker host is running.
Nochmal Vielen Dank! Hat mir viel Arbeit erspart!
Gruß Stefan
-
Aber warum das ganze, darf ich kein Update des Linux Systems machen?
Doch, solltest du sogar. Allerdings sollte man sich auch anschauen, welche Pakete da aktualisiert werden. Regelmäßig das System pflegen hilft da enorm den Überblick zu behalten.