Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Troubleshooting NodeJS update

    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

    Troubleshooting NodeJS update

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Stoni last edited by

      @stoni sagte in Troubleshooting NodeJS update:

      rm -rf node-v14.9*
      

      Und dann versuch mal das Skript von hier:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript

      S 1 Reply Last reply Reply Quote 0
      • S
        Stoni @Thomas Braun last edited by

        @thomas-braun sagte in Troubleshooting NodeJS update:

        rm -rf node-v14.9*

        ioBroker nodejs fixer 2023-09-07
        
        Recommended nodejs-version is: 16.20.2
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v14.21.3
        /usr/bin/node           v14.21.3
        /usr/bin/npm            6.14.18
        /usr/local/bin/npx              6.14.8
        /usr/bin/corepack       0.15.1
        
        *** nodejs is NOT correctly installed ***
        I found these nodejs versions available for installation:
        
        nodejs:
          Installed: 14.21.3-deb-1nodesource1
          Candidate: 14.21.3-deb-1nodesource1
          Version table:
         *** 14.21.3-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u4 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        
        
        
        Your nodejs-Installation seems to be not correct. Shall we try to fix it?
        Press <y> to continue or any other key to quit
        
        

        nehme mal an yes?

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

          @stoni sagte in Troubleshooting NodeJS update:

          nehme mal an yes?

          Klar. Die nächste Frage auch bejahen.

          S 1 Reply Last reply Reply Quote 0
          • S
            Stoni @Thomas Braun last edited by

            @thomas-braun update auf 16.2.0.2 läuft

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

              @stoni
              Dann auf der Basis den iobroker updaten/upgraden, laufen lassen und final nochmal dieses Skript. Dürfte dich dann auf nodejs@18 beamen.

              S 1 Reply Last reply Reply Quote 0
              • S
                Stoni @Thomas Braun last edited by

                @thomas-braun 18.17.1 wurde bereits installiert. Das tool gefällt mir.

                jetzt nochmal update und upgrade?

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

                  @stoni sagte in Troubleshooting NodeJS update:

                  jetzt nochmal update und upgrade?

                  Vom iobroker?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Stoni @Thomas Braun last edited by Stoni

                    @thomas-braun hab irgendwie probleme mit dem Forum. Es aktualisiert sich sehr langsam und hängt.

                    Wenn node jetzt aktuell ist, wie gehe ich weiter vor?

                    js-controller und Admin müssten geupdatet werden

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

                      @stoni sagte in Troubleshooting NodeJS update:

                      Wenn node jetzt aktuell ist, wie gehe ich weiter vor?

                      Wo hängste denn jetzt genau?

                      iob diag
                      

                      anschauen.

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

                        @stoni

                        Im Grund aber

                        iob update
                        iob upgrade all
                        iob stop
                        iob upgrade self
                        iob restart
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Stoni @Thomas Braun last edited by

                          @thomas-braun Ja das habe ich gesucht.

                          Damit würde ich aber alle Adapter auf den aktuellen Stand bringen oder?

                          Was wenn ich einzelne Adapter nicht updaten möchte?

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

                            @stoni sagte in Troubleshooting NodeJS update:

                            Was wenn ich einzelne Adapter nicht updaten möchte?

                            Würde ich im Zuge des upgrades auf js-controller 5 aber tunlichst machen. Diverse Adapter wurden an den angepasst.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Stoni @Thomas Braun last edited by

                              @thomas-braun Na dann mache ich das mal. Kann ja notfalls wieder downgraden oder? Glaube der mqtt war es, der in einer höheren Version plötzlich nicht mehr mit meiner Wärmepumpe gesprochen hat.

                              Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Stoni last edited by

                                @stoni sagte in Troubleshooting NodeJS update:

                                Glaube der mqtt war es, der in einer höheren Version plötzlich nicht mehr mit meiner Wärmepumpe gesprochen hat.

                                Dann musst du dir den anschauen.

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

                                  @stoni Dann zieh auf jeden Fall vorher ein Backup für alle Fälle

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

                                    @stoni sagte in Troubleshooting NodeJS update:

                                    Glaube der mqtt war es, der in einer höheren Version plötzlich nicht mehr mit meiner Wärmepumpe gesprochen hat.

                                    Könnte aber ja auch an der veralteten nodejs-Version gelegen haben...

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Stoni last edited by

                                      @Homoran @Thomas-Braun Backup hab ich mit Backitup erstellt und per Winscp auf den Laptop gezogen.

                                      In Putty wird jetzt jeder Adapter einzeln abgefragt. Ich update mal fleißig. Melde mich. Bis dahin besten DANK!

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Stoni last edited by

                                        @Homoran @Thomas-Braun
                                        Soweit scheint alles zu laufen. Der Log zeigt noch einige Warnungen. Durch Neustart der Adapter wird das aber sukzessive behoben.

                                        Also nochmal besten dank. Der Puls normalisiert sich langsam.

                                        Eine One Button-Lösung wäre beim Update wünschenswert, aber vmtl nicht realisierbar.

                                        VG Stoni

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

                                          @stoni sagte in Troubleshooting NodeJS update:

                                          Eine One Button-Lösung wäre beim Update wünschenswert, aber vmtl nicht realisierbar.

                                          gibt es doch. im Admin.
                                          nur Adapter mit Update anzeigen filtern, dann erscheint der Button

                                          Screenshot_20230915-184909_Firefox.jpg

                                          und dann kannst du sogar auswählen
                                          Screenshot_20230915-184842_Firefox.jpg

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Stoni @Homoran last edited by

                                            @homoran Die Funktionen kenne ich, meinte aber etwas anderes. Als Laie würde ich es bevorzugen, wenn mir das System ein Update anbietet, dass ich dann nur noch bestätigen muss. Und ne halbe Stunde später ist dann alles auf dem neuesten Stand. So wie bei iPhones, Notebooks, Fernseher etc. Das wird vmtl nicht umsetzbar sein. Ich habe erst auf bullseye geupdatet, dann nodejs, alle Adapter und schließlich den js-Controller. Und das ganze in einer Programmiersprache, die ich nicht verstehe. Ich bin da grundsätzlich auf Eure Hilfe angewiesen.

                                            Trotzdem ist es ein super System und jeder ist ja auch sehr dankbar für die Zeit und die Mühe, die Ihr investiert.

                                            Jetzt läuft mein System seit etwa drei Stunden. Einzig der yeelight Adapter wird regelmäßig beendet, weil er abgestürzt ist und der deconz Adapter spuckt folgendes aus:

                                            deconz.0
                                            2023-09-15 21:37:07.312	warn	{"address":"/lights/5/state/on","description":"Internal error, 951","type":901}
                                            
                                            deconz.0
                                            2023-09-15 21:37:07.311	warn	Gateway busy! Retry: {"on":false}
                                            
                                            deconz.0
                                            2023-09-15 21:37:07.311	warn	Failed action "on" on light 5! Description: Internal error, 951
                                            
                                            deconz.0
                                            2023-09-15 21:37:06.303	warn	{"address":"/lights/5/state/on","description":"Internal error, 951","type":901}
                                            
                                            deconz.0
                                            2023-09-15 21:37:06.302	warn	Gateway busy! Retry: {"on":false}
                                            
                                            deconz.0
                                            2023-09-15 21:37:06.301	warn	Failed action "on" on light 5! Description: Internal error, 951
                                            
                                            deconz.0
                                            2023-09-15 21:37:05.292	warn	{"address":"/lights/5/state/on","description":"Internal error, 951","type":901}
                                            
                                            deconz.0
                                            2023-09-15 21:37:05.291	warn	Gateway busy! Retry: {"on":false}
                                            
                                            deconz.0
                                            2023-09-15 21:37:05.291	warn	Failed action "on" on light 5! Description: Internal error, 951
                                            
                                            deconz.0
                                            2023-09-15 21:37:04.283	warn	{"address":"/lights/5/state/on","description":"Internal error, 951","type":901}
                                            
                                            deconz.0
                                            2023-09-15 21:37:04.283	warn	Gateway busy! Retry: {"on":false}
                                            
                                            deconz.0
                                            2023-09-15 21:37:04.282	warn	Failed action "on" on light 5! Description: Internal error, 951
                                            
                                            deconz.0
                                            2023-09-15 21:37:03.275	warn	{"address":"/lights/5/state/on","description":"Internal error, 951","type":901}
                                            
                                            deconz.0
                                            2023-09-15 21:37:03.273	warn	Gateway busy! Retry: {"on":false}
                                            
                                            deconz.0
                                            2023-09-15 21:37:03.272	warn	Failed action "on" on light 5! Description: Internal error, 951
                                            
                                            deconz.0
                                            2023-09-15 21:36:14.416	info	deConz Version: 2.22.2; API version: 1.16.0
                                            
                                            deconz.0
                                            2023-09-15 21:36:14.272	info	starting. Version 1.3.21 in /opt/iobroker/node_modules/iobroker.deconz, node: v18.17.1, js-controller: 5.0.12
                                            

                                            Woran könnte das liegen?

                                            Thomas Braun Homoran mcm1957 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            884
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs 18 nodejs update
                                            60
                                            504
                                            89215
                                            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