Skip to content
  • Home
  • 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

Community Forum

donate donate
  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.5k

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

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

Diskussion zum HowTo nodejs-Installation und upgrade

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
nodejs
844 Beiträge 91 Kommentatoren 234.1k 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 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

    Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi?

    Ja , gilt primär für die Installation von Raspberry OS 12 'Bookworm'.
    Bei Debian waren die Änderungen nicht so gravierend wie bei Raspberry OS.

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

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

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

    Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi?

    Ja , gilt primär für die Installation von Raspberry OS 12 'Bookworm'.
    Bei Debian waren die Änderungen nicht so gravierend wie bei Raspberry OS.

    Danke Thomas. Ich bin aber jetzt erst, beim Lesen dieses ganzen threats, darauf gekommen, dass es einen Unterschied macht, ob man Debian oder Raspberry OS installiert hat.

    Hier mal der summary von iob diag

    ======================= SUMMARY =======================
                            v.2023-10-10
    
    
       Static hostname: LinuxNeu
             Icon name: computer-vm
               Chassis: vm
        Virtualization: oracle
      Operating System: Debian GNU/Linux 11 (bullseye)
                Kernel: Linux 5.10.0-25-amd64
          Architecture: x86-64
    
    Installation:           oracle
    Kernel:                 x86_64
    Userland:               amd64
    Timezone:               Europe/Berlin (CET, +0100)
    User-ID:                1000
    X-Server:               false
    Boot Target:            graphical.target
    
    Pending OS-Updates:     0
    Pending iob updates:    0
    
    Nodejs-Installation:    /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
    
    Recommended versions are nodejs 18.19.0 and npm 10.2.3
    Your nodejs installation is correct
    
    MEMORY: 
                   total        used        free      shared  buff/cache   available
    Mem:            3.9G        2.0G        331M        0.0K        1.6G        1.7G
    Swap:           974M         28M        946M
    Total:          4.9G        2.0G        1.3G
    
    Active iob-Instances:   15
    Active repo(s): stable
    
    ioBroker Core:          js-controller           5.0.17
                            admin                   6.12.0
    
    ioBroker Status:        iobroker is running on this host.
    
    
    Objects type: jsonl
    States  type: jsonl
    
    Status admin and web instance:
    + system.adapter.admin.0                  : admin                 : LinuxNeu                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
    
    Objects:                16217
    States:                 13635
    
    Size of iob-Database:
    
    33M     /opt/iobroker/iobroker-data/objects.jsonl
    11M     /opt/iobroker/iobroker-data/objects.json.migrated
    11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
    0       /opt/iobroker/iobroker-data/objects.json.broken
    5.3M    /opt/iobroker/iobroker-data/states.jsonl
    1.6M    /opt/iobroker/iobroker-data/states.json.migrated
    1.6M    /opt/iobroker/iobroker-data/states.json.bak.migrated
    0       /opt/iobroker/iobroker-data/states.json.broken
    
    
    
    =================== END OF SUMMARY ====================
    

    Anregung (oder habe da was übersehen): könntet ihr Profis noch irgendwo mal eine Schritt für Schritt Anleitung zum Update auf Bookworm posten? Und dabei vielleicht die unterschiedlichen Systeme berücksichtigen. Ich hab das zumindest so nicht gefunden.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • S skorpil

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

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

      Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi?

      Ja , gilt primär für die Installation von Raspberry OS 12 'Bookworm'.
      Bei Debian waren die Änderungen nicht so gravierend wie bei Raspberry OS.

      Danke Thomas. Ich bin aber jetzt erst, beim Lesen dieses ganzen threats, darauf gekommen, dass es einen Unterschied macht, ob man Debian oder Raspberry OS installiert hat.

      Hier mal der summary von iob diag

      ======================= SUMMARY =======================
                              v.2023-10-10
      
      
         Static hostname: LinuxNeu
               Icon name: computer-vm
                 Chassis: vm
          Virtualization: oracle
        Operating System: Debian GNU/Linux 11 (bullseye)
                  Kernel: Linux 5.10.0-25-amd64
            Architecture: x86-64
      
      Installation:           oracle
      Kernel:                 x86_64
      Userland:               amd64
      Timezone:               Europe/Berlin (CET, +0100)
      User-ID:                1000
      X-Server:               false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     0
      Pending iob updates:    0
      
      Nodejs-Installation:    /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
      
      Recommended versions are nodejs 18.19.0 and npm 10.2.3
      Your nodejs installation is correct
      
      MEMORY: 
                     total        used        free      shared  buff/cache   available
      Mem:            3.9G        2.0G        331M        0.0K        1.6G        1.7G
      Swap:           974M         28M        946M
      Total:          4.9G        2.0G        1.3G
      
      Active iob-Instances:   15
      Active repo(s): stable
      
      ioBroker Core:          js-controller           5.0.17
                              admin                   6.12.0
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : LinuxNeu                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      
      Objects:                16217
      States:                 13635
      
      Size of iob-Database:
      
      33M     /opt/iobroker/iobroker-data/objects.jsonl
      11M     /opt/iobroker/iobroker-data/objects.json.migrated
      11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
      0       /opt/iobroker/iobroker-data/objects.json.broken
      5.3M    /opt/iobroker/iobroker-data/states.jsonl
      1.6M    /opt/iobroker/iobroker-data/states.json.migrated
      1.6M    /opt/iobroker/iobroker-data/states.json.bak.migrated
      0       /opt/iobroker/iobroker-data/states.json.broken
      
      
      
      =================== END OF SUMMARY ====================
      

      Anregung (oder habe da was übersehen): könntet ihr Profis noch irgendwo mal eine Schritt für Schritt Anleitung zum Update auf Bookworm posten? Und dabei vielleicht die unterschiedlichen Systeme berücksichtigen. Ich hab das zumindest so nicht gefunden.

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

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

      Anleitung zum Update auf Bookworm posten?

      Schau in meine Threads rein. Hab ich mal irgendwann beschrieben.

      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
      1
      • Thomas BraunT Thomas Braun

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

        Anleitung zum Update auf Bookworm posten?

        Schau in meine Threads rein. Hab ich mal irgendwann beschrieben.

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

        @thomas-braun aber war das nicht ausschließlich raspian bezogen?

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • S skorpil

          @thomas-braun aber war das nicht ausschließlich raspian bezogen?

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

          @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

          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
          1
          • 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. :+1:
                        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. :+1:
                          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:

                                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
                                          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

                                          845

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe