Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IObroker Multihost Slave startet nicht mehr

    NEWS

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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    IObroker Multihost Slave startet nicht mehr

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

      @thomas-braun
      HAllo.

      Jetzt wollte ich schreiben das seit gestern nach dem "löschen" nichtsmehr
      funktioniert, aber habe eben nochmal einen reboot gemacht und siehe da...

       uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.17.0
      v16.17.0
      8.15.0
      4.0.23
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
      /home/pi
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      All packages are up to date.
      nodejs:
        Installed: 16.17.0-deb-1nodesource1
        Candidate: 16.17.0-deb-1nodesource1
        Version table:
       *** 16.17.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@ioBrokerMasterPi4:~ $
      
      

      ABER der Slave ist immer noch offline und IOBROKER ist immer noch "not running"

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

        @rs_tobi

        Sieht das jetzt auf allen drei Systemen gleich aus?

        Jetzt wollte ich schreiben das seit gestern nach dem "löschen" nichtsmehr
        funktioniert,

        Hattest du den ioBroker nicht heruntergefahren beim löschen? Dann hast du dem die Laufzeitumgebung unterm Ar*** weggezogen. Das mag der natürlich nicht.

        R 1 Reply Last reply Reply Quote 0
        • R
          RS_Tobi @Thomas Braun last edited by

          @thomas-braun
          doch, der iobroker war gestoppt...

          und beim reboot war die Ausgabe plötzlich richtig und iobroker startete wieder.

          Nun sehen alle drei nahezu wenn nicht sogar identisch aus.

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

            @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

            und beim reboot war die Ausgabe plötzlich richtig und iobroker startete wieder.

            Ja, da wird der $PATH neueingelesen.

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

              @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

              Nun sehen alle drei nahezu wenn nicht sogar identisch aus.

              Checken...

              R 2 Replies Last reply Reply Quote 0
              • R
                RS_Tobi @Thomas Braun last edited by

                @thomas-braun

                OK. sind identisch

                1 Reply Last reply Reply Quote 0
                • R
                  RS_Tobi @Thomas Braun last edited by

                  @thomas-braun
                  sieht immer noch so aus..
                  und starten möchte er nich... 😞

                  fc637640-ced0-469e-a2e0-b04e80b4d8db-image.png

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

                    @rs_tobi

                    Auf dem Froeling:

                    iob update
                    
                    R 2 Replies Last reply Reply Quote 0
                    • R
                      RS_Tobi @Thomas Braun last edited by

                      @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

                      iob update

                      PUH... das ist jetzt gerade komisch...
                      habe den FRÖLING nochmal rebootet...

                      seit dem TOT.

                      Ich melde mich wenn ich was weiß.

                      DANKE!

                      1 Reply Last reply Reply Quote 0
                      • R
                        RS_Tobi @Thomas Braun last edited by

                        @thomas-braun

                        wieder online...

                        pi@FroelingSlavePi2:~ $ iob update
                        Used repository: stable
                        Adapter    "admin"        : 6.2.22   , installed 6.2.22
                        Adapter    "backitup"     : 2.4.10   , installed 2.2.2  [Updatable]
                        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                        Controller "js-controller": 4.0.23   , installed 4.0.23
                        Adapter    "modbus"       : 5.0.5    , installed 3.4.11 [Updatable]
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @RS_Tobi last edited by Thomas Braun

                          @rs_tobi

                          iob upgrade all -y
                          

                          Danach

                          iobroker setup custom
                          

                          und schauen ob die Anbindung an den Master noch korrekt ist.
                          Siehe auch hier:

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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RS_Tobi @Thomas Braun last edited by

                            @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

                            @rs_tobi

                            iob upgrade all -y
                            

                            Danach

                            iobroker setup custom
                            

                            Ausgabe:

                            pi@FroelingSlavePi2:~ $ iobroker setup custom
                            Current configuration:
                            - Objects database:
                              - Type: jsonl
                              - Host/Unix Socket: 192.168.178.11
                              - Port: 9001
                            - States database:
                              - Type: jsonl
                              - Host/Unix Socket: 192.168.178.11
                              - Port: 9000
                            - Data Directory: ../../iobroker-data/
                            
                            Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]:
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @RS_Tobi last edited by

                              @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

                              192.168.178.11

                              Und die IP 192.168.178.11 ist vom Master? Vom Slave? Von sonstwem?

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                RS_Tobi @Thomas Braun last edited by

                                @thomas-braun

                                Hallo Thomas,
                                ich muss mich mal kurz zwischendurch bei dir erklären und bedanken.
                                Unsere Konversation ist zeitlich sehr zerrissen.
                                Das ist nicht mein Mangel an Interesse sondern Mangel an Zeit.
                                Wir haben drei Kinder und ich arbeite Vollzeit.
                                Somit kommt mir ständig etwas dazwischen.

                                Danke dafür.

                                Zurück zum Thema.
                                Ich bin auch keiner, der, wenn er einen Fehler hat sich gleich ins Forum setzt und sich diesen kostenlos von anderen beheben lässt.
                                Ich bin schon derjenige, der erst mal versucht sich selber durch Forum zu wühlen, Anleitungen oder HowTO's (wie von dir z.B) zu finden und diese abzuarbeiten.

                                Und hier kommen wir zum Thema, ich bin kein Programmierer, auch wenn ich es gerne wäre.
                                Jedoch bin ich jemand den es interessiert und der es auch verstehen möchte.

                                Ich möchte deine Kompetenz nicht in frage stellen, ich will auch nicht unhöflich sein.
                                Versteh mich nicht falsch!
                                Aber kann es sein das wir am falschen Eck nach dem Fehler suchen?

                                Wenn mir

                                pi@FroelingSlavePi2:~ $ iob status
                                iobroker is not running on this host.
                                

                                antwortet, dann kann die Multihost Einstellung doch stimmen oder nicht...
                                Wir werden so oder so keine Verbindung bekommen wenn der
                                iobroker nicht läuft.

                                Oder verstehe ich hier was falsch?

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

                                  @rs_tobi

                                  Und was kommt auf ein

                                  iob start
                                  iob status
                                  systemctl status iobroker
                                  

                                  zurück?

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    RS_Tobi @Thomas Braun last edited by

                                    @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

                                    iob start iob status systemctl status iobroker

                                    gibt:

                                    pi@FroelingSlavePi2:~ $ iob start
                                    pi@FroelingSlavePi2:~ $ iob status
                                    iobroker is not running on this host.
                                    
                                    At least one iobroker host is running.
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    pi@FroelingSlavePi2:~ $ systemctl status iobroker
                                    ● iobroker.service - ioBroker Server
                                       Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset:
                                       Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20
                                         Docs: http://iobroker.net
                                      Process: 18344 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/i
                                     Main PID: 18344 (code=exited, status=1/FAILURE)
                                    
                                    Sep 19 20:42:58 FroelingSlavePi2 systemd[1]: iobroker.service: Failed with resul
                                    lines 1-8/8 (END)...skipping...
                                    ● iobroker.service - ioBroker Server
                                       Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                       Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20:42:58 CEST; 1s ago
                                         Docs: http://iobroker.net
                                      Process: 18344 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                     Main PID: 18344 (code=exited, status=1/FAILURE)
                                    
                                    Sep 19 20:42:58 FroelingSlavePi2 systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    ~
                                    lines 1-8/8 (END)
                                    
                                    
                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @RS_Tobi last edited by

                                      @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

                                      gibt:

                                      zieh mal das putty Fenster größer.
                                      da fehlt rechts was

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        RS_Tobi @Homoran last edited by

                                        @Homoran

                                        "again what learned" 😂

                                        anbei:

                                        pi@FroelingSlavePi2:~ $ iob start
                                        pi@FroelingSlavePi2:~ $ iob status
                                        iobroker is not running on this host.
                                        
                                        At least one iobroker host is running.
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        pi@FroelingSlavePi2:~ $ systemctl status iobroker
                                        ● iobroker.service - ioBroker Server
                                           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                           Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20:46:48 CEST; 1s ago
                                             Docs: http://iobroker.net
                                          Process: 18798 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                         Main PID: 18798 (code=exited, status=1/FAILURE)
                                        pi@FroelingSlavePi2:~ $
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @RS_Tobi last edited by

                                          @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

                                          sudo systemctl restart iobroker
                                          systemctl status iobroker
                                          
                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            RS_Tobi @Thomas Braun last edited by

                                            @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

                                            sudo systemctl restart iobroker
                                            systemctl status iobroker

                                            pi@FroelingSlavePi2:~ $ sudo systemctl restart iobroker
                                            pi@FroelingSlavePi2:~ $ systemctl status iobroker
                                            ● iobroker.service - ioBroker Server
                                               Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                               Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20:52:29 CEST; 2s ago
                                                 Docs: http://iobroker.net
                                              Process: 19501 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                             Main PID: 19501 (code=exited, status=1/FAILURE)
                                            
                                            
                                            
                                            Thomas Braun 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

                                            765
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            64
                                            3707
                                            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