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.
    • D
      dos1973 @Thomas Braun last edited by dos1973

      @thomas-braun
      nein, deiner Beschreibung gefolgt (1A) und alles lief Perfekt.

      1 Reply Last reply Reply Quote 0
      • A
        austrogaucho last edited by

        "curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -" hat funktioniert und hat mich von von 16.20.1 (nur) auf 18.7.1 gehoben (18.8.0 ist empfohlen)

        es kam aber folgende Meldung:

        ================================================================================
        ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
        ================================================================================
        
                                   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) ...
        
        

        nach 1min gehts dann weiter mit:

        ## Installing the NodeSource Node.js 18.x repo...
        
        
        ## Populating apt-get cache...
        
        + apt-get update
        OK:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
        OK:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
        OK:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease          
        OK:4 http://de.archive.ubuntu.com/ubuntu focal-security InRelease           
        OK:5 https://deb.nodesource.com/node_18.x focal InRelease                   
        Paketlisten werden gelesen... Fertig
        
        ## Confirming "focal" is supported...
        
        + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_18.x/dists/focal/Release'
        
        ## Adding the NodeSource signing key to your keyring...
        
        + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
        
        ## Creating apt sources list file for the NodeSource Node.js 18.x repo...
        
        + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x focal main' > /etc/apt/sources.list.d/nodesource.list
        + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x focal main' >> /etc/apt/sources.list.d/nodesource.list
        
        ## Running `apt-get update` for you...
        
        + apt-get update
        OK:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
        OK:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
        OK:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease          
        OK:4 http://de.archive.ubuntu.com/ubuntu focal-security InRelease           
        OK:5 https://deb.nodesource.com/node_18.x focal InRelease                  
        Paketlisten werden gelesen... Fertig
        
        ## Run `sudo apt-get install -y nodejs` to install Node.js 18.x and npm
        ## You may also need development tools to build native addons:
             sudo apt-get install gcc g++ make
        ## To install the Yarn package manager, run:
             curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
             echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
             sudo apt-get update && sudo apt-get install yarn
        
        

        Ich hab dann gemäß der Anleitung mit "sudo apt install -y nodejs" weitergemacht

        dann kam

        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.       
        Statusinformationen werden eingelesen.... Fertig
        Die folgenden NEUEN Pakete werden installiert:
          nodejs
        0 aktualisiert, 1 neu installiert, 0 zu entfernen und 14 nicht aktualisiert.
        Es müssen 28,9 MB an Archiven heruntergeladen werden.
        Nach dieser Operation werden 188 MB Plattenplatz zusätzlich benutzt.
        Holen:1 https://deb.nodesource.com/node_18.x focal/main amd64 nodejs amd64 18.17.1-deb-1nodesource1 [28,9 MB]
        Es wurden 28,9 MB in 5 s geholt (5.334 kB/s).
        Vormals nicht ausgewähltes Paket nodejs wird gewählt.
        (Lese Datenbank ... 121482 Dateien und Verzeichnisse sind derzeit installiert.)
        Vorbereitung zum Entpacken von .../nodejs_18.17.1-deb-1nodesource1_amd64.deb ...
        Entpacken von nodejs (18.17.1-deb-1nodesource1) ...
        nodejs (18.17.1-deb-1nodesource1) wird eingerichtet ...
        Trigger für man-db (2.9.1-1) werden verarbeitet ...
        

        ? wie komm ich nun auf die 18.8.0 ?

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

          @austrogaucho

          Mit dem Skript aus meiner Signatur.

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

            @thomas-braun sagte in Troubleshooting NodeJS update:

            Mit dem Skript aus meiner Signatur.

            Klasse Script! Hatte 'gefühlt' alle Zustände bzgl. des 18.18.0 er Updates:

            • 1x iOMaster, dediziert auf Raspi4B, mit in Info angezeigtem Update, allerdings keine Anzeige/Update per 'sudo apt update'.
            • 4x vermeintlich gleiche iOSlaves unter Proxmox, allerdings manchmal mit angezeigtem Update in Info und manchmal nicht und dann wiederum manchmal möglichem 'sudo apt update' per Konsole, allerdings auch nicht jeweils gleich bzgl. der in Info angezeigten Updates.

            Also eine bunte Mischung, wobei Ausgangslage überall der letzte Stand mit Node 18.17.1 inkl. passendem NPM war und ich auch im Glauben war, dass ich alle Instanzen immer gleich behandelt hatte.

            Mit dem Script habe ich sie alle 'gerade' bekommen. Danke @thomas-braun

            1 Reply Last reply Reply Quote 0
            • H
              Happyuser20 last edited by Happyuser20

              Hallo zusammen.
              Ich wollte auf meinem IOB Slave (Raspi 3+) NodeJS von 16 auf 18 updaten.

              Ich fürchte ich habe das Teil komplett abgeschossen. Habe jetzt einen Raspi mit IOB ohne NodeJS.
              Es lässt sich auch das erstellte Backup nicht mehr zurückspielen.

              @Thomas-Braun Dein Script knackt meine vermurkste Installation auch nicht 😞

              *** nodejs is NOT correctly installed ***
              We found these nodejs versions available for installation:
              
              nodejs:
                Installed: (none)
                Candidate: 18.18.2-1nodesource1
                Version table:
                   18.18.2-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.18.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.18.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.17.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.17.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.15.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.2-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.13.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.12.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.11.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.10.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.8.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.7.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.6.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.5.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.4.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.3.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.2.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.1.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.0.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
              
              
              
              Your nodejs-Installation seems to be faulty. Shall we try to fix it?
              Press <y> to continue or any other key to quit
              
              Fixing your nodejs setup
              *** Deleting  ***
              rm: cannot remove '': No such file or directory
              *** Deleting  ***
              rm: cannot remove '': No such file or directory
              *** Deleting  ***
              rm: cannot remove '': No such file or directory
              
              Wrong paths have been fixed. Run 'iob diag' or 'iob node-fix' again to check if your installation is fine now
              ./iob_node_update: line 248: node: command not found
              
              You are running nodejs . Do you want to install latest version from nodejs v.18 branch?
              
              Press <y> to continue or any other key to quit
              
              Trying to fix your installation now. Please be patient.
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              
              *** Removing previous installations of nodejs
              E: Unable to locate package nodejs
              E: Unable to locate package libnode*
              E: Couldn't find any package by glob 'libnode*'
              E: Couldn't find any package by regex 'libnode*'
              E: Unable to locate package node-*
              E: Couldn't find any package by glob 'node-*'
              E: Couldn't find any package by regex 'node-*'
              
              *** These repos are active on your system:
              Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
              Ign:2 http://raspbian.raspberrypi.org/raspbian stretch Release
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Err:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Reading package lists... Done
              W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does not have a Release file.
              N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
              N: See apt-secure(8) manpage for repository creation and user configuration details.
              E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              E: Some index files failed to download. They have been ignored, or old ones used instead.
              
              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
              
              *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
              
              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
              Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              
              *** These repos are active after the adjustments:
              Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
              Ign:2 http://raspbian.raspberrypi.org/raspbian stretch Release
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Ign:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Ign:3 http://raspbian.raspberrypi.org/raspbian stretch/main all Packages
              Err:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              Ign:6 http://raspbian.raspberrypi.org/raspbian stretch/main Translation-en
              Ign:7 http://raspbian.raspberrypi.org/raspbian stretch/contrib all Packages
              Ign:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages
              Ign:9 http://raspbian.raspberrypi.org/raspbian stretch/contrib Translation-en
              Ign:10 http://raspbian.raspberrypi.org/raspbian stretch/non-free all Packages
              Ign:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages
              Ign:12 http://raspbian.raspberrypi.org/raspbian stretch/non-free Translation-en
              Ign:13 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
              Ign:14 http://raspbian.raspberrypi.org/raspbian stretch/rpi all Packages
              Ign:15 http://raspbian.raspberrypi.org/raspbian stretch/rpi Translation-en
              Reading package lists... Done
              W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does not have a Release file.
              N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
              N: See apt-secure(8) manpage for repository creation and user configuration details.
              E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              E: Some index files failed to download. They have been ignored, or old ones used instead.
              
              Installing the recommended nodejs version now!
              
              ./iob_node_update: line 336: [: : integer expression expected
              Exact recommended version unknown, installing a fallback!
              E: Unable to correct problems, you have held broken packages.
              
              Updating fallback to latest nodejs v18 release
              W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does not have a Release file.
              E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              E: Some index files failed to download. They have been ignored, or old ones used instead.
              E: Broken packages
              ./iob_node_update: line 349: node: command not found
               has been installed! You are using the latest version now!
              ./iob_node_update: line 353: [: : integer expression expected
              Installing the recommended nodejs version!
              W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does not have a Release file.
              E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
              E: Some index files failed to download. They have been ignored, or old ones used instead.
              E: Broken packages
              
              We tried our best to fix your nodejs. Please run iob diag again to verify.
              
              *** RESTARTING ioBroker NOW! ***
               Please refresh or restart your browser in a few moments.
              
              
              

              Gibt es noch eine Möglichkeit das ding zu retten?

              Danke für eure Hilfe schon mal im voraus.

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

                @happyuser20

                Dein 'stretch' ist so tot, das stinkt nicht mal mehr. Installier da zunächst ein lebendes Betriebssystem.

                H 1 Reply Last reply Reply Quote 0
                • H
                  Happyuser20 @Thomas Braun last edited by

                  @thomas-braun

                  Komplett neu aufsetzten, richtig?

                  Sorry für die doofe Frage.

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

                    @happyuser20

                    Röchtösch!

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      Happyuser20 @Thomas Braun last edited by

                      @thomas-braun
                      Danke
                      Dann weis ich schon was ich am Feiertag mache 😉

                      1 Reply Last reply Reply Quote 0
                      • B
                        Baki074 last edited by

                        Hallo,

                        ich habe mit dem Befehl sudo apt install -y nodejs Probleme.
                        Und zwar erhalte ich die Meldung "Fehlschlag beim Holen von...".

                        sudo apt-get update habe ich schon versucht. Hat für die Installation nichts gebracht - derselbe Fehler wird angezeigt.
                        Was genau muss ich machen, damit die Installation klappt?

                        Danke schonmal!

                        pi@phoscon-iob:~ $ sudo apt install -y nodejs
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.       
                        Statusinformationen werden eingelesen.... Fertig
                        Die folgenden NEUEN Pakete werden installiert:
                          nodejs
                        0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                        Es müssen 25,9 MB an Archiven heruntergeladen werden.
                        Nach dieser Operation werden 177 MB Plattenplatz zusätzlich benutzt.
                        Fehl:1 https://deb.nodesource.com/node_18.x buster/main armhf nodejs armhf 18.17.1-deb-1nodesource1
                          404  Not Found [IP: 172.67.10.205 443]
                        E: Fehlschlag beim Holen von https://deb.nodesource.com/node_18.x/pool/main/n/nodejs/nodejs_18.17.1-deb-1nodesource1_armhf.deb 404  Not Found [IP: 172.67.10.205 443]
                        E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
                        
                        pi@phoscon-iob:~ $ sudo apt-get update
                        OK:1 http://phoscon.de/apt/deconz buster InRelease
                        OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                    
                        OK:3 http://archive.raspberrypi.org/debian buster InRelease                                                                       
                        OK:4 https://deb.nodesource.com/node_18.x buster InRelease                 
                        Paketlisten werden gelesen... Fertig 
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Baki074 last edited by

                          @baki074
                          Buster ist tot. Muss ersetzt werden.
                          Und das Update von nodejs geht über

                          iob nodejs-update
                          

                          (Ggfls. zuvor iob fix ausführen).

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Baki074 @Thomas Braun last edited by

                            @thomas-braun Super, hat funktioniert - danke!
                            Blöde Frage: Kann ich Debian 10 easy durch 11 ersetzen bzw. gibt es vielleicht eine Schritt für Schritt Anleitung hierfür?

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

                              @baki074

                              https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                              Aktuell ist allerdings Debian 12 'Bookworm'.

                              https://forum.iobroker.net/topic/65655/upgrade-von-debian-11-bullseye-auf-12-bookworm

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            726
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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