Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. nach update auf js-c 2/redis - Multihost

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

nach update auf js-c 2/redis - Multihost

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller 2multihost
16 Posts 4 Posters 1.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kevlar
    wrote on last edited by
    #5

    das bringt mir das:

    sudo iobroker restart
    iobroker controller daemon is not running
    Starting iobroker controller daemon...
    iobroker controller daemon started. PID: 3022
    
    /opt/iobroker $ sudo iobroker status
    No connection to objects 192.168.178.5:6379[redis]
    No connection to states 192.168.178.5:6379[redis]
    

    wie kann ich beim master überprüfen ob redis richtig mit iobroker funktioniert?

    HomoranH 1 Reply Last reply
    0
    • K kevlar

      das bringt mir das:

      sudo iobroker restart
      iobroker controller daemon is not running
      Starting iobroker controller daemon...
      iobroker controller daemon started. PID: 3022
      
      /opt/iobroker $ sudo iobroker status
      No connection to objects 192.168.178.5:6379[redis]
      No connection to states 192.168.178.5:6379[redis]
      

      wie kann ich beim master überprüfen ob redis richtig mit iobroker funktioniert?

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #6

      @kevlar sagte in nach update auf js-c 2/redis - Multihost:

      192.168.178.5

      Das ist dein Master?

      @kevlar sagte in nach update auf js-c 2/redis - Multihost:

      wie kann ich beim master überprüfen ob redis richtig mit iobroker funktioniert?

      was sagt denn iobroker status auf dem master?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kevlar
        wrote on last edited by kevlar
        #7

        ja 192.168.178.5 ist Master mit iobroker und redis auf macos.

        iobroker status
        iobroker is running on this host.
        
        At least one iobroker host is running.
        
        Objects type: redis
        States  type: redis
        
        iobroker multihost status
        Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
        Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
        No configuration change needed.
        
        
        Multihost discovery server: enabled
        Discovery authentication:   enabled
        Objects:                    redis on 127.0.0.1
        States:                     redis on 127.0.0.1
        AiR-Server:iobroker ebber$
        

        muss ich redis irgendwie konfigurieren damit der slave (192.168.178.4) es auf dem master findet?

        arteckA 1 Reply Last reply
        0
        • K kevlar

          ja 192.168.178.5 ist Master mit iobroker und redis auf macos.

          iobroker status
          iobroker is running on this host.
          
          At least one iobroker host is running.
          
          Objects type: redis
          States  type: redis
          
          iobroker multihost status
          Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
          Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
          No configuration change needed.
          
          
          Multihost discovery server: enabled
          Discovery authentication:   enabled
          Objects:                    redis on 127.0.0.1
          States:                     redis on 127.0.0.1
          AiR-Server:iobroker ebber$
          

          muss ich redis irgendwie konfigurieren damit der slave (192.168.178.4) es auf dem master findet?

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          wrote on last edited by
          #8

          @kevlar sagte in nach update auf js-c 2/redis - Multihost:

          Objects: redis on 127.0.0.1

          das ist falsch .. hier muss 0.0.0.0 stehen

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kevlar
            wrote on last edited by
            #9
            iobroker multihost status
            Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
            Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
            No configuration change needed.
            
            
            Multihost discovery server: enabled
            Discovery authentication:   enabled
            Objects:                    redis on 0.0.0.0
            States:                     redis on 0.0.0.0
            

            done.
            beim Slave kommt dennoch:

            sudo iobroker status
            No connection to objects 192.168.178.5:6379[redis]
            No connection to states 192.168.178.5:6379[redis]
            
            HomoranH 1 Reply Last reply
            0
            • K kevlar
              iobroker multihost status
              Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
              Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
              No configuration change needed.
              
              
              Multihost discovery server: enabled
              Discovery authentication:   enabled
              Objects:                    redis on 0.0.0.0
              States:                     redis on 0.0.0.0
              

              done.
              beim Slave kommt dennoch:

              sudo iobroker status
              No connection to objects 192.168.178.5:6379[redis]
              No connection to states 192.168.178.5:6379[redis]
              
              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #10

              @kevlar
              Beide neu gestartet?

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kevlar
                wrote on last edited by
                #11

                ja, sowohl iobroker als auch die kompletten Rechner.

                Das Problem ist ja auch das sämtliche Instanzen beim Master fehlen. Liegt das an der fehldenden Verbindung von Slave zum Redis vom Master, oder hat es da noch was anderes zerschossen?

                simatecS 1 Reply Last reply
                0
                • K kevlar

                  ja, sowohl iobroker als auch die kompletten Rechner.

                  Das Problem ist ja auch das sämtliche Instanzen beim Master fehlen. Liegt das an der fehldenden Verbindung von Slave zum Redis vom Master, oder hat es da noch was anderes zerschossen?

                  simatecS Offline
                  simatecS Offline
                  simatec
                  Developer Most Active
                  wrote on last edited by
                  #12

                  @kevlar
                  Hast du bind in der redis.conf angepasst?
                  Hier muss folgendes rein

                  bind 127.0.0.1 IP deines Mastersystems
                  

                  oder alternativ

                  bind 0.0.0.0
                  
                  • Besuche meine Github Seite
                  • Beitrag hat geholfen oder willst du mich unterstützen
                  • HowTo Restore ioBroker
                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kevlar
                    wrote on last edited by
                    #13

                    hab 0.0.0.0 reingeschrieben jetzt. jetzt klappt die Verbindung vom Slave wohl:

                    sudo iobroker status
                    iobroker is running on this host.
                    
                    At least one iobroker host is running.
                    
                    Objects type: redis
                    States  type: redis
                    
                    sudo iobroker multihost status
                    Please check the binding of redis service. By default it is only local: http://download.redis.io/redis-stable/redis.conf
                    Change "bind 127.0.0.1" to "bind 0.0.0.0" or to others.
                    No configuration change needed.
                    
                    
                    Multihost discovery server: enabled
                    Discovery authentication:   enabled
                    Objects:                    redis on 192.168.178.5
                    States:                     redis on 192.168.178.5
                    

                    Das Problem das alle Instanzen weg sind besteht aber weiterhin. Wo sind die hin?

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kevlar
                      wrote on last edited by
                      #14

                      seltsam ist auch das, wenn ich versuche ein Backup wiederherzustellen:

                      sudo iobroker stop
                      /Users/root/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
                      Stopping iobroker controller daemon...
                      iobroker controller daemon stopped.
                      No "killall.sh" script found. Just stop.
                      
                      sudo iobroker restore 2019_11_20-00_30_12_backupiobroker.tar
                      Stop iobroker first!
                      

                      :thinking_face: :thinking_face:

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        kevlar
                        wrote on last edited by
                        #15

                        ich habe gerade die server macos iobroker version gelöscht/verschoben und frisch installiert.
                        Wenn ich das letzte backup einspielen will crash es aber mit folgender Meldung:

                        iobroker restore
                        Please specify one of the backup names:
                        2019_11_20-00_42_16_backupiobroker.tar.gz or 2019_11_20-00_42_16 or 0
                        /usr/local/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:786
                                if (parseInt(name, 10).toString() === name.toString()) {
                                                                           ^
                        
                        TypeError: Cannot read property 'toString' of undefined
                            at BackupRestore.restoreBackup (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:786:52)
                            at dbConnect (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/setup.js:713:24)
                            at Object.connected (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2321:41)
                            at Immediate.StatesInMemoryServer.setImmediate (/usr/local/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServerRedis.js:72:46)
                            at runCallback (timers.js:705:18)
                            at tryOnImmediate (timers.js:676:5)
                            at processImmediate (timers.js:658:5)
                        
                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          kevlar
                          wrote on last edited by kevlar
                          #16

                          Hilfe :cry:

                          vor dem Update auf js controller 2 und das redis umstellen hatte ich per terminal ein update gemacht

                          iobroker backup
                          

                          aber auch den kompletten iobroker-data ordner gesichert.
                          nach dem Update fehlen wie gesagt alle Instanzen.

                          iobroker restore
                          

                          klappt nicht siehe oben

                          Was sollte denn in der 2019_11_20-00_42_16_backupiobroker.tar.gz drin sein?
                          es ist lediglich

                          backup.json
                          files
                          -admin.0
                          -web.0
                          -vis.0
                          

                          drin. Wo sind die objekte? wo die states??

                          Zum Glück hab ich ja noch das manuelle Backup des iobroker-data Ordners.

                          Hier hab ich versucht:

                          iobroker verzeichnis löschen, per install script neu installieren --> admin
                          

                          --> läuft

                          iobroker stop
                          - iobroker-data löschen, durch Backup ersetzen.
                          iobroker start all
                          iobroker upload all
                          iobroker start
                          iobroker restart
                          iobroker list instances --> NICHTS
                          

                          Was läuft da schief? Muss ich eine iobroker install mit altem JS Controller nehmen?

                          Bei

                          iobroker start all
                          

                          hängt der Terminal scheinbar endlos ohne Fehlermeldung und Statusanzeige. Dauert dieser Schritt ewig? Wo kann ich logs dazu sehen?

                          Ich bin gerade wirklich verzweifelt.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          Support us

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

                          391

                          Online

                          32.5k

                          Users

                          81.7k

                          Topics

                          1.3m

                          Posts
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                          ioBroker Community 2014-2025
                          logo
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Home
                          • Recent
                          • Tags
                          • Unread 0
                          • Categories
                          • Unreplied
                          • Popular
                          • GitHub
                          • Docu
                          • Hilfe