Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob node fix - Skript

    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

    iob node fix - Skript

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

      @thomas-braun sagte in iob node fix - Skript:

      sagt?

      Mit apt hat es sich jetzt aktualisieren lassen, vorher wurden keine Updates gefunden.

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

        @firebowl

        Und wenn die vollständige Ausgabe gepostet wäre könnte man vielleicht auch mehr als 'Tja, ist dann halt so, warum auch immer' dazu sagen.

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

          @thomas-braun vom apt? Sorry, hab nicht gedacht das Du davon den Output wolltest.

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

            @firebowl

            sudo apt full-upgrade
            sagt?

            Musst du natürlich weitersagen, ich kann dir nicht über die Schulter schauen.

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

              @firebowl sagte in iob node fix - Skript:

              @thomas-braun vom apt? Sorry, hab nicht gedacht das Du davon den Output wolltest.

              immer alles zeigen!

              https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

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

                Ich habe eben eine nagelneue Installation aufgesetzt.
                Direkt danach den node-fixer drüber gejagt damit die neuen Repos angelegt werden

                der will ums Verrecken nicht von 18.17.1.auf 18.18 upgraden

                das bleibt so

                nodejs:
                  Installed: 18.17.1-deb-1nodesource1
                  Candidate: 18.18.0-1nodesource1
                  Version table:
                     18.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 *** 18.17.1-deb-1nodesource1 100
                        100 /var/lib/dpkg/status
                     18.17.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.16.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.13.0+dfsg1-1 500
                        500 http://debian.netcologne.de/debian bookworm/main amd64 Packages
                     18.13.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.9.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.0.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                

                der node-fixer selbst

                pi@VM03:~$ ./iob_node_update
                ioBroker node-update v2023-09-28 is starting. Please be patient!
                
                ioBroker nodejs fixer 2023-09-28
                
                Recommended nodejs-version is: 18.18.0
                Checking your installation now. Please be patient!
                
                Your current setup is:
                /usr/bin/nodejs         v18.17.1
                /usr/bin/node           v18.17.1
                /usr/bin/npm            9.6.7
                /usr/bin/npx            9.6.7
                /usr/bin/corepack       0.18.0
                
                We found these nodejs versions available for installation:
                
                nodejs:
                  Installed: 18.17.1-deb-1nodesource1
                  Candidate: 18.18.0-1nodesource1
                  Version table:
                     18.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 *** 18.17.1-deb-1nodesource1 100
                        100 /var/lib/dpkg/status
                     18.17.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.16.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.14.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.13.0+dfsg1-1 500
                        500 http://debian.netcologne.de/debian bookworm/main amd64 Packages
                     18.13.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.9.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                     18.0.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                
                
                
                Nothing to do - Your installation is using the correct paths.
                
                You are running nodejs v18.17.1. Do you want to install recommended version 18.18.0?
                
                Press <y> to continue or any other key to quit
                

                anschließend

                Press <y> to continue or any other key to quit
                Trying to fix your installation now. Please be patient.
                kvm
                Waiting for ioBroker to shut down - Give me a minute...
                #########################################################
                
                *** These repos are active on your system:
                Hit:1 http://debian.netcologne.de/debian bookworm InRelease
                Hit:2 http://debian.netcologne.de/debian bookworm-updates InRelease
                Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
                Reading package lists... Done
                
                *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                
                *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                Package: nodejs
                Pin: origin deb.nodesource.com
                Pin-Priority: 1001
                
                *** These repos are active after the adjustments:
                Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
                Hit:2 http://debian.netcologne.de/debian bookworm InRelease
                Hit:3 http://debian.netcologne.de/debian bookworm-updates InRelease
                Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5247 B]
                Fetched 17.4 kB in 0s (45.0 kB/s)
                Reading package lists... Done
                
                Installing the recommended nodejs version now!
                
                *** You need to manually restart your container/virtual machine now! ***
                
                We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                und dann ist es wieder 18.17.1
                crunchip 1 Reply Last reply Reply Quote 1
                • crunchip
                  crunchip Forum Testing Most Active @Homoran last edited by

                  @homoran du musst abschließend ein normales
                  Update upgrade ausführen

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

                    @crunchip sagte in iob node fix - Skript:

                    @homoran du musst abschließend ein normales
                    Update upgrade ausführen

                    Das wird doch Thomas sicher eingebaut haben!

                    Oder etwa nicht @thomas-braun????

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

                      @crunchip @Homoran

                      Ha den Code an der Stelle ergänzt. Sollte jetzt auch mit Containern funktionieren.

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

                        @homoran sagte in iob node fix - Skript:

                        Das wird doch Thomas sicher eingebaut haben!

                        Nein, hatte ich bewusst eigentlich für Container/VMs und anners virtuelles Zeuch nicht drin.

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

                          @thomas-braun TUT ES!!!
                          auch wenn es kein Container ist! 😡 ! eins ELF

                          Danke

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

                            @homoran sagte in iob node fix - Skript:

                            auch wenn es kein Container ist! ! eins ELF

                            kvm aber.

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

                              @thomas-braun sagte in iob node fix - Skript:

                              kvm aber.

                              Ja

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

                                @homoran

                                Und das v steht für virtuell. 😉

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

                                  @thomas-braun sagte in iob node fix - Skript:

                                  @homoran

                                  Und das v steht für virtuell. 😉

                                  und das m für eine ganze Maschine und keine Blechbüchse

                                  1 Reply Last reply Reply Quote 1
                                  • B
                                    bastler @Thomas Braun last edited by

                                    @thomas-braun

                                    Moin, habe es endlich dank deiner tollen Anleitung geschafft das Update auf Bullseye durchzuführen.
                                    Es lief alles prima durch, allerdings will node.js sich nicht auf 18.18.0 aktualisieren, trotz mehrerer update Versuche.
                                    Kann ich das auch mit deinem node fix - Skript klären?

                                    Danke und Gruß

                                    Ingo

                                    ======================= SUMMARY =======================
                                    		     v.2023-06-20
                                    
                                    
                                       Static hostname: ioBroker
                                             Icon name: computer-vm
                                               Chassis: vm
                                            Machine ID: 00d6058392fa44d3b60e2dcfbf39a290
                                               Boot ID: ab4aea8acd5c4141a66953e96c6126d8
                                        Virtualization: kvm
                                      Operating System: Debian GNU/Linux 11 (bullseye)
                                                Kernel: Linux 5.10.0-25-amd64
                                          Architecture: x86-64
                                    
                                    Installation: 		kvm
                                    Kernel: 		x86_64
                                    Userland: 		amd64
                                    Timezone: 		Europe/Berlin (CEST, +0200)
                                    User-ID: 		1000
                                    X-Server: 		false
                                    Boot Target: 		graphical.target
                                    
                                    Pending OS-Updates: 	0
                                    Pending iob updates: 	0
                                    
                                    Nodejs-Installation: 	/usr/bin/nodejs 	v18.17.1
                                    			/usr/bin/node 		v18.17.1
                                    			/usr/bin/npm 		9.6.7
                                    			/usr/bin/npx 		9.6.7
                                    
                                    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:             12G        2.6G        9.1G        0.0K        696M        9.5G
                                    Swap:           974M          0B        974M
                                    Total:           13G        2.6G         10G
                                    
                                    Active iob-Instances: 	36
                                    Active repo(s): Stable (default)
                                    
                                    ioBroker Core: 		js-controller 		5.0.12
                                    			admin 			6.10.1
                                    
                                    ioBroker Status: 	iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    Status admin and web instance:
                                    + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    
                                    Objects: 		18629
                                    States: 		15883
                                    
                                    Size of iob-Database:
                                    
                                    22M	/opt/iobroker/iobroker-data/objects.jsonl
                                    9.4M	/opt/iobroker/iobroker-data/objects.json.migrated
                                    9.4M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                    51M	/opt/iobroker/iobroker-data/states.jsonl
                                    4.6M	/opt/iobroker/iobroker-data/states.json.migrated
                                    4.6M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                                    
                                    
                                    
                                    =================== END OF SUMMARY ====================
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @bastler last edited by Thomas Braun

                                      @bastler sagte in iob node fix - Skript:

                                      Kann ich das auch mit deinem node fix - Skript klären?

                                      Dafür ist es (unter anderem) da.

                                      B 1 Reply Last reply Reply Quote 1
                                      • B
                                        bastler @Thomas Braun last edited by

                                        @thomas-braun

                                        Danke, hat geklappt!

                                        ======================= SUMMARY =======================
                                        		     v.2023-06-20
                                        
                                        
                                           Static hostname: ioBroker
                                                 Icon name: computer-vm
                                                   Chassis: vm
                                                Machine ID: 00d6058392fa44d3b60e2dcfbf39a290
                                                   Boot ID: ab4aea8acd5c4141a66953e96c6126d8
                                            Virtualization: kvm
                                          Operating System: Debian GNU/Linux 11 (bullseye)
                                                    Kernel: Linux 5.10.0-25-amd64
                                              Architecture: x86-64
                                        
                                        Installation: 		kvm
                                        Kernel: 		x86_64
                                        Userland: 		amd64
                                        Timezone: 		Europe/Berlin (CEST, +0200)
                                        User-ID: 		1000
                                        X-Server: 		false
                                        Boot Target: 		graphical.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:             12G        124M         11G        0.0K        1.2G         11G
                                        Swap:           974M          0B        974M
                                        Total:           13G        124M         12G
                                        
                                        Active iob-Instances: 	1
                                        Active repo(s): Stable (default)
                                        
                                        ioBroker Core: 		js-controller 		5.0.12
                                        			admin 			6.10.1
                                        
                                        ioBroker Status: 	iobroker is not running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        
                                        Status admin and web instance:
                                          system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                          system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        
                                        Objects: 		18629
                                        States: 		15864
                                        
                                        Size of iob-Database:
                                        
                                        22M	/opt/iobroker/iobroker-data/objects.jsonl
                                        9.4M	/opt/iobroker/iobroker-data/objects.json.migrated
                                        9.4M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                        54M	/opt/iobroker/iobroker-data/states.jsonl
                                        4.6M	/opt/iobroker/iobroker-data/states.json.migrated
                                        4.6M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                                        
                                        
                                        
                                        =================== END OF SUMMARY ====================
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @bastler last edited by

                                          @bastler sagte in iob node fix - Skript:

                                          Danke, hat geklappt!

                                          So soll es sein.

                                          B 1 Reply Last reply Reply Quote 1
                                          • D
                                            DasBo1975 @Thomas Braun last edited by

                                            @thomas-braun
                                            Vielen Dank, hat funktioniert

                                            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

                                            490
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            34
                                            198
                                            27965
                                            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