Navigation

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

    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

    Fehlermeldung: No connection to states 0.0.0.0:6379[redis]

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @kiste01 last edited by

      @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

      Ich mache eine neue VM mit den Anleitung hier aus dem Forum

      aus der Doku

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

        @crunchip sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

        das ist der Ram und nicht deine Plattengröße

        nöö, das ist sda1

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

          @homoran sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

          nöö, das ist sda1

          In dem Screenshot von oben ist Speicher der RAM und unter Disks stellt man die Größe der "Partition" ein.

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

            @djmarc75 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

            In dem Screenshot von oben ist Speicher der RAM

            stimmt!

            aber die 8.9 waren seine /dev/sda1/ in der alten VM

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Homoran last edited by

              @homoran ich wollt es nur anmerken, da er glaub ich das durcheinander bringt, denn wenn es um den Plattenplatz geht, macht diese Aussage auch gar keinen Sinn

              @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

              Wären dann 12 x 1024 = 12288 die bessere Wahl?

              K 1 Reply Last reply Reply Quote 1
              • K
                kiste01 @crunchip last edited by

                habe eine neue VM augesetzt und den iobroker initialisiert, sonst nichts eingerichtet.

                Muss ich bevor ich den restore über backitup machen noch hier was ändern und die objects auf redis umstellen? Oder geht das mit dem restore automatisch?

                ioBroker Status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                
                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active last edited by

                  @kiste01

                  redis muss zuvor installiert werden. Mit dem Backup kommt dann auch die entsprechende Konfiguration wieder auf die Kiste.

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

                    @thomas-braun sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                    redis muss zuvor installiert werden

                    ist es ja, aber extern wenn ich das richtig verstanden habe

                    1 Reply Last reply Reply Quote 0
                    • K
                      kiste01 last edited by

                      @homoran

                      ist offenbar noch nicht installiert

                      pi@iobroker:~$ sudo systemctl status redis-server
                      [sudo] Passwort für pi:
                      Unit redis-server.service could not be found.
                      
                      

                      wäre das der richtige Weg zur Installation?

                      sudo apt install redis-server
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @kiste01 last edited by

                        @kiste01 verwechsle ich das oder hattest du redis nicht extern?

                        Falls nicht, warum willst du redis installieren?
                        hattest du bisher lokal redis verwendet?

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

                          @homoran

                          Da fragst mich was.

                          Ich hätte nicht das know how für einen externen Redis Server also wäre das bisher wohl intern. Was ich aber sagen kann, dass bei der Anfrage iob status bei den objects redis stand

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

                            @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                            @homoran

                            Da fragst mich was.

                            Ich hätte nicht das know how für einen externen Redis Server also wäre das bisher wohl intern. Was ich aber sagen kann, dass bei der Anfrage iob status bei den objects redis stand

                            ok, dann verwechsle ich das mit einem anderen Thread.

                            und ja, dann musst du vorher den redis-server installieren

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

                              @homoran

                              Im Backup sehe ich neben dem iobroker, javascripts auch redis.

                              Muss ich das separat restoren und wenn ja vor oder nach dem restore iobroker?

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kiste01 @kiste01 last edited by

                                @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                                @homoran

                                Im Backup sehe ich neben dem iobroker, javascripts auch redis.

                                Muss ich das separat restoren und wenn ja vor oder nach dem restore iobroker?

                                Das meine ich

                                Screenshot 2024-05-27 125843.png

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kiste01 last edited by

                                  Habe es mutig probiert und der Restore vor dem iobroker restore ging nicht.

                                  System läuft jetzt wieder.

                                  Vorher

                                  pi@iobroker:~$ df -h
                                   
                                  Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                                  udev            3,9G       0  3,9G    0% /dev
                                  tmpfs           795M    524K  794M    1% /run
                                  /dev/sda1       8,9G    8,0G  396M   96% /
                                  
                                  

                                  nachher

                                  pi@iobroker:~$ df -h
                                  Filesystem                              Size  Used Avail Use% Mounted on
                                  udev                                    5.9G     0  5.9G   0% /dev
                                  tmpfs                                   1.2G  584K  1.2G   1% /run
                                  /dev/sda1                                15G  6.3G  7.8G  45% /
                                  tmpfs                                   5.9G     0  5.9G   0% /dev/shm
                                  tmpfs                                   5.0M     0  5.0M   0% /run/lock
                                  tmpfs                                   1.2G     0  1.2G   0% /run/user/1000
                                  //192.168.178.31/***/IOBROKERBACKUP  4.0T  2.2T  1.8T  56% /opt/iobroker/backups
                                  
                                  

                                  Danke für die Hilfe und Geduld!!

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

                                    @kiste01

                                    sudo apt update
                                    apt policy redis
                                    

                                    sagt?

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

                                      @thomas-braun sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                                      apt policy redis

                                      pi@iobroker:~$ sudo apt update
                                      [sudo] password for pi:
                                      
                                      Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
                                      Hit:2 http://deb.debian.org/debian bookworm InRelease
                                      Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
                                      Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                                      Fetched 55.4 kB in 1s (89.5 kB/s)
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      All packages are up to date.
                                      
                                      pi@iobroker:~$ apt policy redis
                                      redis:
                                        Installed: (none)
                                        Candidate: 5:7.0.15-1~deb12u1
                                        Version table:
                                           5:7.0.15-1~deb12u1 500
                                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                              500 http://security.debian.org/debian-security bookworm-security/main am                                  d64 Packages
                                      
                                      pi@iobroker:~$
                                      
                                      
                                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @kiste01 last edited by

                                        @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                                        Installed: (none)

                                        wenn das

                                        @kiste01 sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                                        System läuft jetzt wieder.

                                        dann sicherlich nicht mit Redis!

                                        iob diag sagt?

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

                                          @kiste01

                                          Dann installier das Meta-Paket 'redis'.

                                          sudo apt install redis
                                          
                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • K
                                            kiste01 @Homoran last edited by

                                            @homoran sagte in Fehlermeldung: No connection to states 0.0.0.0:6379[redis]:

                                            iob diag

                                            ======================= SUMMARY =======================
                                                                    v.2024-05-22
                                            
                                            
                                             Static hostname: iobroker
                                                   Icon name: computer-vm
                                                     Chassis: vm 🖴
                                              Virtualization: kvm
                                            Operating System: Debian GNU/Linux 12 (bookworm)
                                                      Kernel: Linux 6.1.0-21-amd64
                                                Architecture: x86-64
                                             Hardware Vendor: QEMU
                                              Hardware Model: Standard PC _i440FX + PIIX, 1996_
                                            Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
                                            
                                            Installation:           kvm
                                            Kernel:                 x86_64
                                            Userland:               64 bit
                                            Timezone:               Europe/Berlin (CEST, +0200)
                                            User-ID:                1000
                                            Display-Server:         false
                                            Boot Target:            graphical.target
                                            
                                            Pending OS-Updates:     0
                                            Pending iob updates:    1
                                            
                                            Nodejs-Installation:
                                            /usr/bin/nodejs         v20.13.1
                                            /usr/bin/node           v20.13.1
                                            /usr/bin/npm            10.5.2
                                            /usr/bin/npx            10.5.2
                                            /usr/bin/corepack       0.28.0
                                            
                                            Recommended versions are nodejs 18.20.3 and npm 10.7.0
                                            Your nodejs installation is correct
                                            
                                            MEMORY:
                                                           total        used        free      shared  buff/cache   available
                                            Mem:             12G        7.8G        595M        593K        4.5G        4.8G
                                            Swap:           1.0G        798K        1.0G
                                            Total:           13G        7.8G        1.6G
                                            
                                            Active iob-Instances:   52
                                            Active repo(s): Stable (default)
                                            
                                            ioBroker Core:          js-controller           5.0.19
                                                                    admin                   6.13.16
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: redis
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, compact disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                              system.adapter.webuntis.0               : webuntis              : iobroker                                 - disabled, compact disabled
                                            
                                            Objects:                69999
                                            States:                 53441
                                            
                                            Size of iob-Database:
                                            
                                            120M    /opt/iobroker/iobroker-data/objects.jsonl
                                            716K    /opt/iobroker/iobroker-data/states.jsonl
                                            12K     /opt/iobroker/iobroker-data/states.json.bak
                                            12K     /opt/iobroker/iobroker-data/states.json
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            Homoran 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

                                            878
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            70
                                            2588
                                            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