Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker startet nach Stromausfall nicht mehr

    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

    iobroker startet nach Stromausfall nicht mehr

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

      Guten Morgen,
      ich hoffe, ihr könnt mir weiterhelfen. Ich habe auf einem Raspberry pi 4 iobroker installiert, dieser läuft auch seit Monaten stabil. Leider hatte ich heute Nacht einen Stromausfall. Jetzt startet iobroker nicht mehr. Ich erhalte keine Verbindung via Browser. Es läuft bei mir unter dem Port 8081.

      ps -A | grep iobroker
       8660 ?        00:00:01 iobroker.js-con```
      node node_modules/iobroker.js-controller/controller.js --logs
      
      2022-04-22 08:50:33.457  - info: host.raspberrypi iobroker.js-controller version 4.0.15 js-controller starting
      2022-04-22 08:50:33.465  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-04-22 08:50:33.466  - info: host.raspberrypi hostname: raspberrypi, node: v16.14.2
      2022-04-22 08:50:33.468  - info: host.raspberrypi ip addresses: 192.168.178.45 fe80::4abe:b9e2:bc1a:b687
      /opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187
                  this.log.warning(
                           ^
      
      TypeError: Cannot read properties of undefined (reading 'warning')
          at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187:22)
          at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:83:18)
          at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9)
          at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:58:9)
          at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9)
          at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30)
          at createObjects (/opt/iobroker/node_modules/iobroker.js-controller/main.js:583:15)
          at Object.init (/opt/iobroker/node_modules/iobroker.js-controller/main.js:5545:5)
          at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:8:19)
          at Module._compile (node:internal/modules/cjs/loader:1103:14)
      pi@raspberrypi:/opt/iobroker $ 
      
      
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @avunculo last edited by

        @avunculo was sagt iobroker status ?

        S A 2 Replies Last reply Reply Quote 0
        • S
          simplyclever @Homoran last edited by

          Mir hat nach Stromausfall dieser Thread geholfen (wiederherstellen von objects.json und states.json)
          https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1616096619995

          Thomas Braun A 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @simplyclever last edited by

            @simplyclever

            Ich weiß allerdings nicht, ob das mit jsonl auch funktioniert.

            arteck 1 Reply Last reply Reply Quote 0
            • A
              avunculo @Homoran last edited by

              @homoran said in iobroker startet nach Stromausfall nicht mehr:

              @avunculo was sagt iobroker status ?

              iobroker status
              Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning')
                  at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187:22)
                  at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:83:18)
                  at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9)
                  at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:58:9)
                  at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9)
                  at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30)
                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3123:27)
              
              1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active @Thomas Braun last edited by

                @thomas-braun ja ist nix anderes..file is file..

                bei redis ist es anders

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @arteck last edited by

                  @arteck

                  Stimmt auch wieder. Korrupte Datei ist korrupte Datei.

                  1 Reply Last reply Reply Quote 0
                  • A
                    avunculo @simplyclever last edited by

                    @simplyclever said in iobroker startet nach Stromausfall nicht mehr:

                    Mir hat nach Stromausfall dieser Thread geholfen (wiederherstellen von objects.json und states.json)
                    https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1616096619995

                    Also diesen Thread folgen? Ich hoffe ich kann meinen iobroker dadurch retten. Es sind einige Einstellungen der letzten Monate dazugekommen. Wäre traurig, wenn alles weg wäre.
                    Gruß

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @avunculo last edited by

                      @avunculo sagte in iobroker startet nach Stromausfall nicht mehr:

                      Wäre traurig, wenn alles weg wäre.

                      Dafür hat man aktuelle Backups.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        avunculo @Thomas Braun last edited by

                        @thomas-braun
                        oh, Fehlinformation, ich habe tatsächlich Backups 😉
                        Muss ich diese vorher sichern, bevor ich diesem Thread https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1616096619995 folge?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @avunculo last edited by

                          @avunculo

                          Da Backups immer auf externen Speichermedien liegen kann da nix passieren.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            avunculo @Thomas Braun last edited by

                            @thomas-braun bisher liegen diese auf meinem Raspberry /iobroker-data/backup-objects

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @avunculo last edited by

                              @avunculo

                              Backups auf der gleichen Hardware deponiert sind natürlich keine.
                              Wenn die abraucht ist ja auch das Backup weg.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                avunculo @Thomas Braun last edited by

                                @thomas-braun ja, 🙂 Ja ich weiß, bin ja froh, es mal eingerichtet zu haben. Ich werde mich jetzt dem Thread von dir widmen.
                                Und dann werde ich perspektivisch meine backups extern sichern.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  avunculo last edited by

                                  Habe jetzt den Beitrag https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1616096619995 durchgeführt. Leider keine Besserung. Kann nach wie vor mein iobroker via web nicht öffnen.

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @avunculo last edited by

                                    @avunculo

                                    iobroker status
                                    iobroker stop
                                    iobroker fix
                                    iobroker start
                                    

                                    sagt?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      avunculo @Thomas Braun last edited by Homoran

                                      @thomas-braun

                                      iobroker status
                                      Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning')
                                          at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187:22)
                                          at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:83:18)
                                          at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9)
                                          at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:58:9)
                                          at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9)
                                          at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30)
                                          at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3123:27)
                                      
                                      iobroker stop
                                      pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ iobroker fix
                                      library: loaded
                                      Library version=2022-02-10
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installation fixer!
                                          Script version: 2022-02-13
                                          
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/3)
                                      ==========================================================================
                                      
                                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]                                                  
                                      Hit:3 https://repos.influxdata.com/debian bullseye InRelease                                                              
                                      Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease                                                             
                                      Get:5 https://archive.raspbian.org/raspbian buster InRelease [15.0 kB]      
                                      Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [279 kB]
                                      Fetched 317 kB in 1s (213 kB/s)  
                                      Reading package lists... Done
                                      Installed gcc-c++
                                      Installed python-dev
                                      
                                      ==========================================================================
                                          Checking ioBroker user and directory permissions (2/3)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                          Checking autostart (3/3)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      
                                      ==========================================================================
                                      
                                          Your installation was fixed successfully
                                          Run iobroker start to start ioBroker again!
                                      
                                      ==========================================================================
                                      
                                      pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ iobroker start
                                      
                                      

                                      Nach wie vor kein Zugriff via ip auf meinem iobroker

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @avunculo last edited by

                                        @avunculo

                                        Auch du fährst da einen Mix aus zwei Releases in den sources.lists
                                        Das gibt früher oder später Kopfschmerzen. Eher früher.

                                        Ist hier auch ein Problem:
                                        https://forum.iobroker.net/topic/54420/iobroker-mit-120-auslastung-und-no-connection-to-database/3

                                        Räum die Quellen auf.

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          avunculo @Thomas Braun last edited by

                                          @thomas-braun

                                          nano /etc/apt/sources.list.d/influxdb.list
                                          
                                            GNU nano 5.4                               /etc/apt/sources.list.d/influxdb.list                                         
                                          deb https://repos.influxdata.com/debian bullseye stable
                                          

                                          Was muss ich mit der Quelle machen?

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @avunculo last edited by

                                            @avunculo

                                            Nee, die influxdb.list ist bei dir richtig.
                                            Du hast einen falschen Eintrag hier:

                                            https://archive.raspbian.org/raspbian buster InRelease
                                            

                                            Ich weiß aber so aus dem Kopf nicht, in welcher der Dateien in
                                            /etc/apt/sources.list.d/
                                            das drin steht.
                                            Kann auch aus der Datei
                                            /etc/apt/sources.list
                                            kommen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            841
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            25
                                            1131
                                            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