Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0.24 Update (Stable)

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    js-controller 4.0.24 Update (Stable)

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Baumasta last edited by

      Hallo Leute!

      Ich führe genau lt. Anleitung folgende aus:

      •	iobroker stop 
      •	iobroker update 
      •	iobroker fix 
      •	iobroker upgrade self 
      •	iobroker start
      

      Fix läuft und bei upgrade self schreibt er auch brav:

      root@IOBroker:/opt/iobroker# iobroker upgrade self                                                            
      sudo: Hostname IOBroker kann nicht aufgelöst werden                                                          
      Update js-controller from @4.0.23 to @4.0.24                                                                  
      Stopped Objects DB                                                                                            
      Stopped States DB                                                                                             
      NPM version: 8.19.3                                                                                           
      Installing iobroker.js-controller@4.0.24... (System call)                                                     
      root@IOBroker:/opt/iobroker#
      

      Aber am Ende habe ich immer wieder die Version 4.0.23

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

        @baumasta

        Wie immer...
        Wir hampeln nicht als root herum...

        iob diag
        

        sagt zu dem ganzen Spiel?

        Das ist doch wieder was eingedostes da, oder?

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

          @baumasta bitte das kommando mal mit --debug aufrufen. Was ist dann die Ausgabe?

          1 Reply Last reply Reply Quote 0
          • B
            Baumasta @Thomas Braun last edited by

            ======================= SUMMARY =======================                                                        
                                 v.2023-01-02                                                                              
                                                                                                                           
                                                                                                                           
            Operatingsystem:        Debian GNU/Linux 9.13 (stretch)                                                        
            Installation:                                                                                                  
            Timezone:               Etc/UTC                                                                                
            User-ID:                0                                                                                      
            X-Server:               false                                                                                  
            /home/iobroker/.diag.sh: line 235: systemctl: command not found                                                
            Boot Target:                                                                                                   
                                                                                                                           
            Pending OS-Updates:     0                                                                                      
                                                                                                                           
            Nodejs-Installation:    /usr/bin/nodejs         v16.19.1                                                       
                                    /usr/bin/node           v16.19.1                                                       
                                    /usr/bin/npm            8.19.3                                                         
                                    /usr/bin/npx            8.19.3                                                         
                                                                                                                           
            ioBroker Core:          js-controller           4.0.23                                                         
                                    admin                   6.3.5                                                          
                                                                                                                           
            ioBroker Status:        iobroker is running on this host.                                                      
                                                                                                                           
                                                                                                                           
            Objects type: jsonl                                                                                            
            States  type: jsonl                                                                                            
                                                                                                                           
            Status admin:                                                                                                  
            + system.adapter.admin.0                  : admin                 : IOBroker                                 - 
             enabled, port: 8081, bind: 0.0.0.0, run as: admin                                                             
                                                                                                                           
            Pending iob updates:    1                                                                                      
                                                                                                                           
            Active repo(s): stable                                                                                         
                                                                                                                           
            Objects:                2187                                                                                   
            States:                 1864                                                                                   
                                                                                                                           
            Size of iob-Database:                                                                                          
                                                                                                                           
            34M     /opt/iobroker/iobroker-data/objects.jsonl                                                              
            4.0M    /opt/iobroker/iobroker-data/objects.json.migrated                                                      
            4.0M    /opt/iobroker/iobroker-data/objects.json.bak.migrated                                                  
            6.8M    /opt/iobroker/iobroker-data/states.jsonl                                                               
            536K    /opt/iobroker/iobroker-data/states.json.migrated                                                       
            536K    /opt/iobroker/iobroker-data/states.json.bak.migrated                                                   
                                                                                                                           
                                                                                                                           
            =================== END OF SUMMARY ====================                                                                                                                                                                
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Baumasta last edited by Thomas Braun

              @baumasta

              Stretch ist schon mehrere Jahre tot.
              Installier da was lebendiges.
              Und setz dann das neue System in die richtige Zeitzone

              B 1 Reply Last reply Reply Quote 0
              • B
                Baumasta @Thomas Braun last edited by

                Ich bin leider IT mäßig nicht so gut drauf.

                Was soll ich machen?

                Wenn ich hier Sachen ausführe dann ohne es zu verstehen nur weil es irgendwer schreibt 😞

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

                  @baumasta

                  Installier das Betriebssystem neu. Ist dann vermutlich der schnellste Weg zu einem aktuellen System zu kommen.

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

                    @baumasta Ja was Thomas sagt ist korrekt ... aber ob Du das zur initialen Lösung des problems brauchst bezweifle ich eher. hast DU mal das gemacht was ich oben gefragt hab?

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

                      Was bedeutet diese Meldung?

                      root@iobrokerNUC1:~# iobroker upgrade self
                      Update js-controller from @4.0.23 to @4.0.24
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 9.5.0
                      Installing iobroker.js-controller@4.0.24... (System call)
                      
                      added 8 packages, removed 153 packages, and changed 28 packages in 4m
                      
                      208 packages are looking for funding
                        run `npm fund` for details
                      root@iobrokerNUC1:~#
                      
                      
                      Codierknecht Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Codierknecht
                        Codierknecht Developer Most Active @toki1973 last edited by

                        @toki1973
                        Welche? npm fund? Das ist Werbung um Spenden einzusammeln.

                        Du solltest im ioBroker nicht als root rumfummeln.

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

                          @toki1973 sagte in js-controller 4.0.24 Update (Stable):

                          Was bedeutet diese Meldung?

                          Das bedeutet, dass du den js-controller nun mit den falschen Rechten installiert hast.
                          User anlegen, als root abmelden,

                          iob fix
                          

                          ausführen, nicht mehr als root anmelden.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            toki1973 @Thomas Braun last edited by

                            Haben nun einen neuen User eingerichtet iobroker gestoppt und wollte dann iob fix ausführen. Irgendwie hat er nicht genug Rechte

                            Leider darf der Benutzer iobrokernuc »/usr/bin/apt-get update« als root auf iobrokerNUC1 nicht ausführen.
                            [sudo] Passwort für iobrokernuc:
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @toki1973 last edited by Thomas Braun

                              @toki1973

                              groups
                              

                              als dieser User sagt?
                              Vermutlich ist der noch nicht in den passenden Gruppen drin. Wäre 'adm', 'sudo' und 'iobroker' im Wesentlichen.

                              Zur Orientierung mein Haupt-User auf einem Raspberry OS/Debian:

                              echad@chet:~ $ groups
                              echad adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                              echad@chet:~ $
                              

                              Nachdem die Gruppen hinzugefügt wurden einmal aus- und wieder einloggen.

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                toki1973 @Thomas Braun last edited by

                                @thomas-braun said in js-controller 4.0.24 Update (Stable):

                                @toki1973

                                groups
                                

                                als dieser User sagt?

                                root@iobrokerNUC1:~# groups
                                root
                                
                                
                                $ groups
                                iobrokernuc
                                $
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @toki1973 last edited by Thomas Braun

                                  @toki1973
                                  Ja, wie vermutet, bei dem Standarduser fehlen entsprechende Gruppenzugehörigkeiten.
                                  Musst du dem noch mitgeben.

                                  usermod -aG gruppe benutzername
                                  

                                  Wenn alle Gruppen eingerichtet sind

                                  exit
                                  
                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    toki1973 @Thomas Braun last edited by

                                    Ich habe ja nur die Gruppe root und iobrokernoc. Kannst du mir zeigen was genau zu tun ist?

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

                                      @toki1973

                                      Die fehlenden Gruppen musst du ja hinzufügen.
                                      Befehl dazu im Posting zuvor.

                                      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

                                      717
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      36
                                      108
                                      14340
                                      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