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.
    • S
      saeft_2003 Most Active last edited by

      Seit dem update von 4.0.23 auf 4.0.24 bekomme ich jede Nacht um 0:01 diese Error vom worx Adapter.

      Wisst ihr warum?

      host.iobroker
      	2023-01-20 00:01:00.787	error	instance system.adapter.worx.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at processImmediate (node:internal/timers:466:21)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5919:53)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at Worx.emit (node:domain:489:12)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at Worx.emit (node:events:513:28)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at Worx.onStateChange (/opt/iobroker/node_modules/iobroker.worx/main.js:967:26)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: at Worx.changeMowerCfg (/opt/iobroker/node_modules/iobroker.worx/main.js:1305:32)
      host.iobroker
      	2023-01-20 00:01:00.787	error	Caught by controller[1]: TypeError: Cannot read properties of null (reading 'payload')
      host.iobroker
      	2023-01-20 00:01:00.786	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
      worx.0
      	2023-01-20 00:01:00.178	error	Cannot read properties of null (reading 'payload')
      worx.0
      	2023-01-20 00:01:00.178	error	TypeError: Cannot read properties of null (reading 'payload') at Worx.changeMowerCfg (/opt/iobroker/node_modules/iobroker.worx/main.js:1305:32) at Worx.onStateChange (/opt/iobroker/node_modules/iobroker.worx/main.js:967:26) at Worx.emit (node:events:513:28) at Worx.emit (node:domain:489:12) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5919:53) at processImmediate (node:internal/timers:466:21)
      worx.0
      	2023-01-20 00:01:00.071	error	unhandled promise rejection: Cannot read properties of null (reading 'payload')
      worx.0
      	2023-01-20 00:01:00.064	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @saeft_2003 last edited by

        @saeft_2003 Dann berichte das bitte beim Worx adapter. Hat mit dem js-controller nichts zu tun

        1 Reply Last reply Reply Quote 0
        • T
          tcfigge last edited by tcfigge

          Hat sicher erledigt..... Oder wie löscht man Postings? 😬

          DJMarc75 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @tcfigge last edited by

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

            wie löscht man Postings?

            Am besten eigentlich gar nicht !
            Jetzt hast Du Deine Problemschilderung gelöscht und schreibst dann

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

            Hat sicher erledigt

            Damit hilfst Du anderen Hilfesuchenden ja mal überhaupt nicht.

            T 1 Reply Last reply Reply Quote 2
            • T
              tcfigge @DJMarc75 last edited by

              Am besten eigentlich gar nicht !
              Jetzt hast Du Deine Problemschilderung gelöscht und schreibst dann

              Da gebe ich Dir grundsätzlich Recht!
              Wenn das Controller Update aber nach 10 Versuchen plötzlich klappt, und ich nicht sagen kann warum, hilft das auch keinem.... 🤷‍♂️ 😉

              DJMarc75 1 Reply Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @tcfigge last edited by

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

                aber nach 10 Versuchen plötzlich klappt, und ich nicht sagen kann warum

                dann schreibt man sowas in einen neuen Beitrag und vielleicht kann dann erörtert werden warum es 9 mal nicht funktioniert hatte. Beiträge löschen oder bearbeiten ist immer die denkbar schlechteste Lösung - weil dann keine Lösung gefunden werden kann - und wenn bei Dir das Problem wieder besteht machst Du definitiv wieder einen Beitrag !

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            777
                                            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