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 last edited by

      Sehr geile Sache das Script. 🙂
      Leider aktualisiert es bei mir die Version nicht auf 18.18.0
      Es wird erkannt, dass sie vorhanden ist und installiert werde soll.
      Nach dem Lauf ist aber weiterhin die 18.17.1 installiert. 😞

      R Thomas Braun 2 Replies Last reply Reply Quote 0
      • R
        reutli @firebowl last edited by

        @firebowl

        Die Ausgabe zeigen hilft, damit einem geholfen wird...

        1 Reply Last reply Reply Quote 0
        • R
          reutli @Thomas Braun last edited by

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

          Ist das z. B. ein Multihost-Slave?

          Ja exakt, ist ein Slave

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

            @firebowl

            Dann lass mal sehen was da ausgespuckt wird. Vollständig.

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

              @thomas-braun Sorry, musste meinen kleinen schnell in die Krippe bringen.

              Hier der Output:

              ioBroker nodejs fixer 2023-09-24
              
              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-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
                   12.22.9~dfsg-1ubuntu3 500
                      500 http://de.archive.ubuntu.com/ubuntu jammy/universe 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
              Trying to fix your installation now. Please be patient.
              [sudo] password for mike:
              kvm
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              
              *** These repos are active on your system:
              Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
              Hit:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
              Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
              Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-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://de.archive.ubuntu.com/ubuntu jammy InRelease
              Hit:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
              Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
              Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
              Hit:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease
              Get:6 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5247 B]
              Fetched 17.4 kB in 0s (36.4 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.
              

              Öhm Http error 500? Seh ich das richtig?

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

                @firebowl sagte in iob node fix - Skript:

                Öhm Http error 500? Seh ich das richtig?

                Wo siehst du das?

                sudo apt full-upgrade
                

                sagt?

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

                                            Support us

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

                                            399
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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