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.
    • 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
                      • P
                        pjo123456 last edited by pjo123456

                        @bahnuhr eben nicht. Normalerweise müsste sich nach iobroker multihost enable das Terminal wieder mit dem Prompt melden. Macht es aber nicht. Ich kann ab diesem Punkt außer abbrechen nichts mehr machen. Das war sonst nicht so.

                        @Homoran

                        
                        ======== Start marking the full check here =========
                        
                        
                        Skript v.2023-06-20
                        
                        *** BASE SYSTEM ***
                           Static hostname: ioBrokerMasterNeu
                                 Icon name: computer
                                Machine ID: 4236e4b937704469b720130c5fb87437
                                   Boot ID: 0658e2b6522445589c9030e8daf81d71
                          Operating System: Raspbian GNU/Linux 11 (bullseye)
                                    Kernel: Linux 6.1.21-v8+
                              Architecture: arm64
                        
                        Model           : Raspberry Pi 4 Model B Rev 1.4
                        Docker          : false
                        Virtualization  : none
                        Kernel          : aarch64
                        Userland        : armhf
                        
                        Systemuptime and Load:
                         18:00:50 up  1:34,  3 users,  load average: 0.03, 0.13, 0.06
                        CPU threads: 4
                        
                        Raspberry only:
                        throttled=0x0
                        Other values than 0x0 hint to temperature/voltage problems
                        temp=44.3'C
                        volt=0.9260V
                        
                        *** Time and Time Zones ***
                                       Local time: Wed 2023-10-04 18:00:50 CEST
                                   Universal time: Wed 2023-10-04 16:00:50 UTC
                                         RTC time: n/a
                                        Time zone: Europe/Berlin (CEST, +0200)
                        System clock synchronized: yes
                                      NTP service: active
                                  RTC in local TZ: no
                        
                        *** User and Groups ***
                        pi
                        /home/pi
                        pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
                        
                        *** X-Server-Setup ***
                        X-Server:       true
                        Desktop:
                        Terminal:       tty
                        Boot Target:    graphical.target
                        
                        *** MEMORY ***
                                       total        used        free      shared  buff/cache   available
                        Mem:            7.8G        297M        6.9G         35M        597M        7.4G
                        Swap:            99M          0B         99M
                        Total:          7.9G        297M        7.0G
                        
                                 7812 M total memory
                                  298 M used memory
                                  442 M active memory
                                  292 M inactive memory
                                 6916 M free memory
                                   43 M buffer memory
                                  554 M swap cache
                                   99 M total swap
                                    0 M used swap
                                   99 M free swap
                        
                        Raspberry only:
                        oom events: 0
                        lifetime oom required: 0 Mbytes
                        total time in oom handler: 0 ms
                        max time spent in oom handler: 0 ms
                        
                        *** FILESYSTEM ***
                        Filesystem     Type      Size  Used Avail Use% Mounted on
                        /dev/root      ext4       15G  3.9G  9.9G  29% /
                        devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
                        tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                        tmpfs          tmpfs     1.6G  1.2M  1.6G   1% /run
                        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                        /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
                        tmpfs          tmpfs     782M   24K  782M   1% /run/user/1000
                        
                        Messages concerning ext4 filesystem in dmesg:
                        [Wed Oct  4 16:26:00 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:5D:E5:15 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=29c5ba51-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                        [Wed Oct  4 16:26:01 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                        [Wed Oct  4 16:26:01 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                        [Wed Oct  4 16:26:04 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                        
                        Show mounted filesystems (real ones only):
                        TARGET  SOURCE         FSTYPE OPTIONS
                        /       /dev/mmcblk0p2 ext4   rw,noatime
                        `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                        
                        Files in neuralgic directories:
                        
                        /var:
                        407M    /var/
                        127M    /var/cache
                        123M    /var/lib
                        120M    /var/cache/apt
                        68M     /var/lib/apt/lists
                        
                        Archived and active journals take up 56.0M in the file system.
                        
                        /opt/iobroker/backups:
                        1.3M    /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        27M     /opt/iobroker/iobroker-data/
                        13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
                        13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static
                        13M     /opt/iobroker/iobroker-data/files/admin.admin/custom
                        13M     /opt/iobroker/iobroker-data/files/admin.admin
                        
                        The five largest files in iobroker-data are:
                        6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                        3.7M    /opt/iobroker/iobroker-data/objects.jsonl
                        3.7M    /opt/iobroker/iobroker-data/objects.json.migrated
                        3.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                        2.8M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
                        
                        *** NodeJS-Installation ***
                        
                        /usr/bin/nodejs         v18.17.1
                        /usr/bin/node           v18.17.1
                        /usr/bin/npm            9.6.7
                        /usr/bin/npx            9.6.7
                        
                        
                        nodejs:
                          Installed: 18.17.1-deb-1nodesource1
                          Candidate: 18.17.1-deb-1nodesource1
                          Version table:
                         *** 18.17.1-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                                100 /var/lib/dpkg/status
                             12.22.12~dfsg-1~deb11u4 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        
                        Temp directories causing npm8 problem: 0
                        No problems detected
                        
                        Errors in npm tree: 0
                        
                        *** ioBroker-Installation ***
                        
                        ioBroker Status
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        No configuration change needed.
                        
                        
                        Multihost discovery server: disabled
                        Discovery authentication:   enabled
                        Persistent activation:      disabled
                        Objects:                    jsonl on 0.0.0.0
                        States:                     jsonl on 0.0.0.0
                        
                        Core adapters versions
                        js-controller:  5.0.12
                        admin:          6.10.1
                        javascript:     "javascript" not found
                        
                        Adapters from github:   0
                        
                        Adapter State
                        + system.adapter.admin.0                  : admin                 : ioBrokerMasterNeu                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                        
                        + instance is alive
                        
                        Enabled adapters with bindings
                        + system.adapter.admin.0                  : admin                 : ioBrokerMasterNeu                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                        
                        ioBroker-Repositories
                        stable        : http://download.iobroker.net/sources-dist.json
                        beta          : http://download.iobroker.net/sources-dist-latest.json
                        
                        Active repo(s): stable
                        
                        Installed ioBroker-Instances
                        Used repository: stable
                        Adapter    "admin"        : 6.10.1   , installed 6.10.1
                        Controller "js-controller": 5.0.12   , installed 5.0.12
                        
                        Objects and States
                        Please stand by - This may take a while
                        Objects:        84
                        States:         64
                        
                        *** OS-Repositories and Updates ***
                        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Reading package lists...
                        Pending Updates: 99
                        
                        *** Listening Ports ***
                        Active Internet connections (only servers)
                        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                        tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       23634      2193/iobroker.js-co
                        tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       23627      2193/iobroker.js-co
                        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15672      575/sshd: /usr/sbin
                        tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          15692      539/cupsd
                        tcp6       0      0 :::22                   :::*                    LISTEN      0          15682      575/sshd: /usr/sbin
                        tcp6       0      0 ::1:631                 :::*                    LISTEN      0          15691      539/cupsd
                        tcp6       0      0 :::8081                 :::*                    LISTEN      1001       21216      2211/io.admin.0
                        udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          15092      585/cups-browsed
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        15500      400/avahi-daemon: r
                        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          16530      470/dhcpcd
                        udp        0      0 0.0.0.0:33120           0.0.0.0:*                           108        15502      400/avahi-daemon: r
                        udp6       0      0 :::5353                 :::*                                108        15501      400/avahi-daemon: r
                        udp6       0      0 :::43899                :::*                                108        15503      400/avahi-daemon: r
                        udp6       0      0 :::546                  :::*                                0          19342      470/dhcpcd
                        
                        *** Log File - Last 25 Lines ***
                        
                        2023-10-04 17:23:55.859  - info: host.ioBrokerMasterNeu ip addresses: 192.168.1.57 2a02:8108:1380:68fc:67ae:2430:12be:c07d fe80::8d7:83f7:8a85:e666
                        2023-10-04 17:23:56.490  - info: host.ioBrokerMasterNeu connected to Objects and States
                        2023-10-04 17:23:56.517  - info: host.ioBrokerMasterNeu added notifications configuration of host
                        2023-10-04 17:23:56.934  - info: host.ioBrokerMasterNeu Delete host system.host.ioBrokerMasterNeu
                        2023-10-04 17:23:56.963  - info: host.ioBrokerMasterNeu Multi-host discovery server: service started on 0.0.0.0:50005
                        2023-10-04 17:23:57.008  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.nodeCurrent"
                        2023-10-04 17:23:57.015  - info: host.ioBrokerMasterNeu 1 instance found
                        2023-10-04 17:23:57.022  - info: host.ioBrokerMasterNeu starting 1 instance
                        2023-10-04 17:23:57.046  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.nodeNewest"
                        2023-10-04 17:23:57.067  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.nodeNewestNext"
                        2023-10-04 17:23:57.086  - info: host.ioBrokerMasterNeu instance system.adapter.admin.0 started with pid 2211
                        2023-10-04 17:23:57.138  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.npmCurrent"
                        2023-10-04 17:23:57.147  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.npmNewest"
                        2023-10-04 17:23:57.155  - info: host.ioBrokerMasterNeu Delete state "system.host.ioBrokerMasterNeu.versions.npmNewestNext"
                        2023-10-04 17:23:57.164  - info: host.ioBrokerMasterNeu Some obsolete host states deleted.
                        2023-10-04 17:23:59.661  - info: admin.0 (2211) starting. Version 6.10.1 in /opt/iobroker/node_modules/iobroker.admin, node: v18.17.1, js-controller: 5.0.12
                        2023-10-04 17:23:59.720  - info: admin.0 (2211) requesting all objects
                        2023-10-04 17:24:00.345  - info: admin.0 (2211) received all objects
                        2023-10-04 17:24:00.766  - info: admin.0 (2211) socket.io server listening on port 8081
                        2023-10-04 17:24:00.771  - info: admin.0 (2211) http server listening on port 8081
                        2023-10-04 17:24:00.772  - info: admin.0 (2211) Use link "http://127.0.0.1:8081" to configure.
                        2023-10-04 17:24:11.859  - info: admin.0 (2211) ==> Connected system.user.admin from ::ffff:192.168.1.33
                        2023-10-04 17:24:30.602  - info: host.ioBrokerMasterNeu Multi-host discovery server: service started on 0.0.0.0:50005
                        2023-10-04 17:25:34.206  - info: admin.0 (2211) <== Disconnect system.user.admin from ::ffff:192.168.1.33 admin
                        2023-10-04 17:39:30.602  - info: host.ioBrokerMasterNeu Multihost discovery server stopped after 15 minutes, because only temporarily activated
                        
                        
                        
                        
                        Thomas Braun bahnuhr 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @pjo123456 last edited by

                          @pjo123456 sagte in Hilfe bei Multihost:

                          Pending Updates: 99

                          Und schalt den Desktop aus.

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

                            @thomas-braun OK, mache ich. Aber ich denek jetzt fast, dass das Problem woanders liegt. Denn auf meinem laufenden System sieht es genau so aus:

                            71fef952-f32f-4909-8422-49d80d57cc40-image.png

                            Edit: Habe die Updates gemacht und Desktop ausgeschaltet. Keine Änderung.

                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                            • bahnuhr
                              bahnuhr Forum Testing Most Active @pjo123456 last edited by

                              @pjo123456

                              Na, dann bin ich jetzt raus.
                              Weiß nicht wie du dies hinbekommen hast, dass der prompt nicht mehr kommt.

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

                                @bahnuhr sagte in Hilfe bei Multihost:

                                @pjo123456

                                Na, dann bin ich jetzt raus.
                                Weiß nicht wie du dies hinbekommen hast, dass der prompt nicht mehr kommt.

                                mit dem Phänomen hat sich heute auch @splatterjoe in e7nem eigenen Thread gemeldet. Habe ihn gebeten hier weiter zu machen.
                                Deswegen auch die iob diag von beiden um nach Gemeinsamkeiten zu suchen

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

                                  @pjo123456 sagte in Hilfe bei Multihost:

                                  Denn auf meinem laufenden System sieht es genau so aus:

                                  bitte keine Screenshots von Konsolentext

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

                                    @pjo123456 sagte in Hilfe bei Multihost:

                                    System sieht es genau so aus:

                                    Kann ich nicht lesen. Text in CodeTags eingebettet hier rein.

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

                                      @thomas-braun Die Screenshots sollten nur zeigen, wie es aussieht bei mir. Also das kein Prompt erscheint. Alle anderen Sachen werden natürlich "vernünftig" gepostet.

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

                                        @pjo123456 sagte in Hilfe bei Multihost:

                                        Objects: jsonl on 0.0.0.0
                                        States: jsonl on 0.0.0.0

                                        jsonl also neu ab JS-Controller 4

                                        in deiner Briefmarke

                                        Noch File also unter JS-Controller 4
                                        :

                                        bc663886-f7dc-4fe5-a0e1-9067ef5a5079-grafik.png

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

                                          @glasfaser Das war jetzt durch das ganze rumprobieren passiert. Hatte vorher json eingestellt. So wie es Standard ist nach der Installation. Hat aber genauso wenig funktioniert.

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

                                            Ich tippe da jetzt eher auf ein Netzwerkproblem. Habe gelesen, dass das irgendwie mit UDP zusammenhängen kann.

                                            Glasfaser 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

                                            434
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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