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

      @reddddich

      Und welche Befehle hast du da woher kopiert?

      R 1 Reply Last reply Reply Quote 0
      • R
        reddddich @Thomas Braun last edited by

        @thomas-braun
        zumindest alles aus dem Forum...

        weiterhin starten adapter aber nicht...

        	2024-07-30 23:12:13.735	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.raspberrypi
        2024-07-30 23:12:13.735	error	Caught by controller[0]: Node.js v20.16.0
        host.raspberrypi
        2024-07-30 23:12:13.735	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
        host.raspberrypi
        2024-07-30 23:12:13.734	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14)
        host.raspberrypi
        2024-07-30 23:12:13.734	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sshpk/lib/certificate.js:21:18)
        host.raspberrypi
        2024-07-30 23:12:13.734	error	Caught by controller[0]: at require (node:internal/modules/helpers:179:18)
        host.raspberrypi
        2024-07-30 23:12:13.734	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19)
        host.raspberrypi
        2024-07-30 23:12:13.733	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12)
        host.raspberrypi
        2024-07-30 23:12:13.733	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32)
        host.raspberrypi
        2024-07-30 23:12:13.733	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
        host.raspberrypi
        2024-07-30 23:12:13.732	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1321:27)
        host.raspberrypi
        2024-07-30 23:12:13.732	error	Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1281:20)
        host.raspberrypi
        2024-07-30 23:12:13.732	error	Caught by controller[0]: SyntaxError: Unexpected token '!'
        host.raspberrypi
        2024-07-30 23:12:13.731	error	Caught by controller[0]: ^
        host.raspberrypi
        2024-07-30 23:12:13.731	error	Caught by controller[0]: var!x00) = requiru8'..x509�);
        host.raspberrypi
        2024-07-30 23:12:13.730	error	Caught by controller[0]: /opt/iobroker/node_modules/sshpk/lib/formats/x509-pem.js:3
        host.raspberrypi
        2024-07-30 23:12:05.243	info	Restart adapter system.adapter.sony-bravia.0 because enabled
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @reddddich last edited by

          @reddddich

          Ohne zu wissen was du da genau gemacht hast kann man auch nicht nachvollziehen, was da nun vielleicht alles krumm ist.

          R 1 Reply Last reply Reply Quote 0
          • R
            reddddich @Thomas Braun last edited by

            @thomas-braun
            Ich kann dir nur noch Recht geben... 🙂

            BananaJoe 1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            714
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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