Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Endlosfehlerschleife beim Start: doc.rows is not iterable

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Endlosfehlerschleife beim Start: doc.rows is not iterable

    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      orfix last edited by

      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 voraus

      iobroker 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
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @orfix last edited by

        @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

        madjack84 1 Reply Last reply Reply Quote 0
        • madjack84
          madjack84 @Homoran last edited by madjack84

          @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:


          2022-01-25 19:15:02.423 - error: host.raspberrypi TypeError: doc.rows is not iterable
          at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2863:27)
          2022-01-25 19:15:02.432 - info: host.raspberrypi iobroker _restart
          2022-01-25 19:15:02.456 - error: host.raspberrypi Cannot write host object:Error: DB closed
          2022-01-25 19:15:02.492 - info: host.raspberrypi terminated
          2022-01-25 19:15:03.169 - info: host.raspberrypi iobroker Starting node restart.js
          2022-01-25 19:15:03.398 - info: host.raspberrypi received SIGTERM
          2022-01-25 19:15:03.403 - warn: host.raspberrypi get state error: Connection is closed.
          2022-01-25 19:15:03.403 - info: host.raspberrypi terminated
          2022-01-25 19:15:03.476 - info: host.raspberrypi iobroker exit null
          2022-01-25 19:22:27.408 - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
          2022-01-25 19:22:27.414 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
          2022-01-25 19:22:27.415 - info: host.raspberrypi hostname: raspberrypi, node: v12.22.7
          2022-01-25 19:22:27.415 - info: host.raspberrypi ip addresses: 192.168.188.21 2003:df:d700:7100:5fb3:562c:15a0:dd8d fe80::1224:4186:b63b:12d6
          2022-01-25 19:22:27.529 - error: host.raspberrypi Cannot read system.config: null (OK when migrating or restoring)
          2022-01-25 19:22:27.651 - info: host.raspberrypi connected to Objects and States
          2022-01-25 19:22:27.736 - info: host.raspberrypi added notifications configuration of host
          2022-01-25 19:22:27.774 - error: host.raspberrypi Cannot find view "system" for search "instance"
          2022-01-25 19:22:27.775 - error: host.raspberrypi Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system"
          2022-01-25 19:22:27.848 - info: host.raspberrypi Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
          2022-01-25 19:22:27.855 - error: host.raspberrypi Cannot find view "system" for search "host"
          2022-01-25 19:22:27.864 - error: host.raspberrypi Cannot find view "system" for search "state"
          2022-01-25 19:22:27.864 - error: host.raspberrypi Cannot find view "system" for search "instance"
          2022-01-25 19:22:27.867 - error: host.raspberrypi Could not collect system.host.raspberrypi states to check for obsolete states: Error: Cannot find view "system"

          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: file

          ich fürchte das ist nicht der gleiche Fehler 😞 Gibts hierfür auch eine schnieke Lösung?

          madjack84 Homoran 2 Replies Last reply Reply Quote 0
          • madjack84
            madjack84 @madjack84 last edited by

            @orfix : Hattest du eine Lösung gefunden?

            O 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @madjack84 last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • O
                orfix @madjack84 last edited by orfix

                @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

                madjack84 1 Reply Last reply Reply Quote 0
                • madjack84
                  madjack84 @orfix last edited by

                  @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? 😮

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    orfix @madjack84 last edited by

                    @madjack84
                    servus,
                    hab neuerer HW verwendend läuft wieder
                    Raspberry Pi 2 Model B Rev 1.1

                    mfg

                    orfix

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    449
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    3
                    8
                    525
                    Loading More Posts
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes
                    Reply
                    • Reply as topic
                    Log in to reply
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                    The ioBroker Community 2014-2023
                    logo