Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Multihost zusamen führen ** gelöst **

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Multihost zusamen führen ** gelöst **

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

      @thomas-braun

      Ich lehne mich mal aus dem Fenster …. Ist vermutlich nicht per LAN angeschlossen 😉
      Wenn doch , Asche auf mein Haupt

      Edit: Dann Asche …..

      Aber ich denke dann ist es falsch konfiguriert und es liegt an den Netzwerkeinstellungen

      1 Reply Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active @Horst Böttcher last edited by

        @horst-böttcher
        mach mal copy von deinen setup custom eingaben.

        Horst Böttcher 1 Reply Last reply Reply Quote 0
        • Horst Böttcher
          Horst Böttcher @bahnuhr last edited by Horst Böttcher

          @bahnuhr

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

          Slave

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

          dann

          
          pi@PiMaster:~ $ iobroker multihost enable
          Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
          Important: Multihost discovery works with UDP packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
          Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
          Discovery authentication activated.
          Enter secret phrase for connection:
          Repeat secret phrase for connection:
          Please check the binding of the configured jsonl server to allow remote connections.
          Please restart ioBroker for the changes to take effect: "iobroker restart"
          
          
          Multihost discovery server: enabled
          Discovery authentication:   enabled
          Persistent activation:      disabled
          Objects:                    jsonl on 0.0.0.0
          States:                     jsonl on 0.0.0.0
          ^C
          pi@PiMaster:~ $
          
          

          und iob restart

          beim Slave

          iobroker multihost browse
          
          
          ``` oder iobroker multihost browse
          

          und es kommt nix

          ich weiss nicht ob intressant log

          host.PiMaster
          2023-09-18 18:36:55.644	info	instance system.adapter.backitup.0 started with pid 17093
          host.PiMaster
          2023-09-18 18:36:51.364	info	instance system.adapter.discovery.0 started with pid 17075
          host.PiMaster
          2023-09-18 18:36:50.889	info	Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
          host.PiMaster
          2023-09-18 18:36:47.390	info	instance system.adapter.zigbee.0 started with pid 17052
          host.PiMaster
          2023-09-18 18:36:43.610	info	Some obsolete host states deleted.
          host.PiMaster
          2023-09-18 18:36:43.590	info	Delete state "system.host.PiMaster.versions.npmNewestNext"
          host.PiMaster
          2023-09-18 18:36:43.530	info	Delete state "system.host.PiMaster.versions.npmNewest"
          host.PiMaster
          2023-09-18 18:36:43.504	info	Delete state "system.host.PiMaster.versions.npmCurrent"
          host.PiMaster
          2023-09-18 18:36:43.483	info	instance system.adapter.admin.0 started with pid 17041
          host.PiMaster
          2023-09-18 18:36:43.440	info	Delete state "system.host.PiMaster.versions.nodeNewestNext"
          host.PiMaster
          2023-09-18 18:36:43.404	info	Delete state "system.host.PiMaster.versions.nodeNewest"
          host.PiMaster
          2023-09-18 18:36:43.303	info	starting 4 instances
          host.PiMaster
          2023-09-18 18:36:43.276	info	4 instances found
          host.PiMaster
          2023-09-18 18:36:43.250	info	Delete state "system.host.PiMaster.versions.nodeCurrent"
          host.PiMaster
          2023-09-18 18:36:42.278	info	added notifications configuration of host
          host.PiMaster
          2023-09-18 18:36:42.250	info	connected to Objects and States
          host.PiMaster
          2023-09-18 18:36:41.499	info	ip addresses: 192.168.178.100 2001:9e8:1ec:af00:d975:3f8a:fb83:7a0e fe80::b476:adb:eade:b907
          host.PiMaster
          2023-09-18 18:36:41.498	info	hostname: PiMaster, node: v18.17.1
          host.PiMaster
          2023-09-18 18:36:41.496	info	Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          host.PiMaster
          2023-09-18 18:36:41.489	info	iobroker.js-controller version 5.0.12 js-controller starting
          host.PiMaster
          2023-09-18 18:36:36.948	info	terminated
          host.PiMaster
          2023-09-18 18:36:36.832	info	All instances are stopped.
          host.PiMaster
          2023-09-18 18:36:36.831	info	instance system.adapter.zigbee.0 terminated with code 0 (NO_ERROR)
          host.PiMaster
          2023-09-18 18:36:36.795	info	instance system.adapter.admin.0 terminated with code 0 (NO_ERROR)
          host.PiMaster
          2023-09-18 18:36:36.781	info	instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR)
          host.PiMaster
          2023-09-18 18:36:36.780	info	instance system.adapter.discovery.0 terminated with code 0 (NO_ERROR)
          host.PiMaster
          2023-09-18 18:36:36.108	info	stopInstance system.adapter.backitup.0 send kill signal
          host.PiMaster
          2023-09-18 18:36:36.107	info	stopInstance system.adapter.discovery.0 send kill signal
          host.PiMaster
          2023-09-18 18:36:36.106	info	stopInstance system.adapter.zigbee.0 send kill signal
          host.PiMaster
          2023-09-18 18:36:36.103	info	stopInstance system.adapter.admin.0 send kill signal
          host.PiMaster
          2023-09-18 18:36:36.079	info	stopInstance system.adapter.backitup.0 (force=false, process=true)
          host.PiMaster
          2023-09-18 18:36:36.078	info	stopInstance system.adapter.discovery.0 (force=false, process=true)
          host.PiMaster
          2023-09-18 18:36:36.077	info	stopInstance system.adapter.zigbee.0 (force=false, process=true)
          host.PiMaster
          2023-09-18 18:36:36.063	info	stopInstance system.adapter.admin.0 (force=false, process=true)
          host.PiMaster
          2023-09-18 18:36:36.056	info	received SIGTERM
          host.PiMaster
          2023-09-18 18:15:06.462	info	Multihost discovery server stopped after 15 minutes, because only temporarily activated
          host.PiMaster
          2023-09-18 18:00:06.462	info	Multi-host discovery server: service started on 0.0.0.0:50005
          host.PiMaster
          2023-09-18 17:37:56.931	info	Multihost discovery server stopped after 15 minutes, because only temporarily activated
          host.PiMaster
          2023-09-18 17:22:56.932	info	Multi-host discovery server: service started on 0.0.0.0:50005
          
          
          ? Homoran 2 Replies Last reply Reply Quote 0
          • ?
            A Former User @Horst Böttcher last edited by

            @horst-böttcher sagte in Multihost zusamen führen:

            pi@PiMaster:~ $ sudo iobroker setup custom

            Moin,

            @Thomas-Braun hat Dir hier -> https://forum.iobroker.net/topic/68401/multihost-zusamen-führen/9 doch schon gesagt, dass Du iob/iobroker nicht mit sudo ausführen sollst.

            VG
            Bernd

            Horst Böttcher 1 Reply Last reply Reply Quote 1
            • Horst Böttcher
              Horst Böttcher @Guest last edited by

              @dp20eic ja hatte mich verschreiben hab es ohne sudo gemacht

              DJMarc75 ? 2 Replies Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @Horst Böttcher last edited by

                @horst-böttcher sagte in Multihost zusamen führen:

                hab es ohne sudo gemacht

                nö

                @horst-böttcher sagte in Multihost zusamen führen:

                sudo iobroker setup custom

                1 Reply Last reply Reply Quote 1
                • ?
                  A Former User @Horst Böttcher last edited by

                  @horst-böttcher sagte in Multihost zusamen führen:

                  @dp20eic ja hatte mich verschreiben hab es ohne sudo gemacht

                  Moin,

                  wirklich?
                  cc67a658-95c0-4250-b5cb-cb794c6781b5-grafik.png

                  VG
                  Bernd

                  haselchen 1 Reply Last reply Reply Quote 1
                  • haselchen
                    haselchen Most Active @Guest last edited by

                    @dp20eic

                    Zur Verteidigung muss man sagen, dass es so eine Anleitung im Netz gibt.

                    https://www.iobroker.net/docu/index-24.htm?page_id=3068&lang=de

                    Ab der Version des js-controller v1.1.3 wird die Einrichtung eines Multihost-Systems noch weiter vereinfacht.
                    
                    Man gibt beim Master nur noch ein: sudo iobroker multihost enable
                    
                    Anschließend auf dem slave: sudo iobroker multihost browse
                    
                    Jetzt müssten vorhandene Master angezeigt werden.
                    
                    Daraufhin wird mit sudo iobroker multihost connect der entsprechenden Master ausgewählt
                    
                    Damit ist die Multihost-Verbindung fertig.
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @haselchen last edited by

                      @haselchen

                      Im Netz findet man viel veralteten Kram. So wie den von dir verlinkten.
                      Die aktuelle Doku ist jedenfalls korrekt ohne sudo:

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

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

                        @thomas-braun

                        Da beides unter iobroker.net läuft , woher soll ein , sagen wir Neuling , das dann unterscheiden?
                        Wäre ja evtl.sinnvoll den alten Krams dann vom Netz zu nehmen.

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

                          @haselchen sagte in Multihost zusamen führen:

                          Wäre ja evtl.sinnvoll den alten Krams dann vom Netz zu nehmen.

                          @Homoran

                          1 Reply Last reply Reply Quote 1
                          • Homoran
                            Homoran Global Moderator Administrators @Horst Böttcher last edited by

                            @horst-böttcher sagte in Multihost zusamen führen:

                            Please check the binding of the configured jsonl server to allow remote connections.

                            hast du das gemacht?

                            Horst Böttcher 1 Reply Last reply Reply Quote 1
                            • Homoran
                              Homoran Global Moderator Administrators @haselchen last edited by

                              @haselchen sagte in Multihost zusamen führen:

                              Wäre ja evtl.sinnvoll den alten Krams dann vom Netz zu nehmen.

                              das ist er seit 2018/20

                              haselchen 1 Reply Last reply Reply Quote 1
                              • haselchen
                                haselchen Most Active @Homoran last edited by

                                @homoran

                                Hab doch gerade den Link gepostet?
                                Die Seite ist aufrufbar und zu finden über Google.

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

                                  @haselchen sagte in Multihost zusamen führen:

                                  zu finden über Google.

                                  google vergisst nichts

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

                                    @homoran

                                    Wenn das noch in irgendeinem Cache steckt, dann ist es bestimmt möglich, anhand der URL, Google zum Löschen zu bewegen ?!

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

                                      @homoran sagte in Multihost zusamen führen:

                                      google vergisst nichts

                                      Und ChatGPT vergisst auch nix, erzählt aber dennoch belangloses Gebrabbel.

                                      1 Reply Last reply Reply Quote 1
                                      • Horst Böttcher
                                        Horst Böttcher @Homoran last edited by

                                        @homoran ja hab ich komisch jetzt ist er da

                                        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

                                        862
                                        Online

                                        32.0k
                                        Users

                                        80.6k
                                        Topics

                                        1.3m
                                        Posts

                                        7
                                        28
                                        688
                                        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