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.
    • M
      marian.t @Thomas Braun last edited by

      Habe nach einem Update auf node.js 18.18.2 iobroker bis auf lovelace-UI am laufen.
      Lovelace-UI bricht wiederkehrend ab (wird terminated).
      Das betrifft sowohl node.js update auf buster als auch eine komplette Neuinstallation von iobroker auf bookworm und einem anderem raspi. Logs und weitere Details unter
      https://github.com/ioBroker/ioBroker.lovelace/issues/476.
      Hier Logeintrag vom Host:
      „States 127.0.0.1:37204 Error from InMemDB: Error: The pattern "typeof window.socketLoadedHandler === 'function' && window.socketLoadedHandler()" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2497:15) at StatesInMemoryServer.handleSubscribe (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/inMemFileDB.ts:324:59) at StatesInMemoryServer._subscribeForClient (/opt/iobroker/node_modules/@iobroker/db-states-file/src/lib/states/statesInMemFileDB.js:258:14) at RedisHandler. (/opt/iobroker/node_modules/@iobroker/db-states-jsonl/src/lib/states/statesInMemServerRedis.js:395:26) at RedisHandler.emit (node:events:517:28) at RedisHandler.emit (node:domain:489:12) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-base/src/lib/redisHandler.ts:209:37) at processImmediate (node:internal/timers:476:21)“

      Kann ich es korrigieren? Falls ja wo/wie? Oder hilft ein Downgrade von nod.js auf 16.x?

      marian-t-web-de created this issue in ioBroker/ioBroker.lovelace

      closed Iobroker lovelace-UI permamently crashes under Node.js 18.18.2 #476

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @marian.t last edited by Thomas Braun

        @marian-t sagte in Troubleshooting NodeJS update:

        Oder hilft ein Downgrade von nod.js auf 16.x?

        Da nodejs@16 jenseits des EndOfLife ist: Nein.

        Poste das mal beim js-controller, könnte auch von dort kommen.

        1 Reply Last reply Reply Quote 0
        • W
          Wednesday13 last edited by

          Hi zusammen!
          ich komme mit meinem längst fälligen Update auch nicht weiter... folgende Fehlermeldung wird mir ausgeworfen:

          pi@raspberrypi3iOb:~ $ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -

          ================================================================================
          ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

                                 SCRIPT DEPRECATION WARNING
          

          This script, located at https://deb.nodesource.com/setup_X, used to
          install Node.js is deprecated now and will eventually be made inactive.

          Please visit the NodeSource distributions Github and follow the
          instructions to migrate your repo.
          https://github.com/nodesource/distributions

          The NodeSource Node.js Linux distributions GitHub repository contains
          information about which versions of Node.js and which Linux distributions
          are supported and how to install it.
          https://github.com/nodesource/distributions

                                SCRIPT DEPRECATION WARNING
          

          ================================================================================
          ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

          TO AVOID THIS WAIT MIGRATE THE SCRIPT
          Continuing in 60 seconds (press Ctrl-C to abort) ...

          Installing the NodeSource Node.js 18.x repo...

          Populating apt-get cache...

          • apt-get update
            Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
            OK:2 https://deb.nodesource.com/node_14.x buster InRelease
            Holen:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
            Paketlisten werden gelesen... Fertig
            E: Für das Depot »http://archive.raspberrypi.org/debian buster InRelease« wurde der »Suite«-Wert von »testing« in »o ldoldstable« geändert.
            N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
            E: Für das Depot »http://raspbian.raspberrypi.org/raspbian buster InRelease« wurde der »Suite«-Wert von »stable« in »oldoldstable« geändert.
            N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
            Error executing command, exiting

          könnt ihr mir sagen wie ich jetzt weiterkomme?

          Danke euch!

          DJMarc75 Thomas Braun 2 Replies Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Wednesday13 last edited by DJMarc75

            @wednesday13 sagte in Troubleshooting NodeJS update:

            könnt ihr mir sagen wie ich jetzt weiterkomme?

            zu erst solltest Du den uns unbekannten Übersetzer ausschalten. Linux ist und bleibt englisch 😉
            Zweitens bitte alles an Text hier in Codetags einbinden.
            Das ist oben der </> Button.

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

              @wednesday13 sagte in Troubleshooting NodeJS update:

              könnt ihr mir sagen wie ich jetzt weiterkomme?

              Mit dem Kommando

              iob nodejs-update
              

              Dein buster ist aber tot. Installier da was lebendiges. Und mach regelmäßig Updates...
              Kann ja nicht sein, dass dein Suite von 'stable' auf 'oldoldstable' springt. Dann hast du ja nie was gemacht...

              W 1 Reply Last reply Reply Quote 0
              • W
                Wednesday13 @Thomas Braun last edited by

                @thomas-braun Danke dir für die Antwort. Ich bin absolut froh, dass ich das Dingen so zum laufen bekommen habe vor einiger Zeit. 🙄 Bin da absolut kein Profi drin. Kannst du mir das genauer erklären was ich machen muss?

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • W
                  Wednesday13 @DJMarc75 last edited by

                  @djmarc75 Ich hab da gar nichts an... das hat mir Putty so ausgeworfen. Du merkst es, noob und so... 😁

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

                    @wednesday13

                    Installier es neu...

                    Raspberry OS 12 'Bookworm' in der 64bit Version 'Lite' und lass die Sprache auf Englisch.

                    1 Reply Last reply Reply Quote 0
                    • O
                      obod0002 last edited by

                      irgendwie schaffe ich es nicht node-js auf meinem Linux Mint System zu aktualisieren, alles scheint zu klappen, zumindest keine Fehler, nur
                      iobroker upgrade-nodejs
                      liefert als einzige Ausgabe die vorhandenen Kommandos.

                      Ein
                      iob fix
                      endet mit
                      Your installation was fixed successfully

                      Und das Ganze beginnt von vorn ..

                      type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      /usr/bin/npx
                      v14.21.3
                      v14.21.3
                      6.14.18
                      6.14.18

                      Habt ihr bitte noch einen Tipp für mich? Danke

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

                        @obod0002

                        iob stop
                        iob fix
                        

                        Danach ist der Befehl

                        iob nodejs-update
                        

                        bekannt. Ansonsten braucht man näheres zu deinem System. Per

                        iob diag
                        
                        1 Reply Last reply Reply Quote 0
                        • O
                          obod0002 last edited by

                          klappt, super, danke:
                          v18.19.0
                          v18.19.0
                          10.2.3
                          10.2.3

                          Jetzt muß ich nur noch meinen Zugang zum Alpha Ess Monitoring wieder gangbar bekommen 😊

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

                            @obod0002

                            Schau dir aber das gesamte System an. Vermutlich ist da noch viel mehr versumpft.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              daniello @Thomas Braun last edited by

                              @thomas-braun

                              Hallo Thomas et al,
                              ich kann weder nodejs noch npm updaten, weil meine glibc-Version nicht passt (zu alt).
                              Gibt es hierzu eine Anleitung?

                              Base ist Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-213-generic x86_64)

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

                                @daniello

                                Ja, installier da ein aktuelles Betriebssystem, bevorzugt ein Debian 12 'Bookworm' ohne Desktop.

                                Dein Ubuntu 18 ist abgekündigt.

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  daniello @Thomas Braun last edited by

                                  @thomas-braun Danke Thomas .. hab's mir gedacht 😞

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    FuXXz2 last edited by Negalein

                                    Vorerst wünsch ich euch allen ein frohes n eues Jahr.

                                    Ich versuche gerade mein iobroker auf dem Raspberry / Debian mit "iob upgrade-nodejs" von v16 auf v18 zu bekommen.
                                    Aber ich bekomme dann auch nur die command Liste.
                                    Was muss ich nun tun, damit ich weiter komme?

                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    /usr/bin/npx
                                    v16.20.2
                                    v16.20.2
                                    8.19.4
                                    8.19.4
                                    
                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @FuXXz2 last edited by

                                      @fuxxz2 sagte in Troubleshooting NodeJS update:

                                      Debian mit "iob upgrade-nodejs" von v16 auf v18 zu bekommen.
                                      Aber ich bekomme dann auch nur die command Liste.

                                      erstens: zeigen!

                                      zweitens: iob nodejs-update

                                      1 Reply Last reply Reply Quote 1
                                      • F
                                        FuXXz2 last edited by

                                        iob nodejs-update da macht er jetzt was 🙂 Ich lass ihn mal machen und fege danach die Scherben auf 🙂

                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: 16.20.2-deb-1nodesource1
                                          Candidate: 16.20.2-deb-1nodesource1
                                          Version table:
                                         *** 16.20.2-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             10.24.0~dfsg-1~deb10u3 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        
                                        
                                        
                                        Nothing to do - Your installation is using the correct paths.
                                        
                                        You are running nodejs v16.20.2. Do you want to install latest version from nodejs v.18 tree?
                                        
                                        Press <y> to continue or any other key to quit
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @FuXXz2 last edited by

                                          @fuxxz2 sagte in Troubleshooting NodeJS update:

                                          buster

                                          Tot, abgekündigt, installier das ein aktuelles Release, 64Bit Lite.

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            FuXXz2 @Thomas Braun last edited by

                                            @thomas-braun
                                            Macht man da besser nen Backup, setzt iobroker neu auf und restore oder gibts da nen Updateweg?

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            685
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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