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

      @marcel-drzal

      Ich glaube in

      sudo raspi-config
      

      kann man das irgendwo machen. Aber wie vergisst man das? Alle aktuellen Installationsweisen machen das automatisch. Jedenfalls die gescheiten.

      Michael Schmitt 1 Reply Last reply Reply Quote 0
      • Michael Schmitt
        Michael Schmitt @Thomas Braun last edited by

        Hier ist eine Anleitung

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

          @marcel-drzal

          Mich verwundert etwas das overlay bei dem Dateisystem.
          Das ist eigentlich für eine richtige Installation unüblich.

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

            @Homoran bitte raustrennen. Wird zu off topic. 😉 danke

            1 Reply Last reply Reply Quote 0
            • E
              erfggi last edited by

              @apollon77 Multihostupdate fehlerfrei gelaufen! 👍

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

                Gerade mal einen meiner Slaves upgedated:

                Dieses Warning:

                2023-01-02 10:56:56.504  - warn: admin.2 (3312790) Cannot check node.js versions: Error: unexpected end of file
                

                Für die Javascript Instanz kommt das:

                2023-01-02 10:57:21.622  - error: javascript.2 (3312802) npm
                2023-01-02 10:57:21.625  - error: javascript.2 (3312802)  WARN
                2023-01-02 10:57:21.630  - error: javascript.2 (3312802)  deprecated har-validator@5.1.5: this library is no longer supported
                
                2023-01-02 10:57:21.945  - error: javascript.2 (3312802) npm
                2023-01-02 10:57:21.948  - error: javascript.2 (3312802)  WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and                                              does not need to be installed separately. It is now unmaintained.
                
                2023-01-02 10:57:22.159  - error: javascript.2 (3312802) npm
                2023-01-02 10:57:22.163  - error: javascript.2 (3312802)  WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older                                              versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for d                                             etails.
                
                2023-01-02 10:57:22.375  - error: javascript.2 (3312802) npm
                2023-01-02 10:57:22.378  - error: javascript.2 (3312802)  WARN deprecated request@2.88.2: request has been deprecated, see https://gi                                             thub.com/request/request/issues/3142
                
                2023-01-02 10:57:36.870  - info: javascript.2 (3312802)
                added 112 packages, changed 1 package, and audited 114 packages in 30s
                
                2023-01-02 10:57:36.876  - info: javascript.2 (3312802)
                
                2023-01-02 10:57:36.884  - info: javascript.2 (3312802) 21 packages are looking for funding
                  run `npm fund` for details
                
                2023-01-02 10:57:36.891  - info: javascript.2 (3312802)
                found 0 vulnerabilities
                
                2023-01-02 10:57:36.895  - error: javascript.2 (3312802) npm notice
                npm notice New major version of npm available! 8.19.3 -> 9.2.0
                npm
                2023-01-02 10:57:36.900  - error: javascript.2 (3312802) notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
                npm notice Run `npm install -g npm@9.2.0` to update!
                npm notice
                
                

                Liegen die Meldungen für Javascript jetzt am Controller Update oder muss beim Javascript Adapter ein Issue geöffnet werden?

                Ich denke mal bei NPM bleiben wir noch bei Version 8.x oder?

                Neuschwansteini apollon77 2 Replies Last reply Reply Quote 1
                • Neuschwansteini
                  Neuschwansteini @wendy2702 last edited by Neuschwansteini

                  @wendy2702

                  Hi, die warnings vom javascript Adapter haben nichts mit dem Update vom js-controller zu tun.
                  Die Warnings kannst du erstmal ignorieren, denke ich.

                  Interessant waere noch zu wissen, welche Node Version du installiert hast?
                  Bei Node 16 ist NPM 8 dabei. Also NPM wird IMMER mit der Node Version geliefert und geupdatet, da macht man nichts manuell, es sei denn, man kennt sich sehr gut aus und rechnet damit, sich sein System zu schießen. 🙂

                  Edit: Und bitte keine auseinander gerissene logfiles, mit der einen ersten Meldung (von was fuern update war das, wo kam die Meldung..??)

                  wendy2702 2 Replies Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Neuschwansteini last edited by

                    @ilovegym

                    Läuft Node 16, habe nur gefragt weil mir die warnings bisher nicht aufgefallen sind.

                    Das NPM und Node eigentlich zusammen kommen kenne ich ja, wollte nur sicher gehen.

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

                      @wendy2702 sehr gut! Dann kannst du die Warnings vom javascript Adapter ignorieren, oder versuchen, die veralteten Versionen von den angemeckerten mal manuell zu updaten, wie das geht, steht ja bei den Warnings dabei.
                      Backup VORHER machen 🙂

                      Die erste Meldung mit dem unexpected end of file ... kommt die oefters oder war das nur beim update?
                      Das war ja eine Meldung vom Admin-Adapter, dass er nicht die Node-Version checken kann... welche Version hast du da installiert?

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

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

                        Edit: Und bitte keine auseinander gerissene logfiles, mit der einen ersten Meldung (von was fuern update war das, wo kam die Meldung..??)

                        Ich habe nichts auseinander gerissen. Das war die erste Meldung nach "iob start" nach dem JS Controller update die zum Javascript adapter kam.

                        Admin war noch nicht die aktuellste. Habe ich auch nur dieses eine mal gesehen.

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

                          @wendy2702 dann ist ja alles gut, da gabs mal n Issue beim Admin Adapter.. ist aber inzwischen erledigt.

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

                            @wendy2702 Nein alles ok so, nur warnungen, all fine. Die eine Admin Meldung ist bekannt und wird bearbeitet

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

                                            Support us

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

                                            715
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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