NEWS
iobroker läuft nicht.
-
Sorry für die geistreiche Überschrift hier mal die Erklärung bezüglich des Status.
Heute lief nichts mehr und beim Zugriff über den Browser bekam ich schon keine Verbindung mehr.
"Diese Website ist nicht erreichbar".Neustart des Raspberry brachte nichts. Er ist aber erreichbar.
Ich kann mich einloggen und versuche iobroker zu starten-
iobroker start
Doch es kommen keine Meldungen. -
iobroker info bringt:
pi@raspberrypi:/opt/iobroker $ iobroker info Cannot read system.config: null (OK when migrating or restoring) Cannot find view "system" for search "host" Platform : linux os : linux Architecture : arm CPUs : 4 Speed : 1400 MHz Model : ARMv7 Processor rev 4 (v7l) RAM : 926 MB System uptime : 00:27:10 Node.js : v12.22.4 Disk size : 14.6 GiB Disk free : 12.2 GiB NPM : v6.14.14
- iobroker version:
pi@raspberrypi:/opt/iobroker $ iobroker version 3.3.15
Ich habe auch mal den js-controller neu installiert, das mochte jedoch überhaupt nicht.
pi@raspberrypi:/opt/iobroker $ npm install iobroker.js-controller > iobroker.js-controller@3.3.15 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.14 > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’: ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args); ^ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:1026:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’: ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’ serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67:0, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’ ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’ remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67:0, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’ ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’ username->WriteUtf8(m->username, sizeof(m->username) - 1); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67:0, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’ ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’ password->WriteUtf8(m->password, sizeof(m->password) - 1); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:67:0, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23: /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.4/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’ ../authenticate_pam.cc: At global scope: ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle<Object> exports) { ^~~~~~ ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle<Object> exports) { ^ ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle<Object> exports) { ^~~~~~~ In file included from ../../nan/nan.h:56:0, from ../authenticate_pam.cc:23: ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init); ^ /home/iobroker/.cache/node-gyp/12.22.4/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~ ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(authenticate_pam, init); ^~~~~~~~~~~ authenticate_pam.target.mk:109: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam gyp ERR! node -v v12.22.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok > sharp@0.28.1 install /opt/iobroker/node_modules/sharp > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) sharp: Installation error: Use with glibc 2.24 requires manual installation of libvips >= 8.10.6 sharp: Attempting to build from source via node-gyp but this may fail due to the above error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o AR(target) Release/obj.target/../node-addon-api/nothing.a COPY Release/nothing.a TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o ../src/common.cc:24:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8> ^ compilation terminated. sharp.target.mk:138: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte make: *** [Release/obj.target/sharp/src/common.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/sharp gyp ERR! node -v v12.22.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok > iobroker.js-controller@3.3.15 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object system.certificates updated object _design/custom updated object _design/system updated 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 optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (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: authenticate-pam@1.0.2 (node_modules/authenticate-pam): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.28.1 (node_modules/sharp): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.28.1 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + iobroker.js-controller@3.3.15 added 1 package from 1 contributor, removed 6 packages, updated 29 packages and moved 2 packages in 133.202s 31 packages are looking for funding run `npm fund` for details
Soll ich irgendwie "neu" darüber installieren?
-
-
Such mal nach dem Mini-HowTo.
-
@thomas-braun
danke, aber es scheint nichts zu tun.Es mag wohl nicht mehr laufen?
pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ iobroker status iobroker is not running on this host. Objects type: file States type: file
-
@sichreid sagte in iobroker läuft nicht.:
danke, aber es scheint nichts zu tun.
was tuts nicht?
was genau hast du versucht?Da wärst du der erste dem das mini howto bei der Fehlermeldung nicht helfen konnte.
-
Irgendwie hatte ich das image vorher wohl schon durch andere Versuche "kaputt-Repariert". Mit dem letzten Backup, das ich vor den Versuchen angefertigt hatte, funktionierte die Wiederherstellung. Danke!
Aktuelles Backup gibt es nun auch wieder!