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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Diskussion zum HowTo nodejs-Installation und upgrade

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

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

      Verstanden habe ich es aber nicht, da die Pfade ja scheinbar richtig waren und frühere Updates immer funktioniert haben.

      Der Aufbau der Paketquelle hat sich geändert und daher muss entsprechend in deinem System auch einiges umgestellt werden. Neue Versionen von nodejs kommen nur noch über das neue Repository.

      Das node-fix-Skript nimmt dir das weitgehend ab.

      J 1 Reply Last reply Reply Quote 0
      • J
        Jack01 @Thomas Braun last edited by

        @thomas-braun OK, Danke.
        Ist das so dann OK für künftige Updates oder muß ich jetzt noch etwas manuell anpassen?

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

          @jack01

          Künftige Updates laufen jetzt wieder wie gehabt über den üblichen

          sudo apt update
          sudo apt full-upgrade
          

          Weg mit.

          J 1 Reply Last reply Reply Quote 1
          • J
            Jack01 @Thomas Braun last edited by

            @thomas-braun Na das ist ja ein cooles Script. Kannte ich noch garnicht.

            ======================= SUMMARY =======================
                                 v.2023-06-20
            
            
               Static hostname: raspberrypi
                     Icon name: computer
                    Machine ID: 620e922bf61543a9808841485d366ecc
                       Boot ID: 14db67d510ce44cea2db1fdd81b8c10d
              Operating System: Debian GNU/Linux 11 (bullseye)
                        Kernel: Linux 6.1.21-v8+
                  Architecture: arm64
            
            Installation:           native
            Kernel:                 aarch64
            Userland:               arm64
            Timezone:               Europe/Berlin (CEST, +0200)
            User-ID:                1000
            X-Server:               false
            Boot Target:            multi-user.target
            
            Pending OS-Updates:     0
            Pending iob updates:    0
            
            Nodejs-Installation:    /usr/bin/nodejs         v18.18.0
                                    /usr/bin/node           v18.18.0
                                    /usr/bin/npm            9.8.1
                                    /usr/bin/npx            9.8.1
            
            Recommended versions are nodejs 18.x.y and npm 9.x.y
            Your nodejs installation is correct
            
            MEMORY:
                           total        used        free      shared  buff/cache   available
            Mem:            3.8G        1.9G        142M        0.0K        1.7G        1.8G
            Swap:            99M         26M         73M
            Total:          3.9G        1.9G        216M
            
            Active iob-Instances:   25
            Active repo(s): stable
            
            ioBroker Core:          js-controller           5.0.12
                                    admin                   6.10.1
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: redis
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            Objects:                9583
            States:                 8935
            
            Size of iob-Database:
            
            16M     /opt/iobroker/iobroker-data/objects.jsonl
            1.8M    /opt/iobroker/iobroker-data/states.jsonl
            
            
            
            =================== END OF SUMMARY ====================
            
            1 Reply Last reply Reply Quote 0
            • L
              LJSven last edited by

              Ich bekomme auf meinem Tinkerboard nodejs 16 nicht installiert. Es kommt immer diese Meldung

              Get:1 https://deb.nodesource.com/node_16.x stretch/main armhf nodejs armhf 16.20.2-1nodesource1 [24.2 MB]
              Err:1 https://deb.nodesource.com/node_16.x stretch/main armhf nodejs armhf 16.20.2-1nodesource1
                Writing more data than expected (24245194 > 24241614)
                Hashes of expected file:
              

              Was muss ich machen? Ratlos

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @LJSven last edited by

                @ljsven

                1. Stretch ist tot
                2. Node 16 ist alt und 18 empfohlen

                Somit erstmal das OS auf der Kiste auf den aktuellen Stand bringen, der Rest sollte dann automatisch laufen

                L 1 Reply Last reply Reply Quote 0
                • L
                  LJSven @Jan1 last edited by

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

                  @ljsven

                  1. Stretch ist tot
                  2. Node 16 ist alt und 18 empfohlen

                  Somit erstmal das OS auf der Kiste auf den aktuellen Stand bringen, der Rest sollte dann automatisch laufen

                  Welches Image soll ich installieren? Hast du einen Link?

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @LJSven last edited by Jan1

                    @ljsven
                    Ich habe kein Tinkerboard und natürlich ein aktuelles Image 😉
                    Wobei Image??? kann man das Ding nicht manuell einrichten?

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LJSven @Jan1 last edited by

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

                      @ljsven
                      Ich habe kein Tinkerboard und natürlich ein aktuelles Image 😉
                      Wobei Image??? kann man das Ding nicht manuell einrichten?

                      Ich meinte eher das passende OS für die Kiste. Ich war der Meinung, dass ich das aktuelle habe

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jan1 @LJSven last edited by

                        @ljsven
                        Du hast mit Stretch Debian 9 am Start und aktuell wäre Bookworm Debian 12. Also 3 Versionen über deinem, vermeintlich aktuellen Strech 🙂

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LJSven @Jan1 last edited by

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

                          @ljsven
                          Du hast mit Stretch Debian 9 am Start und aktuell wäre Bookworm Debian 12. Also 3 Versionen über deinem, vermeintlich aktuellen Strech 🙂

                          Verstehe ich ja… aber ich weiß nicht, welches Image ich genau brauche. Das ist meine Kiste ->

                          IMG_5205.jpeg

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @LJSven last edited by Jan1

                            @ljsven
                            soll ich mich jetzt einlesen?

                            So wie es aussieht, gibts für das Ding nix aktuelles, somit dürfte dann mal neue HW anstehen, da das sonst eh nur ne Notlösung wird.
                            Edit:
                            Haben die Dinger wirklich nur 2GB RAM? Wenn ja, das ist eh zu wenig. Mindestens 4GB und das reicht oft nur bedingt.

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Jan1 last edited by Homoran

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

                              So wie es aussieht, gibts für das Ding nix aktuelles

                              quak!
                              reicht bookworm?

                              dl.armbian.com leitet auf diverse Server um, dort Tinkerboard und archive. bookworm minimal ist auch dabei
                              Screenshot_20231001-092200_Firefox.jpg

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jan1 @Homoran last edited by

                                @homoran
                                Meine erste Frage an Google hat mich auf die Asus Seite gebracht und da gibts nix außer Strech, somit bin ich mit meinem Quark hier eh raus.

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Jan1 last edited by

                                  @jan1 google dumm ist!
                                  bei ARM SBC sollte Armbian immer die erste Anlaufstelle sein.
                                  Da läuft bei mir seit Cubietruck alles mit.

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    LJSven @Homoran last edited by

                                    @homoran Danke Euch! Wie logge ich mich ein? Finde User und PW nicht … Sonntag morgen

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @LJSven last edited by Homoran

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

                                      Wie logge ich mich ein?

                                      bei der erstinstallation?

                                      müsste root und 1234 sein, musst du dann aber ändern!

                                      siehe armbian.com
                                      Screenshot_20231001-101956_Firefox.jpg

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        LJSven @Homoran last edited by

                                        @homoran DANKE EUCH!!!

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Mika 0 last edited by

                                          Hallo, da ich mir schon einmal mein System komplett zerschossen habe frage ich besser vorher nach.
                                          Mein System hatte das angezeigt:

                                          Node.js
                                          v18.16.1 (Es gibt eine neuere Version: v18.18.0)
                                          

                                          habe dann nach Anleitung das Update durchgeführt.
                                          Jetzt steht aber nur das da:

                                          Node.js
                                          v18.17.1 (Es gibt eine neuere Version: v18.18.0)
                                          

                                          Ich bewege mich doch innerhalb der Version oder? -->

                                          Node-Update:
                                          Wenn bereits eine Version von nodejs über den obigen Weg installiert wurde kann man Updates innerhalb der jeweiligen Version von nodejs mit

                                          iobroker stop
                                          sudo apt update
                                          sudo apt upgrade
                                          iobroker fix
                                          iobroker start
                                          & ein reboot
                                          

                                          Ergebnis nach nochmaligem Durchführen des Upgrades:

                                          pi@Pi400:~ $ nodejs
                                          Welcome to Node.js v18.17.1.
                                          Type ".help" for more information.
                                          

                                          Kann mir jemand bitte helfen. Danke

                                          S Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • S
                                            Siggi0904 @Mika 0 last edited by

                                            @mika-0 https://forum.iobroker.net/topic/68035/iob-node-fix-skript

                                            crunchip M 2 Replies 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

                                            333
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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