Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler beim Backup

    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

    Fehler beim Backup

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

      @thomas-braun wenn du mir sagst wie das geht, mache ich das gerne 🙂

      S Thomas Braun 2 Replies Last reply Reply Quote 0
      • S
        sebaboehm @sebaboehm last edited by

        @sebaboehm ```
        code_text

        pi@ioBroker-RasPi4-8GB:~ $ iobroker start
        pi@ioBroker-RasPi4-8GB:~ $ iobroker status
        iobroker is running on this host.
        
        
        Objects type: file
        States  type: file
        pi@ioBroker-RasPi4-8GB:~ $
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @sebaboehm last edited by

          @sebaboehm

          ? Hab dir sogar bunte Bildchen gemacht.
          Das gelb hinterlegte Icon anklicken. Text zwischen die Steuerzeichen kopieren, fertig.

          S 2 Replies Last reply Reply Quote 0
          • S
            sebaboehm @Thomas Braun last edited by

            @thomas-braun
            ja sorry, hab es jetzt gesehen und verstanden 🙂

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

              @thomas-braun

              Also nochmal:

              Master

              pi@ioBroker-RasPi4-8GB:~ $ iobroker start
              pi@ioBroker-RasPi4-8GB:~ $ iobroker status
              iobroker is running on this host.
              
              
              Objects type: file
              States  type: file
              pi@ioBroker-RasPi4-8GB:~ $
              

              Slave

              pi@ioBroker-RasPi-Slave-AiO:~ $ iobroker status
              iobroker is running on this host.
              
              At least one iobroker host is running.
              
              Objects type: file
              States  type: file
              pi@ioBroker-RasPi-Slave-AiO:~ $
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @sebaboehm last edited by

                @sebaboehm

                States und Objects sind in redis.

                Nein, die sind jeweils in file/file

                S 2 Replies Last reply Reply Quote 0
                • S
                  sebaboehm @Thomas Braun last edited by

                  @thomas-braun
                  das wäre mir neu. Irgendwas stimmt hier anscheinend nicht.
                  Aber kann es damit zusammenhängen das sowohl der Master als auch der Slave da nicht ran kommt?

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

                    @sebaboehm
                    Kommen Sie schon. Sonst sähe die Meldung zu
                    iobroker status
                    anders aus.

                    Ich vermute, da ist der MultiHost-Modus nicht richtig eingerichtet. Mach das doch nochmal.

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

                      @thomas-braun

                      i@ioBroker-RasPi-Slave-AiO:~ $ sudo systemctl status redis-server
                      ● redis-server.service - Advanced key-value store
                         Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                         Active: active (running) since Sat 2022-02-26 10:52:29 CET; 5h 57min ago
                           Docs: http://redis.io/documentation,
                                 man:redis-server(1)
                       Main PID: 607 (redis-server)
                          Tasks: 4 (limit: 4915)
                         CGroup: /system.slice/redis-server.service
                                 └─607 /usr/bin/redis-server 127.0.0.1:6379
                      
                      Feb 26 10:52:28 ioBroker-RasPi-Slave-AiO systemd[1]: Starting Advanced key-value store...
                      Feb 26 10:52:29 ioBroker-RasPi-Slave-AiO systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start:
                      Feb 26 10:52:29 ioBroker-RasPi-Slave-AiO systemd[1]: Started Advanced key-value store.
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @sebaboehm last edited by

                        @sebaboehm

                        Das der redis-Server läuft heißt ja nicht, dass er auch von ioBroker benutzt wird.

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

                          @thomas-braun
                          Also ich weiss noch das ich das damals alles so mit redis eingerichtet hatte und die Datei
                          nano /etc/redis/redis.conf
                          angepasst hatte.

                          Warum ist das jetzt plötzlich anders?

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

                            @sebaboehm

                            Warum ist das jetzt plötzlich anders?

                            Warum eierst du da als root rum?

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

                              @thomas-braun
                              es läuft so seit Jahren. Echt seltsam
                              Und es läuft auch alles einwandfrei, nur das Backup eben nicht. Ich habe auf Master und Slave Instanzen laufen.

                              Ich habe auch leider gar keine Ahnung wie ich das bestehende jetzt auseinander bekomme und neu verbinde.
                              Gibt es eine Anleitung oder kannst du helfen?

                              Es wäre ja erstmal vielleicht hilfreich, die beiden zu trennen um zu schauen ob das Backup danach wieder funktioniert.

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

                                @sebaboehm

                                https://www.iobroker.net/#de/documentation/config/multihost.md

                                S 2 Replies Last reply Reply Quote 0
                                • S
                                  sebaboehm @Thomas Braun last edited by

                                  @thomas-braun

                                  ok, moment. Habe die beiden neu verbunden.
                                  Ich teste nochmal das Backup und gebe dir gleich bescheid

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

                                    @thomas-braun

                                    leider der gleiche Fehler

                                    Master:

                                    pi@ioBroker-RasPi4-8GB:/opt/iobroker $ iobroker backup
                                    host.ioBroker-RasPi4-8GB 10927 states saved
                                    host.ioBroker-RasPi4-8GB 12239 objects saved
                                     Objects database error: read ECONNRESET
                                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                     States database error: connect ECONNREFUSED 0.0.0.0:9000
                                     States database error: connect ECONNREFUSED 0.0.0.0:9000
                                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                     States database error: connect ECONNREFUSED 0.0.0.0:9000
                                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                     States database error: connect ECONNREFUSED 0.0.0.0:9000
                                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @sebaboehm last edited by Thomas Braun

                                      @sebaboehm

                                      iobroker stop
                                      iobroker fix
                                      sudo apt update
                                      sudo apt full-upgrade
                                      sudo reboot
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        sebaboehm @Thomas Braun last edited by

                                        @thomas-braun said in Fehler beim Backup:

                                        sudo apt full-upgrade

                                        alles durchgeführt, auf beiden.

                                        Ergebnis ist das gleiche

                                        pi@ioBroker-RasPi4-8GB:/opt/iobroker $ iobroker backup
                                        host.ioBroker-RasPi4-8GB 10891 states saved
                                        host.ioBroker-RasPi4-8GB 12239 objects saved
                                         Objects database error: read ECONNRESET
                                         Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                         States database error: connect ECONNREFUSED 0.0.0.0:9000
                                         States database error: connect ECONNREFUSED 0.0.0.0:9000
                                         Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          sebaboehm @sebaboehm last edited by

                                          @sebaboehm
                                          ist denn 9000 und 9001 richtig wenn die States nicht in redis sind?

                                          S Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • S
                                            sebaboehm @sebaboehm last edited by

                                            @sebaboehm

                                            auf dem Salve ist immernoch keine Verbindung möglich zur Datenbank:

                                            pi@ioBroker-RasPi-Slave-AiO:~ $ sudo iobroker multihost status
                                            No connection to databases possible ...
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            945
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            48
                                            1693
                                            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