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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Troubleshooting NodeJS update

    This topic has been deleted. Only users with topic management privileges can see it.
    • DJMarc75
      DJMarc75 @Tobi81 last edited by

      @tobi81 Wenn Du ein aktuelles Backup hast dann tu Dir einen Gefallen und installiere Debian neu - gleich mit Bullseye in der 64 Bit LITE-Version und spül das Backup dann zurück.

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

        @djmarc75 Wenn es keine anderen Dinge mehr gibt die ich machen kann, dann muss ich den Container zurückspielen und eine Neuinstallation die Tage machen.

        Aber vielleicht hat noch jemand eine Idee. 🙂

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

          Ich hab jetzt eine Neuinstallation auf Debian Bookworm gemacht und bin gerade dabei ioBroker wieder komplett an's Laufen zu bekommen.
          Hat sich also erledigt.

          mac89muc 1 Reply Last reply Reply Quote 0
          • mac89muc
            mac89muc @Tobi81 last edited by

            Hallo zusammen,

            mein ioBroker läuft auf einem Mac mini M2 mit macOS Ventura.
            Ich nutze aktuell node v16.17.0 npm 8.15.0 js-controller 4.0.24

            Ich finde keine aktuelle Anleitung für's korrekte Updaten von node.js für meine Konfiguration - kann mir jemand helfen?

            Reicht es die neue node Version als .pkg Installerdatei für macOS runterzuladen auf https://nodejs.org/de und auszuführen?

            Muss ich die alte deinstallieren, muss ich nach der Installation noch irgendwelche Verknüpfungen im Terminal herstellen?

            Möchte mich nicht durchprobieren mit dem Ergebnis, dass im schlimmsten Fall nichts mehr läuft und ich mich mit Backups zurückspielen rumschlage und wieder auf der alten Version bin.

            Bin über Hilfe zu den verschiedenen Schritten beim Update dankbar.

            Gruß

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

              Hallo Leute,

              das große Zittern beginnt wieder, nachdem mir mein ioB empfiehlt, Controller, Admin etc. upzudaten, was aber nicht geht, ehe man nodejs geupdatet hat.
              Ich habe auf meinem Raspi4 noch Buster mit nodejs 14.21.3.

              Ich glaube, dass ich auf Bullseye updaten konnte. Zumindest bin ich die Anleitung von @Thomas-Braun durchgegangen. Es kam bis zum Ende keine Fehlermeldung.

              Nun wollte ich nodejs 14 löschen und die aktuelle Version 18 installieren. Der Puls steigt. Bereits beim Versuch, zu löschen, kommen Fehlermeldungen:

              
              pi@raspberrypi:~ $ sudo apt purge --autoremove nodejs* npm node-*
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              Hinweis: »nodejs-legacy« wird für das Suchmuster »nodejs*« gewählt.
              Hinweis: »nodejs« wird für das Suchmuster »nodejs*« gewählt.
              Hinweis: »nodejs-dev« wird für das Suchmuster »nodejs*« gewählt.
              Hinweis: »nodejs-doc« wird für das Suchmuster »nodejs*« gewählt.
              Hinweis: »nodejs« wird an Stelle von »nodejs-legacy« gewählt.
              Hinweis: »nodejs« wird an Stelle von »nodejs-dev« gewählt.
              E: Paket node-v14.9.0-linux-armv6l kann nicht gefunden werden.
              E: Mittels des Musters »node-v14.9.0-linux-armv6l« konnte kein Paket gefunden werden.
              E: Paket node-v14.9.0-linux-armv6l.tar.xz kann nicht gefunden werden.
              E: Mittels des Musters »node-v14.9.0-linux-armv6l.tar.xz« konnte kein Paket gefunden werden.
              
              

              Weiter komme ich nicht.

              Ist das der richtige Weg?

              sudo rm `sudo find / -name nodesource.gpg`
              sudo rm `sudo find / -name nodesource.key`
              sudo rm /etc/apt/sources.list.d/nodesource.list
              
              NODE_MAJOR=18
              sudo apt update
              sudo apt install -y ca-certificates curl gnupg
              sudo mkdir -p /etc/apt/keyrings
              curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
              echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
              sudo apt update
              sudo apt install nodejs
              

              Können die Profis weiterhelfen?

              Vielen Dank!!
              Stoni

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

                @stoni sagte in Troubleshooting NodeJS update:

                Weiter komme ich nicht.

                Welcher Pi?

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

                  @thomas-braun

                  Pi4

                  Bullseye hat geklappt

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

                    @stoni sagte in Troubleshooting NodeJS update:

                    armv6l

                    klingt nach pi1

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

                      @stoni sagte in Troubleshooting NodeJS update:

                      Pi4

                      Und warum liegt dann da eine Datei node-v14.9.0-linux-armv6lin deinem Home herum? Hat da a) nix zu suchen und ist b) auch falsch.

                      Lösch die.

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

                        @thomas-braun wie lösche ich die?

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

                          @stoni
                          Erstmal schauen wo die liegt:

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

                            @thomas-braun

                            pi@raspberrypi:~ $ ls -lAh
                            insgesamt 19M
                            -rw------- 1 pi pi 7,1K 15. Sep 16:56 .bash_history
                            -rw-r--r-- 1 pi pi  220 26. Sep 2019  .bash_logout
                            -rw-r--r-- 1 pi pi 3,6K 27. Nov 2019  .bashrc
                            drwxr-xr-x 3 pi pi 4,0K 27. Nov 2019  .cache
                            drwx------ 3 pi pi 4,0K 27. Nov 2019  .config
                            -rw-r--r-- 1 pi pi 161K 30. Nov 2020  deCONZ_ConBeeII_0x26680700.bin.GCF
                            drwx------ 3 pi pi 4,0K 27. Nov 2019  .gnupg
                            drwxr-xr-x 2 pi pi 4,0K 27. Nov 2019  .iobroker
                            drwxr-xr-x 3 pi pi 4,0K 27. Nov 2019  .local
                            drwxr-xr-x 6 pi pi 4,0K 27. Aug 2020  node-v14.9.0-linux-armv6l
                            -rw-r--r-- 1 pi pi  19M 27. Aug 2020  node-v14.9.0-linux-armv6l.tar.xz
                            drwxr-xr-x 4 pi pi 4,0K 27. Nov 2019  .npm
                            -rw------- 1 pi pi   36 27. Nov 2019  .npmrc
                            -rw-r--r-- 1 pi pi  807 26. Sep 2019  .profile
                            
                            
                            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:

                              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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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