Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker plötzlich nicht mehr erreichbar

    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 plötzlich nicht mehr erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • spicer
      spicer @Thomas Braun last edited by

      @thomas-braun

      pi@iobroker:/ $ iob stop
      pi@iobroker:/ $ curl -fsL https://iobroker.net/fix.sh | bash -
      library: loaded
      Library version=2022-06-15
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-06-03
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/3)
      ==========================================================================
      
      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:2 http://archive.raspberrypi.org/debian buster InRelease                                                 
      OK:3 https://deb.nodesource.com/node_16.x buster InRelease                                                  
      Paketlisten werden gelesen... Fertig               
      Installed gcc-c++
      
      ==========================================================================
          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@iobroker:/ $ iobroker start
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @spicer last edited by

        @spicer

        cd ~
        iob status
        
        1 Reply Last reply Reply Quote 0
        • spicer
          spicer last edited by

          pi@iobroker:/ $ cd ~
          pi@iobroker:~ $ iob status
          Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @spicer last edited by

            @spicer

            dmesg -T | grep -i ext4
            df -h
            
            1 Reply Last reply Reply Quote 0
            • spicer
              spicer last edited by

              Habe mal die objects.jsonl umbenannt und iob neu gestartet.

              pi@iobroker:~ $ iob status
               Cannot read system.config: null (OK when migrating or restoring)
              iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              
              1 Reply Last reply Reply Quote 0
              • spicer
                spicer last edited by

                pi@iobroker:~ $ dmesg -T | grep -i ext4
                [Mo Sep 19 16:09:43 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=0b3a03bb-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                [Mo Sep 19 16:09:46 2022] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                [Mo Sep 19 16:09:46 2022] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                [Mo Sep 19 16:09:49 2022] EXT4-fs (mmcblk0p2): recovery complete
                [Mo Sep 19 16:09:50 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                [Mo Sep 19 16:09:50 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Mo Sep 19 16:09:53 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                pi@iobroker:~ $ df -h
                Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                /dev/root        29G    3.8G   24G   14% /
                devtmpfs        430M       0  430M    0% /dev
                tmpfs           462M       0  462M    0% /dev/shm
                tmpfs           462M     12M  450M    3% /run
                tmpfs           5.0M    4.0K  5.0M    1% /run/lock
                tmpfs           462M       0  462M    0% /sys/fs/cgroup
                /dev/sda1        30G    986M   29G    4% /media/usb
                /dev/mmcblk0p1  253M     49M  204M   20% /boot
                tmpfs            93M       0   93M    0% /run/user/1000
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @spicer last edited by

                  @spicer sagte in iobroker plötzlich nicht mehr erreichbar:

                  [Mo Sep 19 16:09:46 2022] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem

                  Da hats aber mal Einschläge auf dem Dateisystem gegeben.

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

                    @thomas-braun

                    SD hinüber?
                    War vor 2 Jahren auch schon mal der Fall.

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

                      @spicer

                      Zumindest angeschossen. Zu dem Zeitpunkt unsauber (aka. 'Ich rupf dem Ding den Strom raus, dann startet der ja auch neu) rebootet?

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

                        @thomas-braun
                        Hab gerade einen "sudo reboot" gemacht.
                        Läuft immer noch nicht.

                        spicer 1 Reply Last reply Reply Quote 0
                        • spicer
                          spicer @spicer last edited by

                          fsck bringt was?

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

                            @spicer

                            fsck hat die Kiste ja beim reboot automatisch ausgeführt. Die Ergebnisse sind aber mit Vorsicht zu genießen, insbesondere auf SD-Karten, die zwei Jahre geknechtet wurden.

                            Vielleicht kannst du das Mini-HowTo auf jsonl adaptieren:

                            https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1663610052343

                            1 Reply Last reply Reply Quote 0
                            • spicer
                              spicer last edited by

                              Seit dem Reboot ist etwas anders:

                              pi@iobroker:~ $ iobroker status
                              No connection to databases possible ...
                              
                              
                              Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @spicer last edited by

                                @spicer

                                Wie gesagt: Schau mal ob du mit dem Mini-HowTo parat kommst. Funktionierende *.jsonl an die richtige Stelle kopieren.

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

                                  @spicer sagte in iobroker plötzlich nicht mehr erreichbar:

                                  Seit dem Reboot ist etwas anders:

                                  pi@iobroker:~ $ iobroker status
                                  

                                  No connection to databases possible ...

                                  wundert dich das wenn du die Datebank löschst?

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

                                    @homoran
                                    Hatte die Datei nur renamed. Jetzt ist sie wieder wie vorher da stehen.

                                    1 Reply Last reply Reply Quote 0
                                    • spicer
                                      spicer last edited by

                                      Nach der Mini-HowTo Prozedur erscheint nun:

                                      pi@iobroker:~ $ iobroker status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: jsonl
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • spicer
                                        spicer last edited by

                                        Und läuft!
                                        Vielen Dank Euch allen!

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

                                          @spicer

                                          Ich vermute ja immer noch, das da die SD-Karte erste Ausfallerscheinungen zeigt. Backup vom ioBroker machen und auf ein frisches Medium hüpfen.

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

                                            @thomas-braun
                                            Jup, wird gemacht.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            883
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            50
                                            1614
                                            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