Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Troubleshooting NodeJS update

    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

    Troubleshooting NodeJS update

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

      @fuxxz2

      Von deinem 32Bit-System auf ein 64Bit-System gibt es keinen Upgrade-Pfad.
      Neuinstallation ist angesagt.

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

        @thomas-braun Muss ja nicht unbedingt 64 sein. Aber ich könnte doch einfach nen dist-upgrade machen oder sind da beim iobroker Probleme zu erwarten?

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

          @fuxxz2

          Macht keinen Sinn, und auch bei 32Bit wird dringend von einem Dist-Upgrade abgeraten, es hat sich da zu viel geändert.

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

            @thomas-braun
            Ok, ich versuche es mal, danke

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

              @fuxxz2 sagte in Troubleshooting NodeJS update:

              Ok, ich versuche es mal, danke

              Eine Neuinstallation?
              Dann viel Spaß. Da muss u. a. die boot-Partition umgebogen werden. Und noch diverses anderes Zeug. Hatte mir das damals bei einem Wechsel auf 'Bookworm' angeschaut, mir was es zu heikel.

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

                @thomas-braun Ich dachte jetzt einfach komplett platt machen und einfach nen neues aktuelles Image aufspielen und dann über den Backup Adapter den iobroker wiederherstellen.

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

                  @fuxxz2

                  Ja, das wäre der Weg.

                  https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                  Und dann Backup wieder druff, fertig.

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

                    @thomas-braun Ok, danke für die Infos.
                    Ich bereite das am besten auf nen 2. Raspy vor. Bisher lief ein Restore bei mir über den Backitup Adapter nie so schön, wie es in der Wiki steht 🙂

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

                      @fuxxz2 sagte in Troubleshooting NodeJS update:

                      Bisher lief ein Restore bei mir über den Backitup Adapter nie so schön, wie es in der Wiki steht

                      Warum nicht?

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

                        @thomas-braun Das weiß ich jetzt nicht, ist schon etwas her. Ich weiß nur dass ich viele Probleme hatte. Ich werde es ja bald sehen und ggf. muss ich mich ja dann eh wieder melden 🙂

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          Kail @FuXXz2 last edited by

                          Hallo,
                          auch ich stehe/stand vor dem Problem mit einem "veralteten" System.
                          Nun habe ich einen frisches System aufgesetzt und schon mal den ioBroker inkl. Plugins, mariaDB und Grafana installiert. Wie transferiere ich nun meine bisherigen Plugin-Einstellungen, Datenpunkte, Script und Vis am sichersten in das neue System. Über den Backup-Adapter oder hämisch um keinen "Müll" mitzunehmen? Im neuen Biobroker sind nur noch die Plugins installiert, die ich unbedingt brauche.
                          Grüße Kail

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

                            @kail sagte in Troubleshooting NodeJS update:

                            Über den Backup-Adapter oder hämisch um keinen "Müll" mitzunehmen?

                            was ist für dich MÜLL?

                            Fehler im Dateisystem kommen auch im Backitup Restore nicht mit.

                            @kail sagte in Troubleshooting NodeJS update:

                            Wie transferiere ich nun meine bisherigen Plugin-Einstellungen, Datenpunkte, Script und Vis am sichersten in das neue System.

                            Adapterkonfiguration, Datenpunkte Scripte und Vis sind im Backitup enthalten.
                            Adapterkonfig und vis geht auch manuell, Skripte mit gewissem Aufwand auch

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Kail @Homoran last edited by

                              @homoran sagte in Troubleshooting NodeJS update:

                              @kail sagte in Troubleshooting NodeJS update:

                              Über den Backup-Adapter oder hämisch um keinen "Müll" mitzunehmen?

                              was ist für dich MÜLL?

                              Plugins die nicht genutzt werden und die alte Vis (Vis-2 ist im Einsatz) z.B.

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

                                @kail sagte in Troubleshooting NodeJS update:

                                @homoran sagte in Troubleshooting NodeJS update:

                                @kail sagte in Troubleshooting NodeJS update:

                                Über den Backup-Adapter oder hämisch um keinen "Müll" mitzunehmen?

                                was ist für dich MÜLL?

                                Plugins die nicht genutzt werden und die alte Vis (Vis-2 ist im Einsatz) z.B.

                                Dann mach ein Backup!
                                gut sichern (extern)

                                Dann lösch alle nicht benötigten Adapter (nicht nur die Instanzen)
                                Wenn dann noch alles rund läuft, machst du ein weiteres Backup.

                                Das stellst du dann auf der neuen Installation wieder her.

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Kail @Homoran last edited by

                                  @homoran
                                  Ok, Danke Dir

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Spexx last edited by

                                    Hallo Leute,
                                    ich habe leider auch ein Problem beim Update, mir ist aber nicht klar wo der Fehler liegt bzw. was ich nun tun muss... Kann sich das bitte mal jemand anschauen und mir einen Tipp geben was da nicht passt? Ich habe ioBroker über Proxmox am Laufen.

                                    Danke

                                    spexx@iobroker:~$ iob nodejs-update
                                    ioBroker node-update v2023-10-13 is starting. Please be patient!
                                    ioBroker nodejs updater 2023-10-13
                                    
                                    Recommended nodejs-version is: 18.19.1
                                    Checking your installation now. Please be patient!
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v16.20.2
                                    /usr/bin/node           v16.20.2
                                    /usr/bin/npm            8.19.4
                                    /usr/bin/npx            8.19.4
                                    /usr/bin/corepack       0.17.0
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 16.20.2-deb-1nodesource1
                                      Candidate: 18.19.1-1nodesource1
                                      Version table:
                                         18.19.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.19.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.18.2-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.18.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.18.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.17.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.17.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.16.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.16.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.15.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.2-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.13.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.12.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.11.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.10.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.9.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.9.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.8.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.7.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.6.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.5.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.4.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.3.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.2.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.1.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.0.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                     *** 16.20.2-deb-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         8.10.0~dfsg-2ubuntu0.4 500
                                            500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                                         8.10.0~dfsg-2ubuntu0.2 500
                                            500 http://de.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                                         8.10.0~dfsg-2 500
                                            500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                                    
                                    
                                    
                                    Nothing to do - Your installation is using the correct paths.
                                    
                                    You are running nodejs v16.20.2. Do you want to install recommended version 18.19.1?
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to update your installation now. Please be patient.
                                    
                                    Virtualization: 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 bionic InRelease
                                    Hit:2 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
                                    Hit:3 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
                                    Hit:4 http://de.archive.ubuntu.com/ubuntu bionic-security InRelease
                                    Reading package lists... Done
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    gpg: WARNING: unsafe ownership on homedir '/home/spexx/.gnupg'
                                    
                                    *** 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 bionic InRelease
                                    Get:2 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                                    Hit:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
                                    Hit:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
                                    Hit:5 http://de.archive.ubuntu.com/ubuntu bionic-security InRelease
                                    Get:6 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [7386 B]
                                    Fetched 19.5 kB in 1s (32.2 kB/s)
                                    Reading package lists... Done
                                    
                                    Installing the recommended nodejs version now!
                                    
                                    E: Broken packages
                                    Installing the recommended nodejs version!
                                    E: Broken packages
                                    
                                    *** You need to manually restart your container/virtual machine now! ***
                                    
                                    We tried our best to update or fix your nodejs. Please run 'iob diag' again to verify.
                                    
                                    spexx@iobroker:~$ type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    /usr/bin/npx
                                    v16.20.2
                                    v16.20.2
                                    8.19.4
                                    8.19.4
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Spexx last edited by

                                      @spexx

                                      Dein Betriebssystem ist zu alt und mittlerweile abgekündigt.

                                      Installier da was aktuelles neu, bevorzugt ein Debian 12 'Bookworm'.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Spexx last edited by

                                        @thomas-braun
                                        Danke für die schnelle Rückmeldung, das ist aber ärgerlich... Wie mach ich das am Besten, ein direktes Update geht vermutlich nicht? Vermutlich dann das Betriebssystem komplett neu installieren und dann über Backitup ein Backup einspielen?

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

                                          @spexx sagte in Troubleshooting NodeJS update:

                                          Vermutlich dann das Betriebssystem komplett neu installieren und dann über Backitup ein Backup einspielen?

                                          Richtig.

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @Spexx last edited by

                                            @spexx

                                            Du kannst es noch mit einem 'do-release-upgrade' versuchen.
                                            Zur Sicherheit aber nicht über ssh, sondern mit lokalem Bildschirm und Tastatur.

                                            Funktioniert in der Regel ganz gut, evtl. nur auf Pakete wie InfluxDB und/oder Grafana achten.
                                            Vielleicht sogar diese blocken.

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            951
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs 18 nodejs update
                                            60
                                            504
                                            87460
                                            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