Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Crash - no connection to states 0.0.0.0:6370[redis]

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Crash - no connection to states 0.0.0.0:6370[redis]

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

      @sirfauntleroy

      Nö, nimm das aktuelle Image von rasperry OS, dann den Einzeiler

      curl -sLf https://iobroker.net/install.sh | bash -
      

      und dann das Backup reinjubeln.
      redis musst du vorher noch installieren, das ist nicht vorinstalliert.

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

        @sirfauntleroy
        Nein!

        du nimmst das Raspberrypi OS lite
        und schreibst noch eine leere Datei ssh in die Bootpartition

        Steckst die Karte in den Raspi und Strom drauf.
        wartest etwa 5 Minuten und gehst dann mit puTTY auf den Pi

        Dann gibst du nach Einstellung der Zeitzone und Sprache über sudo raspi-config nur noch
        curl -sLf https://iobroker.net/install.sh | bash -
        ein und fertig

        Also im Prinzip

        @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

        ios einspielen, einlegen, fertig...

        wobei ios auf dem pi nicht läuft

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

          @homoran
          ups.. meinte "iso" 😛

          ok.. und dann noch:

          sudo apt-get install redis-server
          

          und dann das backup über den Adapter in der Adminoberfläche einspielen?
          oder per ssh? (Wenn ja, wie genau?)

          Vielen dank schonmal...

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

            @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

            sudo apt-get install redis
            

            und dann das backup über den Adapter in der Adminoberfläche einspielen?

            Die Adminoberfläche sollte dann ja wieder laufen. Also am besten dann darüber.

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

              @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

              ups.. meinte "iso"

              ach so.
              Aber da halte ich nichts von, vielleicht auch weil ich mich mit soviel IT nicht auskenne.

              Ein sauberes ioBroker Backup ist in 15 Minuten Hand-On und etwa 1,5h Brutto wieder aufgesetzt, wovon 1h die automatische Neuinstallation aller Adapter und Instanzen anhand deiner gesicherten Konfigurationen bei einem Pi dauern kann

              @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

              ok.. und dann noch:
              sudo apt-get install redis-server

              Warum?
              entweder ist das Image vollständig, dann braucht es das nicht, oder dein Image ist defekt

              @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

              und dann das backup über den Adapter in der Adminoberfläche einspielen?

              Da gilt das gleiche.
              Wenn Spiegel der Karte, dann sollte da alles drin sein

              @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

              oder per ssh? (Wenn ja, wie genau?)

              das wäre ja putty oder Powershell

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

                @homoran

                der post, welchen du zitierst, bezieht sich darauf, dass ich den Pi jetzt neu aufsetzte, da anscheinend irgendwas mit der iso nicht stimmt...

                sorry, falls ich da jetzt für Verwirrung sorge..

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

                  @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                  der post, welchen du zitierst, bezieht sich darauf, dass ich den Pi jetzt neu aufsetzte

                  aber das wäre doch dann nur:

                  • Betriebssystem installieren
                  • Grundeinstellungen (Sprache/Zeitzone)
                  • * curl -sLf https://iobroker.net/install.sh | bash -
                    fertig

                  Dann über den Admin und backitup das letzte Backup wiederherstellen - etwas (bis zu 60 Minuten) warten

                  ganz fertig

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

                    @homoran

                    Sorry, dass ich jetzt da so blöd frage...

                    Ist jetzt redis doch schon bei der Iobroker-Installation inkludiert?

                    oder muss ich es vorm einspielen des Backups noch installieren?

                    oder wird es mit dem Backup wiederhergestellt?

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

                      @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                      Ist jetzt redis doch schon bei der Iobroker-Installation inkludiert?
                      oder muss ich es vorm einspielen des Backups noch installieren?

                      wenn du es vorher drauf hattest und es weiter nutzen möchtest muss es noch installiert werden.

                      Das war aber nur für langsame SBC (RPi1/BananaPi) wirklich notwendig

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

                        @homoran

                        mmh... d.h. wenn ich das Backup einspiele, ohne redis vorher wieder zu installieren geht das trotzdem?

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

                          @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                          ohne redis vorher wieder zu installieren geht das trotzdem?

                          leider nein
                          Wobei....
                          Wenn man nach dem Restore über `iobroker setup custom´ wieder auf file umstellt müsste es auch gehen

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

                            @homoran

                            Nein, du bekommst das ohne redis dann gar nicht erst wieder reingespielt, wenn das Backup auf redis gesetzt hatte.

                            Merkt man aber beim reinspülen.

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

                              @thomas-braun sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                              @homoran

                              Nein, du bekommst das ohne redis dann gar nicht erst wieder reingespielt, wenn das Backup auf redis gesetzt hatte.

                              War auch meine spontane Meinung, glaube mich aber zu erinnern, dass dann der genannte Fehler auftritt und nach Änderung auf File/File es trotzdem wieder läuft.

                              (kann mich aber auch irren)

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

                                @homoran
                                Dann fehlt dir der states oder objects Teil. Oder beides, wenn voll auf redis umgestellt war.

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

                                  @thomas-braun sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                                  Dann fehlt dir der states oder objects Teil.

                                  ich gehe erst einmal nur von states aus.
                                  und ja, dann fehlen doch nur die Werte, oder???

                                  ich hatte bei so einem Fall immer vor dem Backup schon auf file/file umgestellt

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

                                    @homoran
                                    f2980dca-6b9e-4a1e-a98f-67b694b9d7e1-image.png

                                    bin euren Tips bis jetzt gefolgt. (also ausprobiert, ob ohne vorherigem installieren von Redis...)

                                    Dann hätte ich das Backup eingespielt.

                                    dann kam ein Standbild. und über SSH:

                                    iob status
                                    No connection to states 0.0.0.0:6379[redis]
                                    
                                    

                                    interessant 😄

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

                                      @sirfauntleroy

                                      Das war das was ich meinte...
                                      Also redis installieren, müsste dann funktionieren.

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

                                        @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                                        dann kam ein Standbild. und über SSH:

                                        passt

                                        aus akademischem Interesse:
                                        was passiert denn jetzt wenn du über iobroker setup custom auf file/file umstellst

                                        @thomas-braun sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                                        @sirfauntleroy

                                        Das war das was ich meinte...
                                        Also redis installieren, müsste dann funktionieren.

                                        das wäre die andere Möglichkeit

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

                                          @homoran

                                          pi@raspberrypi:~ $ iobroker setup custom
                                          Current configuration:
                                          - Objects database:
                                            - Type: file
                                            - Host/Unix Socket: 0.0.0.0
                                            - Port: 9001
                                          - States database:
                                            - Type: redis
                                            - Host/Unix Socket: 0.0.0.0
                                            - Port: 6379
                                          - Data Directory: ../../iobroker-data/
                                          - Host name: ioBroker
                                          
                                          Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
                                          Host / Unix Socket of objects DB(file), default[0.0.0.0]:
                                          Port of objects DB(file), default[9001]:
                                          Type of states DB [(f)file, (r)edis, ...], default [file]: f
                                          Host / Unix Socket of states DB (file), default[0.0.0.0]:
                                          Port of states DB (file), default[9000]:
                                          Data directory (file), default[../../iobroker-data/]:
                                          Host name of this machine [ioBroker]:
                                          This host appears to be a Master or a Single host system. Is this correct? [Y/n]                                                   :
                                          
                                          Do you want to migrate objects and states from "file/redis" to "file/file" [y/N]                                                   :
                                          updating conf/iobroker.json
                                          pi@raspberrypi:~ $ iob status
                                          iobroker is not running on this host.
                                          
                                          
                                          Objects type: file
                                          States  type: file
                                          pi@raspberrypi:~ $ iob start
                                          pi@raspberrypi:~ $ iob status
                                          iobroker is not running on this host.
                                          
                                          
                                          Objects type: file
                                          States  type: file
                                          
                                          pi@raspberrypi:~ $ iob fix
                                          library: loaded
                                          Library version=2021-08-05
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2021-04-07
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/3)
                                          ==========================================================================
                                          
                                          OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                                          Paketlisten werden gelesen… Fertig
                                          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:~ $ iob start
                                          pi@raspberrypi:~ $ iob status
                                          iobroker is running on this host.
                                          
                                          
                                          Objects type: file
                                          States  type: file
                                          pi@raspberrypi:~ $ iob start admin
                                          
                                          

                                          jedoch komm ich nicht auf die admin-oberfläche

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

                                            @sirfauntleroy sagte in Crash - no connection to states 0.0.0.0:6370[redis]:

                                            jedoch komm ich nicht auf die admin-oberfläche

                                            wenn das alles ist:
                                            iobroker list instances

                                            S 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

                                            671
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            59
                                            3020
                                            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