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.
    • BananaJoe
      BananaJoe Most Active @reddddich last edited by

      @reddddich mit dem Befehl

      history
      

      bekommt man eine Liste mit dem was man gemacht hat. Ohne Anspruch auf Vollständigkeit (z.B. bei mehreren Sitzungen gleichzeitig)

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

        ich bekomme die node.js 20x nicht installiert, bzw Iobroker leasst sich sobal alle befehle ausgefuehrt sind nicht mehr oeffnen.

        Installiert habe ich es nach dieser Anleitung
        https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-16-und-18

        iob diag ergab folgendes:

        ======================= 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/Berlin (CEST, +0200)
        User-ID:                1000
        Display-Server:         true
        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:           7.9G        232M        6.4G         16M        1.3G        7.4G
        Swap:           99M          0B         99M
        Total:         8.0G        232M        6.5G
        
        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
        5.3M    /opt/iobroker/iobroker-data/states.jsonl
        
        
        
        =================== END OF SUMMARY ====================
        

        === Mark text until here for copying ===
        pi@raspberrypi:~ $ iob fix
        library: loaded
        Library version=2024-05-24

        ==========================================================================

        Welcome to the ioBroker installation fixer!
        Script version: 2024-01-04
        
        You might need to enter your password a couple of times.
        

        ==========================================================================

        ==========================================================================
        Installing prerequisites (1/5)

        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Hit:3 https://apt.pivccu.de/piVCCU stable InRelease
        Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
        Reading package lists... Done

        ==========================================================================
        Checking ioBroker user and directory permissions (2/5)

        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...

        ==========================================================================
        Check and cleanup npm temporary directories (3/5)

        Done.

        ==========================================================================
        Database maintenance (4/5)

        Checking for uncompressed JSONL databases... This might take a while!

        node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by node) main: line 14: [: -lt: unary operator expected node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by node)

        ==========================================================================
        Checking autostart (5/5)

        Enabling autostart...
        Autostart enabled!

        ==========================================================================

        Your installation was fixed successfully
        Run iobroker start to start ioBroker again!
        

        ==========================================================================

        pi@raspberrypi:~ $ iob start

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

          @tony63526 sagte in Troubleshooting NodeJS update:

          buster

          Ist zu alt, installier da dringend was lebendiges.
          Diesmal gleich in der 64Bit-Lite Version.

          https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

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

            @thomas-braun
            Würde bedeuten ich muss alles neu aufsetzten?

            • Zigbee gereate neu anlernen
            • Text2command neu eintippen.
              eigentlich alles, weil ich mein backup nicht nutzen kann?
            mcm1957 Thomas Braun 2 Replies Last reply Reply Quote 0
            • mcm1957
              mcm1957 @tony63526 last edited by

              @tony63526
              Wieso kannst du dein Backup nicht nutzen?

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

                @tony63526 sagte in Troubleshooting NodeJS update:

                Würde bedeuten ich muss alles neu aufsetzten?

                Ja. Musst du so oder so, weil ein Architektur-Wechsel nicht möglich ist und die Änderungen von RPi OS 10 zu 12 zu groß sind.

                eigentlich alles, weil ich mein backup nicht nutzen kann?

                Warum nicht?

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

                  @mcm1957
                  Weis ich nicht.
                  War eine Frage. Mein backup bassiert ja auf dem alten system, kann ich es einfach auf dem neuen aufspielen?

                  mcm1957 Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                  • mcm1957
                    mcm1957 @tony63526 last edited by

                    @tony63526
                    Reden wir von einem IOBROKER Backup oder eine Imagebackup des Betreibssystems ?

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

                      @tony63526 sagte in Troubleshooting NodeJS update:

                      Mein backup bassiert ja auf dem alten system, kann ich es einfach auf dem neuen aufspielen?

                      Ein Backup via backitup ist unabhängig vom Betriebssystem.

                      T 1 Reply Last reply Reply Quote 1
                      • Homoran
                        Homoran Global Moderator Administrators @tony63526 last edited by

                        @tony63526 sagte in Troubleshooting NodeJS update:

                        , kann ich es einfach auf dem neuen aufspielen?

                        warum nicht?

                        @tony63526 sagte in Troubleshooting NodeJS update:

                        Mein backup bassiert ja auf dem alten system,

                        was war daran "zu alt"?

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

                          @mcm1957
                          rein iobroker backup.
                          Ueber den Backitup adapter

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

                            @thomas-braun
                            Danke Thomas

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

                              @homoran
                              Denke das Image 🤷‍♂️
                              Beziehe mich jetzt nur auf die Aussage von Thomas.

                              buster
                              "Ist zu alt, installier da dringend was lebendiges.
                              Diesmal gleich in der 64Bit-Lite Version".

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

                                @tony63526 sagte in Troubleshooting NodeJS update:

                                Denke das Image

                                = das OS.
                                damit hat ein iob backup nichts zu tun.

                                Schwieriger wird es wenn der Controller < v5 ist.

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

                                  @homoran
                                  Okay, danke für die Info.
                                  Du siehst, ich habe mit Linux nichts am Hut, aber ich lerne immer gerne dazu.. 😊
                                  Ich versuche, mein System immer auf dem neuesten Stand zu halten, um genau das zu vermeiden, aber jetzt hat mir mein altes Image einen Strich durch die Rechnung gemacht.

                                  Hab ich jetzt bissi was zu tun.

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

                                    @tony63526 sagte in Troubleshooting NodeJS update:

                                    Ich versuche, mein System immer auf dem neuesten Stand zu halten,

                                    HUST...
                                    buster ist schon geraume Zeit abgekündigt.

                                    1 Reply Last reply Reply Quote 1
                                    • Meister Mopper
                                      Meister Mopper @tony63526 last edited by Meister Mopper

                                      @tony63526 sagte in Troubleshooting NodeJS update:

                                      aber jetzt hat mir mein altes Image einen Strich durch die Rechnung gemacht

                                      Image ziehen ist eh nicht optimal weil du auch alle Schwachstellen mitziehst.

                                      Besser sind Backups der laufenden Anwendungen, dann kannst du das Betriebssystem von 0 aufsetzen und hast ein frisches System mit den aktuellen Anwendungsdaten.

                                      Homoran 1 Reply Last reply Reply Quote 2
                                      • Homoran
                                        Homoran Global Moderator Administrators @Meister Mopper last edited by

                                        @meister-mopper mit Image scheint @tony63526 das Betriebssystem zu meinen.

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

                                          @homoran
                                          Ja genau...
                                          Sorry für das falsche wording

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

                                            @thomas-braun

                                            hab jetzt Iob mal alles neu installiert.

                                            Der Hosts Adapter möchte gern noch das ich etwas aktualisiere.

                                            Screenshot 2024-08-07 185129.png

                                            libgssapi-krb5-2/stable-security 1.20.1-2+deb12u2 arm64 [upgradable from: 1.20.1-2+deb12u1]
                                            libk5crypto3/stable-security 1.20.1-2+deb12u2 arm64 [upgradable from: 1.20.1-2+deb12u1]
                                            libkrb5-3/stable-security 1.20.1-2+deb12u2 arm64 [upgradable from: 1.20.1-2+deb12u1]
                                            libkrb5support0/stable-security 1.20.1-2+deb12u2 arm64 [upgradable from: 1.20.1-2+deb12u1]
                                            libssl3/stable 3.0.13-1~deb12u1+rpt1 arm64 [upgradable from: 3.0.13-1~deb12u1]
                                            openssl/stable 3.0.13-1~deb12u1+rpt1 arm64 [upgradable from: 3.0.13-1~deb12u1]
                                            raspberrypi-sys-mods/stable 20240807 arm64 [upgradable from: 20240624]
                                            raspi-config/stable,stable 20240708 all [upgradable from: 20240625]
                                            wpasupplicant/stable-security 2:2.10-12+deb12u2 arm64 [upgradable from: 2:2.10-12+deb12u1]
                                            2024-08-07 18:32:49.912
                                            

                                            Mit welchen Befehl mache ich das? Damit ging es nicht weg.
                                            sudo apt update && sudo apt full-upgrade
                                            sudo reboot

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            523
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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