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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Master und Slave klappt nicht.

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    423

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

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

Master und Slave klappt nicht.

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
43 Beiträge 5 Kommentatoren 3.4k Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    Achim55
    schrieb am zuletzt editiert von Achim55
    #1

    Morgen, ich bin gerade dabei ein Multihost zu bauen was nicht klappt.
    Der Slave startet nicht mehr :-(

    Auf dem Master habe ich folgendes eingegeben:

    root@debian:~# iobroker setup custom
    Current configuration:
    - Objects database:
     - Type: file
     - Host/Unix Socket: 0.0.0.0
     - Port: 9001
    - States database:
     - Type: redis
     - Host/Unix Socket: 127.0.0.1
     - Port: 6379
    - Data Directory: ../../iobroker-data/
    
    Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
    Host / Unix Socket of objects DB(file), default[0.0.0.0]:
    Port of objects DB(file), default[9001]:
    Type of states DB [(f)file, (r)edis, ...], default [file]: r
    Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
    Port of states DB (redis), default[6379]:
    Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
    Host name of this machine [debian]:
    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 "file/redis" to "file/redis" [y/N]:
    updating conf/iobroker.json
    root@debian:~# iobroker multihost enable
    Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
    Important: Multihost discovery works with UDP packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
    Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
    Discovery authentication activated.
    Enter secret phrase for connection:
    Repeat secret phrase for connection:
    Please check the binding of the configured file server to allow remote connections.
    Please restart ioBroker for the changes to take effect: "iobroker restart"
    
    
    Multihost discovery server: enabled
    Discovery authentication:   enabled
    Persistent activation:      disabled
    Objects:                    file on 0.0.0.0
    States:                     redis on 0.0.0.0
    root@debian:~# iobroker restart
    root@debian:~#
    

    Auf dem Slave erhalte ich die Meldung :

    pi@iobrokerSLAVE:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs
    2022-01-14 09:51:22.208  - info: host.iobrokerSLAVE iobroker.js-controller version 3.3.22 js-controller starting
    2022-01-14 09:51:22.216  - info: host.iobrokerSLAVE Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
    2022-01-14 09:51:22.217  - info: host.iobrokerSLAVE hostname: iobrokerSLAVE, node: v12.22.9
    2022-01-14 09:51:22.218  - info: host.iobrokerSLAVE ip addresses: 192.168.178.68 2a02:8071:5057:a0c0:21e2:cbde:dc62:fd9a fe80::3307:349c:f80a:5b64
    
    2022-01-14 09:51:52.237  - error: host.iobrokerSLAVE No connection to databases possible, restart
    2022-01-14 09:51:52.250  - info: host.iobrokerSLAVE iobroker _restart
    2022-01-14 09:51:52.982  - info: host.iobrokerSLAVE iobroker Starting node restart.js
    pi@iobrokerSLAVE:/opt/iobroker $
    
    Thomas BraunT HomoranH 2 Antworten Letzte Antwort
    0
    • A Achim55

      Morgen, ich bin gerade dabei ein Multihost zu bauen was nicht klappt.
      Der Slave startet nicht mehr :-(

      Auf dem Master habe ich folgendes eingegeben:

      root@debian:~# iobroker setup custom
      Current configuration:
      - Objects database:
       - Type: file
       - Host/Unix Socket: 0.0.0.0
       - Port: 9001
      - States database:
       - Type: redis
       - Host/Unix Socket: 127.0.0.1
       - Port: 6379
      - Data Directory: ../../iobroker-data/
      
      Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
      Host / Unix Socket of objects DB(file), default[0.0.0.0]:
      Port of objects DB(file), default[9001]:
      Type of states DB [(f)file, (r)edis, ...], default [file]: r
      Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
      Port of states DB (redis), default[6379]:
      Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
      Host name of this machine [debian]:
      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 "file/redis" to "file/redis" [y/N]:
      updating conf/iobroker.json
      root@debian:~# iobroker multihost enable
      Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
      Important: Multihost discovery works with UDP packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
      Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
      Discovery authentication activated.
      Enter secret phrase for connection:
      Repeat secret phrase for connection:
      Please check the binding of the configured file server to allow remote connections.
      Please restart ioBroker for the changes to take effect: "iobroker restart"
      
      
      Multihost discovery server: enabled
      Discovery authentication:   enabled
      Persistent activation:      disabled
      Objects:                    file on 0.0.0.0
      States:                     redis on 0.0.0.0
      root@debian:~# iobroker restart
      root@debian:~#
      

      Auf dem Slave erhalte ich die Meldung :

      pi@iobrokerSLAVE:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs
      2022-01-14 09:51:22.208  - info: host.iobrokerSLAVE iobroker.js-controller version 3.3.22 js-controller starting
      2022-01-14 09:51:22.216  - info: host.iobrokerSLAVE Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
      2022-01-14 09:51:22.217  - info: host.iobrokerSLAVE hostname: iobrokerSLAVE, node: v12.22.9
      2022-01-14 09:51:22.218  - info: host.iobrokerSLAVE ip addresses: 192.168.178.68 2a02:8071:5057:a0c0:21e2:cbde:dc62:fd9a fe80::3307:349c:f80a:5b64
      
      2022-01-14 09:51:52.237  - error: host.iobrokerSLAVE No connection to databases possible, restart
      2022-01-14 09:51:52.250  - info: host.iobrokerSLAVE iobroker _restart
      2022-01-14 09:51:52.982  - info: host.iobrokerSLAVE iobroker Starting node restart.js
      pi@iobrokerSLAVE:/opt/iobroker $
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @achim55 sagte in Master und Slave klappt nicht.:

      root@debian:~#

      Schon der falsche Ansatz.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      1
      • A Achim55

        Morgen, ich bin gerade dabei ein Multihost zu bauen was nicht klappt.
        Der Slave startet nicht mehr :-(

        Auf dem Master habe ich folgendes eingegeben:

        root@debian:~# iobroker setup custom
        Current configuration:
        - Objects database:
         - Type: file
         - Host/Unix Socket: 0.0.0.0
         - Port: 9001
        - States database:
         - Type: redis
         - Host/Unix Socket: 127.0.0.1
         - Port: 6379
        - Data Directory: ../../iobroker-data/
        
        Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
        Host / Unix Socket of objects DB(file), default[0.0.0.0]:
        Port of objects DB(file), default[9001]:
        Type of states DB [(f)file, (r)edis, ...], default [file]: r
        Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
        Port of states DB (redis), default[6379]:
        Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
        Host name of this machine [debian]:
        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 "file/redis" to "file/redis" [y/N]:
        updating conf/iobroker.json
        root@debian:~# iobroker multihost enable
        Multihost discovery server activated on this host. If iobroker is currently not running please start befeore trying to discover this host.
        Important: Multihost discovery works with UDP packets. Make sure they are routed correctly in your network. If you use Docker you also need to configure this correctly.
        Multihost discovery will be automatically deactivated after 15 minutes. If you want to activate it permanently use the --persist flag
        Discovery authentication activated.
        Enter secret phrase for connection:
        Repeat secret phrase for connection:
        Please check the binding of the configured file server to allow remote connections.
        Please restart ioBroker for the changes to take effect: "iobroker restart"
        
        
        Multihost discovery server: enabled
        Discovery authentication:   enabled
        Persistent activation:      disabled
        Objects:                    file on 0.0.0.0
        States:                     redis on 0.0.0.0
        root@debian:~# iobroker restart
        root@debian:~#
        

        Auf dem Slave erhalte ich die Meldung :

        pi@iobrokerSLAVE:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs
        2022-01-14 09:51:22.208  - info: host.iobrokerSLAVE iobroker.js-controller version 3.3.22 js-controller starting
        2022-01-14 09:51:22.216  - info: host.iobrokerSLAVE Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
        2022-01-14 09:51:22.217  - info: host.iobrokerSLAVE hostname: iobrokerSLAVE, node: v12.22.9
        2022-01-14 09:51:22.218  - info: host.iobrokerSLAVE ip addresses: 192.168.178.68 2a02:8071:5057:a0c0:21e2:cbde:dc62:fd9a fe80::3307:349c:f80a:5b64
        
        2022-01-14 09:51:52.237  - error: host.iobrokerSLAVE No connection to databases possible, restart
        2022-01-14 09:51:52.250  - info: host.iobrokerSLAVE iobroker _restart
        2022-01-14 09:51:52.982  - info: host.iobrokerSLAVE iobroker Starting node restart.js
        pi@iobrokerSLAVE:/opt/iobroker $
        
        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #3

        @achim55 sagte in Master und Slave klappt nicht.:

        Type of objects DB [(f)ile, (r)edis, ...], default [file]: f Host / Unix Socket of objects DB(file), default[0.0.0.0]: Port of objects DB(file), default[9001]: Type of states DB [(f)file, (r)edis, ...], default [file]: r Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0 Port of states DB (redis), default[6379]: Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/ Host name of this machine [debian]:

        • was steht dann beim slave drin, wenn du iobroker setup custom aufrufst?
        • hast du den slave in der redis.conf freigegeben

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        A 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @achim55 sagte in Master und Slave klappt nicht.:

          Type of objects DB [(f)ile, (r)edis, ...], default [file]: f Host / Unix Socket of objects DB(file), default[0.0.0.0]: Port of objects DB(file), default[9001]: Type of states DB [(f)file, (r)edis, ...], default [file]: r Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0 Port of states DB (redis), default[6379]: Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/ Host name of this machine [debian]:

          • was steht dann beim slave drin, wenn du iobroker setup custom aufrufst?
          • hast du den slave in der redis.conf freigegeben
          A Offline
          A Offline
          Achim55
          schrieb am zuletzt editiert von
          #4

          @homoran said in Master und Slave klappt nicht.:

          iobroker setup custom

          pi@iobrokerSLAVE:/opt/iobroker $ iobroker setup custom
          Current configuration:
          - Objects database:
            - Type: redis
            - Host/Unix Socket: 192.168.178.47
            - Port: 6379
          - States database:
            - Type: redis
            - Host/Unix Socket: 192.168.178.47
            - Port: 6379
          
          Type of objects DB [(f)ile, (r)edis, ...], default [redis]:
          

          Ich kann aber noch mal alles neu ausetzten, wenn ich falsch vorgegangen bin.
          Der Slave ist auf einem Rasperry und der Master läuft unter Debian 10.

          Wäre das sinnvoller ?

          A paul53P HomoranH 3 Antworten Letzte Antwort
          0
          • A Achim55

            @homoran said in Master und Slave klappt nicht.:

            iobroker setup custom

            pi@iobrokerSLAVE:/opt/iobroker $ iobroker setup custom
            Current configuration:
            - Objects database:
              - Type: redis
              - Host/Unix Socket: 192.168.178.47
              - Port: 6379
            - States database:
              - Type: redis
              - Host/Unix Socket: 192.168.178.47
              - Port: 6379
            
            Type of objects DB [(f)ile, (r)edis, ...], default [redis]:
            

            Ich kann aber noch mal alles neu ausetzten, wenn ich falsch vorgegangen bin.
            Der Slave ist auf einem Rasperry und der Master läuft unter Debian 10.

            Wäre das sinnvoller ?

            A Offline
            A Offline
            Achim55
            schrieb am zuletzt editiert von
            #5

            @achim55

            ich habe mich an die Vorlage gehalten:
            https://www.iobroker.net/#de/documentation/config/multihost.md

            bahnuhrB 1 Antwort Letzte Antwort
            0
            • A Achim55

              @achim55

              ich habe mich an die Vorlage gehalten:
              https://www.iobroker.net/#de/documentation/config/multihost.md

              bahnuhrB Online
              bahnuhrB Online
              bahnuhr
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #6

              @achim55 sagte in Master und Slave klappt nicht.:

              @achim55

              ich habe mich an die Vorlage gehalten:
              https://www.iobroker.net/#de/documentation/config/multihost.md

              Die Anleitung funktioniert einwandfrei.
              Habe dies nach dieser schon x mal gemacht.

              Dein Screenshot unter #1 zeigt diese Anleitung aber nicht.

              Und warum redis.
              Irgendwo stand mal, dass 99% der user redis nicht brauchen.


              Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
              Danke.
              gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
              ScreenToGif :https://www.screentogif.com/downloads.html

              A 1 Antwort Letzte Antwort
              0
              • A Achim55

                @homoran said in Master und Slave klappt nicht.:

                iobroker setup custom

                pi@iobrokerSLAVE:/opt/iobroker $ iobroker setup custom
                Current configuration:
                - Objects database:
                  - Type: redis
                  - Host/Unix Socket: 192.168.178.47
                  - Port: 6379
                - States database:
                  - Type: redis
                  - Host/Unix Socket: 192.168.178.47
                  - Port: 6379
                
                Type of objects DB [(f)ile, (r)edis, ...], default [redis]:
                

                Ich kann aber noch mal alles neu ausetzten, wenn ich falsch vorgegangen bin.
                Der Slave ist auf einem Rasperry und der Master läuft unter Debian 10.

                Wäre das sinnvoller ?

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #7

                @achim55 sagte:

                pi@iobrokerSLAVE:/opt/iobroker $ iobroker setup custom
                Current configuration:
                - Objects database:
                 - Type: redis
                 - Host/Unix Socket: 192.168.178.47
                 - Port: 6379
                

                Stimmt nicht mit Master überein.

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: Asus PN 42 / N100 / 8 GB / 500 GB

                1 Antwort Letzte Antwort
                0
                • A Achim55

                  @homoran said in Master und Slave klappt nicht.:

                  iobroker setup custom

                  pi@iobrokerSLAVE:/opt/iobroker $ iobroker setup custom
                  Current configuration:
                  - Objects database:
                    - Type: redis
                    - Host/Unix Socket: 192.168.178.47
                    - Port: 6379
                  - States database:
                    - Type: redis
                    - Host/Unix Socket: 192.168.178.47
                    - Port: 6379
                  
                  Type of objects DB [(f)ile, (r)edis, ...], default [redis]:
                  

                  Ich kann aber noch mal alles neu ausetzten, wenn ich falsch vorgegangen bin.
                  Der Slave ist auf einem Rasperry und der Master läuft unter Debian 10.

                  Wäre das sinnvoller ?

                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #8

                  @achim55 sagte in Master und Slave klappt nicht.:

                  ich habe mich an die Vorlage gehalten:

                  danach sollte es auch klappen, aber anscheinend ahst du da einiges gewürfelt

                  @achim55 sagte in Master und Slave klappt nicht.:

                  • Objects database: - Type: redis

                  objects Database bei Master ist aber file

                  @achim55 sagte in Master und Slave klappt nicht.:

                  Type of objects DB [(f)ile, (r)edis, ...], default [file]: f

                  Ist denn jetzt die redis-db im Master auf für den Slave offen?

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  A 1 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @achim55 sagte in Master und Slave klappt nicht.:

                    ich habe mich an die Vorlage gehalten:

                    danach sollte es auch klappen, aber anscheinend ahst du da einiges gewürfelt

                    @achim55 sagte in Master und Slave klappt nicht.:

                    • Objects database: - Type: redis

                    objects Database bei Master ist aber file

                    @achim55 sagte in Master und Slave klappt nicht.:

                    Type of objects DB [(f)ile, (r)edis, ...], default [file]: f

                    Ist denn jetzt die redis-db im Master auf für den Slave offen?

                    A Offline
                    A Offline
                    Achim55
                    schrieb am zuletzt editiert von
                    #9

                    @homoran
                    Irgendwie habe ich da murgs gemacht :-) , ich setzte da noch einmal sauber auf.

                    Beim durcharbeiten kamen aber noch fragen auf, die nicht beschrieben sind.

                    HomoranH 1 Antwort Letzte Antwort
                    0
                    • A Achim55

                      @homoran
                      Irgendwie habe ich da murgs gemacht :-) , ich setzte da noch einmal sauber auf.

                      Beim durcharbeiten kamen aber noch fragen auf, die nicht beschrieben sind.

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #10

                      @achim55 sagte in Master und Slave klappt nicht.:

                      Beim durcharbeiten kamen aber noch fragen auf, die nicht beschrieben sind.

                      Du weisst doch:
                      bei Fragen fragen!

                      Dann kann man auch die Anleitung ggf. noch anpassen

                      kein Support per PN! - Fragen im Forum stellen -
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      A 1 Antwort Letzte Antwort
                      0
                      • HomoranH Homoran

                        @achim55 sagte in Master und Slave klappt nicht.:

                        Beim durcharbeiten kamen aber noch fragen auf, die nicht beschrieben sind.

                        Du weisst doch:
                        bei Fragen fragen!

                        Dann kann man auch die Anleitung ggf. noch anpassen

                        A Offline
                        A Offline
                        Achim55
                        schrieb am zuletzt editiert von
                        #11

                        @homoran

                        Geht nicht mittlerweile so auch ?

                        Auf dem Master mit
                        iobroker multihost enable

                        und auf dem Slave:
                        iobroker multihost connect

                        A HomoranH 2 Antworten Letzte Antwort
                        0
                        • A Achim55

                          @homoran

                          Geht nicht mittlerweile so auch ?

                          Auf dem Master mit
                          iobroker multihost enable

                          und auf dem Slave:
                          iobroker multihost connect

                          A Offline
                          A Offline
                          Achim55
                          schrieb am zuletzt editiert von
                          #12

                          @achim55

                          Wenn ich das durchlaufen lasse kommt die Frage:
                          This host appears to be a Master or a Single host system. Is this correct? [Y/n]:

                          Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
                          Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                          Port of objects DB(file), default[9001]:
                          Type of states DB [(f)file, (r)edis, ...], default [file]: r
                          Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
                          Port of states DB (redis), default[6379]:
                          Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
                          Host name of this machine [debian]:
                          This host appears to be a Master or a Single host system. Is this correct? [Y/n]:
                          
                          A 1 Antwort Letzte Antwort
                          0
                          • A Achim55

                            @homoran

                            Geht nicht mittlerweile so auch ?

                            Auf dem Master mit
                            iobroker multihost enable

                            und auf dem Slave:
                            iobroker multihost connect

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #13

                            @achim55 sagte in Master und Slave klappt nicht.:

                            Geht nicht mittlerweile so auch ?

                            Sollte.
                            Aber dann sieht man nicht wenn etwas nicht korrekt ist.
                            Ich mache es immer amnuell, da weiss man was man hat ;-)

                            @achim55 sagte in Master und Slave klappt nicht.:

                            Wenn ich das durchlaufen lasse kommt die Frage:
                            This host appears to be a Master or a Single host system. Is this correct? [Y/n]:

                            Was läuft wo durch?
                            Wenn auf dem Master, wo ist deine Frage dazu?

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • A Achim55

                              @achim55

                              Wenn ich das durchlaufen lasse kommt die Frage:
                              This host appears to be a Master or a Single host system. Is this correct? [Y/n]:

                              Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
                              Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                              Port of objects DB(file), default[9001]:
                              Type of states DB [(f)file, (r)edis, ...], default [file]: r
                              Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
                              Port of states DB (redis), default[6379]:
                              Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
                              Host name of this machine [debian]:
                              This host appears to be a Master or a Single host system. Is this correct? [Y/n]:
                              
                              A Offline
                              A Offline
                              Achim55
                              schrieb am zuletzt editiert von
                              #14

                              @achim55
                              War zu schnell mit ENTER :-)
                              Habe ich mit Y bestätigt.

                              Jetzt kommt die Frage :
                              Do you want to migrate objects and states from "file/redis" to "file/redis" [y/N]:

                              Was soll ich da machen ?

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • bahnuhrB bahnuhr

                                @achim55 sagte in Master und Slave klappt nicht.:

                                @achim55

                                ich habe mich an die Vorlage gehalten:
                                https://www.iobroker.net/#de/documentation/config/multihost.md

                                Die Anleitung funktioniert einwandfrei.
                                Habe dies nach dieser schon x mal gemacht.

                                Dein Screenshot unter #1 zeigt diese Anleitung aber nicht.

                                Und warum redis.
                                Irgendwo stand mal, dass 99% der user redis nicht brauchen.

                                A Offline
                                A Offline
                                Achim55
                                schrieb am zuletzt editiert von
                                #15

                                @bahnuhr

                                als ich vor ca. 2Jahren damit anfing hatte ich einen Raspberry. Dann folgte ein NUC.
                                Auf dem NUC Iobrocker blank installiert und die Datensicherung vom Raspberry eingespielt.
                                Da kam wohl irgendwie redis mit rein :-(

                                HomoranH 1 Antwort Letzte Antwort
                                0
                                • A Achim55

                                  @achim55
                                  War zu schnell mit ENTER :-)
                                  Habe ich mit Y bestätigt.

                                  Jetzt kommt die Frage :
                                  Do you want to migrate objects and states from "file/redis" to "file/redis" [y/N]:

                                  Was soll ich da machen ?

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von
                                  #16

                                  @achim55 sagte in Master und Slave klappt nicht.:

                                  Was soll ich da machen ?

                                  erst mal keine Nacherzählung von Teilinformationen, sondern den Konsolenoutput im Zusammenhang als Text in Code-Tags posten.
                                  Vielleicht kann ich dann etwas damit anfangen.
                                  Wie gesagt, arbeite ich manuell

                                  kein Support per PN! - Fragen im Forum stellen -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  A 1 Antwort Letzte Antwort
                                  0
                                  • A Achim55

                                    @bahnuhr

                                    als ich vor ca. 2Jahren damit anfing hatte ich einen Raspberry. Dann folgte ein NUC.
                                    Auf dem NUC Iobrocker blank installiert und die Datensicherung vom Raspberry eingespielt.
                                    Da kam wohl irgendwie redis mit rein :-(

                                    HomoranH Nicht stören
                                    HomoranH Nicht stören
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb am zuletzt editiert von
                                    #17

                                    @achim55 sagte in Master und Slave klappt nicht.:

                                    die Datensicherung vom Raspberry eingespielt.
                                    Da kam wohl irgendwie redis mit rein

                                    da mag dann die Kofiguration mit drin gewesen sein, aber die Datenbank muss separat installiert werden.
                                    So out of the box hätte das gar nicht laufen dürfen

                                    kein Support per PN! - Fragen im Forum stellen -
                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    A 1 Antwort Letzte Antwort
                                    0
                                    • HomoranH Homoran

                                      @achim55 sagte in Master und Slave klappt nicht.:

                                      Was soll ich da machen ?

                                      erst mal keine Nacherzählung von Teilinformationen, sondern den Konsolenoutput im Zusammenhang als Text in Code-Tags posten.
                                      Vielleicht kann ich dann etwas damit anfangen.
                                      Wie gesagt, arbeite ich manuell

                                      A Offline
                                      A Offline
                                      Achim55
                                      schrieb am zuletzt editiert von
                                      #18

                                      @homoran
                                      okay :-)

                                      root@debian:~# iobroker setup custom
                                      Current configuration:
                                      - Objects database:
                                        - Type: file
                                        - Host/Unix Socket: 127.0.0.1
                                        - Port: 9001
                                      - States database:
                                        - Type: redis
                                        - Host/Unix Socket: 127.0.0.1
                                        - Port: 6379
                                      - Data Directory: ../../iobroker-data/
                                      
                                      Type of objects DB [(f)ile, (r)edis, ...], default [file]: f
                                      Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                                      Port of objects DB(file), default[9001]:
                                      Type of states DB [(f)file, (r)edis, ...], default [file]: r
                                      Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
                                      Port of states DB (redis), default[6379]:
                                      Data directory (file), default[../../iobroker-data/]: /opt/iobroker/iobroker-data/
                                      Host name of this machine [debian]:
                                      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 "file/redis" to "file/redis" [y/N]:
                                      
                                      
                                      1 Antwort Letzte Antwort
                                      0
                                      • HomoranH Homoran

                                        @achim55 sagte in Master und Slave klappt nicht.:

                                        die Datensicherung vom Raspberry eingespielt.
                                        Da kam wohl irgendwie redis mit rein

                                        da mag dann die Kofiguration mit drin gewesen sein, aber die Datenbank muss separat installiert werden.
                                        So out of the box hätte das gar nicht laufen dürfen

                                        A Offline
                                        A Offline
                                        Achim55
                                        schrieb am zuletzt editiert von
                                        #19

                                        @homoran

                                        kann ich das migrieren damit redis raus ist und ich die DB nutzen kann ?

                                        A 1 Antwort Letzte Antwort
                                        0
                                        • A Achim55

                                          @homoran

                                          kann ich das migrieren damit redis raus ist und ich die DB nutzen kann ?

                                          A Offline
                                          A Offline
                                          Achim55
                                          schrieb am zuletzt editiert von Achim55
                                          #20

                                          @achim55

                                          Wenn ich die Installation von ioBroker installer auf dem Raspberry starte kommen Meldungen mit warning.
                                          Der Iobroker läuft aber trotz dessen. Ist das okay so ?

                                          pi@raspberrypiSlave:~ $ curl -sLf https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                          
                                          ## Installing the NodeSource Node.js 12.x repo...
                                          
                                          
                                          ## Populating apt-get cache...
                                          
                                          + apt-get update
                                          Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.5 kB]
                                          Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                                          Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
                                          Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [246 kB]
                                          Fetched 13.5 MB in 8s (1,622 kB/s)
                                          Reading package lists... Done
                                          N: Repository 'http://archive.raspberrypi.org/debian bullseye InRelease' changed its 'Suite' value from 'unstable' to 'stable'
                                          
                                          ## Confirming "bullseye" is supported...
                                          
                                          + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.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 12.x repo...
                                          
                                          + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.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_12.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                          
                                          ## Running `apt-get update` for you...
                                          
                                          + apt-get update
                                          Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Get:3 https://deb.nodesource.com/node_12.x bullseye InRelease [4,586 B]
                                          Get:4 https://deb.nodesource.com/node_12.x bullseye/main armhf Packages [777 B]
                                          Fetched 5,363 B in 1s (5,258 B/s)
                                          Reading package lists... Done
                                          
                                          ## Run `sudo apt-get install -y nodejs` to install Node.js 12.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
                                          
                                          
                                          pi@raspberrypiSlave:~ $ sudo apt-get install -y nodejs
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          The following NEW packages will be installed:
                                            nodejs
                                          0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
                                          Need to get 15.9 MB of archives.
                                          After this operation, 86.0 MB of additional disk space will be used.
                                          Get:1 https://deb.nodesource.com/node_12.x bullseye/main armhf nodejs armhf 12.22.9-deb-1nodesource1 [15.9 MB]
                                          Fetched 15.9 MB in 3s (4,939 kB/s)
                                          Selecting previously unselected package nodejs.
                                          (Reading database ... 40796 files and directories currently installed.)
                                          Preparing to unpack .../nodejs_12.22.9-deb-1nodesource1_armhf.deb ...
                                          Unpacking nodejs (12.22.9-deb-1nodesource1) ...
                                          Setting up nodejs (12.22.9-deb-1nodesource1) ...
                                          Processing triggers for man-db (2.9.4-2) ...
                                          pi@raspberrypiSlave:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                          library: loaded
                                          Library version=2021-12-27
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installer!
                                              Installer version: 2021-12-27
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/4)
                                          ==========================================================================
                                          
                                          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_12.x bullseye InRelease
                                          Reading package lists... Done
                                          Changing npm registry to https://registry.npmjs.org
                                          Installed acl
                                          Installed gcc-c++
                                          Installed libavahi-compat-libdnssd-dev
                                          Installed libudev-dev
                                          Installed libpam0g-dev
                                          Installed git
                                          Installed libcairo2-dev
                                          Installed libpango1.0-dev
                                          Installed libjpeg-dev
                                          Installed libgif-dev
                                          Installed librsvg2-dev
                                          Installed python-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)
                                          ==========================================================================
                                          
                                          In file included from ../../nan/nan.h:58,
                                                           from ../src/main.cpp:3:
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:736:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                            736 |       (node::addon_register_func) (regfunc),                          \
                                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
                                            770 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                                |   ^~~~~~~~~~~~~
                                          ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                                             42 | NODE_MODULE(diskusage, Init)
                                                | ^~~~~~~~~~~
                                          In file included from ../../nan/nan.h:58,
                                                           from ../src/unix_dgram.cc:5:
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:736:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                            736 |       (node::addon_register_func) (regfunc),                          \
                                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
                                            770 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                                |   ^~~~~~~~~~~~~
                                          ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                                            404 | NODE_MODULE(unix_dgram, Initialize)
                                                | ^~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:78:51: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             78 |   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:135:53: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            135 |   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:175:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            175 |   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:215:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            215 |   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:271:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            271 |   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:316:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            316 |   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:366:58: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            366 |   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                          ../src/serialport.cpp:412:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                            412 |   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport.cpp: At global scope:
                                          ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                            433 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                |                            ^
                                          ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                            452 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                |                              ^
                                          In file included from ../../../nan/nan.h:58,
                                                           from ../src/./serialport.h:13,
                                                           from ../src/serialport.cpp:1:
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:736:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                            736 |       (node::addon_register_func) (regfunc),                          \
                                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /home/pi/.cache/node-gyp/12.22.9/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
                                            770 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                                |   ^~~~~~~~~~~~~
                                          ../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’
                                            486 | NODE_MODULE(serialport, init);
                                                | ^~~~~~~~~~~
                                          ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                                          ../src/serialport_unix.cpp:179:82: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                                            179 |     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                |                                                                                  ^~
                                          ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                                            179 |     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                                          ../src/serialport_unix.cpp:89:84: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                                             89 |     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                |                                                                                    ^~
                                          ../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                                             89 |     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          
                                          ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
                                          
                                          ioBroker wants to make sure to deliver the most stable smart home system.
                                          To allow this we decided to implement an automatic error and crash reporting solution into the js-controller and also into adapters.
                                          
                                          THIS REPORTING WILL BE ENABLED WITH THE NEXT START OF YOUR IOBROKER!
                                          
                                          For any error that leads to the crash of the js-controller or one of the relevant adapters the error details are send to a server. For the js-controller and core adapters this server is located and operated in germany. For community adapters please check the Github Readme of the affected adapter for details which Sentry server is used.
                                          
                                          If you want to disable the error reporting you can use the command
                                          'iobroker plugin disable sentry'
                                          This command will also make sure that no adapter that runs on this host will send crash reporting data to sentry.
                                          
                                          
                                          HomoranH 1 Antwort Letzte Antwort
                                          0

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

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

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

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


                                          Support us

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

                                          465

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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