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.
    • 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
              • A
                avunculo @Thomas Braun last edited by

                deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                deb https://archive.raspbian.org/raspbian buster main contrib non-free
                deb-src https://archive.raspbian.org/raspbian buster main contrib non-free
                

                Ich habe

                deb https://archive.raspbian.org/raspbian buster main contrib non-free
                deb-src https://archive.raspbian.org/raspbian buster main contrib non-free
                

                gelöscht. Und dann nochmal iobroker status
                iobroker stop
                iobroker fix
                iobroker start
                durchgeführt, leider nach wie vor kein Zugriff:/

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

                  @avunculo

                  Ich hätte ja einfach buster durch bullseye ersetzt.
                  So bekommst du keine Updates mehr aus der Quelle und kannst nicht auf Pakete von dort zugreifen.

                  Und bitte nix nacherzählen, komplette Ein- und Ausgaben aus der Konsole posten.

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

                    @thomas-braun

                    pi@raspberrypi:~ $ iobroker stop
                    pi@raspberrypi:~ $ 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
                    Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                            
                    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 bullseye InRelease [15.0 kB]    
                    Get:6 https://archive.raspbian.org/raspbian bullseye/contrib Sources [81.9 kB]
                    Get:7 https://archive.raspbian.org/raspbian bullseye/main Sources [12.2 MB]
                    Get:8 https://archive.raspbian.org/raspbian bullseye/non-free Sources [140 kB]
                    Get:9 https://archive.raspbian.org/raspbian bullseye/main armhf Packages [13.2 MB]
                    Get:10 https://archive.raspbian.org/raspbian bullseye/contrib armhf Packages [60.2 kB]
                    Get:11 https://archive.raspbian.org/raspbian bullseye/non-free armhf Packages [106 kB]
                    Fetched 25.9 MB in 11s (2,460 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:~ $ iobroker start
                    
                    pi@raspberrypi:~ $ 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)
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @avunculo last edited by

                      @avunculo

                      Versuch mal

                      iobroker stop
                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller
                      
                      A 1 Reply Last reply Reply Quote 0
                      • A
                        avunculo @Thomas Braun last edited by avunculo

                        @thomas-braun said in iobroker startet nach Stromausfall nicht mehr:

                                                                                                                                                                                                sudo -H -u iobroker npm install iobroker.js-controller                                            
                        

                        VIELEN DANK! 🙂 🙂 Zugriff auf meinen iobroker habe ich schonmal!!!

                        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

                        865
                        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