Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      Unbekannt last edited by

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

      nodejs -v && which nodejs && node -v && which node && npm -v && which npm && apt policy nodejs

      
      v12.18.0
      /usr/bin/nodejs
      v12.18.0
      /usr/bin/node
      6.14.4
      /usr/bin/npm
      nodejs:
        Installiert:           12.18.0-1nodesource1
        Installationskandidat: 12.18.0-1nodesource1
        Versionstabelle:
       *** 12.18.0-1nodesource1 500
              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.19.0~dfsg1-1+rpi1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      

      Sieht soweit gut aus denke ich. Danke auch für deine Erklärungen 🙂

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

        @Unbekannt
        Ja, schaut gut aus.

        1 Reply Last reply Reply Quote 0
        • T
          toki1973 last edited by

          Hallo, ich bekomme einen Zertifikats Fehler beim Update-Versuch aus einer Proxmox VM heraus.

          + apt-get update
          OK:1 http://deb.debian.org/debian buster InRelease
          OK:2 http://security.debian.org/debian-security buster/updates InRelease
          Holen:3 http://deb.debian.org/debian buster-updates InRelease [51,9 kB]
          Holen:4 http://download.proxmox.com/debian/pve stretch InRelease [3.052 B]
          OK:5 https://deb.nodesource.com/node_10.x buster InRelease
          Fehl:4 http://download.proxmox.com/debian/pve stretch InRelease
            Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 0D9A1950E2EF0603
          Paketlisten werden gelesen... Fertig
          W: GPG-Fehler: http://download.proxmox.com/debian/pve stretch InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 0D9A1950E2EF0603
          E: Das Depot »http://download.proxmox.com/debian/pve stretch InRelease« ist nicht signiert.
          N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
          N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
          Error executing command, exiting
          root@iobrokernuc:/opt/iobroker# curl -sL https://deb.nodesource.com/setup_12.x | sudo -
          sudo: -: Befehl nicht gefunden
          root@iobrokernuc:/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...
          
          
          
          
          harrym Thomas Braun 2 Replies Last reply Reply Quote 0
          • harrym
            harrym @toki1973 last edited by

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

            NO_PUBKEY 0D9A1950E2EF0603

            na dann füg doch den key von proxmox hinzu. steht ja alles im howto vom install für proxmox ....

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

              @toki1973
              Ich vemute mal ganz stark, dass 'stretch' ohnehin die falsche Quelle ist.
              Ohne proxmox genauer zu kennen. Aber da sollte imho 'buster' oder 'stable' in der entsprechenden sources.list stehen.
              Key musst du dann noch hinzufügen, steht bestimmt in der Nähe der richtigen Quelle.

              harrym T 2 Replies Last reply Reply Quote 0
              • harrym
                harrym @Thomas Braun last edited by

                @Thomas-Braun 🙂

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

                  @Thomas-Braun
                  SMP Debian 4.19.98-1 (2020-01-26) x86_64

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

                    @toki1973

                    lsb_release -a
                    

                    Aber würde mich wundern, wenn da nicht 'buster' bei herum käme.
                    Das ganze ist aber ziemlich OT in diesem Thread. Mit nodejs hat das nix zu tun.

                    1 Reply Last reply Reply Quote 1
                    • T
                      toki1973 last edited by

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

                      lsb_release -a
                      Ja genau Buster. Und wie kann ich das nun Updaten? Ich bin der Anleitung von #1 gefolgt

                      No LSB modules are available.
                      Distributor ID: Debian
                      Description:    Debian GNU/Linux 10 (buster)
                      Release:        10
                      Codename:       buster
                      
                      
                      harrym 1 Reply Last reply Reply Quote 0
                      • harrym
                        harrym @toki1973 last edited by harrym

                        @toki1973 https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster 😉

                        und ich empfehle auch immer die iso von proxmox zu nehmen .... ^_^ ... ist für anfänger streßfrei.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          toki1973 @harrym last edited by

                          @harrym
                          Das würde bedeuten alles neu zu installieren anstatt nur node.js upzudaten?
                          Habe ich eigentlich nicht vor...

                          harrym Thomas Braun 2 Replies Last reply Reply Quote 0
                          • harrym
                            harrym @toki1973 last edited by harrym

                            @toki1973 bring deine apt source auf den richtigen stand .... mach den pubkey deinem system bekannt .... und lies im proxmox wiki. HAT alles genau NIX mit node.js zu tun.

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

                              @toki1973
                              Nee du musst nur den Eintrag 'stretch' auf 'buster' in der
                              /etc/apt/sources.list.d/pve-install-repo.list
                              ändern.
                              Dann

                              wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
                              

                              Und dann

                              sudo apt update
                              sudo apt dist-upgrade
                              
                              T 1 Reply Last reply Reply Quote 0
                              • T
                                toki1973 @Thomas Braun last edited by

                                @Thomas-Braun
                                Hört sich schon besser an. Und dabei kann ich nichts abschießen?

                                1. in der Datei stretch auf buster ändern

                                Bekomme ich beim 2. Punkt eine neu Proxmox Release in der node-js in Version 12 enthalten ist?

                                werden im 3. Punkt die sourcen installiert?

                                harrym Thomas Braun 2 Replies Last reply Reply Quote 0
                                • harrym
                                  harrym @toki1973 last edited by

                                  @toki1973 was hat proxmox mit node.js zu tun?

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

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

                                    @Thomas-Braun
                                    Hört sich schon besser an. Und dabei kann ich nichts abschießen?

                                    1. in der Datei stretch auf buster ändern

                                    Bekomme ich beim 2. Punkt eine neu Proxmox Release in der node-js in Version 12 enthalten ist?

                                    werden im 3. Punkt die sourcen installiert?

                                    Irgendwie recht wirr...
                                    Nee, du korrigierst nur deine verfummelten sources.lists und dann ziehst du das ganze System hoch. Mit proxmox hat das zunächst mal nix zu tun.

                                    1 Reply Last reply Reply Quote 0
                                    • harrym
                                      harrym last edited by

                                      in DEINER VM musste dann es node aktualisieren oder was auch immer ......

                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @harrym last edited by

                                        @All

                                        [HowTo] Nodejs-Installation und Upgrades unter Debian

                                        von @Thomas-Braun

                                        1 Reply Last reply Reply Quote 0
                                        • MathiasJ
                                          MathiasJ last edited by MathiasJ

                                          Hi zusammen,
                                          ich wollte gerade auf das neueste Node/Nodejs updaten,
                                          sobald ich

                                          sudo apt-get update && sudo apt-get upgrade
                                          

                                          mache, ist der Raspberry nicht mehr erreichbar.
                                          Das gilt im übrigen auch, wenn ich IObrokjer neu aufsetzen will.
                                          das eigenartige daran, beim PI3 B+ (Slave) gehts, beim PI4 (Master) gibt's die Probleme.

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

                                            @MathiasJ Zweite Konsole mitlaufen lassen und dann mit

                                            tail -f /var/log/messages
                                            

                                            schauen was da passiert.

                                            MathiasJ 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            951
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            628619
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo