Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Diskussion zum HowTo nodejs-Installation und upgrade

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

Diskussion zum HowTo nodejs-Installation und upgrade

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
nodejs
844 Beiträge 91 Kommentatoren 233.2k Aufrufe 63 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @skorpil

    Nein, es ist allgemein auf ein Upgrade auf Bookworm bezogen. Zu Raspberry OS steht sogar drin, dass man das dieses Mal besser komplett neuinstalliert.

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

    S Offline
    S Offline
    skorpil
    schrieb am zuletzt editiert von
    #653

    @thomas-braun sorry, dann hatte ich nicht gut gelesen. Danke u. frohe Weihnachten u. DANKE für gute Beratung u. Betreuung von uns allen!

    W 1 Antwort Letzte Antwort
    0
    • S skorpil

      @thomas-braun sorry, dann hatte ich nicht gut gelesen. Danke u. frohe Weihnachten u. DANKE für gute Beratung u. Betreuung von uns allen!

      W Offline
      W Offline
      Willi-Wunder
      schrieb am zuletzt editiert von Willi-Wunder
      #654

      Hi,
      bring gerade mal alle Systeme auf den aktuellen Stand, Bookworm installiert. Allerdings zeigt er mir bei NPM einen Fehler an. iob fix + iob nodejs-update bereits ausgeführt.

      Nodefixer:

      ioBroker nodejs fixer 2023-10-13
      
      Recommended nodejs-version is: 18.19.0
      Checking your installation now. Please be patient!
      
      Your current setup is:
      /usr/bin/nodejs         v18.19.0
      /usr/bin/node           v18.19.0
      /home/iobroker/.nodejs-update.sh: line 130: npm: command not found
      
      /home/iobroker/.nodejs-update.sh: line 131: npx: command not found
      
      /home/iobroker/.nodejs-update.sh: line 147: npm: command not found
      /home/iobroker/.nodejs-update.sh: line 148: npx: command not found
      
      *** nodejs is NOT correctly installed ***
      We found these nodejs versions available for installation:
      
      nodejs:
        Installed: 18.19.0+dfsg-6~deb12u1
        Candidate: 18.19.0+dfsg-6~deb12u1
        Version table:
       *** 18.19.0+dfsg-6~deb12u1 500
              500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
              100 /var/lib/dpkg/status
           18.19.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.18.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.18.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.18.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.17.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.17.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.16.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.16.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.15.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.14.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.14.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.14.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.13.0+dfsg1-1 500
              500 http://deb.debian.org/debian bookworm/main arm64 Packages
           18.13.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.12.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.11.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.10.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.9.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.9.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.8.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.7.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.6.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.5.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.4.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.3.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.2.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.1.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
           18.0.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 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
      
      Wrong paths have been fixed. Run 'iob diag' or 'iob node-fix' again to check if your installation is fine now
      Nothing to do - Your version is the recommended one.
      
      You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands.
      Please DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation!
      
      

      Bei Eingabe npm -v kommt das hier:

      pi@iobroker:~ $ npm -v
      -bash: eval: -v: invalid option
      eval: usage: eval [arg ...]
      
      

      Was kann ich hier jetzt tun? War eigentlich alles richtig installiert gewesen und wurde auch richtig im iobroker angezeigt. Wodurch das jetzt passiert ist weiß ich leider nicht......

      Das wurde auch bereits ausgeführt sudo apt update && sudo apt full-upgrade

      pi@iobroker:~ $ sudo apt update && sudo apt full-upgrade
      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://repos.influxdata.com/debian stable InRelease
      Hit:6 https://apt.grafana.com stable InRelease
      Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      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.
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • W Willi-Wunder

        Hi,
        bring gerade mal alle Systeme auf den aktuellen Stand, Bookworm installiert. Allerdings zeigt er mir bei NPM einen Fehler an. iob fix + iob nodejs-update bereits ausgeführt.

        Nodefixer:

        ioBroker nodejs fixer 2023-10-13
        
        Recommended nodejs-version is: 18.19.0
        Checking your installation now. Please be patient!
        
        Your current setup is:
        /usr/bin/nodejs         v18.19.0
        /usr/bin/node           v18.19.0
        /home/iobroker/.nodejs-update.sh: line 130: npm: command not found
        
        /home/iobroker/.nodejs-update.sh: line 131: npx: command not found
        
        /home/iobroker/.nodejs-update.sh: line 147: npm: command not found
        /home/iobroker/.nodejs-update.sh: line 148: npx: command not found
        
        *** nodejs is NOT correctly installed ***
        We found these nodejs versions available for installation:
        
        nodejs:
          Installed: 18.19.0+dfsg-6~deb12u1
          Candidate: 18.19.0+dfsg-6~deb12u1
          Version table:
         *** 18.19.0+dfsg-6~deb12u1 500
                500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                100 /var/lib/dpkg/status
             18.19.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.18.2-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.18.1-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.18.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.17.1-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.17.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.16.1-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.16.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.15.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.14.2-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.14.1-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.14.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.13.0+dfsg1-1 500
                500 http://deb.debian.org/debian bookworm/main arm64 Packages
             18.13.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.12.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.11.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.10.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.9.1-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.9.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.8.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.7.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.6.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.5.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.4.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.3.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.2.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.1.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
             18.0.0-1nodesource1 500
                500 https://deb.nodesource.com/node_18.x nodistro/main arm64 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
        
        Wrong paths have been fixed. Run 'iob diag' or 'iob node-fix' again to check if your installation is fine now
        Nothing to do - Your version is the recommended one.
        
        You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands.
        Please DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation!
        
        

        Bei Eingabe npm -v kommt das hier:

        pi@iobroker:~ $ npm -v
        -bash: eval: -v: invalid option
        eval: usage: eval [arg ...]
        
        

        Was kann ich hier jetzt tun? War eigentlich alles richtig installiert gewesen und wurde auch richtig im iobroker angezeigt. Wodurch das jetzt passiert ist weiß ich leider nicht......

        Das wurde auch bereits ausgeführt sudo apt update && sudo apt full-upgrade

        pi@iobroker:~ $ sudo apt update && sudo apt full-upgrade
        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://repos.influxdata.com/debian stable InRelease
        Hit:6 https://apt.grafana.com stable InRelease
        Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        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.
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von Thomas Braun
        #655

        @willi-wunder

        sudo apt install nodejs=18.19.0-1nodesource1
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        W 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @willi-wunder

          sudo apt install nodejs=18.19.0-1nodesource1
          
          W Offline
          W Offline
          Willi-Wunder
          schrieb am zuletzt editiert von
          #656

          @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

          sudo apt install nodes=18.19.0-1nodesource1

          pi@iobroker:~ $ sudo apt install nodes=18.19.0-1nodesource1
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          E: Unable to locate package nodes
          
          
          Thomas BraunT 2 Antworten Letzte Antwort
          0
          • W Willi-Wunder

            @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

            sudo apt install nodes=18.19.0-1nodesource1

            pi@iobroker:~ $ sudo apt install nodes=18.19.0-1nodesource1
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            E: Unable to locate package nodes
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #657

            @willi-wunder

            sudo apt install nodejs=18.19.0-1nodesource1
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • W Willi-Wunder

              @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

              sudo apt install nodes=18.19.0-1nodesource1

              pi@iobroker:~ $ sudo apt install nodes=18.19.0-1nodesource1
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              E: Unable to locate package nodes
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #658

              @willi-wunder

              Beziehungsweise:

              iob nodejs-update 18
              

              und das Repo nochmal richtig anlegen lassen.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              W 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @willi-wunder

                Beziehungsweise:

                iob nodejs-update 18
                

                und das Repo nochmal richtig anlegen lassen.

                W Offline
                W Offline
                Willi-Wunder
                schrieb am zuletzt editiert von Willi-Wunder
                #659

                @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                iob nodejs-upgrade 18

                pi@iobroker:~ $ iob nodejs-upgrade 18
                /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                iobroker [command]
                
                

                Aufruf npm -v klappt aber wieder, V10.2.3 wird wieder angezeigt. 👍
                Was war beim zweiten Befehl sudo apt install nodejs=18.19.0-1nodesource1 anders? Putze gleich nochmal meine Brille, aber sehe da gerade keinen Unterschied, ging aber damit. (Ahhh, hast "js" ergänzt)

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • W Willi-Wunder

                  @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                  iob nodejs-upgrade 18

                  pi@iobroker:~ $ iob nodejs-upgrade 18
                  /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                  iobroker [command]
                  
                  

                  Aufruf npm -v klappt aber wieder, V10.2.3 wird wieder angezeigt. 👍
                  Was war beim zweiten Befehl sudo apt install nodejs=18.19.0-1nodesource1 anders? Putze gleich nochmal meine Brille, aber sehe da gerade keinen Unterschied, ging aber damit. (Ahhh, hast "js" ergänzt)

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #660

                  @willi-wunder

                  Sorry, mein Fehler.
                  Muss

                  iob nodejs-update 18
                  

                  lauten.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  W 1 Antwort Letzte Antwort
                  1
                  • Thomas BraunT Thomas Braun

                    @willi-wunder

                    Sorry, mein Fehler.
                    Muss

                    iob nodejs-update 18
                    

                    lauten.

                    W Offline
                    W Offline
                    Willi-Wunder
                    schrieb am zuletzt editiert von
                    #661

                    @thomas-braun
                    TOP, vielen Dank. Jetzt sollte es passen.

                    ioBroker nodejs fixer 2023-10-13
                    You requested to intall latest version from nodejs v18 tree.
                    
                    Your current setup is:
                    /usr/bin/nodejs         v18.19.0
                    /usr/bin/node           v18.19.0
                    /usr/bin/npm            10.2.3
                    /usr/bin/npx            10.2.3
                    /usr/bin/corepack       0.22.0
                    
                    We found these nodejs versions available for installation:
                    
                    nodejs:
                      Installed: 18.19.0-1nodesource1
                      Candidate: 18.19.0-1nodesource1
                      Version table:
                         18.19.0+dfsg-6~deb12u1 500
                            500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                     *** 18.19.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                            100 /var/lib/dpkg/status
                         18.18.2-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.18.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.18.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.17.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.17.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.16.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.16.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.15.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.14.2-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.14.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.14.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.13.0+dfsg1-1 500
                            500 http://deb.debian.org/debian bookworm/main arm64 Packages
                         18.13.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.12.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.11.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.10.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.9.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.9.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.8.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.7.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.6.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.5.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.4.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.3.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.2.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.1.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                         18.0.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                    
                    
                    
                    Nothing to do - Your installation is using the correct paths.
                    
                    You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.18 tree?
                    
                    Press <y> to continue or any other key to quit
                    Trying to update your installation now. Please be patient.
                    find: '/run/user/1000/doc': Permission denied
                    find: '/run/user/1000/gvfs': Permission denied
                    Waiting for ioBroker to shut down - Give me a minute...
                    ############################################################
                    
                    *** These repos are active on your system:
                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                    Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                    Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                    Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
                    Hit:5 https://apt.grafana.com stable InRelease
                    Hit:6 https://repos.influxdata.com/debian stable InRelease
                    Reading package lists... Done
                    
                    *** 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:
                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                    Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                    Hit:3 https://repos.influxdata.com/debian stable InRelease
                    Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                    Hit:5 http://deb.debian.org/debian bookworm-updates InRelease
                    Hit:6 https://apt.grafana.com stable InRelease
                    Get:7 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                    Get:8 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [6613 B]
                    Get:9 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [6656 B]
                    Fetched 25.4 kB in 2s (13.0 kB/s)
                    Reading package lists... Done
                    
                    Installing the recommended nodejs version now!
                    
                    Installing the recommended nodejs version!
                    
                    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.
                    
                    

                    Beim ausführen des Befehls kam noch am Anfang......

                    pi@iobroker:~ $ iob nodejs-update 18
                    /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                    bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                    ioBroker node-update v2023-10-13 is starting. Please be patient!
                    /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                    
                    

                    Hat das noch etwas zu sagen?

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • W Willi-Wunder

                      @thomas-braun
                      TOP, vielen Dank. Jetzt sollte es passen.

                      ioBroker nodejs fixer 2023-10-13
                      You requested to intall latest version from nodejs v18 tree.
                      
                      Your current setup is:
                      /usr/bin/nodejs         v18.19.0
                      /usr/bin/node           v18.19.0
                      /usr/bin/npm            10.2.3
                      /usr/bin/npx            10.2.3
                      /usr/bin/corepack       0.22.0
                      
                      We found these nodejs versions available for installation:
                      
                      nodejs:
                        Installed: 18.19.0-1nodesource1
                        Candidate: 18.19.0-1nodesource1
                        Version table:
                           18.19.0+dfsg-6~deb12u1 500
                              500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                       *** 18.19.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                              100 /var/lib/dpkg/status
                           18.18.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.18.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.18.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.17.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.17.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.16.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.16.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.15.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.14.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.14.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.14.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.13.0+dfsg1-1 500
                              500 http://deb.debian.org/debian bookworm/main arm64 Packages
                           18.13.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.12.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.11.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.10.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.9.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.9.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.8.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.7.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.6.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.5.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.4.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.3.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.2.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.1.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                           18.0.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                      
                      
                      
                      Nothing to do - Your installation is using the correct paths.
                      
                      You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.18 tree?
                      
                      Press <y> to continue or any other key to quit
                      Trying to update your installation now. Please be patient.
                      find: '/run/user/1000/doc': Permission denied
                      find: '/run/user/1000/gvfs': Permission denied
                      Waiting for ioBroker to shut down - Give me a minute...
                      ############################################################
                      
                      *** These repos are active on your system:
                      Hit:1 http://deb.debian.org/debian bookworm InRelease
                      Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                      Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                      Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
                      Hit:5 https://apt.grafana.com stable InRelease
                      Hit:6 https://repos.influxdata.com/debian stable InRelease
                      Reading package lists... Done
                      
                      *** 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:
                      Hit:1 http://deb.debian.org/debian bookworm InRelease
                      Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                      Hit:3 https://repos.influxdata.com/debian stable InRelease
                      Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                      Hit:5 http://deb.debian.org/debian bookworm-updates InRelease
                      Hit:6 https://apt.grafana.com stable InRelease
                      Get:7 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                      Get:8 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [6613 B]
                      Get:9 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [6656 B]
                      Fetched 25.4 kB in 2s (13.0 kB/s)
                      Reading package lists... Done
                      
                      Installing the recommended nodejs version now!
                      
                      Installing the recommended nodejs version!
                      
                      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.
                      
                      

                      Beim ausführen des Befehls kam noch am Anfang......

                      pi@iobroker:~ $ iob nodejs-update 18
                      /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                      bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                      ioBroker node-update v2023-10-13 is starting. Please be patient!
                      /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE)
                      
                      

                      Hat das noch etwas zu sagen?

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #662

                      @willi-wunder sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                      Hat das noch etwas zu sagen?

                      Nein, ist für dich nicht wichtig.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      W 1 Antwort Letzte Antwort
                      1
                      • Thomas BraunT Thomas Braun

                        @willi-wunder sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                        Hat das noch etwas zu sagen?

                        Nein, ist für dich nicht wichtig.

                        W Offline
                        W Offline
                        Willi-Wunder
                        schrieb am zuletzt editiert von
                        #663

                        @thomas-braun
                        Dann danke für deine erneute Hilfe 👍

                        1 Antwort Letzte Antwort
                        0
                        • J Offline
                          J Offline
                          JoSbg
                          schrieb am zuletzt editiert von
                          #664

                          Hallo

                          Wollt gerade das Update von v16 auf v18 machen. Leider scheitere ich schon beim ersten Schritt "Altlasten entfernen".

                          sudo rm `sudo find / -name nodesource.gpg`
                          

                          Es werden da eine Menge Ordner aufgelistet, aber bei allen kommt "Permission denied"

                          iobroker@CT101:~$ sudo rm `sudo find / -name nodesource.gpg`
                          find: '/proc/tty/driver': Permission denied
                          find: '/sys/kernel/debug': Permission denied
                          find: '/sys/fs/fuse/connections/41': Permission denied
                          find: '/sys/fs/fuse/connections/38': Permission denied
                          ...
                          

                          iobroker läuft bei mir auf Proxmox mit Debian.

                          GlasfaserG 1 Antwort Letzte Antwort
                          0
                          • J JoSbg

                            Hallo

                            Wollt gerade das Update von v16 auf v18 machen. Leider scheitere ich schon beim ersten Schritt "Altlasten entfernen".

                            sudo rm `sudo find / -name nodesource.gpg`
                            

                            Es werden da eine Menge Ordner aufgelistet, aber bei allen kommt "Permission denied"

                            iobroker@CT101:~$ sudo rm `sudo find / -name nodesource.gpg`
                            find: '/proc/tty/driver': Permission denied
                            find: '/sys/kernel/debug': Permission denied
                            find: '/sys/fs/fuse/connections/41': Permission denied
                            find: '/sys/fs/fuse/connections/38': Permission denied
                            ...
                            

                            iobroker läuft bei mir auf Proxmox mit Debian.

                            GlasfaserG Offline
                            GlasfaserG Offline
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #665

                            @josbg sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                            Wollt gerade das Update von v16 auf v18

                            "Altlasten entfernen".

                            Was machst du da !?

                            schau ein paar .... Beiträge über deine !

                            iob stop
                            iob fix  
                            iob nodejs-update
                            sudo reboot
                            

                            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                            J 1 Antwort Letzte Antwort
                            1
                            • GlasfaserG Glasfaser

                              @josbg sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              Wollt gerade das Update von v16 auf v18

                              "Altlasten entfernen".

                              Was machst du da !?

                              schau ein paar .... Beiträge über deine !

                              iob stop
                              iob fix  
                              iob nodejs-update
                              sudo reboot
                              
                              J Offline
                              J Offline
                              JoSbg
                              schrieb am zuletzt editiert von
                              #666

                              @glasfaser

                              Danke hat so natürlich funktioniert.

                              Manchmal sieht man den Wald vor lauter Bäumen nicht.

                              1 Antwort Letzte Antwort
                              0
                              • S Offline
                                S Offline
                                Stefan_NK
                                schrieb am zuletzt editiert von
                                #667

                                Hallo Zusammen,

                                ich habe einen Raspi4 für Testzwecke komplett neu aufgesetzt und den iobroker installiert.

                                curl -sLf https://iobroker.net/install.sh | bash -
                                

                                Ich habe jetzt in der Übersicht folgende Versionen:
                                Node.js: v18.19.0
                                NPM: 9.2.0(10.2.3)

                                Wie kann ich denn die NPM-Version auf 19.x updaten? Ich habe dazu leider nichts gefunden, was mir weitergeholfen hätte.

                                LG Stefan

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • S Stefan_NK

                                  Hallo Zusammen,

                                  ich habe einen Raspi4 für Testzwecke komplett neu aufgesetzt und den iobroker installiert.

                                  curl -sLf https://iobroker.net/install.sh | bash -
                                  

                                  Ich habe jetzt in der Übersicht folgende Versionen:
                                  Node.js: v18.19.0
                                  NPM: 9.2.0(10.2.3)

                                  Wie kann ich denn die NPM-Version auf 19.x updaten? Ich habe dazu leider nichts gefunden, was mir weitergeholfen hätte.

                                  LG Stefan

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von Thomas Braun
                                  #668

                                  @stefan_nk

                                  npm wird gar nicht separat installiert.
                                  Mach es danach:

                                  https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

                                  Hinterher per

                                  iob nodejs-update
                                  

                                  schauen ob das dann senkrecht installiert wurde.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  S 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @stefan_nk

                                    npm wird gar nicht separat installiert.
                                    Mach es danach:

                                    https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

                                    Hinterher per

                                    iob nodejs-update
                                    

                                    schauen ob das dann senkrecht installiert wurde.

                                    S Offline
                                    S Offline
                                    Stefan_NK
                                    schrieb am zuletzt editiert von
                                    #669

                                    @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                    iob nodejs-update

                                    Hat funktioniert. Vielen Dank Thomas

                                    1 Antwort Letzte Antwort
                                    1
                                    • K Offline
                                      K Offline
                                      knatterman
                                      schrieb am zuletzt editiert von
                                      #670

                                      Hi,

                                      ich habe versucht, Nodejs von 14 auf 18 upzugraden, habe gemäß der Anleitung die beiden Repos eingetragen und erhielt dann beim Update aber immer den Hinweis, dass ein Schlüssel fehlen ...

                                      iobroker@iobroker:~$ sudo apt update
                                      
                                      OK:1 http://deb.debian.org/debian buster InRelease
                                      OK:2 http://deb.debian.org/debian buster-updates InRelease                            
                                      OK:3 http://security.debian.org/debian-security buster/updates InRelease              
                                      OK:4 https://deb.nodesource.com/node_14.x buster InRelease                            
                                      Holen:5 https://deb.nodesource.com/node_16.x nodistro InRelease [12,1 kB]
                                      Holen:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                                      Fehl:5 https://deb.nodesource.com/node_16.x nodistro InRelease
                                        Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                      Fehl:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                                        Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                      Paketlisten werden gelesen... Fertig
                                      W: GPG-Fehler: https://deb.nodesource.com/node_16.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                      E: Das Depot »https://deb.nodesource.com/node_16.x nodistro InRelease« ist nicht signiert.
                                      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                      W: GPG-Fehler: https://deb.nodesource.com/node_18.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                      E: Das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« ist nicht signiert.
                                      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                      

                                      Die Hinweise hier im Thread haben nicht wirklich geholfen. Habe dann auf https://den.nodesource.com einen Hinweis auf die (wohl) aktuellste Key Datei gefunden und sie wie folgt hinzugefügt.

                                      iobroker@iobroker:~$ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo apt-key add -
                                      

                                      Ein

                                      iobroker@iobroker:~$ sudo apt update
                                      

                                      liefert nun

                                      
                                      OK:1 http://deb.debian.org/debian buster InRelease
                                      OK:2 http://security.debian.org/debian-security buster/updates InRelease
                                      OK:3 http://deb.debian.org/debian buster-updates InRelease     
                                      OK:4 https://deb.nodesource.com/node_14.x buster InRelease     
                                      Holen:5 https://deb.nodesource.com/node_16.x nodistro InRelease [12,1 kB]
                                      Holen:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                                      Holen:7 https://deb.nodesource.com/node_16.x nodistro/main amd64 Packages [7.462 B]
                                      Holen:8 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [6.634 B]
                                      Es wurden 14,1 kB in 2 s geholt (8.844 B/s).
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                                      

                                      Vielleicht hilft es irgendwem irgendwann ...
                                      Gruß
                                      Frank

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • GlasfaserG Offline
                                        GlasfaserG Offline
                                        Glasfaser
                                        schrieb am zuletzt editiert von Glasfaser
                                        #671

                                        @knatterman sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                        Die Hinweise hier im Thread haben nicht wirklich geholfen.

                                        Auch nicht !?

                                        iob nodejs-update
                                        

                                        Nodejs von 14 auf 18 upzugraden,

                                        Da hast du aber schon lange nichts mehr gemacht ....

                                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                        K 1 Antwort Letzte Antwort
                                        0
                                        • K knatterman

                                          Hi,

                                          ich habe versucht, Nodejs von 14 auf 18 upzugraden, habe gemäß der Anleitung die beiden Repos eingetragen und erhielt dann beim Update aber immer den Hinweis, dass ein Schlüssel fehlen ...

                                          iobroker@iobroker:~$ sudo apt update
                                          
                                          OK:1 http://deb.debian.org/debian buster InRelease
                                          OK:2 http://deb.debian.org/debian buster-updates InRelease                            
                                          OK:3 http://security.debian.org/debian-security buster/updates InRelease              
                                          OK:4 https://deb.nodesource.com/node_14.x buster InRelease                            
                                          Holen:5 https://deb.nodesource.com/node_16.x nodistro InRelease [12,1 kB]
                                          Holen:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                                          Fehl:5 https://deb.nodesource.com/node_16.x nodistro InRelease
                                            Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          Fehl:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                                            Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          Paketlisten werden gelesen... Fertig
                                          W: GPG-Fehler: https://deb.nodesource.com/node_16.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          E: Das Depot »https://deb.nodesource.com/node_16.x nodistro InRelease« ist nicht signiert.
                                          N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                          N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                          W: GPG-Fehler: https://deb.nodesource.com/node_18.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                                          E: Das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« ist nicht signiert.
                                          N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                          N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                          

                                          Die Hinweise hier im Thread haben nicht wirklich geholfen. Habe dann auf https://den.nodesource.com einen Hinweis auf die (wohl) aktuellste Key Datei gefunden und sie wie folgt hinzugefügt.

                                          iobroker@iobroker:~$ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo apt-key add -
                                          

                                          Ein

                                          iobroker@iobroker:~$ sudo apt update
                                          

                                          liefert nun

                                          
                                          OK:1 http://deb.debian.org/debian buster InRelease
                                          OK:2 http://security.debian.org/debian-security buster/updates InRelease
                                          OK:3 http://deb.debian.org/debian buster-updates InRelease     
                                          OK:4 https://deb.nodesource.com/node_14.x buster InRelease     
                                          Holen:5 https://deb.nodesource.com/node_16.x nodistro InRelease [12,1 kB]
                                          Holen:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                                          Holen:7 https://deb.nodesource.com/node_16.x nodistro/main amd64 Packages [7.462 B]
                                          Holen:8 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [6.634 B]
                                          Es wurden 14,1 kB in 2 s geholt (8.844 B/s).
                                          Paketlisten werden gelesen... Fertig
                                          Abhängigkeitsbaum wird aufgebaut.       
                                          Statusinformationen werden eingelesen.... Fertig
                                          Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                                          

                                          Vielleicht hilft es irgendwem irgendwann ...
                                          Gruß
                                          Frank

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #672

                                          @knatterman sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                          Vielleicht hilft es irgendwem irgendwann ...

                                          Nein, es hilft nicht, denn die Schlüsselverwaltung wird nicht mehr via apt-key gemacht.

                                          iob nodejs-update
                                          

                                          macht das alles für dich.

                                          Und den Buster musst du auch beerdigen, installier da Bookworm / Debian 12.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          424

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe