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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [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

      Wie gesagt, lies das HowTo aus meiner Signatur, da wird das etwas anders gemacht. Per edit der nodesource.list.

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

        @thomas-braun
        Ok. Ab Teil 1.1
        Werde mir das mal durchlesen.
        Hoffe ich verstehe das:)

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            443
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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