Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussion zum HowTo nodejs-Installation und upgrade

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      knopers1 @Thomas Braun last edited by

      @thomas-braun

      also nehme ich eine neue Version ....?

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

        @knopers1

        Kann ich dir nicht sagen, ich weiß ja nicht was/ob du da Änderungen getätigt hast. Wenn nicht gilt halt vorheriges.

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

          @thomas-braun
          unter /etc/default/useradd

          habe ich so nie etwas geändert.. dann doch dann mit N weiter?

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

            @knopers1

            Nimm halt immer Y, dann hast du die letzte Version drin.

            K 1 Reply Last reply Reply Quote 1
            • K
              knopers1 @Thomas Braun last edited by

              @thomas-braun
              okay- läuft mit Y weiter ....

              K 1 Reply Last reply Reply Quote 0
              • K
                knopers1 @knopers1 last edited by

                sudo nano /etc/systemd/system/dhcpcd.service.d/wait.conf
                
                

                wurde von mir abgeändert

                [Service]
                ExecStart=
                ExecStart=/usr/sbin/dhcpcd -q -w
                
                jetzt bleibt nur ein reboot?
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @knopers1 last edited by

                  @knopers1

                  Ja.

                  K 1 Reply Last reply Reply Quote 1
                  • K
                    knopers1 @Thomas Braun last edited by

                    @thomas-braun

                    DANKE DIR 👍 ich würde dir gerne ein Bier ausgeben... Es läuft alles wie gewohnt!

                    hhh.PNG

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

                      @knopers1

                      sudo apt update
                      

                      sagt nun?

                      K 1 Reply Last reply Reply Quote 1
                      • K
                        knopers1 @Thomas Braun last edited by

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

                        sudo apt update

                        pi@raspberrypi:~ $ sudo apt update
                        OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        OK:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                        Holen:3 http://archive.raspberrypi.org/debian bullseye InRelease [23,6 kB]
                        Holen:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [311 kB]
                        Es wurden 334 kB in 1 s geholt (279 kB/s).
                        Paketlisten werden gelesen… Fertig
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        Alle Pakete sind aktuell.
                        pi@raspberrypi:~ $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @knopers1 last edited by

                          @knopers1

                          Alles klar, passt.

                          K 1 Reply Last reply Reply Quote 1
                          • K
                            knopers1 @Thomas Braun last edited by

                            @thomas-braun
                            besten Dank Thomas, ich hatte mit dem Upgrade echt lange gezögert, da ich Angst vor einem Ausfall hatte...

                            Danke nochmals für dein Ausdauer und deine Hilfe 👍

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

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

                              da ich Angst vor einem Ausfall hatte...

                              Wie eigentlich die Regel: Vollkommen unbegründet.

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

                                Nachdem nodejs Update auf meinem Slave Raspberry Zero nach Anleitung ist mir aufgefallen, dass beim Testen auf die aktuelle nodejs-Version diese Ausgabe kommt:

                                type -P nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs 
                                /usr/local/bin/nodejs
                                /usr/local/bin/node
                                /usr/local/bin/npm
                                v16.19.0
                                v16.19.0
                                8.19.3
                                nodejs:
                                  Installed: 12.22.12~dfsg-1~deb11u1
                                  Candidate: 12.22.12~dfsg-1~deb11u1
                                  Version table:
                                 *** 12.22.12~dfsg-1~deb11u1 500
                                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        100 /var/lib/dpkg/status
                                
                                

                                Ist das trotzdem OK?

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

                                  @holgerwolf

                                  Nein, falsch.

                                  Du hast das nodesource-Repository nicht angelegt und 16.19.0 am Paketmanager irgendwie vorbei in das System geklatscht.
                                  Mach es richtig, Anleitung in meiner Signatur.

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

                                    @thomas-braun Ich bin halt wie immer bei dem Zero nach dem *** SONDERFALL *** vorgegangen.

                                    Wie bekomme ich denn eine neuere Version hier rein:

                                    apt policy nodejs
                                    nodejs:
                                      Installed: 12.22.12~dfsg-1~deb11u1
                                      Candidate: 12.22.12~dfsg-1~deb11u1
                                      Version table:
                                     *** 12.22.12~dfsg-1~deb11u1 500
                                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            100 /var/lib/dpkg/status
                                    
                                    

                                    Komisch, die Probleme hatte ich früher nicht.

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

                                      @holgerwolf

                                      Ach Zero hatte ich überlesen. Das ist soweit ich weiß einer der Sonderfälle für ARMv6.

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

                                        @thomas-braun Ja, wegen dem Zero hatte ich das immer auf dem Weg über "Sonderfall" gemacht.

                                        Also erst alte Version gelöscht und neue dann händisch drauf kopiert. Jetzt bleibt die 12.x aber immer in der policy sichtbar. Ggf funzt da nicht mehr der manuelle Weg 😞

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

                                          @holgerwolf Das die Version 12 in der Auslage liegt ist normal. Sie darf nur nicht installiert sein.

                                          cd ~
                                          sudo apt remove nodejs node-* npm
                                          
                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            holgerwolf @Thomas Braun last edited by

                                            @thomas-braun So besser?

                                            type -P nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs 
                                            /usr/local/bin/nodejs
                                            /usr/local/bin/node
                                            /usr/local/bin/npm
                                            v16.19.0
                                            v16.19.0
                                            8.19.3
                                            nodejs:
                                              Installed: (none)
                                              Candidate: 12.22.12~dfsg-1~deb11u1
                                              Version table:
                                                 12.22.12~dfsg-1~deb11u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            
                                            

                                            Keine Ahnung wie das 12.22 drauf kam.

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

                                            673
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            170261
                                            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