NEWS
Mini-HowTo: Cannot find view "system" for search "host"
-
@homoran sagte in Mini-HowTo: Cannot find view "system" for search "host":
@rehmosch sagte in Mini-HowTo: Cannot find view "system" for search "host":
Wenn ich es hier im thread richtig verstanden habe, dann liegt es am Netzteil?
Ein under-voltage wäre ein solches Problem.
Eine under-voltage-Meldung solltest du nach dem booten in den Logs finden bzw. diesen Befehl ausführen:
/opt/vc/bin/vcgencmd get_throttled
Wenn da dann nicht
throttled=0x0
steht hast du ein Netzteilproblem.
-
@bananajoe said in Mini-HowTo: Cannot find view "system" for search "host":
/opt/vc/bin/vcgencmd get_throttled
danke
throttled=0x50000
-
@rehmosch du brauchts ein neues Netzteil! Mein Raspi am 3D Drucker hatte auch undervoltage und ich hatte mich schon gewundert warum der bei Kurven so ruckelt ...
Hab ein offizielles Originalnetzteil gekauft und die Probleme waren weg
-
@bananajoe danke! Mann das erklärt so vieles ;( hast du einen Link?
Ach ja, hab ein Raspberry 4 / 4 GB RAM mit usbc SSD (128 GB) dran.
Danke
-
@rehmosch
Für den Pi:
https://www.amazon.de/gp/product/B07TMPC9FGMit einer SSD sollte gehen (habe ich als ESXi mit einer 256GB SSD an einem USB Adapter auch am laufen)
-
@bananajoe hab das auf der offiziellen Seite gefunden ... aber Kauf klappt irgendwie nicht ;(
https://www.raspberrypi.org/products/type-c-power-supply/
dann halt doch Amazon ist halt die weiße Version
https://www.amazon.de/offizielles-Raspberry-Pi-Steckernetzteil-Länderstecker/dp/B01N5ME6EW/ref=sr_1_3?__mk_de_DE=ÅMÅŽÕÑ&dchild=1&keywords=Raspberry+Pi+-+offizielles+Netzteil+für+Raspberry+Pi+4+Model&qid=1627640944&s=computers&sr=1-3Vielen Dank für deine Hilfe !
Update:
habe heute schon wieder defekte Dateien gehabt und das Teil kommt heute Abend -
@thomas-braun said in Mini-HowTo: Cannot find view "system" for search "host":
cd backup-objects/
Ich kann den iobroker nicht mehr über die IP:8081 aufrufen, über die shell funktioniert dies einwandfrei.
Habe gestern schon update & upgrade u. iobroker fix versucht, aber kein Erfolg.
Hätte die Reparatur nach dieser wunderbaren Anleitung versucht, aber ohne Erfolg.
Nach meiner Beurteilung ist nur die Datei: -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 10:49 2021-08-20_10-49_objects.json.gz betroffen.In der Anleitung ist INTAKTE_DATEI zu ersetzen.
Bin mir nicht sicher, ob ich die Dateibezeichnung richtig nach Vorlage ersetzt habe ?
Danke für die Hilfe.
login as: pi pi@192.168.1.160's password: The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Sep 11 09:55:19 2021 from pc-home-desktop-q6er4kb.fritz.box pi@raspberrypi:~ $ iobroker status Cannot read system.config: null (OK when migrating or restoring) Cannot find view "system" for search "host" iobroker is running on this host. Objects type: file States type: file pi@raspberrypi:~ $ ls -lh /opt/iobroker/iobroker-data/backup-objects/ insgesamt 35M -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 02:44 2021-08-19_02-44_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 04:45 2021-08-19_04-45_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 06:45 2021-08-19_06-45_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 08:45 2021-08-19_08-45_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 10:46 2021-08-19_10-46_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 12:46 2021-08-19_12-46_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 14:46 2021-08-19_14-46_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 16:47 2021-08-19_16-47_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 18:47 2021-08-19_18-47_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 20:47 2021-08-19_20-47_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 22:47 2021-08-19_22-47_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 00:48 2021-08-20_00-48_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 02:48 2021-08-20_02-48_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 04:48 2021-08-20_04-48_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 06:48 2021-08-20_06-48_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 08:49 2021-08-20_08-49_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 10:49 2021-08-20_10-49_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 3,2K Aug 30 17:14 2021-08-30_17-14_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 3,4K Aug 31 09:52 2021-08-31_09-52_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 09:54 2021-09-02_09-54_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 11:55 2021-09-02_11-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 13:55 2021-09-02_13-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 15:55 2021-09-02_15-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 17:55 2021-09-02_17-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 19:55 2021-09-02_19-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 21:55 2021-09-02_21-55_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 2 23:56 2021-09-02_23-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 01:56 2021-09-03_01-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 03:56 2021-09-03_03-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 05:56 2021-09-03_05-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 07:56 2021-09-03_07-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 09:56 2021-09-03_09-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 11:56 2021-09-03_11-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 13:56 2021-09-03_13-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 15:56 2021-09-03_15-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 17:56 2021-09-03_17-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 19:56 2021-09-03_19-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 126K Sep 3 21:56 2021-09-03_21-56_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 3,4K Sep 10 20:52 2021-09-10_20-52_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 126K Sep 10 20:52 2021-09-10_20-52_states.json.g z -rw-rwxr--+ 1 iobroker iobroker 3,4K Sep 10 20:54 2021-09-10_20-54_objects.json. gz -rw-rwxr--+ 1 iobroker iobroker 126K Sep 10 20:55 2021-09-10_20-54_states.json.g z -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 10 21:07 2021-09-10_21-07_objects.json. gz -rw-rw-r--+ 1 iobroker iobroker 126K Sep 10 21:07 2021-09-10_21-07_states.json.g z -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 10 22:05 2021-09-10_22-05_objects.json. gz -rw-rw-r--+ 1 iobroker iobroker 126K Sep 10 22:06 2021-09-10_22-06_states.json.g z -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 11 09:51 2021-09-11_09-51_objects.json. gz -rw-rw-r--+ 1 iobroker iobroker 126K Sep 11 09:51 2021-09-11_09-51_states.json.g z pi@raspberrypi:~ $ ^C
pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ cd /opt/iobroker/iobroker-data/ pi@raspberrypi:/opt/iobroker/iobroker-data $ mv objects.json objects.json.old pi@raspberrypi:/opt/iobroker/iobroker-data $ cd backup-objects/ pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ gunzip -ck 2021-08-2 0_10-49_objects.json.gz > /opt/iobroker/iobroker-data/objects.json pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ cd .. pi@raspberrypi:/opt/iobroker/iobroker-data $ cd .. pi@raspberrypi:/opt/iobroker $ cd .. pi@raspberrypi:/opt $ cd .. pi@raspberrypi:/ $ iobroker start pi@raspberrypi:/ $ iobroker status iobroker is running on this host. Objects type: file States type: file pi@raspberrypi:/ $ ^C
-
Habe nochmals Str+F5 gemacht und siehe da es funktioniert wieder.
Danke für die super Anleitung in diesem Thread
-
@goetschhofer Bitte js-controller updaten. Mit der 3.3.x sollte das nicht mehr passieren
-
@apollon77 said in Mini-HowTo: Cannot find view "system" for search "host":
@goetschhofer Bitte js-controller updaten. Mit der 3.3.x sollte das nicht mehr passieren
Dies betrifft jetzt zwar nur meinen alten RSPPi3+ das ich im Mai auf einem IntelNUC übersiedelt bin, aber trotzdem möchte ich den js-controller updaten.
Ich bin blutiger Anfänger und habe noch nie den js-controller upgedatet.Wenn ich so vorgehe, wie beschrieben passt dies ?
Auf dem iobroker am NUC schaut es so aus, hier bin ich auf 3.2.16:
Danke
-
Mähhhh .... was ist das denn .....nicht von dieser Seite
Kein sudo nutzen mit dem Befehl iobroker
-
@goetschhofer In der news message ist doch ein Link drin ... wie wäre es mit dem?
-
@goetschhofer sagte in Mini-HowTo: Cannot find view "system" for search "host":
Wenn ich so vorgehe, wie beschrieben passt dies ?
Schau doch mal ... ist doch alles im ioBroker beschrieben ..
.
-
Habe mal mit dem RSPPi3+ angefangen, aber hier bekomme ich eine Fehlermeldung ?
pi@raspberrypi:~ $ iob backup host.raspberrypi 4821 states saved host.raspberrypi 5083 objects saved Backup created: /opt/iobroker/backups/2021_09_11-18_19_27_backupiobroker.tar.gz pi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob update No connection to databases possible ... Unable to increase LUA script timeout: Connection is closed. Cannot load "custom": Connection is closed. Cannot initialize database scripts: Cannot load "custom" into objects database: Connection is closed. pi@raspberrypi:~ $ iob update No connection to databases possible ... Unable to increase LUA script timeout: Connection is closed. Cannot load "custom": Connection is closed. Cannot initialize database scripts: Cannot load "custom" into objects database: Connection is closed. pi@raspberrypi:~ $
-
@goetschhofer Bitte nicht in diesem Thread!! Bitte im rcontroller 3.3 Thread weitermachen. Danke
-
@apollon77 said in Mini-HowTo: Cannot find view "system" for search "host":
rcontroller 3.3 Thread
Danke für den Hinweis.
-
Hallo!
Am 17.09. ist das mit der system.config bei mir auch passiert.
Hier der Auszug aus dem Log.2021-09-17 14:37:53.267 - [31merror[39m: homeconnect.0 (21223) EventSource error: {"type":"error","message":"getaddrinfo ENOTFOUND api.home-connect.com"} 2021-09-17 14:37:53.488 - [32minfo[39m: hm-rpc.0 (25163) starting. Version 1.14.45 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v12.22.5, js-controller: 3.3.17 2021-09-17 14:37:53.793 - [31merror[39m: hm-rpc.0 (25163) Address 192.168.1.87 not available, maybe your HOST IP has changed due to migration 2021-09-17 14:37:53.946 - [31merror[39m: host.iobroker Caught by controller[0]: Error: listen EADDRNOTAVAIL: address not available 192.168.1.87:2010 2021-09-17 14:37:53.946 - [31merror[39m: host.iobroker Caught by controller[0]: at Server.setupListenHandle [as _listen2] (net.js:1299:21) 2021-09-17 14:37:53.947 - [31merror[39m: host.iobroker Caught by controller[0]: at listenInCluster (net.js:1364:12) 2021-09-17 14:37:53.947 - [31merror[39m: host.iobroker Caught by controller[0]: at doListen (net.js:1501:7) 2021-09-17 14:37:53.947 - [31merror[39m: host.iobroker Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:85:21) 2021-09-17 14:37:53.947 - [31merror[39m: host.iobroker instance system.adapter.hm-rpc.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-09-17 14:37:53.948 - [32minfo[39m: host.iobroker Restart adapter system.adapter.hm-rpc.0 because enabled 2021-09-17 14:37:54.193 - [31merror[39m: homeconnect.0 (21223) EventSource error: {"type":"error","message":"getaddrinfo ENOTFOUND api.home-connect.com"} 2021-09-17 14:37:54.240 - [32minfo[39m: s7.0 (21061) Connect in S7 mode to 0 / 2 2021-09-17 14:37:54.242 - [31merror[39m: s7.0 (21061) Connection failed. Code #101 2021-09-17 14:37:54.271 - [31merror[39m: homeconnect.0 (21223) EventSource error: {"type":"error","message":"getaddrinfo ENOTFOUND api.home-connect.com"} 2021-09-17 14:37:55.056 - [35msilly[39m: s7.0 (21061) States user redis pmessage s7.0.*/s7.0.DBs.DB125.Heizperiode_Aktiv_EG:{"val":false,"ack":false,"ts":1631882275029,"q":0,"c":"script.js.common.Heizung_EG.EG_Heizung","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1631867515035} 2021-09-17 14:37:55.057 - [35msilly[39m: s7.0 (21061) States user redis pmessage s7.0.*/s7.0.DBs.DB125.Anforderung_Heizung_EG:{"val":false,"ack":false,"ts":1631882275030,"q":0,"c":"script.js.common.Heizung_EG.EG_Heizung","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1631809638404} 2021-09-17 14:37:55.058 - [31merror[39m: s7.0 (21061) DB write error for s7.0.DBs.DB125.Heizperiode_Aktiv_EG: Code #589856 2021-09-17 14:37:55.060 - [31merror[39m: s7.0 (21061) DB write error for s7.0.DBs.DB125.Anforderung_Heizung_EG: Code #589856 2021-09-17 14:37:55.069 - [35msilly[39m: s7.0 (21061) States user redis pmessage s7.0.*/s7.0.DBs.DB125.Heizperiode_Aktiv_MG:{"val":false,"ack":false,"ts":1631882275033,"q":0,"c":"script.js.common.Heizung_MG.MG_Heizung","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1631867515036} 2021-09-17 14:37:55.071 - [31merror[39m: s7.0 (21061) DB write error for s7.0.DBs.DB125.Heizperiode_Aktiv_MG: Code #589856 2021-09-17 14:37:55.072 - [35msilly[39m: s7.0 (21061) States user redis pmessage s7.0.*/s7.0.DBs.DB125.Anforderung_Heizung_MG:{"val":false,"ack":false,"ts":1631882275033,"q":0,"c":"script.js.common.Heizung_MG.MG_Heizung","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1631867510053} 2021-09-17 14:37:55.073 - [31merror[39m: s7.0 (21061) DB write error for s7.0.DBs.DB125.Anforderung_Heizung_MG: Code #589856 2021-09-17 14:37:55.081 - [35msilly[39m: s7.0 (21061) States user redis pmessage s7.0.*/s7.0.DBs.DB125.Heizperiode_Aktiv_DG:{"val":false,"ack":false,"ts":1631882275033,"q":0,"c":"script.js.common.Heizung_DG.DG_Heizung","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1631867515096} 2021-09-17 14:37:55.083 - [31merror[39m: s7.0 (21061) DB write error for s7.0.DBs.DB125.Heizperiode_Aktiv_DG: Code #589856 2021-09-17 14:37:55.088 - [32minfo[39m: javascript.0 (24945) script.js.common.Allgemein.S7-Verbindungüberwachung: S7 Verbindungsstörung erkannt - Verbindung gestört gesetzt 2021-09-17 14:37:55.094 - [32minfo[39m: java2021-09-17 14:39:02.272 - [32minfo[39m: host.iobroker iobroker.js-controller version 3.3.17 js-controller starting 2021-09-17 14:39:02.280 - [32minfo[39m: host.iobroker Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-09-17 14:39:02.281 - [32minfo[39m: host.iobroker hostname: iobroker, node: v12.22.5 2021-09-17 14:39:02.282 - [32minfo[39m: host.iobroker ip addresses: 2021-09-17 14:39:02.341 - [31merror[39m: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json: /opt/iobroker/iobroker-data/objects.json: Unexpected end of JSON input. We try last Backup! 2021-09-17 14:39:02.359 - [31merror[39m: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: /opt/iobroker/iobroker-data/objects.json.bak: Unexpected end of JSON input. Continue with empty dataset! 2021-09-17 14:39:02.361 - [31merror[39m: host.iobroker-Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects 2021-09-17 14:39:02.490 - [31merror[39m: host.iobroker Cannot read system.config: null (OK when migrating or restoring) 2021-09-17 14:39:02.502 - [31merror[39m: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/states.json: /opt/iobroker/iobroker-data/states.json: Unexpected end of JSON input. We try last Backup! 2021-09-17 14:39:02.927 - [32minfo[39m: host.iobroker connected to Objects and States 2021-09-17 14:39:03.144 - [33mwarn[39m: host.iobroker logger system.adapter.admin.0.logging was deleted 2021-09-17 14:39:03.146 - [33mwarn[39m: host.iobroker logger system.adapter.javascript.0.logging was deleted 2021-09-17 14:39:03.183 - [32minfo[39m: host.iobroker added notifications configuration of host 2021-09-17 14:39:03.199 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:03.202 - [31merror[39m: host.iobroker Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2021-09-17 14:39:03.268 - [32minfo[39m: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2021-09-17 14:39:03.277 - [31merror[39m: host.iobroker Cannot find view "system" for search "host" 2021-09-17 14:39:03.307 - [31merror[39m: host.iobroker Cannot find view "system" for search "state" 2021-09-17 14:39:03.307 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:03.309 - [31merror[39m: host.iobroker Could not collect system.host.iobroker states to check for obsolete states: Error: Cannot find view "system" 2021-09-17 14:39:03.310 - [31merror[39m: host.iobroker _design/system missing - call node iobroker.js setup 2021-09-17 14:39:03.311 - [32minfo[39m: host.iobroker no instances found 2021-09-17 14:39:03.314 - [31merror[39m: host.iobroker uncaught exception: doc.rows is not iterable 2021-09-17 14:39:03.315 - [31merror[39m: host.iobroker TypeError: doc.rows is not iterable at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2864:27) 2021-09-17 14:39:03.326 - [32minfo[39m: host.iobroker iobroker _restart 2021-09-17 14:39:03.354 - [31merror[39m: host.iobroker Cannot write host object:Error: DB closed 2021-09-17 14:39:03.388 - [32minfo[39m: host.iobroker terminated 2021-09-17 14:39:04.406 - [32minfo[39m: host.iobroker iobroker Starting node restart.js 2021-09-17 14:39:06.502 - [32minfo[39m: host.iobroker iobroker.js-controller version 3.3.17 js-controller starting 2021-09-17 14:39:06.512 - [32minfo[39m: host.iobroker Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-09-17 14:39:06.513 - [32minfo[39m: host.iobroker hostname: iobroker, node: v12.22.5 2021-09-17 14:39:06.514 - [32minfo[39m: host.iobroker ip addresses: 192.168.1.87 fd00::2910:e66c:81d:c6ed 2001:871:205:d719:b994:d10b:7ea:8375 2001:871:205:d719:1734:ebe8:7ac8:ef00 fe80::75c1:9d3e:6f0c:312e 2021-09-17 14:39:06.765 - [31merror[39m: host.iobroker Cannot read system.config: null (OK when migrating or restoring) 2021-09-17 14:39:07.153 - [32minfo[39m: host.iobroker connected to Objects and States 2021-09-17 14:39:07.349 - [32minfo[39m: host.iobroker added notifications configuration of host 2021-09-17 14:39:07.391 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:07.392 - [31merror[39m: host.iobroker Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2021-09-17 14:39:07.416 - [32minfo[39m: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2021-09-17 14:39:07.471 - [31merror[39m: host.iobroker Cannot find view "system" for search "host" 2021-09-17 14:39:07.507 - [31merror[39m: host.iobroker Cannot find view "system" for search "state" 2021-09-17 14:39:07.508 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:07.510 - [31merror[39m: host.iobroker Could not collect system.host.iobroker states to check for obsolete states: Error: Cannot find view "system" 2021-09-17 14:39:07.511 - [31merror[39m: host.iobroker _design/system missing - call node iobroker.js setup 2021-09-17 14:39:07.512 - [32minfo[39m: host.iobroker no instances found 2021-09-17 14:39:07.517 - [31merror[39m: host.iobroker uncaught exception: doc.rows is not iterable 2021-09-17 14:39:07.518 - [31merror[39m: host.iobroker TypeError: doc.rows is not iterable at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2864:27) 2021-09-17 14:39:07.530 - [32minfo[39m: host.iobroker iobroker _restart 2021-09-17 14:39:07.571 - [31merror[39m: host.iobroker Cannot write host object:Error: DB closed 2021-09-17 14:39:07.602 - [32minfo[39m: host.iobroker terminated 2021-09-17 14:39:08.457 - [32minfo[39m: host.iobroker iobroker Starting node restart.js 2021-09-17 14:39:08.672 - [32minfo[39m: host.iobroker received SIGTERM 2021-09-17 14:39:08.683 - [33mwarn[39m: host.iobroker get state error: Connection is closed. 2021-09-17 14:39:08.685 - [32minfo[39m: host.iobroker terminated 2021-09-17 14:39:08.763 - [32minfo[39m: host.iobroker iobroker exit null 2021-09-17 14:39:10.337 - [32minfo[39m: host.iobroker iobroker.js-controller version 3.3.17 js-controller starting 2021-09-17 14:39:10.345 - [32minfo[39m: host.iobroker Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-09-17 14:39:10.346 - [32minfo[39m: host.iobroker hostname: iobroker, node: v12.22.5 2021-09-17 14:39:10.347 - [32minfo[39m: host.iobroker ip addresses: 192.168.1.87 fd00::2910:e66c:81d:c6ed 2001:871:205:d719:b994:d10b:7ea:8375 2001:871:205:d719:1734:ebe8:7ac8:ef00 fe80::75c1:9d3e:6f0c:312e 2021-09-17 14:39:10.530 - [31merror[39m: host.iobroker Cannot read system.config: null (OK when migrating or restoring) 2021-09-17 14:39:10.540 - [31merror[39m: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup! 2021-09-17 14:39:10.849 - [32minfo[39m: host.iobroker connected to Objects and States 2021-09-17 14:39:11.026 - [32minfo[39m: host.iobroker added notifications configuration of host 2021-09-17 14:39:11.067 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:11.069 - [31merror[39m: host.iobroker Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2021-09-17 14:39:11.092 - [32minfo[39m: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2021-09-17 14:39:11.147 - [31merror[39m: host.iobroker Cannot find view "system" for search "host" 2021-09-17 14:39:11.183 - [31merror[39m: host.iobroker Cannot find view "system" for search "state" 2021-09-17 14:39:11.184 - [31merror[39m: host.iobroker Cannot find view "system" for search "instance" 2021-09-17 14:39:11.186 - [31merror[39m: host.iobroker Could not collect system.host.iobroker states to check for obsolete states: Error: Cannot find view "system" 2021-09-17 14:39:11.187 - [31merror[39m: host.iobroker _design/system missing - call node iobroker.js setup 2021-09-17 14:39:11.188 - [32minfo[39m: host.iobroker no instances found 2021-09-17 14:39:11.193 - [31merror[39m: host.iobroker uncaught exception: doc.rows is not iterable 2021-09-17 14:39:11.194 - [31merror[39m: host.iobroker TypeError: doc.rows is not iterable at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2864:27) 2021-09-17 14:39:11.205 - [32minfo[39m: host.iobroker iobroker _restart 2021-09-17 14:39:11.247 - [31merror[39m: host.iobroker Cannot write host object:Error: DB closed 2021-09-17 14:39:11.277 - [32minfo[39m: host.iobroker terminated
Zur gleichen Zeit erhielt mein Router ein Update der Verbindungseinstellungen (in den Logs vom Router gesehen) von meinem Provider und war dadurch nicht verfügbar. Nachdem der Router fertig war, funktionierte mein ioBroker nicht mehr. Vielleicht hilft das bei der Suche nach der Ursache weiter.
Leider lasse sich die automatischen Firmwareupdates und die Updates der Verbindungseinstellungen an meiner Fritz nicht abschalten.Vielen Dank für die Anleitung zur Wiederbelebung. Hat super funktioniert.
-
Das eine kann aber eigentlich mit dem anderen nichts zu tun haben.
-
@thomas-braun War nur so ein Gedanke, ob es vielleicht etwas zerschießt, wenn der Router bzw. die Netzwerkverbindung zu einem ungünstigen Moment ausfällt.
-
@meinzisas sagte in Mini-HowTo: Cannot find view "system" for search "host":
2021-09-17 14:37:55.094 - [32minfo[39m: java2021-09-17 14:39:02.272 - [32minfo[39m: host.iobroker iobroker.js-controller version 3.3.17 js-controller starting
Das hier sieht wirklich eher nach nem "Harten crash oder kill" des Hosts oder des ioBroker Controller Prozesses aus. Meine Vermutung würde auf "Strom weg" gehen wenn ich ehrlich bin. Kannst Schauen was ggf in /var/log/syslog steht.
Generell: Update controller auf 3.3, dann passiert das nicht mehr