Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [DONE] IObroker Admin Updatze auf 4.1.1 Error

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [DONE] IObroker Admin Updatze auf 4.1.1 Error

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @Ag3nt_Sn4k3 last edited by

      @Ag3nt_Sn4k3 Also der Host hier drin heisst "io-broker" ... Hast Du vllt doch was geändert?

      Ein

      iobroker host io-broker

      sollte alle Instanzen die dem Host zugewiesen sind auf den aktuellen Hostname ändern

      Ag3nt_Sn4k3 foxriver76 3 Replies Last reply Reply Quote 0
      • Ag3nt_Sn4k3
        Ag3nt_Sn4k3 last edited by Ag3nt_Sn4k3

        Ich habe den Hostname wirklich nicht geändert. bei der Installation bestimmt. Aber sicherlich dieses Jahr nicht und sicherlich nicht heute.

        Kann es aber sein wenn ich den FIX laufen lassen das er den namen anpasst/ändert?

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

          Wenn du mir sagt wie ich diese Information aus einem alten Backup herausbekomme zeige ich dir das.

          1 Reply Last reply Reply Quote 0
          • Ag3nt_Sn4k3
            Ag3nt_Sn4k3 @apollon77 last edited by Ag3nt_Sn4k3

            @apollon77

            habe noch mal weiter geschaut. aber du hast recht der Hostname ist anders.

            Version zum ersten Artikel:

            "localLink":"%protocol%://%ip%:%port%","installedVersion":"4.0.9","host":"IoBroker-Master"
            

            Version nach der Änderung des Node und npm

            "localLink":"protocol%://%ip%:%port%","installedVersion":"4.0.9","host":"io-broker"
            
            1 Reply Last reply Reply Quote 0
            • Ag3nt_Sn4k3
              Ag3nt_Sn4k3 @apollon77 last edited by

              @apollon77

              Also wenn ich versuche den Hostname zu ändern stellt er sich immer wieder zurück nach einem reboot.

              Versuche ich aber nach der Änderung des Hostname ohne reboot das IO-Broker zu Starten bekomme ich die Fehlermeldung:

              Starting iobroker controller daemon...
              iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
              An unknown error occurred: Error: Failed to write pidfile (EACCES)
              
              administrator@io-broker:~$ hostnamectl
                Static hostname: IoBroker-Master
              Transient hostname: io-broker
                      Icon name: computer-vm
                        Chassis: vm
                     Machine ID: 0afc5cd0c6c94241b0b029a69fb0dc99
                        Boot ID: b38499419c6b43a3bd7d4196b2392e3d
                 Virtualization: microsoft
               Operating System: Ubuntu 18.04.4 LTS
                         Kernel: Linux 4.15.0-96-generic
                   Architecture: x86-64
              administrator@io-broker:~$ iobroker start
              Starting iobroker controller daemon...
              iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
              An unknown error occurred: Error: Failed to write pidfile (EACCES)
              administrator@io-broker:~$
              
              
              apollon77 1 Reply Last reply Reply Quote 0
              • foxriver76
                foxriver76 Developer @apollon77 last edited by

                @apollon77 sagte in IObroker Admin Updatze auf 4.1.1 Error:

                iobroker host io-broker

                @Ag3nt_Sn4k3 Du sollst so die Hostzuweisung für ioBroker anpassen

                Ag3nt_Sn4k3 1 Reply Last reply Reply Quote 0
                • Ag3nt_Sn4k3
                  Ag3nt_Sn4k3 @foxriver76 last edited by

                  @foxriver76

                  Das habe ich jetzt nicht verstanden.

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

                    Starte ich jetzt den IObroker mit sudo startet er aber das war es auch. die URL lässt sich nicht öffnen und der Speicherverbrauch ist auch zu gering mit unter 150MB

                    administrator@io-broker:~$ sudo iobroker start
                    Starting iobroker controller daemon...
                    iobroker controller daemon started. PID: 1576
                    
                    haselchen 1 Reply Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @Ag3nt_Sn4k3 last edited by

                      @Ag3nt_Sn4k3

                      Du sollst den Befehl iobroker host io-broker ausführen.

                      1 Reply Last reply Reply Quote 0
                      • Ag3nt_Sn4k3
                        Ag3nt_Sn4k3 @Ag3nt_Sn4k3 last edited by

                        @Ag3nt_Sn4k3 sagte in IObroker Admin Updatze auf 4.1.1 Error:

                        Wie und wo kann ich das ändern?

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

                          iobroker host io-broker:

                          administrator@io-broker:~$ iobroker host io-broker
                          No instances found for host "io-broker"!
                          
                          
                          administrator@io-broker:~$ iobroker host IoBroker-Master
                          Host "IoBroker-Master" successfully renamed to "io-broker".
                          No instances found for host "IoBroker-Master"!
                          administrator@io-broker:~$
                          
                          
                          haselchen 1 Reply Last reply Reply Quote 0
                          • haselchen
                            haselchen Most Active @Ag3nt_Sn4k3 last edited by

                            @Ag3nt_Sn4k3

                            Wie heisst dein Slave?

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

                              Sehr Wahrscheinlich raspberrypi das ist was ich mit dem befehl von oben gefunden habe.

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

                                So der befehl noch mal mit dem Hostname "io-broker"

                                administrator@io-broker:~$ iobroker host io-broker
                                A host with the name "io-broker" already exists!
                                administrator@io-broker:~$
                                
                                
                                haselchen 1 Reply Last reply Reply Quote 0
                                • haselchen
                                  haselchen Most Active @Ag3nt_Sn4k3 last edited by

                                  @Ag3nt_Sn4k3
                                  Und wenn du jetzt

                                  iobroker start
                                  und dann
                                  iobroker start admin
                                  eingibst?

                                  Ag3nt_Sn4k3 1 Reply Last reply Reply Quote 0
                                  • Ag3nt_Sn4k3
                                    Ag3nt_Sn4k3 @haselchen last edited by

                                    @haselchen

                                    beim iobroker start bekomme ich schon die meldung.

                                    Starting iobroker controller daemon...
                                    iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
                                    An unknown error occurred: Error: Failed to write pidfile (EACCES)
                                    
                                    haselchen 1 Reply Last reply Reply Quote 0
                                    • haselchen
                                      haselchen Most Active @Ag3nt_Sn4k3 last edited by

                                      @Ag3nt_Sn4k3

                                      Try and Error

                                      sudo iobroker start

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

                                        @haselchen sagte in IObroker Admin Update auf 4.1.1 Error:

                                        udo iobroker start

                                        Das hatte ich oben schon, damit hat er es dann gestartet aber es ist nichts passiert.
                                        Ich habe noch nen Fullbackup von dem System von Anfang des letzten Monats.
                                        Ich werde es damit mal versuchen ob ich es ans laufen bekomme wieder.

                                        Da schein so viel schief gelaufen zu sein.
                                        Das mit dem Hostname irritiert mich am meisten wieso der sich geändert hat.

                                        Liegt das am update vom npm oder node, oder vielleicht am fix?

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

                                          @Ag3nt_Sn4k3

                                          Eigentlich unwahrscheinlich.
                                          Wenn dein Master auch ein Raspi ist kann es sein das deine Speicherkarte einen weg bekommen hat oder voll ist.
                                          Oder es ist ein Rechteproblem.
                                          Gibt viele Möglichkeiten, auch wenn man den Fehler in die Suchmaschine eingibt.

                                          Rechteproblem:
                                          sudo chmod -R 777 /opt/iobroker

                                          pkill io
                                          npm install iobroker.js-controller –production
                                          iobroker start

                                          Das wären so meine Schritte

                                          Ag3nt_Sn4k3 1 Reply Last reply Reply Quote 0
                                          • Ag3nt_Sn4k3
                                            Ag3nt_Sn4k3 @haselchen last edited by

                                            @haselchen
                                            zum glück ist der Master eine VM somit kann ich das schnell zurücksüpielen.

                                            Gleich habe ich erstmal einen lauffähigen zustand dann werde ich das noch mal testen mit dem update von node und co.

                                            haselchen 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

                                            719
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            admin admin 4.1.1 error iobroker admin iobroker update isdeepstrictequal update
                                            5
                                            61
                                            3956
                                            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