Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js für ioBroker richtig updaten

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    512

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

[How-to] Node.js für ioBroker richtig updaten

Scheduled Pinned Locked Moved ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Posts 106 Posters 774.1k Views 112 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @crunchip

    sudo apt install nodejs
    

    Ich würde aber schauen, dass die 10.20.1 angeboten wird. Die 10.20.0 hat einen Fehler.
    Bluetooth würde ich allerdings auch aktuell halten. Das Update kommt aus Security, das hat wohl einen Grund...

    crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #386

    @Thomas-Braun das klappt so aber nicht
    952512e1-17d5-4614-862d-002b93667610-image.png

    umgestiegen von Proxmox auf Unraid

    GlasfaserG 1 Reply Last reply
    0
    • crunchipC crunchip

      @Thomas-Braun das klappt so aber nicht
      952512e1-17d5-4614-862d-002b93667610-image.png

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by
      #387

      @crunchip

      vorher eine .. machen , zur Paketenaktualisierung

      sudo apt update
      

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

      crunchipC 1 Reply Last reply
      1
      • GlasfaserG Glasfaser

        @crunchip

        vorher eine .. machen , zur Paketenaktualisierung

        sudo apt update
        
        crunchipC Away
        crunchipC Away
        crunchip
        Forum Testing Most Active
        wrote on last edited by
        #388

        @Glasfaser danke, hatte ich nicht dran gedacht

        umgestiegen von Proxmox auf Unraid

        GlasfaserG 1 Reply Last reply
        0
        • crunchipC crunchip

          @Glasfaser danke, hatte ich nicht dran gedacht

          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          wrote on last edited by Glasfaser
          #389

          @crunchip

          ;)

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SolarGuido
            wrote on last edited by SolarGuido
            #390

            vertan... falscher Beitrag

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SolarGuido
              wrote on last edited by
              #391

              Jetzt wird es richtig wuschelig mit der js8 Version. Ich überlege auch upgrade auf js12 zu machen, wie sieht es damit aus? Gibt es dazu auch eine Anleitung? Gibt es für NPM auch dann eine Notwendigkeit diese upzugraden?
              Danke für jeden Hinweis!

              Thomas BraunT HomoranH 2 Replies Last reply
              0
              • S SolarGuido

                Jetzt wird es richtig wuschelig mit der js8 Version. Ich überlege auch upgrade auf js12 zu machen, wie sieht es damit aus? Gibt es dazu auch eine Anleitung? Gibt es für NPM auch dann eine Notwendigkeit diese upzugraden?
                Danke für jeden Hinweis!

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by Thomas Braun
                #392

                @SolarGuido Hängt vom verwendeten System ab.
                Grundsätzlich: Siehe den ersten Beitrag in diesem Thread.

                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 Reply Last reply
                0
                • S SolarGuido

                  Jetzt wird es richtig wuschelig mit der js8 Version. Ich überlege auch upgrade auf js12 zu machen, wie sieht es damit aus? Gibt es dazu auch eine Anleitung? Gibt es für NPM auch dann eine Notwendigkeit diese upzugraden?
                  Danke für jeden Hinweis!

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #393

                  @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                  wie sieht es damit aus? Gibt es dazu auch eine Anleitung?

                  Die Anleitung ist identisch, nur dass du die 10.x in dem Befehl gegen eine 12.x austauschen musst.

                  @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                  Gibt es für NPM auch dann eine Notwendigkeit diese upzugraden?

                  Das wird automatisch mit ugegradet

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  S 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @SolarGuido Hängt vom verwendeten System ab.
                    Grundsätzlich: Siehe den ersten Beitrag in diesem Thread.

                    S Offline
                    S Offline
                    SolarGuido
                    wrote on last edited by SolarGuido
                    #394

                    @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                    rwendeten System ab.

                    Orange Pi (image aus dem Forum) Also Debian

                    Thomas BraunT 1 Reply Last reply
                    0
                    • S SolarGuido

                      @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                      rwendeten System ab.

                      Orange Pi (image aus dem Forum) Also Debian

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #395

                      @SolarGuido Da läuft ein Linux drauf? Debian?

                      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

                      HomoranH 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @SolarGuido Da läuft ein Linux drauf? Debian?

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #396

                        @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                        Da läuft ein Linux drauf? Debian?

                        Armbian

                        kein Support per PN! - Fragen im Forum stellen -
                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        S 1 Reply Last reply
                        0
                        • HomoranH Homoran

                          @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                          wie sieht es damit aus? Gibt es dazu auch eine Anleitung?

                          Die Anleitung ist identisch, nur dass du die 10.x in dem Befehl gegen eine 12.x austauschen musst.

                          @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                          Gibt es für NPM auch dann eine Notwendigkeit diese upzugraden?

                          Das wird automatisch mit ugegradet

                          S Offline
                          S Offline
                          SolarGuido
                          wrote on last edited by
                          #397

                          @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                          ass du die 10.x in dem Befehl gegen eine 12.x austauschen mu

                          Ok, dann vielen Dank!

                          1 Reply Last reply
                          0
                          • HomoranH Homoran

                            @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                            Da läuft ein Linux drauf? Debian?

                            Armbian

                            S Offline
                            S Offline
                            SolarGuido
                            wrote on last edited by
                            #398

                            @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                            @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                            Da läuft ein Linux drauf? Debian?

                            Armbian

                            Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

                            Ich werde es probieren mache ne Ordner Sicherung vorher, da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse?

                            HomoranH 1 Reply Last reply
                            0
                            • S SolarGuido

                              @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                              @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                              Da läuft ein Linux drauf? Debian?

                              Armbian

                              Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

                              Ich werde es probieren mache ne Ordner Sicherung vorher, da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse?

                              HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #399

                              @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                              Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

                              Naja, ist ein für ARM Hardware optimiertes Debian.

                              kein Support per PN! - Fragen im Forum stellen -
                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              S 1 Reply Last reply
                              0
                              • HomoranH Homoran

                                @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

                                Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

                                Naja, ist ein für ARM Hardware optimiertes Debian.

                                S Offline
                                S Offline
                                SolarGuido
                                wrote on last edited by
                                #400

                                @Homoran

                                da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse??
                                Also nur das Verzeichnis sichern, damit wenn es schief läuft ich wieder auf Start komme, richtig?

                                HomoranH 1 Reply Last reply
                                0
                                • S SolarGuido

                                  @Homoran

                                  da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse??
                                  Also nur das Verzeichnis sichern, damit wenn es schief läuft ich wieder auf Start komme, richtig?

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #401

                                  @SolarGuido Nein, da wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

                                  Es betrifft ggf. mehr als ioB
                                  Aber Backup von ioB mit backitup ist immer eine gute Basis für einen neuanfang

                                  kein Support per PN! - Fragen im Forum stellen -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  S 2 Replies Last reply
                                  0
                                  • HomoranH Homoran

                                    @SolarGuido Nein, da wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

                                    Es betrifft ggf. mehr als ioB
                                    Aber Backup von ioB mit backitup ist immer eine gute Basis für einen neuanfang

                                    S Offline
                                    S Offline
                                    SolarGuido
                                    wrote on last edited by
                                    #402

                                    @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                                    wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

                                    ok, danke für die Auskunft

                                    1 Reply Last reply
                                    0
                                    • HomoranH Homoran

                                      @SolarGuido Nein, da wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

                                      Es betrifft ggf. mehr als ioB
                                      Aber Backup von ioB mit backitup ist immer eine gute Basis für einen neuanfang

                                      S Offline
                                      S Offline
                                      SolarGuido
                                      wrote on last edited by SolarGuido
                                      #403

                                      @Homoran

                                      ich habe es ja fast befürchtet:

                                      root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                      
                                      ## Installing the NodeSource Node.js 12.x repo...
                                      
                                      
                                      ## Populating apt-get cache...
                                      
                                      + apt-get update
                                      Ign:1 http://httpredir.debian.org/debian stretch InRelease
                                      OK:2 http://security.debian.org stretch/updates InRelease
                                      OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                      OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                      OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                      OK:6 http://httpredir.debian.org/debian stretch Release
                                      OK:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                      OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                      OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                      OK:8 https://apt.armbian.com stretch InRelease
                                      Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                      OK:12 https://download.webmin.com/download/repository sarge Release
                                      Paketlisten werden gelesen... Fertig
                                      
                                      ## Confirming "stretch" is supported...
                                      
                                      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
                                      
                                      ## Adding the NodeSource signing key to your keyring...
                                      
                                      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                      OK
                                      
                                      ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                      
                                      + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                                      + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                                      
                                      ## Running `apt-get update` for you...
                                      
                                      + apt-get update
                                      OK:1 http://security.debian.org stretch/updates InRelease
                                      Ign:2 http://httpredir.debian.org/debian stretch InRelease
                                      OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                      OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                      OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                      OK:6 http://httpredir.debian.org/debian stretch Release
                                      OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                      OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                      OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                      OK:7 https://apt.armbian.com stretch InRelease
                                      Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                      OK:12 https://download.webmin.com/download/repository sarge Release
                                      Paketlisten werden gelesen... Fertig
                                      
                                      ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                      ## You may also need development tools to build native addons:
                                           sudo apt-get install gcc g++ make
                                      ## To install the Yarn package manager, run:
                                           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                           echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                           sudo apt-get update && sudo apt-get install yarn
                                      
                                      
                                      root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      Die folgenden NEUEN Pakete werden installiert:
                                        nodejs
                                      0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      Es müssen noch 0 B von 15,9 MB an Archiven heruntergeladen werden.
                                      Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                                      Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                                      (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                                      Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                                      Entpacken von nodejs (12.16.2-1nodesource1) ...
                                      nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                                      Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                      root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                      v8.16.0
                                      
                                      

                                      ich hab auch :

                                      sudo apt-get --purge remove node
                                      
                                      sudo apt-get --purge remove nodejs
                                      
                                      sudo apt-get autoremove
                                      
                                      sudo reboot
                                      

                                      hat auch nix gebracht bringt immer wieder bei node -v die 8.16.0
                                      das komische, er sagt keine Installation gefunden...

                                      starte ich iobroker:

                                      Plattform: linux
                                      Betriebssystem: linux
                                      Die Architektur: arm
                                      CPUs: 4
                                      Geschwindigkeit: 1296 MHz
                                      Modell: ARMv7 Processor rev 5 (v7l)
                                      RAM: 1.9 GB
                                      System-Betriebszeit: 00:20:32
                                      Node.js: v8.16.0
                                      Datenträgergröße: 14.1 GiB
                                      Datenträger verfügbar: 7.2 GiB
                                      Adapter-Anzahl: 345
                                      NPM: v6.4.1
                                      Betriebszeit: 00:00:30
                                      Aktive Instanzen: 7 (war gerade am starten außer java braucht ja 10 minimum) läuft alles ...
                                      
                                      root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      nodejs ist schon die neueste Version (12.16.2-1nodesource1).
                                      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      
                                      root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                      v8.16.0
                                      root@ioBroker-OPiplus2e:/opt/iobroker# ^C
                                      root@ioBroker-OPiplus2e:/opt/iobroker# nodejs -v
                                      v12.16.2
                                      root@ioBroker-OPiplus2e:/opt/iobroker# npm -v
                                      6.4.1
                                      
                                      
                                      

                                      LoL

                                      eine Idee was ich machen kann?

                                      S 1 Reply Last reply
                                      0
                                      • S SolarGuido

                                        @Homoran

                                        ich habe es ja fast befürchtet:

                                        root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                        
                                        ## Installing the NodeSource Node.js 12.x repo...
                                        
                                        
                                        ## Populating apt-get cache...
                                        
                                        + apt-get update
                                        Ign:1 http://httpredir.debian.org/debian stretch InRelease
                                        OK:2 http://security.debian.org stretch/updates InRelease
                                        OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                        OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                        OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                        OK:6 http://httpredir.debian.org/debian stretch Release
                                        OK:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                        OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                        OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                        OK:8 https://apt.armbian.com stretch InRelease
                                        Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                        OK:12 https://download.webmin.com/download/repository sarge Release
                                        Paketlisten werden gelesen... Fertig
                                        
                                        ## Confirming "stretch" is supported...
                                        
                                        + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
                                        
                                        ## Adding the NodeSource signing key to your keyring...
                                        
                                        + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                        OK
                                        
                                        ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                        
                                        + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                                        + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                                        
                                        ## Running `apt-get update` for you...
                                        
                                        + apt-get update
                                        OK:1 http://security.debian.org stretch/updates InRelease
                                        Ign:2 http://httpredir.debian.org/debian stretch InRelease
                                        OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                        OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                        OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                        OK:6 http://httpredir.debian.org/debian stretch Release
                                        OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                        OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                        OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                        OK:7 https://apt.armbian.com stretch InRelease
                                        Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                        OK:12 https://download.webmin.com/download/repository sarge Release
                                        Paketlisten werden gelesen... Fertig
                                        
                                        ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                        ## You may also need development tools to build native addons:
                                             sudo apt-get install gcc g++ make
                                        ## To install the Yarn package manager, run:
                                             curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                             echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                             sudo apt-get update && sudo apt-get install yarn
                                        
                                        
                                        root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        Die folgenden NEUEN Pakete werden installiert:
                                          nodejs
                                        0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                        Es müssen noch 0 B von 15,9 MB an Archiven heruntergeladen werden.
                                        Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                                        Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                                        (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                                        Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                                        Entpacken von nodejs (12.16.2-1nodesource1) ...
                                        nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                                        Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                        root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                        v8.16.0
                                        
                                        

                                        ich hab auch :

                                        sudo apt-get --purge remove node
                                        
                                        sudo apt-get --purge remove nodejs
                                        
                                        sudo apt-get autoremove
                                        
                                        sudo reboot
                                        

                                        hat auch nix gebracht bringt immer wieder bei node -v die 8.16.0
                                        das komische, er sagt keine Installation gefunden...

                                        starte ich iobroker:

                                        Plattform: linux
                                        Betriebssystem: linux
                                        Die Architektur: arm
                                        CPUs: 4
                                        Geschwindigkeit: 1296 MHz
                                        Modell: ARMv7 Processor rev 5 (v7l)
                                        RAM: 1.9 GB
                                        System-Betriebszeit: 00:20:32
                                        Node.js: v8.16.0
                                        Datenträgergröße: 14.1 GiB
                                        Datenträger verfügbar: 7.2 GiB
                                        Adapter-Anzahl: 345
                                        NPM: v6.4.1
                                        Betriebszeit: 00:00:30
                                        Aktive Instanzen: 7 (war gerade am starten außer java braucht ja 10 minimum) läuft alles ...
                                        
                                        root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        nodejs ist schon die neueste Version (12.16.2-1nodesource1).
                                        0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                        
                                        root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                        v8.16.0
                                        root@ioBroker-OPiplus2e:/opt/iobroker# ^C
                                        root@ioBroker-OPiplus2e:/opt/iobroker# nodejs -v
                                        v12.16.2
                                        root@ioBroker-OPiplus2e:/opt/iobroker# npm -v
                                        6.4.1
                                        
                                        
                                        

                                        LoL

                                        eine Idee was ich machen kann?

                                        S Offline
                                        S Offline
                                        SolarGuido
                                        wrote on last edited by SolarGuido
                                        #404

                                        ich habs:

                                        To manually remove node js, npm and node_modules from Ubuntu, you need to do the following steps.
                                        
                                        First of all you need to run the following command from command terminal as sudo.
                                        sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules
                                        
                                        Remove node or node_modules directories from /usr/local/lib with the help of following command.
                                        sudo rm -rf /usr/local/lib/node*
                                        
                                        Remove node or node_modules directories from /usr/local/include with the help of following command.
                                        sudo rm -rf /usr/local/include/node*
                                        
                                        Remove any node file or dir from /usr/local/bin with the help of following command.
                                        sudo rm -rf /usr/local/bin/node*
                                        
                                        Go to home directory and remove any node or node_modules directory, if exists.
                                        Now it is done
                                        

                                        und danach neu starten (habe opt/iobroker sicherheitshalber kurz umbenannt beim Neustart)

                                        danach

                                        root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup                                                                                                                                                             _12.x | sudo -E bash -
                                        
                                        ## Installing the NodeSource Node.js 12.x repo...
                                        
                                        
                                        ## Populating apt-get cache...
                                        
                                        + apt-get update
                                        OK:1 http://security.debian.org stretch/updates InRelease
                                        Ign:2 http://httpredir.debian.org/debian stretch InRelease
                                        OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                        OK:4 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                        OK:5 http://httpredir.debian.org/debian stretch-backports InRelease
                                        OK:7 http://httpredir.debian.org/debian stretch Release
                                        OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                        OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                        OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                        OK:6 https://apt.armbian.com stretch InRelease
                                        Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                        OK:12 https://download.webmin.com/download/repository sarge Release
                                        Paketlisten werden gelesen... Fertig
                                        
                                        ## Confirming "stretch" is supported...
                                        
                                        + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Rel                                                                                                                                                             ease'
                                        
                                        ## Adding the NodeSource signing key to your keyring...
                                        
                                        + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                        OK
                                        
                                        ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                        
                                        + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/source                                                                                                                                                             s.list.d/nodesource.list
                                        + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/s                                                                                                                                                             ources.list.d/nodesource.list
                                        
                                        ## Running `apt-get update` for you...
                                        
                                        + apt-get update
                                        Ign:1 http://httpredir.debian.org/debian stretch InRelease
                                        OK:2 http://security.debian.org stretch/updates InRelease
                                        OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                        OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                        OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                        OK:7 http://httpredir.debian.org/debian stretch Release
                                        OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                        OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                        OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                        OK:6 https://apt.armbian.com stretch InRelease
                                        Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                        OK:12 https://download.webmin.com/download/repository sarge Release
                                        Paketlisten werden gelesen... Fertig
                                        
                                        ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                        ## You may also need development tools to build native addons:
                                             sudo apt-get install gcc g++ make
                                        ## To install the Yarn package manager, run:
                                             curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                             echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                                                                                             ources.list.d/yarn.list
                                             sudo apt-get update && sudo apt-get install yarn
                                        
                                        
                                        root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        Die folgenden NEUEN Pakete werden installiert:
                                          nodejs
                                        0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                        Es müssen noch 0 B von 15,9 MB an Archiven heruntergeladen werden.
                                        Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                                        Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                                        (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                                        Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                                        Entpacken von nodejs (12.16.2-1nodesource1) ...
                                        nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                                        Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                        root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                        v12.16.2
                                        
                                        

                                        hat geklappt.

                                        da NPM rebuild nicht lief hab ich dann "node reinstall.js" gestartet. In der Anleitung ist es nicht deutlich, habe es im Forum gefunden. Eventuell in der Anleitung erwähnen, nur ein Hinweis...
                                        Nur ist das auch auf Fehler ...

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • S SolarGuido

                                          ich habs:

                                          To manually remove node js, npm and node_modules from Ubuntu, you need to do the following steps.
                                          
                                          First of all you need to run the following command from command terminal as sudo.
                                          sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules
                                          
                                          Remove node or node_modules directories from /usr/local/lib with the help of following command.
                                          sudo rm -rf /usr/local/lib/node*
                                          
                                          Remove node or node_modules directories from /usr/local/include with the help of following command.
                                          sudo rm -rf /usr/local/include/node*
                                          
                                          Remove any node file or dir from /usr/local/bin with the help of following command.
                                          sudo rm -rf /usr/local/bin/node*
                                          
                                          Go to home directory and remove any node or node_modules directory, if exists.
                                          Now it is done
                                          

                                          und danach neu starten (habe opt/iobroker sicherheitshalber kurz umbenannt beim Neustart)

                                          danach

                                          root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup                                                                                                                                                             _12.x | sudo -E bash -
                                          
                                          ## Installing the NodeSource Node.js 12.x repo...
                                          
                                          
                                          ## Populating apt-get cache...
                                          
                                          + apt-get update
                                          OK:1 http://security.debian.org stretch/updates InRelease
                                          Ign:2 http://httpredir.debian.org/debian stretch InRelease
                                          OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                          OK:4 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                          OK:5 http://httpredir.debian.org/debian stretch-backports InRelease
                                          OK:7 http://httpredir.debian.org/debian stretch Release
                                          OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                          OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                          OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                          OK:6 https://apt.armbian.com stretch InRelease
                                          Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                          OK:12 https://download.webmin.com/download/repository sarge Release
                                          Paketlisten werden gelesen... Fertig
                                          
                                          ## Confirming "stretch" is supported...
                                          
                                          + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Rel                                                                                                                                                             ease'
                                          
                                          ## Adding the NodeSource signing key to your keyring...
                                          
                                          + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                          OK
                                          
                                          ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                          
                                          + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/source                                                                                                                                                             s.list.d/nodesource.list
                                          + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/s                                                                                                                                                             ources.list.d/nodesource.list
                                          
                                          ## Running `apt-get update` for you...
                                          
                                          + apt-get update
                                          Ign:1 http://httpredir.debian.org/debian stretch InRelease
                                          OK:2 http://security.debian.org stretch/updates InRelease
                                          OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                                          OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                                          OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                                          OK:7 http://httpredir.debian.org/debian stretch Release
                                          OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                                          OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                                          OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                                          OK:6 https://apt.armbian.com stretch InRelease
                                          Ign:11 https://download.webmin.com/download/repository sarge InRelease
                                          OK:12 https://download.webmin.com/download/repository sarge Release
                                          Paketlisten werden gelesen... Fertig
                                          
                                          ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                          ## You may also need development tools to build native addons:
                                               sudo apt-get install gcc g++ make
                                          ## To install the Yarn package manager, run:
                                               curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                               echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                                                                                             ources.list.d/yarn.list
                                               sudo apt-get update && sudo apt-get install yarn
                                          
                                          
                                          root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                                          Paketlisten werden gelesen... Fertig
                                          Abhängigkeitsbaum wird aufgebaut.
                                          Statusinformationen werden eingelesen.... Fertig
                                          Die folgenden NEUEN Pakete werden installiert:
                                            nodejs
                                          0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                          Es müssen noch 0 B von 15,9 MB an Archiven heruntergeladen werden.
                                          Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                                          Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                                          (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                                          Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                                          Entpacken von nodejs (12.16.2-1nodesource1) ...
                                          nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                                          Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                          root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                                          v12.16.2
                                          
                                          

                                          hat geklappt.

                                          da NPM rebuild nicht lief hab ich dann "node reinstall.js" gestartet. In der Anleitung ist es nicht deutlich, habe es im Forum gefunden. Eventuell in der Anleitung erwähnen, nur ein Hinweis...
                                          Nur ist das auch auf Fehler ...

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #405

                                          @SolarGuido Merkwürdige Zusammenstellung in den sources hast du... disco stretch sarge... Das passt hinten und vorne nicht zueinander.

                                          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 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          659

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe