NEWS
Endlosfehlerschleife beim Start: doc.rows is not iterable
-
Hallo,
die Weboberfläche meines iobrokers v3.3.15 ist nicht mehr verfügbar (connection refused). Mir ist eine sehr hohe CPU Last aufgefallen und hab den iobroker Service neu gestartet. Aber im syslog scheint der Prozess jetzt in einer Endlosschleife zu stecken.
Könnt ihr mir weiterhelfen?
Danke im vorausiobroker version 3.3.15 iobroker update Cannot read system.config: null (OK when migrating or restoring) Error: Object "system.config" not found pi@erba-raspi-1:/opt/iobroker/iobroker-data $ iobroker repo list Cannot read system.config: null (OK when migrating or restoring) Cannot get list: undefined Jan 23 12:06:17 erba-raspi-1 systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE Jan 23 12:06:17 erba-raspi-1 systemd[1]: iobroker.service: Failed with result 'exit-code'. Jan 23 12:06:17 erba-raspi-1 systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling restart. Jan 23 12:06:17 erba-raspi-1 systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 52. Jan 23 12:06:17 erba-raspi-1 systemd[1]: Stopped ioBroker Server. Jan 23 12:06:17 erba-raspi-1 systemd[1]: Started ioBroker Server. Jan 23 12:06:21 erba-raspi-1 bash[12398]: doc.rows is not iterable Jan 23 12:06:21 erba-raspi-1 bash[12398]: TypeError: doc.rows is not iterable Jan 23 12:06:21 erba-raspi-1 bash[12398]: at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2787:27) Jan 23 12:06:22 erba-raspi-1 bash[12398]: object system.meta.uuid cannot be updated: Error: DB closed Jan 23 12:06:22 erba-raspi-1 bash[12398]: object system.user.admin created Jan 23 12:06:23 erba-raspi-1 systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE Jan 23 12:06:23 erba-raspi-1 systemd[1]: iobroker.service: Failed with result 'exit-code'. Jan 23 12:06:23 erba-raspi-1 systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling restart. Jan 23 12:06:23 erba-raspi-1 systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 53. Jan 23 12:06:23 erba-raspi-1 systemd[1]: Stopped ioBroker Server. Jan 23 12:06:23 erba-raspi-1 systemd[1]: Started ioBroker Server. Jan 23 12:06:27 erba-raspi-1 bash[12423]: doc.rows is not iterable Jan 23 12:06:27 erba-raspi-1 bash[12423]: TypeError: doc.rows is not iterable Jan 23 12:06:27 erba-raspi-1 bash[12423]: at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2787:27) Jan 23 12:06:28 erba-raspi-1 bash[12423]: object system.meta.uuid cannot be updated: Error: DB closed Jan 23 12:06:28 erba-raspi-1 bash[12423]: object system.user.admin created Jan 23 12:06:29 erba-raspi-1 systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE Jan 23 12:06:29 erba-raspi-1 systemd[1]: iobroker.service: Failed with result 'exit-code'. Jan 23 12:06:29 erba-raspi-1 systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling restart. Jan 23 12:06:29 erba-raspi-1 systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 54. Jan 23 12:06:29 erba-raspi-1 systemd[1]: Stopped ioBroker Server. Jan 23 12:06:29 erba-raspi-1 systemd[1]: Started ioBroker Server.
Systemdata Bitte Ausfüllen Hardwaresystem: Raspi Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: Raspbian GNU/Linux 10 (buster) Node-Version: v12.22.8 Nodejs-Version: v12.22.8 NPM-Version: 6.14.15 Installationsart: Skript Image genutzt: Ja Ort/Name der Imagedatei: Link -
@orfix sagte in Endlosfehlerschleife beim Start: doc.rows is not iterable:
Cannot read system.config: null (OK when migrating or restoring)
mal mit Stecker-raus "heruntergefahren"??
such mal nach der fehlermeldung, dafür gibt es ein HowTo
-
@homoran ich habe einen ähnlichen Fehler
nach Neustart und bereits erfolgtem restore von Backup states und objects nach eurer Anleitung erhalte ich nach iobroker start dieses log:
mein status sagt:
upgrade@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ iobroker status
Cannot read system.config: null (OK when migrating or restoring)
iobroker is not running on this host.Objects type: file
States type: fileich fürchte das ist nicht der gleiche Fehler Gibts hierfür auch eine schnieke Lösung?
-
@orfix : Hattest du eine Lösung gefunden?
-
@madjack84 sagte in Endlosfehlerschleife beim Start: doc.rows is not iterable:
Cannot read system.config: null (OK when migrating or restoring)
dann such mal nach diesem Fehler.
Zur Behebung gibt es sogar ein mini-HowTo -
@madjack84
servus,
nein läuft noch nicht, auch die images funktionieren bei mir nicht.install läuft bis zu den befehlen, hab alles schon probiert
curl -sLf https://iobroker.net/install.sh | bash -
curl -k -sL https://iobroker.net/install.sh | bash -
sudo curl -sL -v https://iobroker.net/install.sh | bash -
curl -sL https://iobroker.net/fix.sh | bash -
curl -sLf https://iobroker.net/install.sh | sudo -E bash -hier kommen dann die vielen fehlermeldungen
npm ERR! code 1
npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
npm ERR! command failed
npm ERR! command sh -c node iobroker.js setup first
npm ERR! creating conf/iobroker.json
npm ERR! Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
npm ERR! Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
npm ERR! Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!mfg
orfix
-
@orfix meine Files gestern waren schon zu alt musste leider neu aufsetzen.
Allerdings hab ich den Bug heute schon wieder gesehen auf dem neuen System nach mehreren Neustarts.Gestern konnte ich auf den Thread nicht mehr antworten. "Forbidden" kam da... darf man nicht zu viele Antworten in einen Thread stellen? Policy?
-