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.
    • Thomas Braun
      Thomas Braun Most Active @RS_Tobi last edited by

      @rs_tobi

      Wenn das alles auf dem gleichen Stand ist schauen wir weiter.

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

        @thomas-braun
        Beim Master trat nun ein Problem auf.
        AHHHH

        pi@ioBrokerMasterPi4:/opt/iobroker $ sudo apt update
        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
        Err:3 https://deb.nodesource.com/node_16.x buster InRelease
          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        All packages are up to date.
        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_16.x buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
        W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
        W: Some index files failed to download. They have been ignored, or old ones used instead.
        
        

        nun, das hatte ich noch nie!

        Folgedessen gehts auch nicht weiter.

        Tobi

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

          @rs_tobi

          curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
          
          R 1 Reply Last reply Reply Quote 0
          • R
            RS_Tobi @Thomas Braun last edited by

            @thomas-braun
            Danke, Hat funktioniert.

            Nun, So wie es aussieht hat er NPM nicht auf 8 gezogen.

            pi@ioBrokerMasterPi4:/opt/iobroker $ 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/local/bin/node
            /usr/local/bin/npm
            v16.17.0
            v16.17.0
            6.14.4
            4.0.23
            pi
            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
            /opt/iobroker
            Hit:1 http://archive.raspberrypi.org/debian buster InRelease
            Hit:2 http://raspbian.raspberrypi.org/raspbian 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
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @RS_Tobi last edited by Thomas Braun

              @rs_tobi

              Doch, aber du hast da noch was quer installiert. Falsche Pfade. Siehe mein HowTo.

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

                @thomas-braun
                Mir sind die falschen PFade gerade schon aufgefallen, aber ich habe nichts anders gemacht als bei den beiden Node updates bei den beiden SLAVES.

                Das ist jetzt echt komisch.

                Ich arbeite auch schon seit gestern mit deiner ANLEITUNG.
                Danke nochmals dafür, an dieser Stell!

                Nur, kann ich das einfach verschieben oder muss das dort installiert werden?
                Ich habe ja nirgends was ausgewählt...

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

                  @thomas-braun
                  Ich bedanke mich jetzt schon mal bei DIR!

                  Aber ich muss in 3 Std wieder aufstehen, ich habe es zeitlich schon voll ausgereitzt.
                  Ich melde mich morgen wieder.

                  Danke

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

                    @rs_tobi

                    Löschen. Nix 'verschieben'.

                    sudo rm /usr/local/bin/n*
                    
                    R 1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            804
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

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