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 @tony63526 last edited by

      @tony63526 sagte in Troubleshooting NodeJS update:

      sudo apt update
      sudo apt full-upgrade
      sudo reboot
      

      Zeig mal die Ausgaben dazu. Ohne Rückmeldungen kann ich dazu auch nix sagen.

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

        @thomas-braun

        pi@raspberrypi:~ $ sudo apt update
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
        Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
        Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        pi@raspberrypi:~ $ sudo apt full-upgrade
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        Calculating upgrade... Done
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        pi@raspberrypi:~ $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @tony63526 last edited by

          @tony63526 sagte in Troubleshooting NodeJS update:

          All packages are up to date.
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

          Alles prima, so soll es sein.
          Und GUIs lügen. Sag ich ja immer wieder. Klick die Meldung weg.

          T 1 Reply Last reply Reply Quote 0
          • T
            tony63526 @Thomas Braun last edited by

            @thomas-braun
            Alles klar, danke

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

              Habe Versucht NodeJS upzudaten.
              Gemäss: https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-16-und-18

              Seither wird mein IOBroker im Browser nicht mehr gefunden. Fehlermeldung"Fehler: Verbindung fehlgeschlagen"

              iobroker diag:

              ======================= SUMMARY =======================
                                      v.2024-05-22
              
              
                 Static hostname: raspberrypi
                       Icon name: computer
                Operating System: Raspbian GNU/Linux 10 (buster)
                          Kernel: Linux 5.10.103-v7l+
                    Architecture: arm
              
              Installation:           native
              Kernel:                 armv7l
              Userland:               32 bit
              Timezone:               Europe/Zurich (CEST, +0200)
              User-ID:                1000
              Display-Server:         false
              Boot Target:            graphical.target
              
              Pending OS-Updates:     0
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              Pending iob updates:    0
              
              Nodejs-Installation:
              nodejs: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs)
              /usr/bin/nodejs
              nodejs: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs)
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              /usr/bin/node
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              /usr/bin/npm
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              /usr/bin/npx
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              /usr/bin/corepack
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              
              Recommended versions are nodejs  and npm
              Your nodejs installation is correct
              
              MEMORY:
                            total        used        free      shared  buff/cache   available
              Mem:           3.8G         65M        3.2G         15M        539M        3.6G
              Swap:           99M          0B         99M
              Total:         3.9G         65M        3.3G
              
              Active iob-Instances:   0
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              ioBroker Core:          js-controller
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
                                      admin
              
              node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
              ioBroker Status:
              
              Status admin and web instance:
              
              Objects:                0
              States:                 0
              
              Size of iob-Database:
              
              29M     /opt/iobroker/iobroker-data/objects.jsonl
              8.4M    /opt/iobroker/iobroker-data/objects.json.migrated
              8.4M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
              8.9M    /opt/iobroker/iobroker-data/states.jsonl
              800K    /opt/iobroker/iobroker-data/states.json.migrated
              800K    /opt/iobroker/iobroker-data/states.json.bak.migrated
              0       /opt/iobroker/iobroker-data/states.json.broken
              
              
              
              =================== END OF SUMMARY ====================
              

              Ich vermute nun mal das hat was mit der fehlenden "GLIBCXX_3.4.26" zu tun?
              Wie kann ich die manuell nachinstallieren?

              Ro75 Thomas Braun 2 Replies Last reply Reply Quote 0
              • Ro75
                Ro75 @sol21 last edited by

                @sol21 Debian12 installieren (Bookworm)! Unter Buster (Debian10) geht das nicht!

                Ro75.

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

                  @sol21 sagte in Troubleshooting NodeJS update:

                  Wie kann ich die manuell nachinstallieren?

                  Gar nicht.
                  Aktuelles Raspberry OS 12 komplett neu installieren.

                  Künftig dann nicht auf abgesoffenen Releases verharren sondern zeitnah den Absprung auf das aktuelle Stable-Release planen. Dann rennt man nämlich nicht in solche Situationen.

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

                    O.k. Danke Euch beiden.
                    Das war ich mir nicht bewusst. Hatte IOBroker immer die Stabel Version nachgeführt. Das Raspberry OS habe ich dabei nicht mehr bedacht...
                    Dann muss ich mich da mal durcharbeiten.
                    Danke

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

                      @sol21

                      Ich hab mal dazu was geschrieben. Such meinen 'Raspberry installieren - Einfacher geht's nicht' Thread.

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

                        Hi leute.
                        ich hab aktuell "leider" noch debian Bullseye und will eigentlich ein Upgrade machen.

                        Allerdings sind meine ganzen Adapter jetzt auch veraltet und ich kann die nicht mehr updaten da ich node >=18 benötige aber noch 16 installiert habe.

                        dazu hab ich auch noch den JS-Controller auf 4.0.24

                        ja ich weiß.. hätte ich mal updaten sollen..

                        Ich denke ich sollte auf dem alten System erstmal alles "updaten" um dann von dort ein Update zu machen.

                        wie kann ich denn die nodesjs updaten?

                        sollte doch bei Bullseye mit "iob nodejs-update 18" funktionieren oder?

                        dann update ich alles, kauf mir den neuen Raspi5 mit 8GB und zieh alles auf den neuen Um inkl. natürlich das neuste RaspiOS.

                        so die Frage ist jetzt wie gesagt, wie bekomme ich nodesjs 18 auf das Bullseye System?

                        reicht da

                        iob nodejs-update 18
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @eviltrooper last edited by

                          @eviltrooper

                          Hier hat jemand die fast gleiche Konstellation:

                          https://forum.iobroker.net/topic/70370/passwort-iobroker-über-mac-terminal-anders/91?_=1729889757239

                          Lies dich da ein.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            eviltrooper @Thomas Braun last edited by

                            @thomas-braun ahh danke 🙂

                            1 Reply Last reply Reply Quote 0
                            • E
                              el-lutschi last edited by

                              Hallo zusammen,

                              ich versuch gerade node.js in meinem Proxmox LXC auf Version 20 zu updaten. Leider klappt das einfach nicht. Führe ich den Befehl

                              iob nodejs-update
                              

                              als normaler User aus erhalte ich

                              bash: /home/iobroker/.nodejs-update.sh: Permission denied 
                              

                              Versuche ich es als root erhalte ich

                              This script must not be run as root! Please use your standard user!"
                              

                              Dann habe ich

                              su iobroker -s /bin/bash -c 'iob nodejs-update'
                              

                              versucht. Dann läuft das Skript zwar an aber ich erhalte die folgenden Fehler:

                              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                              sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
                              sudo: a password is required
                              sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
                              sudo: a password is required
                              
                              *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                              
                              sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
                              sudo: a password is required
                              sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
                              sudo: a password is required
                              

                              Ich steh grad irgendwie auf dem Schlauch und verstehe nicht warum es nicht klappt. Kann mir jemand helfen?

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @el-lutschi last edited by

                                @el-lutschi sagte in Troubleshooting NodeJS update:

                                a terminal is required to read the password

                                Wo und wie führst du das denn aus? Du musst da schon mit einem gescheiten Terminal anrücken.
                                Dann funktioniert das auch ohne diese Verrenkungen, die du da fabrizierst.

                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  el-lutschi @Thomas Braun last edited by

                                  @thomas-braun
                                  In einer SSH Session über Putty. Was ist für dich ein gescheiter Terminal?

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @el-lutschi last edited by

                                    @el-lutschi sagte in Troubleshooting NodeJS update:

                                    Was ist für dich ein gescheiter Terminal?

                                    PuTTY muss funktionieren. Auch wenn es nicht mein bevorzugtes Terminal ist.

                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      el-lutschi @Thomas Braun last edited by

                                      @thomas-braun
                                      Danke für deine Hilfe. Mit welchem Befehl und als was für ein User muss es denn gehen?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @el-lutschi last edited by

                                        @el-lutschi sagte in Troubleshooting NodeJS update:

                                        Mit welchem Befehl und als was für ein User muss es denn gehen?

                                        Als Standard-User, der in der Gruppe 'iobroker' enthalten ist muss es gehen.

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          el-lutschi last edited by

                                          @thomas-braun
                                          Danke!! Das war der Fehler. Der User war nicht in der Gruppe. Vielen Dank für den richtigen Tipp.

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @el-lutschi last edited by

                                            @el-lutschi

                                            Dann schau dir per

                                            iob diag
                                            

                                            an, ob da noch mehr Kinken in deinem System schlummern.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            829
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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