Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Hilfe bei Multihost

    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

    [gelöst] Hilfe bei Multihost

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

      @pjo123456

      Bin kein Netzwerker, kann ich dir so auch nicht beantworten.
      Wie ist dein Netzwerk denn aufgebaut?

      P 1 Reply Last reply Reply Quote 0
      • P
        pjo123456 @Thomas Braun last edited by

        @thomas-braun Fritzbox 6600 als Router und sonst nichts weiter besonderes.

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

          @pjo123456 sagte in Hilfe bei Multihost:

          @thomas-braun Fritzbox 6600 als Router und sonst nichts weiter besonderes.

          kein Kabel, kein Switch?

          1 Reply Last reply Reply Quote 0
          • FredF
            FredF Most Active Forum Testing @pjo123456 last edited by

            @pjo123456
            Ist das sicher dein Master:

            pi@ioBroker-Slave2
            
            P 1 Reply Last reply Reply Quote 0
            • P
              pjo123456 @FredF last edited by

              @fredf Das soll der 2. Slave werden aber zum Testen habe ich den jetzt erstmal neu aufgesetzt. Im Moment ist der noch stand alone. Aber wenn ich hier versuche "iobroker multihost enable" bleibt der auch so hängen wie oben beschrieben. Das komische ist ja, dass das ja mal alles ohne Probleme vor 5 Monaten bei meinem anderen beiden Raspis mit iobroker funktioniert hat. Aber wenn ich das jetzt an meinem Master probiere zeigt sich das gleiche Bild. Bleibt auch hängen. Ich habe keine Ahnung wie es weitergehen kann.

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

                @pjo123456 sagte in Hilfe bei Multihost:

                neu aufgesetzt. Im Moment ist der noch stand alone

                Auf dem Slave sollten vor der Kopplung keine Adapter installiert sein.

                @pjo123456 sagte in Hilfe bei Multihost:

                Ich habe keine Ahnung wie es weitergehen kann.

                u.a. mit iob setup custom

                @pjo123456 sagte in Hilfe bei Multihost:

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

                ich hab noch nicht mit jsonl gearbeitet, diese Meldung kenne ich von redis.
                Da muss die config angepasst werden.

                Ob und wie das bei jsonl geht, weiß ich nicht

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

                  Also Adapter sind nur die Standardsachen drauf. Admin, Backitup und Discovery.
                  War sonst auch so. Habe dann einfach iobroker multihost enable am Master eingegeben und am Slave iobroker multihost Connect und fertig war die Sache. Jetzt kommt ich am Master ja schon nicht mehr mal wieder zum Prompt zurück nach iobroker multihost enable. Der steht da bis ich mit Strg+C abbreche.

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

                    @pjo123456 sagte in Hilfe bei Multihost:

                    Also Adapter sind nur die Standardsachen drauf. Admin, Backitup und Discovery.

                    kannst du alle löschen.

                    @pjo123456 sagte in Hilfe bei Multihost:

                    Habe dann einfach iobroker multihost enable am Master eingegeben und am Slave iobroker multihost Connect und fertig war die Sache. Jetzt kommt ich am Master ja schon nicht mehr mal wieder zum Prompt zurück nach iobroker multihost enable. Der steht da bis ich mit Strg+C abbreche.

                    das wissen wir.
                    Die Doku kennst du sicherlich
                    https://www.iobroker.net/#de/documentation/config/multihost.md

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

                      @homoran Ja diese Anleitung kenne ich. Habe auch alles gemacht aber es ändert nichts. Bleibt trotzdem hängen.
                      b45f3bcd-b660-4013-a3b5-0f012c9da074-image.png

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

                        @pjo123456 sagte in Hilfe bei Multihost:

                        Habe auch alles gemacht

                        wo ist dann der output zu

                        @homoran sagte in Hilfe bei Multihost:

                        u.a. mit iob setup custom

                        und bitte in code-tags!
                        keine Screenshots von Konsolentext

                        wenn ich das trotzdem richtig entziffere stehen da mindestens 2 Anweisungen.
                        hast du diese befolgt?

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

                          @homoran

                          pi@ioBroker-Master-neu:~ $ 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 [(j)sonl, (f)ile, (r)edis, ...], default [file]: j
                          Host / Unix Socket of objects DB(jsonl), default[127.0.0.1]: 0.0.0.0
                          Port of objects DB(jsonl), default[9001]:
                          Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: j
                          Host / Unix Socket of states DB (jsonl), default[0.0.0.0]: 0.0.0.0
                          Port of states DB (jsonl), default[9000]:
                          Data directory (file), default[../../iobroker-data/]:
                          Host name of this machine [ioBroker-Master-neu]:
                          This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y
                          Explicit migration from file to jsonl is not necessary, skipping...
                          updating conf/iobroker.json
                          pi@ioBroker-Master-neu:~ $ iobroker multihost enable
                          Please check the binding of the configured jsonl server to allow remote connections.
                          No configuration change needed.
                          
                          
                          Multihost discovery server: enabled
                          Discovery authentication:   enabled
                          Persistent activation:      disabled
                          Objects:                    jsonl on 0.0.0.0
                          States:                     jsonl on 0.0.0.0
                          
                          

                          Mit (j)son und (f)ile probiert. Bei beiden das gleiche Ergebnis.

                          pi@ioBroker-Master-neu:~ $ iobroker setup custom
                          Current configuration:
                          - Objects database:
                            - Type: file
                            - Host/Unix Socket: 127.0.0.1
                            - Port: 9001
                          - States database:
                            - Type: file
                            - Host/Unix Socket: 127.0.0.1
                            - Port: 9000
                          - Data Directory: ../../iobroker-data/
                          
                          Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [file]: f
                          Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
                          Port of objects DB(file), default[9001]:
                          Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                          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-Master-neu]:
                          updating conf/iobroker.json
                          pi@ioBroker-Master-neu:~ $ iobroker restart
                          pi@ioBroker-Master-neu:~ $ iobroker multihost enable
                           Cannot read system.config: null (OK when migrating or restoring)
                          Please check the binding of the configured file server to allow remote connections.
                          No configuration change needed.
                          
                          
                          Multihost discovery server: enabled
                          Discovery authentication:   enabled
                          Persistent activation:      disabled
                          Objects:                    file on 0.0.0.0
                          States:                     file on 0.0.0.0
                          
                          
                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @pjo123456 last edited by

                            @pjo123456 sagte in Hilfe bei Multihost:

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

                            @pjo123456 sagte in Hilfe bei Multihost:

                            Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0

                            falsch! da muss der Master rein.

                            @pjo123456 sagte in Hilfe bei Multihost:

                            Host / Unix Socket of states DB (file), default[0.0.0.0]:

                            da auch

                            Blödsinn!!

                            wo ist der slave???

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

                              @homoran Ich bin erstmal auf dem Master. Wenn es da nicht weitergeht brauche ich ja noch nicht mit dem Slave anfangen.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                pjo123456 @pjo123456 last edited by

                                So wie hier hat es bei mir immer funktioniert. Auch auf dem jetzt laufenden System. Aber eben jetzt nicht mehr.
                                https://www.youtube.com/watch?v=o2AT1E0FDD0&ab_channel=haus-automatisierung.com

                                bahnuhr 1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @pjo123456 last edited by

                                  @pjo123456

                                  Es gibt ne offizielle Anleitung. Und diese hat @Homoran dir gepostet.
                                  Warum nimmst du diese nicht ?

                                  Klappt einwandfrei damit.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pjo123456 @bahnuhr last edited by

                                    @bahnuhr Bei mir aber irgendwie nicht. OK. Alles noch einmal. Ich bin erst einmal nur auf dem Master.

                                    Ich fange noch einmal ganz von vorne an. Image und ioBroker installiert. Also den Master neu aufgesetzt. Alles jungfräulich. Adapter sind nur Admin, Backitup und Discovery installiert, keine anderen zusätzlich installiert. Backitup und Discovery habe ich deinstalliert.

                                    Hier die Ausgabe falls es interessiert:

                                    login as: pi
                                    pi@192.168.1.57's password:
                                    Linux ioBrokerMasterNeu 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64
                                    
                                    The programs included with the Debian GNU/Linux system are free software;
                                    the exact distribution terms for each program are described in the
                                    individual files in /usr/share/doc/*/copyright.
                                    
                                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                    permitted by applicable law.
                                    Last login: Wed May  3 02:36:53 2023
                                    pi@ioBrokerMasterNeu:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                    library: loaded
                                    Library version=2022-12-09
                                    
                                    ==========================================================================
                                    
                                       Welcome to the ioBroker installer!
                                       Installer version: 2023-09-13
                                    
                                       You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                       Installing prerequisites (1/4)
                                    ==========================================================================
                                    
                                    Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
                                    Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                                    Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [314 kB]
                                    Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
                                    Fetched 13.6 MB in 1min 25s (160 kB/s)
                                    Reading package lists... Done
                                    N: Repository 'http://raspbian.raspberrypi.org/raspbian bullseye InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
                                    
                                    ==========================================================================
                                    
                                       Node.js not found. Installing...
                                    
                                    ==========================================================================
                                    
                                    
                                    ================================================================================
                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
                                    ================================================================================
                                    
                                                              SCRIPT DEPRECATION WARNING
                                    
                                    
                                     This script, located at https://deb.nodesource.com/setup_X, used to
                                     install Node.js is deprecated now and will eventually be made inactive.
                                    
                                     Please visit the NodeSource distributions Github and follow the
                                     instructions to migrate your repo.
                                     https://github.com/nodesource/distributions
                                    
                                     The NodeSource Node.js Linux distributions GitHub repository contains
                                     information about which versions of Node.js and which Linux distributions
                                     are supported and how to install it.
                                     https://github.com/nodesource/distributions
                                    
                                    
                                                             SCRIPT DEPRECATION WARNING
                                    
                                    ================================================================================
                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
                                    ================================================================================
                                    
                                    TO AVOID THIS WAIT MIGRATE THE SCRIPT
                                    Continuing in 60 seconds (press Ctrl-C to abort) ...
                                    
                                    
                                    ## Installing the NodeSource Node.js 18.x repo...
                                    
                                    
                                    ## Populating apt-get cache...
                                    
                                    + apt-get update
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Reading package lists... Done
                                    
                                    ## Confirming "bullseye" is supported...
                                    
                                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_18.x/dists/bullseye/Release'
                                    
                                    ## Adding the NodeSource signing key to your keyring...
                                    
                                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                    
                                    ## Creating apt sources list file for the NodeSource Node.js 18.x repo...
                                    
                                    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                    
                                    ## Running `apt-get update` for you...
                                    
                                    + apt-get update
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Get:3 https://deb.nodesource.com/node_18.x bullseye InRelease [4,586 B]
                                    Get:4 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages [787 B]
                                    Fetched 5,373 B in 1s (5,543 B/s)
                                    Reading package lists... Done
                                    
                                    ## Run `sudo apt-get install -y nodejs` to install Node.js 18.x and npm
                                    ## You may also need development tools to build native addons:
                                        sudo apt-get install gcc g++ make
                                    ## To install the Yarn package manager, run:
                                        curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                        echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                        sudo apt-get update && sudo apt-get install yarn
                                    
                                    
                                    Installed nodejs
                                    Node.js Installed successfully!
                                    Changing npm registry to https://registry.npmjs.org
                                    Installed gcc-c++
                                    Installed libavahi-compat-libdnssd-dev
                                    Installed libudev-dev
                                    Installed libpam0g-dev
                                    Installed libcairo2-dev
                                    Installed libpango1.0-dev
                                    Installed libjpeg-dev
                                    Installed libgif-dev
                                    Installed librsvg2-dev
                                    Installed cmake
                                    
                                    ==========================================================================
                                       Creating ioBroker user and directory (2/4)
                                    ==========================================================================
                                    
                                    User iobroker created
                                    Created /etc/sudoers.d/iobroker
                                    Directory /opt/iobroker created
                                    
                                    ==========================================================================
                                       Installing ioBroker (3/4)
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                       Finalizing installation (4/4)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                    Autostart enabled!
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                    
                                       ioBroker was installed successfully
                                       Open http://192.168.1.57:8081 in a browser and start configuring!
                                    
                                    ==========================================================================
                                    
                                    
                                    You need to re-login before doing anything else on the console!
                                    
                                    pi@ioBrokerMasterNeu:~ $
                                    
                                    

                                    Inder Anleitung steht: Auf dem Master folgendes Kommando ausführen:

                                    Dieser Schritt ist unbedingt nötig, falls Redis DB im Einsatz ist. In anderen Fällen kann man Ihn nutzen, wenn die automatische Methode (s.u.) fehlschlägt. Dann aber bitte f(ile) statt r(edis) auswählen! Heißt für mich also bei:
                                    Typ of objects DB: f
                                    und bei
                                    Typ of states DB: f

                                    Richtig?

                                    Weiter gehts mit iobroker setup custom

                                    login as: pi
                                    pi@192.168.1.57's password:
                                    Linux ioBrokerMasterNeu 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64
                                    
                                    The programs included with the Debian GNU/Linux system are free software;
                                    the exact distribution terms for each program are described in the
                                    individual files in /usr/share/doc/*/copyright.
                                    
                                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                    permitted by applicable law.
                                    Last login: Wed Oct  4 16:26:13 2023 from 192.168.1.33
                                    pi@ioBrokerMasterNeu:~ $ 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]: f
                                    Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
                                    Port of objects DB(file), default[9001]:
                                    Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                                    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 [ioBrokerMasterNeu]:
                                    This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y
                                    
                                    Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y
                                    
                                    Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                                    
                                    Connecting to previous DB "jsonl/jsonl"...
                                    
                                    Cannot migrate DB while js-controller is still running!
                                    Please stop ioBroker and try again. No settings have been changed.
                                    pi@ioBrokerMasterNeu:~ $ iobroker stop
                                    pi@ioBrokerMasterNeu:~ $ 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]: f
                                    Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
                                    Port of objects DB(file), default[9001]:
                                    Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                                    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 [ioBrokerMasterNeu]:
                                    This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y
                                    
                                    Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y
                                    
                                    Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                                    
                                    Connecting to previous DB "jsonl/jsonl"...
                                    Creating backup ...
                                    This can take some time ... please be patient!
                                    host.ioBrokerMasterNeu 62 states saved
                                    host.ioBrokerMasterNeu 85 objects saved
                                    Backup created: /opt/iobroker/backups/2023_10_04-16_32_04_backupiobroker-migration.tar.gz
                                    updating conf/iobroker.json
                                    
                                    Connecting to new DB "file/file" (can take up to 20s) ...
                                    Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                                    Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
                                    Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                                    Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                    Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
                                    Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                     Cannot read system.config: null (OK when migrating or restoring)
                                    Restore backup ...
                                    This can take some time ... please be patient!
                                    iobroker controller daemon is not running
                                    host.ioBrokerMasterNeu OK.
                                    host.ioBrokerMasterNeu Clear all objects and states...
                                    clean 2 objects...
                                    clean 2 states...
                                    host.ioBrokerMasterNeu done.
                                    host.ioBrokerMasterNeu Processed 0/85 objects
                                    85 objects restored.
                                    host.ioBrokerMasterNeu Processed 0/62 states
                                    62 states restored.
                                    upload [52] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                                    upload [50] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/customComponents.js.map custom/customComponents.js.map application/json
                                    upload [40] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/i18n/zh-cn.json custom/i18n/zh-cn.json application/json
                                    upload [30] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map application/json
                                    upload [20] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map application/json
                                    upload [19] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js application/javascript
                                    upload [18] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map application/json
                                    upload [17] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js application/javascript
                                    upload [16] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map application/json
                                    upload [15] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js application/javascript
                                    upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map application/json
                                    upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js application/javascript
                                    upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map application/json
                                    upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                    upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                    upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                    upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                    upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                    upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                    upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                    upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                    upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                    upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                                    upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                    upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5
                                    Reinstalling adapter "admin" from "iobroker.admin@6.10.1"
                                    
                                    up to date in 4s
                                    
                                    22 packages are looking for funding
                                      run `npm fund` for details
                                    Successfully migrated 84 objects to Redis Sets
                                    Backup restored - Migration successful
                                    
                                    Important: If your system consists of multiple hosts please execute
                                    "iobroker upload all" on the master AFTER all other hosts/slaves have
                                    also been updated to this states/objects database configuration AND are
                                    running!
                                    pi@ioBrokerMasterNeu:~ $ iobroker multihost enable
                                    Please check the binding of the configured file server to allow remote connections.
                                    No configuration change needed.
                                    
                                    
                                    Multihost discovery server: enabled
                                    Discovery authentication:   enabled
                                    Persistent activation:      disabled
                                    Objects:                    file on 0.0.0.0
                                    States:                     file on 0.0.0.0
                                    
                                    

                                    Jetzt soll ich ja iobroker restart eingeben. Aber wie? Kein Prompt! Das ist mein Problem wo ich nicht weiterkomme. Bin für alle Vorschläge/Ratschläge offen.

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

                                      @pjo123456 sagte in Hilfe bei Multihost:

                                      Richtig?

                                      nein!
                                      kannst du zwar machen, sollte auch gehen.
                                      Der Knackpunkt ist, dass es jetzt noch zusätzlich jsonl gibt, das in neueren Installationen Standard anstelle von file ist.

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

                                        @homoran OK, also json nutzen. Hatte ich auch probiert aber mache ich gerne noch einmal.

                                        Dann sieht es so aus:

                                        
                                        pi@ioBrokerMasterNeu:~ $ 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 [(j)sonl, (f)ile, (r)edis, ...], default [file]: j
                                        Host / Unix Socket of objects DB(jsonl), default[127.0.0.1]: 0.0.0.0
                                        Port of objects DB(jsonl), default[9001]:
                                        Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: j
                                        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 [ioBrokerMasterNeu]:
                                        This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y
                                        Explicit migration from file to jsonl is not necessary, skipping...
                                        updating conf/iobroker.json
                                        pi@ioBrokerMasterNeu:~ $ iobroker multihost enable
                                        Please check the binding of the configured jsonl server to allow remote connections.
                                        No configuration change needed.
                                        
                                        
                                        Multihost discovery server: enabled
                                        Discovery authentication:   enabled
                                        Persistent activation:      disabled
                                        Objects:                    jsonl on 0.0.0.0
                                        States:                     jsonl on 0.0.0.0
                                        
                                        

                                        keine Änderung am Problem.

                                        Homoran bahnuhr 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @pjo123456 last edited by

                                          @pjo123456 sagte in Hilfe bei Multihost:

                                          keine Änderung am Problem.

                                          bitte iob diag in der Langfassung!

                                          @splatterjoe
                                          von dir bitte auch

                                          1 Reply Last reply Reply Quote 0
                                          • bahnuhr
                                            bahnuhr Forum Testing Most Active @pjo123456 last edited by bahnuhr

                                            @pjo123456
                                            so, du zeigst den 1. Teil auf dem Master. Dieser sieht doch ok aus.

                                            Und jetzt zeigst du uns den 2. Teil; der auf dem Slave.

                                            Nachtrag:
                                            Ich bin immer nach dieser Anleitung (war die alte Doku von iob) vorgegangen.
                                            Entspricht der neuen Doku (fast).

                                            Iobroker multihost einrichten_2.pdf

                                            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

                                            787
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            80
                                            6961
                                            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