Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Slave korrekt entfernen

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

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

    • Wir empfehlen: Node.js 22.x

    Slave korrekt entfernen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @haselchen last edited by

      @haselchen sagte in Slave korrekt entfernen:

      Multihost einrichten ist heute ja auch anders als "damals".

      nöö.
      wieso?

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

        @segway sagte in Slave korrekt entfernen:

        zu fragen ob die Doku von vor knapp 5 Jahren noch richtig ist.

        klar!
        und das haben wir jetzt bestätigt.

        1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @Homoran last edited by haselchen

          @homoran sagte in Slave korrekt entfernen:

          @haselchen sagte in Slave korrekt entfernen:

          Multihost einrichten ist heute ja auch anders als "damals".

          Wenn auch alte Info, aber ja, es war mal anders....

          https://www.iobroker.net/docu/index-24.htm?page_id=3068&lang=de

          1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @e-i-k-e last edited by

            @e-i-k-e Läuft er denn auch wirklich nicht mehr?

            E 1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active @e-i-k-e last edited by

              @e-i-k-e

              Der Befehl lautet pkill -u iobroker

              E 1 Reply Last reply Reply Quote 0
              • E
                e-i-k-e @haselchen last edited by

                @haselchen

                
                pi@iobroker:~$ iobroker stop
                pi@iobroker:~$ sudo pkill -u iobroker
                [sudo] password for pi:
                pi@iobroker:~$ iobroker host remove iobroker
                Cannot execute changes on running system. Stop iobroker first.
                
                
                1 Reply Last reply Reply Quote 0
                • E
                  e-i-k-e @wendy2702 last edited by

                  @wendy2702

                  Ja. Existiert nicht mehr

                  1 Reply Last reply Reply Quote 0
                  • haselchen
                    haselchen Most Active last edited by

                    @e-i-k-e

                    iobroker stop weglassen

                    Mach gleich den pkill Befehl

                    1 Reply Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 last edited by

                      Und schau mit „top“ nach ob wirklich nichts mehr läuft.

                      1 Reply Last reply Reply Quote 0
                      • E
                        e-i-k-e last edited by

                        @haselchen @wendy2702

                        Also mir kommt es so vor, als wenn nach "sudo pkill -u iobroker" iobroker beendet wird und dann automatisch wieder startet.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @e-i-k-e last edited by

                          @e-i-k-e

                          sudo systemctl stop iobroker
                          sudo systemctl disable iobroker
                          
                          E 1 Reply Last reply Reply Quote 0
                          • E
                            e-i-k-e @Thomas Braun last edited by e-i-k-e

                            @thomas-braun sagte in Slave korrekt entfernen:

                            @e-i-k-e

                            sudo systemctl stop iobroker
                            sudo systemctl disable iobroker
                            
                            pi@iobroker:~$ sudo systemctl stop iobroker
                            pi@iobroker:~$ sudo systemctl disable iobroker
                            Removed /etc/systemd/system/multi-user.target.wants/iobroker.service.
                            pi@iobroker:~$ iobroker host remove iobroker
                            Cannot execute changes on running system. Stop iobroker first.
                            

                            eacc8dc4-07d0-40d9-a799-79ab08840767-image.png

                            Edit: Mir ist gerade etwas aufgefallen, ich habe den Host bei der Ersteinrichtung von ubuntu-server "iobroker" genannt. Später aber bei der Einrichtung der Multihost-umgebenen über "iobroker setup custom" auf ioBroker-Rock geändert.

                            Ich korrigierte dies jetzt mal über.

                            hostnamectl set-hostname
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @e-i-k-e last edited by

                              @e-i-k-e

                              pi@iobroker:~$
                              

                              Hier heißt die Kiste aber iobroker

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                e-i-k-e @Thomas Braun last edited by e-i-k-e

                                @thomas-braun

                                Hab es zwar korrigiert, brachte aber keine Änderung..

                                pi@ioBroker-Rock:~$ sudo systemctl stop iobroker
                                sudo systemctl disable iobroker
                                Removed /etc/systemd/system/multi-user.target.wants/iobroker.service.
                                pi@ioBroker-Rock:~$ htop
                                pi@ioBroker-Rock:~$ iobroker host remove iobroker
                                Cannot execute changes on running system. Stop iobroker first.
                                
                                

                                fd66361d-fa96-4280-9845-fc6626937b5e-image.png

                                Edit: Gehört nicht direkt zu dem Thema. Aber wie kann ich hier den Host ändern, ohne den Zugriff über den Admin?

                                93114529-ac67-4439-b788-6d2203b73231-image.png

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @e-i-k-e last edited by

                                  @e-i-k-e

                                  iobroker host this
                                  
                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    e-i-k-e @Thomas Braun last edited by

                                    @thomas-braun auch im Multihostbetrieb?

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @e-i-k-e last edited by

                                      @e-i-k-e dann musst du den Host benennen, der umbenannt werden soll

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        e-i-k-e @Homoran last edited by

                                        @homoran Wie meinst du das?

                                        Wenn ich den Host (Master) von z.B: "ioBroker-Rock" auf "ioBroker" umbennen möchte.

                                        Ich habe es über iobroker host set versucht, erhalte dann aber auch Cannot execute changes on running system. Stop iobroker first.
                                        Durch iobroker setup custom kann ich den den Host generell ändern, aber alle Adapter laufen weiterhin unter ioBroker-Rock und somit kann ich das Sytsme nicht verwenden. Ich habe testweiße auch in der iobroker.json "ioBroker-Rock" durch "ioBroker" ersetzt.
                                        Generell habe ich den Host unter ubuntu auch demensprechend geändert.

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @e-i-k-e last edited by

                                          @e-i-k-e sagte in Slave korrekt entfernen:

                                          Wie meinst du das?

                                          ich hab es auswendig nicht mehr parat. ist zu lange her.
                                          müsste statt iobroker host this etwas gewesen sein wie iobroker host raspberry2 this

                                          aber ohne Gewähr

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            e-i-k-e @Homoran last edited by e-i-k-e

                                            @homoran

                                            Ich habe mich hier nach orientiert. Vielleicht auch nicht korrekt angewendet - ich weiß es nicht. Bin aber bei dem "Problem" mit den Host-name bei den Adaptern nicht weitergekommen. Vielelicht hat auch dies mit dem Cannot execute changes on running system. Stop iobroker first zutun. Ich bekomme es anscheined icht komplett beendet, es läuft aber lt. "htop" auch kein Prozess mehr. Muss die anderen slave beendet werden? Hat es etwas mit redis/redis zutun?

                                            https://www.iobroker.net/docu/index-98.htm?page_id=3971&lang=de

                                            iobroker host
                                            Change host name in the objects.
                                            Sometimes by moving the iobroker data from one system to other it is required to change the host name. With this command it can be executed.

                                            You must stop ioBroker before this.
                                            To change some specific host name in the DB to the current host name write iobroker host oldHostName.
                                            To change any host name (must be only single host system, not for multihosts) write iobroker host this.
                                            You can change host name to some specific (not the computer name). For that you must write: iobroker host set newHostName to rename from actual computer name or previously specified host name.

                                            Homoran 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

                                            739
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            45
                                            1088
                                            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