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 ioBroker richtig updaten-2021/22 Edition

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @andre105

      Ja, ab 1.1
      Grundsätzlich scheint ja node12 schon von nodesource zu kommen. Dann kann man die Datei auch ganz einfach anpassen.

      A 1 Reply Last reply Reply Quote 0
      • A
        Andre105 @Thomas Braun last edited by

        @thomas-braun
        Wollte von 12 auf 14 updaten.
        Mal schauen ob ich da durch steige,wenn nicht las ich lieber noch V12 drauf.

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

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

          Mal schauen ob ich da durch steige

          Sollte man. Da haben sich schon diverse andere 'durchgekämpft'.

          A 1 Reply Last reply Reply Quote 0
          • A
            Andre105 @Thomas Braun last edited by

            @thomas-braun
            Ok,ich versuchs mal.

            Als erstes

            iobroker stop
            

            dann..

            sudo nano /etc/apt/sources.list.d/nodesource.list
            
            

            danach..

            #node 14
            deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
            deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
            
            

            zum Schluss..

            sudo apt update
            sudo apt upgrade
            

            Danach ioBroker wieder starten.

            Wäre das der Weg?

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

              @andre105

              Im wesentlichen. Stand das nicht so drin?

              A 1 Reply Last reply Reply Quote 0
              • A
                Andre105 @Thomas Braun last edited by

                @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                Stand das nicht so drin?

                Ja. Wollte nur mal nachfragen.
                Weil da noch was mit Node 12 stand.
                Ist halt alles noch Neuland für mich.

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

                  @andre105

                  Ja, man kann verschiedene Quellen gleichzeitig drin haben. Dann könnte man flugs auf eine Version 12 zurück hüpfen.

                  Ich hab das bei mir z. B. so eingestellt, dass ich aus 5 Quellen schöpfen kann:

                  echad@chet:~ $ apt policy nodejs
                  nodejs:
                    Installed: 17.2.0-deb-1nodesource1
                    Candidate: 17.2.0-deb-1nodesource1
                    Version table:
                   *** 17.2.0-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_17.x bullseye/main arm64 Packages
                          100 /var/lib/dpkg/status
                       16.13.1-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                       14.18.2-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
                       12.22.7-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x bullseye/main arm64 Packages
                       12.22.5~dfsg-2~11u1 500
                          500 http://deb.debian.org/debian bullseye/main arm64 Packages
                          500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                  

                  Aber bitte bei den empfohlenen Versionen bleiben, z. Zt. is das die node_14.
                  Ich hab die anderen Versionen bei mir für Testzwecke drin.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Andre105 @Thomas Braun last edited by

                    @thomas-braun
                    Und wie kann ich damit die 14er installieren?

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

                      @andre105
                      Du hast doch die 14er-Quelle jetzt angelegt.
                      Das geht jetzt mit dem üblichen Systemupdate:

                      iobroker stop
                      sudo apt update
                      sudo apt dist-upgrade
                      sudo reboot
                      
                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Andre105 @Thomas Braun last edited by Andre105

                        @thomas-braun
                        Habe den Befehl eingegeben,dan kam das.

                        sudo nano /etc/apt/sources.list.d/nodesource.list
                        
                        andre105@iobroker:~$ iobroker stop
                        andre105@iobroker:~$ sudo nano /etc/apt/sources.list.d/nodesource.list
                        [sudo] Passwort für andre105:
                          GNU nano 5.4                           /etc/apt/sources.list.d/nodesource.list
                        deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bullseye main
                        deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bullseye main
                        
                        

                        Was oll ich jetzt machen?
                        Steht nichts da von 14er Version.

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

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

                          Steht nichts da von 14er Version.

                          Ja eben. Das sollst du ja ändern.
                          Aus node_12.x machst du jetzt node_14.x

                          1 Reply Last reply Reply Quote 0
                          • Meister Mopper
                            Meister Mopper last edited by

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

                            Steht nichts da von 14er Version.

                            Du sollst es ja dort ändern, also aus der 12 eine 14 machen.

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Andre105 @Meister Mopper last edited by

                              @meister-mopper
                              Hab ich gemacht.

                              deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
                              deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
                              
                              
                              ^G Hilfe        ^O Speichern    ^W Wo ist       ^K Ausschneiden ^T Ausführen    ^C Position     M-U Rückgängig
                              ^X Beenden      ^R Datei öffnen ^\ Ersetzen     ^U Einfügen     ^J Ausrichten   ^_ Zu Zeile     M-E Wiederholen
                              
                              

                              Was muss ich jetzt drücken?

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

                                @andre105
                                Bisschen Hirn könntest aber auch mal einschalten 😉
                                Natürlich speichern und dann das System Update anstoßen.

                                Speichern mit Strg und O, wie es unten schon vorgeschlagen wird

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

                                  @jan1 strg x tuts auch, wird ja gefragt ob gespeichert werden soll. bestätigen, fertig.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Andre105 last edited by

                                    Er hat die Version upgedatet.
                                    Kann aber den ioBroker nicht mehr erreichen.
                                    Hab schon 2mal neugestartet.

                                    917d4a53-c8b9-45d6-b7e6-53ec24de13b9-image.png

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

                                      @andre105
                                      VNC????
                                      Du hast ein Desktop installiert und greifst damit auf den IOBroker zu?

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Andre105 @Jan1 last edited by Andre105

                                        @jan1
                                        Habe eine NUC mit Proxmox und Debian.
                                        Dort ioBroker
                                        Auf meine Vis kann ich noch zugreifen.
                                        Aber ich komm nicht auf den ioBroker

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

                                          @andre105 Wird jetzt OT für das Thema
                                          how-to-node-js-für-iobroker-richtig-updaten

                                          Bitte bei Bedarf einen eigenen Thread öffnen.

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

                                            *** Edit: Problem gelöst nach Update des Betriebssystems ***

                                            Ich habe Probleme beim Update.

                                            Aktuell ist installiert 12.22.8 unter Debian buster.

                                            Der Befehl zum Installieren der Sourcen bringt folgende Ausgabe:

                                            user@ioBroker:/$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                                            
                                            ## Installing the NodeSource Node.js 14.x repo...
                                            
                                            
                                            ## Populating apt-get cache...
                                            
                                            + apt-get update
                                            Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
                                            Get:2 http://ftp.debian.org/debian buster InRelease [122 kB]                                  
                                            Get:3 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]                         
                                            Hit:4 https://deb.nodesource.com/node_12.x buster InRelease     
                                            Reading package lists... Done                                   
                                            E: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
                                            N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                            N: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Version' value from '10.7' to '10.11'
                                            E: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
                                            N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                            E: Repository 'http://ftp.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
                                            N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                            Error executing command, exiting
                                            

                                            Entsprechend ist dann das Ergebnis des Installationsversuchs:

                                            user@ioBroker:/$ sudo apt install -y nodejs
                                            Reading package lists... Done
                                            Building dependency tree       
                                            Reading state information... Done
                                            nodejs is already the newest version (12.22.8-deb-1nodesource1).
                                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                            

                                            Es bleibt bei Version 12.x

                                            *** Edit: Problem gelöst nach Update des Betriebssystems ***

                                            Thomas Braun 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            512
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            298040
                                            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