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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • Homoran
      Homoran Global Moderator Administrators @Michael ÜB last edited by Homoran

      @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

      Raspbian GNU/Linux 11 (bullseye)

      alt

      @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

      ioBroker Core: js-controller 4.0.24

      veraltet

      weitere Schreckensnachrichten wird wohl die Langfassung ans Tageslicht bringen

      1 Reply Last reply Reply Quote 0
      • Michael ÜB
        Michael ÜB @Thomas Braun last edited by

        @thomas-braun
        OK, ist halt jetzt schon sehr lang, sehr stabil gelaufen, warum also was ändern...
        Bis man neue Funktionen benutzen möchte. Na gut ich mach mich mal an die Arbeit..

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Michael ÜB last edited by

          @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

          OK, ist halt jetzt schon sehr lang, sehr stabil gelaufen, warum also was ändern...

          Weil man die Kiste GRUNSDÄTZLICH IMMER AKTUELL HÄLT!!

          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Michael ÜB last edited by

            @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

            Na gut ich mach mich mal an die Arbeit..

            Kannste gleich neuinstallieren. Dann in der aktuellen 64Bit-Lite-Version.

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

              @thomas-braun ob sich aber ein Backup mit controller v4 in eine Neuinstallation mit v6 einlesen lässt ???

              @michael-üb
              je größer due Sprünge, desto schwieriger bis unmöglich wird ein Update

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

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

                ob sich aber ein Backup mit controller v4 in eine Neuinstallation mit v6 einlesen lässt ???

                Nö. Den ganzen Summs natürlich zuvor auf Stand bringen. Und dann damit in den Neubau umziehen.

                Michael ÜB 1 Reply Last reply Reply Quote 0
                • Michael ÜB
                  Michael ÜB @Thomas Braun last edited by

                  @thomas-braun
                  Besten Dank schon mal.
                  Hab erstmal das "alte" Bullseye auf Stand gebracht.
                  Bis auf Grafana, da kümmern ich mich später, sehe da keinen direkten Zusammenhang zum iobroker.
                  iobroker läuft soweit, mit aktuellem npm und node.
                  Aber was muss ich denn tun, damit ich meine iobroker Backups dann in der Controller Version 6 nutzen kann.
                  Wenn ich es richtig verstehe, besteht die Gefahr das ich nach update auf js-controller 6.0.xx meine backups nicht mehr lesen kann.

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

                    @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                    Bis auf Grafana, da kümmern ich mich später, sehe da keinen direkten Zusammenhang zum iobroker.

                    Nee, du sieht ja offenbar eh keine Zusammenhänge was wichtige Updates angeht...
                    Bring das ganze Konstrukt auf einen konsistenten Stand, das gilt auch für Grafana.
                    Mach einen separaten Thread auf und poste da die Langfassung von

                    iob diag
                    

                    rein.

                    Michael ÜB 1 Reply Last reply Reply Quote 0
                    • Michael ÜB
                      Michael ÜB @Thomas Braun last edited by

                      @thomas-braun
                      Oh doch, die Zusammenhänge sehe ich, sonst hätte ich ja keine Backups....
                      Ich kümmer mich dann mal um grafana.....

                      ...und bitte nicht böse sein, es gibt halt Menschen die fahren lieber Motorrad und machen sich in der Werkstatt die Finger an Drehbank und alten Motoren schmutzig, wenn du mal was in die Richtung brauchst helfe ich auch gerne.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Michael ÜB last edited by

                        @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                        Oh doch, die Zusammenhänge sehe ich, sonst hätte ich ja keine Backups....

                        Dann hättest du aber keine 311 Updates beim OS und 14 beim ioBroker verpennt. Das Mopped hat also akuten Wartungsstau.

                        Michael ÜB 1 Reply Last reply Reply Quote 0
                        • Michael ÜB
                          Michael ÜB @Thomas Braun last edited by

                          @thomas-braun
                          So, alles wieder im Lot.
                          Danke hier und an chatgpt 😉

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Michael ÜB last edited by Thomas Braun

                            @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                            chatgpt

                            Was hat dir das denn geflüstert?

                            iob diag
                            

                            flüstert dir?

                            Michael ÜB 1 Reply Last reply Reply Quote 0
                            • Michael ÜB
                              Michael ÜB @Thomas Braun last edited by

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

                              @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              chatgpt

                              Was hat dir das denn geflüstert?

                              iob diag
                              

                              flüstert dir?

                              chatgpt hat mir verraten, wie ich die Grafen Installation sauber ziehe.
                              Ich habs erstmal bei bullseye belassen, hochziehen mit allem Gedöns ist wohl etwas aufwändiger.

                              ======================= SUMMARY =======================
                              			v.2024-05-22
                              
                              
                                 Static hostname: michisraspi
                                       Icon name: computer
                                Operating System: Raspbian GNU/Linux 11 (bullseye)
                                          Kernel: Linux 6.1.21-v8+
                                    Architecture: arm64
                              
                              Installation: 		native
                              Kernel: 		aarch64
                              Userland: 		32 bit
                              Timezone: 		Europe/Berlin (CEST, +0200)
                              User-ID: 		1000
                              Display-Server: 	false
                              Boot Target: 		multi-user.target
                              
                              Pending OS-Updates: 	0
                              Pending iob updates: 	5
                              
                              Nodejs-Installation:
                              /usr/bin/nodejs 	v20.17.0
                              /usr/bin/node 		v20.17.0
                              /usr/bin/npm 		10.8.2
                              /usr/bin/npx 		10.8.2
                              /usr/bin/corepack 	0.29.3
                              
                              Recommended versions are nodejs 20.17.0 and npm 10.8.2
                              Your nodejs installation is correct
                              
                              MEMORY: 
                                             total        used        free      shared  buff/cache   available
                              Mem:            1.8G        1.0G        184M        0.0K        657M        843M
                              Swap:            99M        6.0M         93M
                              Total:          1.9G        1.0G        278M
                              
                              Active iob-Instances: 	13
                              Upgrade policy: none
                              
                              ioBroker Core: 		js-controller 		6.0.11
                              			admin 			7.0.23
                              
                              ioBroker Status: 	iobroker is running on this host.
                              
                              
                              Objects type: jsonl
                              States  type: jsonl
                              
                              Status admin and web instance:
                              + system.adapter.admin.0                  : admin                 : michisraspi                              -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                              + system.adapter.web.0                    : web                   : michisraspi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                              
                              Objects: 		2111
                              States: 		1842
                              
                              Size of iob-Database:
                              
                              17M	/opt/iobroker/iobroker-data/objects.jsonl
                              1.2M	/opt/iobroker/iobroker-data/states.jsonl
                              
                              
                              
                              =================== END OF SUMMARY ====================
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Michael ÜB last edited by

                                @michael-üb sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                hochziehen mit allem Gedöns

                                Hochziehen von Bullseye auf Bookworm funktioniert für Raspberry OS auch nicht. Also ist das nicht aufwändiger als eine komplette Neuinstallation. Mit Backup ist das in kurzer Zeit erledigt.

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  final @Thomas Braun last edited by final

                                  @thomas-braun

                                  Moin.
                                  Ich habe in der Weboberfläche das node.js Update angeklickt. Was auch immer mich geritten hat ...?
                                  Jetzt dreht sich im Dialogfenster dazu dauerhaft ein blauer Kreis seit geraumer Zeit. Muss ich mir Sorgen machen?

                                  2024-09-26 09_36_49-intro - raspberrypi5.png

                                  EDIT: läuft immer noch. Kann ich das irgendwie abbrechen?

                                  EDIT 2: so, ich hab grad mal die Website reloaded. Danach war das Dialogfenster weg. node.js und npm sind aktuell nun - gehangen hat es anscheindend, weil iob source analytix installieren wollte, was nicht funktioniert hat (ich hatte SA auf dem alten RPi drauf, es aber nach dem Umstieg auf den Rpi5 (noch) nicht wieder installiert)
                                  Von daher scheint erstmal alles wieder ok zu sein.

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

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

                                    Von daher scheint erstmal alles wieder ok zu sein.

                                    Schau mittels

                                    iob nodejs-update
                                    

                                    über die Kommandozeile nach. Das ist ohnehin robuster als GUI-Geraffel.

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      ChefkochTS last edited by Negalein

                                      Re: Diskussion zum HowTo nodejs-Installation und upgrade

                                      Ich habe das update mit iob nodejs-update probiert und bekomme folgende Meldung:

                                      chefkochts@iobroker:~$ iob nodejs-update
                                      bash: /home/iobroker/.nodejs-update.sh: Permission denied
                                      

                                      Ich wollte von 18.20.4 auf 20.18.0 kommen.
                                      Was muss ich tun das es funktioniert?
                                      Gruß
                                      Thorsten


                                      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                                      Hier gehts zur Hilfe.

                                      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @ChefkochTS last edited by

                                        @chefkochts

                                        sudo chmod 750 /home/iobroker
                                        

                                        Dann nochmal versuchen

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

                                          @chefkochts bitte aussagekräftigen Threadtitel und code-tags verwenden.

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            ChefkochTS @Thomas Braun last edited by

                                            @thomas-braun hat nichts gebracht

                                            chefkochts@iobroker:~$ sudo chmod 750 /home/iobroker
                                            chefkochts@iobroker:~$ iob nodejs-update
                                            bash: /home/iobroker/.nodejs-update.sh: Permission denied

                                            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

                                            656
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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