Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. backitup: Fehler im Log cannot save backup file

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    10
    1
    224

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    768

backitup: Fehler im Log cannot save backup file

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
backitup
44 Beiträge 3 Kommentatoren 2.1k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wendy2702W wendy2702
    ls -la /opt/iobroker/iobroker-data/
    
    amg_666A Offline
    amg_666A Offline
    amg_666
    schrieb am zuletzt editiert von
    #6

    @wendy2702

    pi@iomaster:/opt/iobroker $ ls -la /opt/iobroker/iobroker-data/
    insgesamt 30952
    drwxrwxr-x+   8 iobroker iobroker     4096 M▒r  4 22:02 .
    drwxrwxr-x+   8 iobroker iobroker     4096 M▒r  4 21:19 ..
    drwxrwxr-x+   2 iobroker iobroker     4096 M▒r  4 21:21 backup-objects
    drwxrwxr-x+  47 iobroker iobroker     4096 Feb 25 13:21 files
    drwxrwxr-x+ 124 iobroker iobroker     4096 M▒r  4 00:07 history
    -rw-rwxr--+   1 iobroker iobroker     5221 Jan 22 00:25 iobroker.json
    -rw-rwxr--+   1 iobroker iobroker        3 M▒r  4 21:11 notifications.json
    -rw-rw-r--+   1 iobroker iobroker 13019425 M▒r  4 22:01 objects.json
    -rw-rw-r--+   1 iobroker iobroker 13019425 M▒r  4 22:01 objects.json.bak
    drwxrwxr-x+   2 iobroker iobroker     4096 Okt 26 18:15 plenticore.0
    drwxrwxr-x+   8 iobroker iobroker     4096 Feb 10 16:01 scripte
    -rw-rw-r--+   1 iobroker iobroker  2793977 M▒r  4 22:02 states.json
    -rw-rw-r--+   1 iobroker iobroker  2793954 M▒r  4 22:02 states.json.bak
    drwxrwxr-x+   2 iobroker iobroker    16384 M▒r  4 21:22 zigbee_0
    
    

    iobroker auf proxmox container

    1 Antwort Letzte Antwort
    0
    • simatecS simatec

      @amg_666
      Schaue mal, ob die Ausgabe auch mit dem Backup über Konsole kommt

      amg_666A Offline
      amg_666A Offline
      amg_666
      schrieb am zuletzt editiert von
      #7

      @simatec Oooops, was soll mir das sagen?

      
      pi@iomaster:/opt/iobroker $ iobroker backup
      host.iomaster 14322 states saved
      host.iomaster 16042 objects saved
       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
       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
      Backup created: /opt/iobroker/backups/2021_03_04-22_05_03_backupiobroker.tar.gz
      
      

      iobroker auf proxmox container

      wendy2702W 1 Antwort Letzte Antwort
      0
      • amg_666A amg_666

        @simatec Oooops, was soll mir das sagen?

        
        pi@iomaster:/opt/iobroker $ iobroker backup
        host.iomaster 14322 states saved
        host.iomaster 16042 objects saved
         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
         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
        Backup created: /opt/iobroker/backups/2021_03_04-22_05_03_backupiobroker.tar.gz
        
        
        wendy2702W Online
        wendy2702W Online
        wendy2702
        schrieb am zuletzt editiert von
        #8

        @amg_666 eventuell das der Port schon belegt ist.

        Läuft ausser ioBroker noch etwas auf dem Rechner?

        Bitte keine Fragen per PN, die gehören ins Forum!

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        amg_666A 1 Antwort Letzte Antwort
        0
        • wendy2702W wendy2702

          @amg_666 eventuell das der Port schon belegt ist.

          Läuft ausser ioBroker noch etwas auf dem Rechner?

          amg_666A Offline
          amg_666A Offline
          amg_666
          schrieb am zuletzt editiert von
          #9

          @wendy2702 Naja es sind 3 Rechner, aber auf denen läuft jeweils nur iobroker (relativ frische Installation, kein Image oder so sondern sauber nach Anleitung aufgesetzt).

          iobroker auf proxmox container

          simatecS 1 Antwort Letzte Antwort
          0
          • amg_666A amg_666

            @wendy2702 Naja es sind 3 Rechner, aber auf denen läuft jeweils nur iobroker (relativ frische Installation, kein Image oder so sondern sauber nach Anleitung aufgesetzt).

            simatecS Offline
            simatecS Offline
            simatec
            Developer Most Active
            schrieb am zuletzt editiert von
            #10

            @amg_666
            Du hast jsonl als DB eingerichtet oder

            • Besuche meine Github Seite
            • Beitrag hat geholfen oder willst du mich unterstützen
            • HowTo Restore ioBroker
            1 Antwort Letzte Antwort
            0
            • amg_666A Offline
              amg_666A Offline
              amg_666
              schrieb am zuletzt editiert von
              #11

              @simatec sagte in backitup: Fehler im Log cannot save backup file:

              Du hast jsonl als DB eingerichtet oder

              ?? Ich verstehe die Frage nicht, wenn ich da was als DB eingerichtet habe, dann nicht wissentlich :-)

              iobroker auf proxmox container

              simatecS 1 Antwort Letzte Antwort
              0
              • amg_666A amg_666

                @simatec sagte in backitup: Fehler im Log cannot save backup file:

                Du hast jsonl als DB eingerichtet oder

                ?? Ich verstehe die Frage nicht, wenn ich da was als DB eingerichtet habe, dann nicht wissentlich :-)

                simatecS Offline
                simatecS Offline
                simatec
                Developer Most Active
                schrieb am zuletzt editiert von
                #12

                @amg_666
                Was ergibt die Ausgabe von iobroker status?

                • Besuche meine Github Seite
                • Beitrag hat geholfen oder willst du mich unterstützen
                • HowTo Restore ioBroker
                amg_666A 1 Antwort Letzte Antwort
                0
                • simatecS simatec

                  @amg_666
                  Was ergibt die Ausgabe von iobroker status?

                  amg_666A Offline
                  amg_666A Offline
                  amg_666
                  schrieb am zuletzt editiert von
                  #13

                  @simatec

                  pi@iomaster:/opt/iobroker $ iobroker status
                  iobroker is running on this host.
                  
                  
                  Objects type: file
                  States  type: file
                  pi@iomaster:/opt/iobroker $
                  
                  

                  iobroker auf proxmox container

                  1 Antwort Letzte Antwort
                  0
                  • wendy2702W Online
                    wendy2702W Online
                    wendy2702
                    schrieb am zuletzt editiert von
                    #14

                    Ist das also ein System mit einem Master und 2x Slave oder 3 getrennte?

                    Ist es egal auf welchem Rechner du das manuelle Backup anstößt, der Fehler ist immer der gleiche?

                    Bitte keine Fragen per PN, die gehören ins Forum!

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    amg_666A 1 Antwort Letzte Antwort
                    0
                    • wendy2702W wendy2702

                      Ist das also ein System mit einem Master und 2x Slave oder 3 getrennte?

                      Ist es egal auf welchem Rechner du das manuelle Backup anstößt, der Fehler ist immer der gleiche?

                      amg_666A Offline
                      amg_666A Offline
                      amg_666
                      schrieb am zuletzt editiert von
                      #15

                      @wendy2702 1 Master mit 2 Slaves und normalerweise stoße ich backup über die Admin Oberfläche an (also wohl auf dem Master). @simatec hat mich gebeten mal ein bakcup in der Konsole anzustoßen (siehe oben) das hab ich auf dem Master gemacht. Auf dem Slave geht das nicht, da kommt

                      
                      pi@iostrom:~ $ cd /opt/iobroker
                      pi@iostrom:/opt/iobroker $ iobroker backup
                      No connection to databases possible ...
                      pi@iostrom:/opt/iobroker $
                      
                      

                      iobroker auf proxmox container

                      wendy2702W 1 Antwort Letzte Antwort
                      0
                      • amg_666A amg_666

                        @wendy2702 1 Master mit 2 Slaves und normalerweise stoße ich backup über die Admin Oberfläche an (also wohl auf dem Master). @simatec hat mich gebeten mal ein bakcup in der Konsole anzustoßen (siehe oben) das hab ich auf dem Master gemacht. Auf dem Slave geht das nicht, da kommt

                        
                        pi@iostrom:~ $ cd /opt/iobroker
                        pi@iostrom:/opt/iobroker $ iobroker backup
                        No connection to databases possible ...
                        pi@iostrom:/opt/iobroker $
                        
                        
                        wendy2702W Online
                        wendy2702W Online
                        wendy2702
                        schrieb am zuletzt editiert von
                        #16

                        @amg_666 Dann stimmt etwas mit deiner Master-Slave config nicht denke ich.

                        Eigentlich kann man das auf allen Systemen anstoßen.

                        Kannst du mal auf allen drei das abfragen:

                        iobroker status
                        

                        Bitte keine Fragen per PN, die gehören ins Forum!

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        amg_666A 1 Antwort Letzte Antwort
                        0
                        • wendy2702W wendy2702

                          @amg_666 Dann stimmt etwas mit deiner Master-Slave config nicht denke ich.

                          Eigentlich kann man das auf allen Systemen anstoßen.

                          Kannst du mal auf allen drei das abfragen:

                          iobroker status
                          
                          amg_666A Offline
                          amg_666A Offline
                          amg_666
                          schrieb am zuletzt editiert von amg_666
                          #17

                          @wendy2702 Oh, oh: Du hast recht, da scheint was mit der master-slave nicht zu stimmen.
                          Backup auf slave1 führt zu Fehler, siehe mein post oben, ich hab das jetzt mal auf dem anderen slave gemacht da gings:

                          pi@iovis:/opt/iobroker $ iobroker backup
                          host.iovis 14318 states saved
                          host.iovis 16039 objects saved
                          Backup created: /opt/iobroker/backups/2021_03_05-15_43_22_backupiobroker.tar.gz
                          pi@iovis:/opt/iobroker $
                          
                          

                          Hier die Abfrage iobroker status:
                          Master:

                          pi@iomaster:/opt/iobroker $ iobroker status
                          iobroker is running on this host.
                          
                          
                          Objects type: file
                          States  type: file
                          

                          Slave1

                          pi@iostrom:/opt/iobroker $ iobroker status
                          iobroker is running on this host.
                          
                          At least one iobroker host is running.
                          
                          Objects type: file
                          States  type: file
                          

                          Slave2

                          pi@iovis:/opt/iobroker $ iobroker status
                          iobroker is running on this host.
                          
                          At least one iobroker host is running.
                          
                          Objects type: file
                          States  type: file
                          

                          Ich habe die multihost Umgebung wie empfohlen eingerichtet (sudo iobroker multihost enable, dannn ...browse und ...connect auf den Slaves).

                          Ich hab jetzt mal auf beiden Slaves iobroker setup custom eingegeben (und hab da erstmal nix geändert nur geschaut. Beide Slaves haben bei Object database und bei states database dieselbe ipadresse (die von Slave1), ich denke mal dass das das Problem ist (?). Kann mir hier jemand Feedback geben? Ich möchte hier jetzt nicht durch unüberlegtes Gebastel was zerschiessen (wäre nicht das erste mal...)

                          Slave1:

                          pi@iostrom:/opt/iobroker $ iobroker setup custom
                          Current configuration:
                          - Objects database:
                            - Type: file
                            - Host/Unix Socket: 192.168.2.4
                            - Port: 9001
                          - States database:
                            - Type: file
                            - Host/Unix Socket: 192.168.2.4
                            - Port: 9000
                          - Data Directory: ../../iobroker-data/
                          
                          Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                          Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                          Port of objects DB(file), default[9001]:
                          Type of states DB [(f)file, (r)edis, ...], default [file]:
                          Host / Unix Socket of states DB (file), default[192.168.2.4]:
                          Port of states DB (file), default[9000]:
                          Host name of this machine [iostrom]:
                          updating conf/iobroker.json
                          pi@iostrom:/opt/iobroker $
                          

                          Slave2:

                          pi@iovis:/opt/iobroker $ iobroker setup custom
                          Current configuration:
                          - Objects database:
                            - Type: file
                            - Host/Unix Socket: 192.168.2.4
                            - Port: 9001
                          - States database:
                            - Type: file
                            - Host/Unix Socket: 192.168.2.4
                            - Port: 9000
                          - Data Directory: ../../iobroker-data/
                          
                          Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                          Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                          Port of objects DB(file), default[9001]:
                          Type of states DB [(f)file, (r)edis, ...], default [file]:
                          Host / Unix Socket of states DB (file), default[192.168.2.4]:
                          Port of states DB (file), default[9000]:
                          Host name of this machine [iovis]:
                          updating conf/iobroker.json
                          pi@iovis:/opt/iobroker $
                          

                          iobroker auf proxmox container

                          simatecS wendy2702W 2 Antworten Letzte Antwort
                          0
                          • amg_666A amg_666

                            @wendy2702 Oh, oh: Du hast recht, da scheint was mit der master-slave nicht zu stimmen.
                            Backup auf slave1 führt zu Fehler, siehe mein post oben, ich hab das jetzt mal auf dem anderen slave gemacht da gings:

                            pi@iovis:/opt/iobroker $ iobroker backup
                            host.iovis 14318 states saved
                            host.iovis 16039 objects saved
                            Backup created: /opt/iobroker/backups/2021_03_05-15_43_22_backupiobroker.tar.gz
                            pi@iovis:/opt/iobroker $
                            
                            

                            Hier die Abfrage iobroker status:
                            Master:

                            pi@iomaster:/opt/iobroker $ iobroker status
                            iobroker is running on this host.
                            
                            
                            Objects type: file
                            States  type: file
                            

                            Slave1

                            pi@iostrom:/opt/iobroker $ iobroker status
                            iobroker is running on this host.
                            
                            At least one iobroker host is running.
                            
                            Objects type: file
                            States  type: file
                            

                            Slave2

                            pi@iovis:/opt/iobroker $ iobroker status
                            iobroker is running on this host.
                            
                            At least one iobroker host is running.
                            
                            Objects type: file
                            States  type: file
                            

                            Ich habe die multihost Umgebung wie empfohlen eingerichtet (sudo iobroker multihost enable, dannn ...browse und ...connect auf den Slaves).

                            Ich hab jetzt mal auf beiden Slaves iobroker setup custom eingegeben (und hab da erstmal nix geändert nur geschaut. Beide Slaves haben bei Object database und bei states database dieselbe ipadresse (die von Slave1), ich denke mal dass das das Problem ist (?). Kann mir hier jemand Feedback geben? Ich möchte hier jetzt nicht durch unüberlegtes Gebastel was zerschiessen (wäre nicht das erste mal...)

                            Slave1:

                            pi@iostrom:/opt/iobroker $ iobroker setup custom
                            Current configuration:
                            - Objects database:
                              - Type: file
                              - Host/Unix Socket: 192.168.2.4
                              - Port: 9001
                            - States database:
                              - Type: file
                              - Host/Unix Socket: 192.168.2.4
                              - Port: 9000
                            - Data Directory: ../../iobroker-data/
                            
                            Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                            Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                            Port of objects DB(file), default[9001]:
                            Type of states DB [(f)file, (r)edis, ...], default [file]:
                            Host / Unix Socket of states DB (file), default[192.168.2.4]:
                            Port of states DB (file), default[9000]:
                            Host name of this machine [iostrom]:
                            updating conf/iobroker.json
                            pi@iostrom:/opt/iobroker $
                            

                            Slave2:

                            pi@iovis:/opt/iobroker $ iobroker setup custom
                            Current configuration:
                            - Objects database:
                              - Type: file
                              - Host/Unix Socket: 192.168.2.4
                              - Port: 9001
                            - States database:
                              - Type: file
                              - Host/Unix Socket: 192.168.2.4
                              - Port: 9000
                            - Data Directory: ../../iobroker-data/
                            
                            Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                            Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                            Port of objects DB(file), default[9001]:
                            Type of states DB [(f)file, (r)edis, ...], default [file]:
                            Host / Unix Socket of states DB (file), default[192.168.2.4]:
                            Port of states DB (file), default[9000]:
                            Host name of this machine [iovis]:
                            updating conf/iobroker.json
                            pi@iovis:/opt/iobroker $
                            
                            simatecS Offline
                            simatecS Offline
                            simatec
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #18

                            @amg_666
                            Zeige mal bitte das Setup deines Masters

                            • Besuche meine Github Seite
                            • Beitrag hat geholfen oder willst du mich unterstützen
                            • HowTo Restore ioBroker
                            amg_666A 1 Antwort Letzte Antwort
                            0
                            • simatecS simatec

                              @amg_666
                              Zeige mal bitte das Setup deines Masters

                              amg_666A Offline
                              amg_666A Offline
                              amg_666
                              schrieb am zuletzt editiert von
                              #19

                              @simatec

                              pi@iomaster:/opt/iobroker $ iobroker setup custom
                              Current configuration:
                              - Objects database:
                                - Type: file
                                - Host/Unix Socket: 0.0.0.0
                                - Port: 9001
                              - States database:
                                - Type: file
                                - Host/Unix Socket: 0.0.0.0
                                - Port: 9000
                              - Data Directory: ../../iobroker-data/
                              
                              Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                              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]:
                              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 [iomaster]:
                              updating conf/iobroker.json
                              pi@iomaster:/opt/iobroker $
                              

                              iobroker auf proxmox container

                              wendy2702W 1 Antwort Letzte Antwort
                              0
                              • amg_666A amg_666

                                @simatec

                                pi@iomaster:/opt/iobroker $ iobroker setup custom
                                Current configuration:
                                - Objects database:
                                  - Type: file
                                  - Host/Unix Socket: 0.0.0.0
                                  - Port: 9001
                                - States database:
                                  - Type: file
                                  - Host/Unix Socket: 0.0.0.0
                                  - Port: 9000
                                - Data Directory: ../../iobroker-data/
                                
                                Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                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]:
                                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 [iomaster]:
                                updating conf/iobroker.json
                                pi@iomaster:/opt/iobroker $
                                
                                wendy2702W Online
                                wendy2702W Online
                                wendy2702
                                schrieb am zuletzt editiert von
                                #20

                                @amg_666 Bei mir connecten sich beide Slaves auf den Master.

                                Master:

                                iobroker setup custom
                                Current configuration:
                                - Objects database:
                                  - Type: file
                                  - Host/Unix Socket: 0.0.0.0
                                  - Port: 9001
                                - States database:
                                  - Type: file
                                  - Host/Unix Socket: 0.0.0.0
                                  - Port: 9000
                                - Data Directory: ../../iobroker-data/
                                
                                Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                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]:
                                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]:
                                updating conf/iobroker.json
                                
                                

                                Slave 1:

                                iobroker setup custom
                                Current configuration:
                                - Objects database:
                                  - Type: file
                                  - Host/Unix Socket: 192.168.178.18
                                  - Port: 9001
                                - States database:
                                  - Type: file
                                  - Host/Unix Socket: 192.168.178.18
                                  - Port: 9000
                                - Data Directory: ../../iobroker-data/
                                
                                Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                Host / Unix Socket of objects DB(file), default[192.168.178.18]:
                                Port of objects DB(file), default[9001]:
                                Type of states DB [(f)file, (r)edis, ...], default [file]:
                                Host / Unix Socket of states DB (file), default[192.168.178.18]:
                                Port of states DB (file), default[9000]:
                                Host name of this machine [iobroker-garage-gross]:
                                updating conf/iobroker.json
                                
                                

                                Slave 2:

                                pi@pi-iobroker:~ $ iobroker setup custom
                                Current configuration:
                                - Objects database:
                                  - Type: file
                                  - Host/Unix Socket: 192.168.178.18
                                  - Port: 9001
                                - States database:
                                  - Type: file
                                  - Host/Unix Socket: 192.168.178.18
                                  - Port: 9000
                                - Data Directory: ../../iobroker-data/
                                
                                Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                Host / Unix Socket of objects DB(file), default[192.168.178.18]:
                                Port of objects DB(file), default[9001]:
                                Type of states DB [(f)file, (r)edis, ...], default [file]:
                                Host / Unix Socket of states DB (file), default[192.168.178.18]:
                                Port of states DB (file), default[9000]:
                                Host name of this machine [pi-iobroker]:
                                updating conf/iobroker.json
                                
                                

                                IP .18 ist der Master.

                                Bitte keine Fragen per PN, die gehören ins Forum!

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                amg_666A 1 Antwort Letzte Antwort
                                0
                                • amg_666A amg_666

                                  @wendy2702 Oh, oh: Du hast recht, da scheint was mit der master-slave nicht zu stimmen.
                                  Backup auf slave1 führt zu Fehler, siehe mein post oben, ich hab das jetzt mal auf dem anderen slave gemacht da gings:

                                  pi@iovis:/opt/iobroker $ iobroker backup
                                  host.iovis 14318 states saved
                                  host.iovis 16039 objects saved
                                  Backup created: /opt/iobroker/backups/2021_03_05-15_43_22_backupiobroker.tar.gz
                                  pi@iovis:/opt/iobroker $
                                  
                                  

                                  Hier die Abfrage iobroker status:
                                  Master:

                                  pi@iomaster:/opt/iobroker $ iobroker status
                                  iobroker is running on this host.
                                  
                                  
                                  Objects type: file
                                  States  type: file
                                  

                                  Slave1

                                  pi@iostrom:/opt/iobroker $ iobroker status
                                  iobroker is running on this host.
                                  
                                  At least one iobroker host is running.
                                  
                                  Objects type: file
                                  States  type: file
                                  

                                  Slave2

                                  pi@iovis:/opt/iobroker $ iobroker status
                                  iobroker is running on this host.
                                  
                                  At least one iobroker host is running.
                                  
                                  Objects type: file
                                  States  type: file
                                  

                                  Ich habe die multihost Umgebung wie empfohlen eingerichtet (sudo iobroker multihost enable, dannn ...browse und ...connect auf den Slaves).

                                  Ich hab jetzt mal auf beiden Slaves iobroker setup custom eingegeben (und hab da erstmal nix geändert nur geschaut. Beide Slaves haben bei Object database und bei states database dieselbe ipadresse (die von Slave1), ich denke mal dass das das Problem ist (?). Kann mir hier jemand Feedback geben? Ich möchte hier jetzt nicht durch unüberlegtes Gebastel was zerschiessen (wäre nicht das erste mal...)

                                  Slave1:

                                  pi@iostrom:/opt/iobroker $ iobroker setup custom
                                  Current configuration:
                                  - Objects database:
                                    - Type: file
                                    - Host/Unix Socket: 192.168.2.4
                                    - Port: 9001
                                  - States database:
                                    - Type: file
                                    - Host/Unix Socket: 192.168.2.4
                                    - Port: 9000
                                  - Data Directory: ../../iobroker-data/
                                  
                                  Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                  Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                                  Port of objects DB(file), default[9001]:
                                  Type of states DB [(f)file, (r)edis, ...], default [file]:
                                  Host / Unix Socket of states DB (file), default[192.168.2.4]:
                                  Port of states DB (file), default[9000]:
                                  Host name of this machine [iostrom]:
                                  updating conf/iobroker.json
                                  pi@iostrom:/opt/iobroker $
                                  

                                  Slave2:

                                  pi@iovis:/opt/iobroker $ iobroker setup custom
                                  Current configuration:
                                  - Objects database:
                                    - Type: file
                                    - Host/Unix Socket: 192.168.2.4
                                    - Port: 9001
                                  - States database:
                                    - Type: file
                                    - Host/Unix Socket: 192.168.2.4
                                    - Port: 9000
                                  - Data Directory: ../../iobroker-data/
                                  
                                  Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                  Host / Unix Socket of objects DB(file), default[192.168.2.4]:
                                  Port of objects DB(file), default[9001]:
                                  Type of states DB [(f)file, (r)edis, ...], default [file]:
                                  Host / Unix Socket of states DB (file), default[192.168.2.4]:
                                  Port of states DB (file), default[9000]:
                                  Host name of this machine [iovis]:
                                  updating conf/iobroker.json
                                  pi@iovis:/opt/iobroker $
                                  
                                  wendy2702W Online
                                  wendy2702W Online
                                  wendy2702
                                  schrieb am zuletzt editiert von
                                  #21

                                  @amg_666 sagte in backitup: Fehler im Log cannot save backup file:

                                  dieselbe ipadresse (die von Slave1)

                                  Die IP vom Master sollte bei beiden drin stehen.

                                  Bitte keine Fragen per PN, die gehören ins Forum!

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  1 Antwort Letzte Antwort
                                  0
                                  • wendy2702W wendy2702

                                    @amg_666 Bei mir connecten sich beide Slaves auf den Master.

                                    Master:

                                    iobroker setup custom
                                    Current configuration:
                                    - Objects database:
                                      - Type: file
                                      - Host/Unix Socket: 0.0.0.0
                                      - Port: 9001
                                    - States database:
                                      - Type: file
                                      - Host/Unix Socket: 0.0.0.0
                                      - Port: 9000
                                    - Data Directory: ../../iobroker-data/
                                    
                                    Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                    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]:
                                    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]:
                                    updating conf/iobroker.json
                                    
                                    

                                    Slave 1:

                                    iobroker setup custom
                                    Current configuration:
                                    - Objects database:
                                      - Type: file
                                      - Host/Unix Socket: 192.168.178.18
                                      - Port: 9001
                                    - States database:
                                      - Type: file
                                      - Host/Unix Socket: 192.168.178.18
                                      - Port: 9000
                                    - Data Directory: ../../iobroker-data/
                                    
                                    Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                    Host / Unix Socket of objects DB(file), default[192.168.178.18]:
                                    Port of objects DB(file), default[9001]:
                                    Type of states DB [(f)file, (r)edis, ...], default [file]:
                                    Host / Unix Socket of states DB (file), default[192.168.178.18]:
                                    Port of states DB (file), default[9000]:
                                    Host name of this machine [iobroker-garage-gross]:
                                    updating conf/iobroker.json
                                    
                                    

                                    Slave 2:

                                    pi@pi-iobroker:~ $ iobroker setup custom
                                    Current configuration:
                                    - Objects database:
                                      - Type: file
                                      - Host/Unix Socket: 192.168.178.18
                                      - Port: 9001
                                    - States database:
                                      - Type: file
                                      - Host/Unix Socket: 192.168.178.18
                                      - Port: 9000
                                    - Data Directory: ../../iobroker-data/
                                    
                                    Type of objects DB [(f)ile, (r)edis, ...], default [file]:
                                    Host / Unix Socket of objects DB(file), default[192.168.178.18]:
                                    Port of objects DB(file), default[9001]:
                                    Type of states DB [(f)file, (r)edis, ...], default [file]:
                                    Host / Unix Socket of states DB (file), default[192.168.178.18]:
                                    Port of states DB (file), default[9000]:
                                    Host name of this machine [pi-iobroker]:
                                    updating conf/iobroker.json
                                    
                                    

                                    IP .18 ist der Master.

                                    amg_666A Offline
                                    amg_666A Offline
                                    amg_666
                                    schrieb am zuletzt editiert von
                                    #22

                                    @wendy2702 Stimmt, aber dann sollte es bei mir ja auch passen (192.168.2.4 ist Master).
                                    Trotzdem: Wenn ich iobroker backup auf slave1 eingebe kommt "No connection to databases possible ..." wenn ich das auf slave2 eingebe dann läuft es durch.
                                    Irgendeine Idee wo ich noch Einstellungen checken könnte?

                                    iobroker auf proxmox container

                                    simatecS 1 Antwort Letzte Antwort
                                    0
                                    • amg_666A amg_666

                                      @wendy2702 Stimmt, aber dann sollte es bei mir ja auch passen (192.168.2.4 ist Master).
                                      Trotzdem: Wenn ich iobroker backup auf slave1 eingebe kommt "No connection to databases possible ..." wenn ich das auf slave2 eingebe dann läuft es durch.
                                      Irgendeine Idee wo ich noch Einstellungen checken könnte?

                                      simatecS Offline
                                      simatecS Offline
                                      simatec
                                      Developer Most Active
                                      schrieb am zuletzt editiert von
                                      #23

                                      @amg_666
                                      Hast du eventuell auf dem Slave dhcp aktiv?
                                      Da hatte ich mal Probleme beim Connect

                                      • Besuche meine Github Seite
                                      • Beitrag hat geholfen oder willst du mich unterstützen
                                      • HowTo Restore ioBroker
                                      1 Antwort Letzte Antwort
                                      0
                                      • amg_666A Offline
                                        amg_666A Offline
                                        amg_666
                                        schrieb am zuletzt editiert von amg_666
                                        #24

                                        @simatec Bin nicht so der unix held, was muss ich da wo prüfen? Ich habe eigentlich überall feste IP vergeben.

                                        ifconfig bringt folgendes, ist imho richtig, die ..16 ist die IP des Slaves:

                                        pi@iostrom:~ $ ifconfig
                                        eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                                                inet 192.168.2.16  netmask 255.255.255.0  broadcast 192.168.2.255
                                                inet6 fe80::b40c:c5e3:b56:aa76  prefixlen 64  scopeid 0x20<link>
                                                inet6 fd00::ae5d:8ee1:6b3e:b45d  prefixlen 64  scopeid 0x0<global>
                                                ether b8:27:eb:d8:d2:dd  txqueuelen 1000  (Ethernet)
                                                RX packets 228897070  bytes 27222368436 (25.3 GiB)
                                                RX errors 0  dropped 2  overruns 0  frame 0
                                                TX packets 198081274  bytes 34937103637 (32.5 GiB)
                                                TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                        
                                        lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                                                inet 127.0.0.1  netmask 255.0.0.0
                                                inet6 ::1  prefixlen 128  scopeid 0x10<host>
                                                loop  txqueuelen 1000  (Lokale Schleife)
                                                RX packets 262  bytes 23046 (22.5 KiB)
                                                RX errors 0  dropped 0  overruns 0  frame 0
                                                TX packets 262  bytes 23046 (22.5 KiB)
                                                TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                        
                                        pi@iostrom:~ $
                                        

                                        iobroker auf proxmox container

                                        wendy2702W 1 Antwort Letzte Antwort
                                        0
                                        • amg_666A amg_666

                                          @simatec Bin nicht so der unix held, was muss ich da wo prüfen? Ich habe eigentlich überall feste IP vergeben.

                                          ifconfig bringt folgendes, ist imho richtig, die ..16 ist die IP des Slaves:

                                          pi@iostrom:~ $ ifconfig
                                          eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                                                  inet 192.168.2.16  netmask 255.255.255.0  broadcast 192.168.2.255
                                                  inet6 fe80::b40c:c5e3:b56:aa76  prefixlen 64  scopeid 0x20<link>
                                                  inet6 fd00::ae5d:8ee1:6b3e:b45d  prefixlen 64  scopeid 0x0<global>
                                                  ether b8:27:eb:d8:d2:dd  txqueuelen 1000  (Ethernet)
                                                  RX packets 228897070  bytes 27222368436 (25.3 GiB)
                                                  RX errors 0  dropped 2  overruns 0  frame 0
                                                  TX packets 198081274  bytes 34937103637 (32.5 GiB)
                                                  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                          
                                          lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                                                  inet 127.0.0.1  netmask 255.0.0.0
                                                  inet6 ::1  prefixlen 128  scopeid 0x10<host>
                                                  loop  txqueuelen 1000  (Lokale Schleife)
                                                  RX packets 262  bytes 23046 (22.5 KiB)
                                                  RX errors 0  dropped 0  overruns 0  frame 0
                                                  TX packets 262  bytes 23046 (22.5 KiB)
                                                  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                          
                                          pi@iostrom:~ $
                                          
                                          wendy2702W Online
                                          wendy2702W Online
                                          wendy2702
                                          schrieb am zuletzt editiert von wendy2702
                                          #25

                                          @amg_666 Kannst du mal auf beiden Slaves das ausführen:

                                          traceroute 192.168.2.4
                                          traceroute -p 9000 192.168.2.4
                                          traceroute -p 9001 192.168.2.4
                                          

                                          Achja, auf dem Slave der nicht funktioniert. Mal mit

                                          iobroker setup custom
                                          

                                          Die IP des Master umstellen.

                                          Dann schauen das die Verbindung wirklich "rot" bleibt im HOST Tab.

                                          Dann IP wieder zurück ändern.

                                          Bitte keine Fragen per PN, die gehören ins Forum!

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          amg_666A 1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          569

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe