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.
    • D
      DasBo1975 @Thomas Braun last edited by

      @thomas-braun
      Vielen Dank, hat funktioniert

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

        @thomas-braun Danke für diese super Möglichkeit, dem Laien ein beschwerdefreies Update zu ermöglichen.

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

          @thomas-braun

          Moin, habe seit dem Update jetzt eine Fehlermeldung. Kann die damit zusammen hängen? Hast du einen Hinweis für mich, wie ich den Fehler behoben bekomme?

          Danke und Gruß

          DJMarc75 Thomas Braun 2 Replies Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @bastler last edited by

            @bastler sagte in iob node fix - Skript:

            eine Fehlermeldung.

            und die ist geheim ? 😉

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

              @bastler sagte in iob node fix - Skript:

              Hast du einen Hinweis für mich, wie ich den Fehler behoben bekomme?

              Nein. Wie auch? Du solltest die geheime Fehlermeldung vielleicht bekannt machen.

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

                @djmarc75

                Sorry hier ist der Screenshot:

                Screenshot-Okt.-02-2023_11.20.51.jpg

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

                  @bastler

                  Nein, hat nichts mit einem sauber durchgeführten Update zu tun.

                  T 1 Reply Last reply Reply Quote 1
                  • T
                    ticaki Developer @Thomas Braun last edited by

                    @thomas-braun
                    Danke für das Skript hat mir die Sucherei, wie ich von 18.17.x auf 18.18.0 komme erspart 👍

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

                      Ganz neu:
                      Man kann dem Skript jetzt eine Major-Version von nodejs mit geben und dann wird die letzte Version aus diesem Zweig installiert. Siehe erstes Posting für Details.

                      1 Reply Last reply Reply Quote 2
                      • MichaelF
                        MichaelF last edited by

                        Hi, funktioniert der Script auch bei raspberry 64 bit Systemen. Oder ist hier noch was zu beachten ?

                        Grüsse

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

                          @michaelf

                          Funktioniert auf allen aktuellen Systemen, die dpkg/apt verwenden. Also, ja, auch auf einem 64bit-RaspberryOS.

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

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

                            @michaelf

                            Funktioniert auf allen aktuellen Systemen, die dpkg/apt verwenden. Also, ja, auch auf einem 64bit-RaspberryOS.

                            Danke für die schnelle Antwort. Allerdings ist es ein Multihost, sorry eben vergessen mit dazu zu schreiben. Der Master ist ein normales RaspberryOS, der host der 64bit.

                            Grüsse

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

                              @michaelf

                              Egal. Auf dem Slave wird ledigich nicht die Meldung 'Nothing to do' 2x ausgegeben sondern nur einmal. Wenn aber die aktuelle nodejs 18.18.0 gemeldet wird ist alles i.O.

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

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

                                @michaelf

                                Egal. Auf dem Slave wird ledigich nicht die Meldung 'Nothing to do' 2x ausgegeben sondern nur einmal. Wenn aber die aktuelle nodejs 18.18.0 gemeldet wird ist alles i.O.

                                Danke für die info.

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

                                  @michaelf

                                  Stand aber im Eröffnungspost auch schon drin...

                                  Also 2x 'nothing to do'.
                                  (2x aber nur, wenn die Empfehlung aus dem iobroker herausgelesen werden konnte. Das funktioniert aber nicht immer, für Multihost-Setups z.B. nur für das Hauptsystem)

                                  JoJo58 1 Reply Last reply Reply Quote 0
                                  • S
                                    SuFra last edited by

                                    Super Script, Update von 18.17.x auf 18.18.0 ohne Probleme.

                                    System: Proxmox, ioBrocker im LXC.

                                    Vielen Dank für deine Arbeit Thomas 👍

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

                                      @thomas-braun Guten Morgen, ich habe aktuell Probleme mit meinem Javascript Adapter und wollte daher nodejs aktualisieren. Ich habe eine VM unter Proxmox mit der aktuellen Debian 12 bookworm am laufen. Installiert ist nodejs v18.171 und ich wollte auf 18.18 gehen. Da es nicht nach der Anleitung hier aus dem Forum funktionierte, habe ich recherchiert und dein Script gefunden. Nach dem Start kommt noch die Meldung das ich Geduld haben soll und das war es leider auch. Nach 1,5 Stunden habe ich das Script abgebrochen.

                                      ioBroker nodejs fixer 2023-10-07
                                      
                                      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.17.1-deb-1nodesource1
                                        Version table:
                                       *** 18.17.1-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
                                              100 /var/lib/dpkg/status
                                           18.13.0+dfsg1-1 500
                                              500 http://deb.debian.org/debian bookworm/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
                                      Trying to fix your installation now. Please be patient.
                                      

                                      Noch eine Idee was ich machen kann?

                                      Gruß Johannes

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

                                        @jojo58 sagte in iob node fix - Skript:

                                        Noch eine Idee was ich machen kann?

                                        Das ist ein interessantes Verhalten. Sollte eigentlich nicht vorkommen.

                                        sudo apt update
                                        

                                        sagt?

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

                                          @thomas-braun Da kommt das hier:

                                          smarthome@vm-iobroker:~$ sudo apt update
                                          OK:1 http://security.debian.org/debian-security bookworm-security InRelease
                                          OK:2 http://deb.debian.org/debian bookworm InRelease
                                          OK:3 http://deb.debian.org/debian bookworm-updates InRelease
                                          OK:4 https://repos.influxdata.com/debian stable InRelease
                                          Holen:5 https://deb.nodesource.com/node_18.x bookworm InRelease [4.586 B]
                                          Es wurden 4.586 B in 0 s geholt (10,1 kB/s).
                                          Paketlisten werden gelesen… Fertig
                                          Abhängigkeitsbaum wird aufgebaut… Fertig
                                          Statusinformationen werden eingelesen… Fertig
                                          Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                                          smarthome@vm-iobroker:~$
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @JoJo58 last edited by

                                            @jojo58

                                            
                                            find / -path /proc -o -path /dev -o -path /sys -o -path /lost+found -prune -o -name nodesource.[gk]* -print
                                            

                                            Führ das mal aus.

                                            JoJo58 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

                                            476
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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