Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Troubleshooting NodeJS update

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Troubleshooting NodeJS update

Geplant Angeheftet Gesperrt Verschoben Installation
nodejs 18nodejs update
504 Beiträge 60 Kommentatoren 146.9k Aufrufe 52 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Spexx

    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 BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #341

    @spexx

    Dein Betriebssystem ist zu alt und mittlerweile abgekündigt.

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

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      Spexx
      schrieb am zuletzt editiert von
      #342

      @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 BraunT ? 2 Antworten Letzte Antwort
      0
      • S Spexx

        @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 BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #343

        @spexx sagte in Troubleshooting NodeJS update:

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

        Richtig.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Antwort Letzte Antwort
        0
        • S Spexx

          @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?

          ? Offline
          ? Offline
          Ein ehemaliger Benutzer
          schrieb am zuletzt editiert von
          #344

          @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 BraunT 1 Antwort Letzte Antwort
          0
          • ? Ein ehemaliger Benutzer

            @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 BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #345

            @rscsb

            Um dann auf 20.04 zu landen? Und dann die ganze Nummer nochmal auf 22.04? Und in 2 Monaten auf 24.04?
            Und dann läuft da immer noch das Schnubbibuntu...

            Ich würde da zu einem echten Debian raten.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            ? 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @rscsb

              Um dann auf 20.04 zu landen? Und dann die ganze Nummer nochmal auf 22.04? Und in 2 Monaten auf 24.04?
              Und dann läuft da immer noch das Schnubbibuntu...

              Ich würde da zu einem echten Debian raten.

              ? Offline
              ? Offline
              Ein ehemaliger Benutzer
              schrieb am zuletzt editiert von
              #346

              @thomas-braun

              Hast Du schon herausgelesen, dass es nicht LTS ist?
              Dann hättest Du noch ein weiteres Jahr Zeit.

              Es kommt halt immer darauf an, was sonst noch darauf läuft.
              Bei einer weiteren Alternative kannst du jedenfalls abwägen.
              Schnubbibuntu hin oder her.

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • ? Ein ehemaliger Benutzer

                @thomas-braun

                Hast Du schon herausgelesen, dass es nicht LTS ist?
                Dann hättest Du noch ein weiteres Jahr Zeit.

                Es kommt halt immer darauf an, was sonst noch darauf läuft.
                Bei einer weiteren Alternative kannst du jedenfalls abwägen.
                Schnubbibuntu hin oder her.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #347

                @rscsb

                Time to prepare for Ubuntu 18.04 LTS End of Standard Support on 31 May 2023
                https://ubuntu.com/blog/18-04-end-of-standard-support

                Und nodejs > 16 baut nicht mehr auf Debian 'Stretch' und davon abgeleiteten Distributionen wie Ubuntu 18.04.

                Ich würde die Gelegenheit nutzen und da komplett bei Ubuntu aussteigen.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                ? 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @rscsb

                  Time to prepare for Ubuntu 18.04 LTS End of Standard Support on 31 May 2023
                  https://ubuntu.com/blog/18-04-end-of-standard-support

                  Und nodejs > 16 baut nicht mehr auf Debian 'Stretch' und davon abgeleiteten Distributionen wie Ubuntu 18.04.

                  Ich würde die Gelegenheit nutzen und da komplett bei Ubuntu aussteigen.

                  ? Offline
                  ? Offline
                  Ein ehemaliger Benutzer
                  schrieb am zuletzt editiert von
                  #348

                  @thomas-braun

                  Ja, aber
                  20.04 LTS (Focal Fossa) Apr 2020 Apr 2025
                  LTS Roadmap

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • ? Ein ehemaliger Benutzer

                    @thomas-braun

                    Ja, aber
                    20.04 LTS (Focal Fossa) Apr 2020 Apr 2025
                    LTS Roadmap

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #349

                    @rscsb

                    Macht ja keinen Sinn auf eine Version zu springen, die als nächstes ausläuft.
                    Also entweder auf Schnubbibuntu 22.04 gehen oder gleich das Original verwenden und den ganzen Ubuntu-Sonderstrick wie snap und merkwürdige Kernelkonfigurationen umgehen.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    S 1 Antwort Letzte Antwort
                    1
                    • Thomas BraunT Thomas Braun

                      @rscsb

                      Macht ja keinen Sinn auf eine Version zu springen, die als nächstes ausläuft.
                      Also entweder auf Schnubbibuntu 22.04 gehen oder gleich das Original verwenden und den ganzen Ubuntu-Sonderstrick wie snap und merkwürdige Kernelkonfigurationen umgehen.

                      S Offline
                      S Offline
                      Spexx
                      schrieb am zuletzt editiert von
                      #350

                      @thomas-braun

                      Ich mach sowas nur alle paar Jahre und muss mich dann jedes Mal wieder einlesen, meine ioBroker-Installation läuft schon relativ lange und bisher gab es keinen Grund, großartig etwas zu aktualisieren...

                      Inwiefern sich nun Ubuntu und Debian unterscheiden ist mir nicht bekannt, aber ich denke für meinen Anwendungsfall bzw. für die Installation von ioBroker dürfte das vermutlich egal sein. Wenn du mir sagst Debian Bookworm passt, dann versuch ich es einfach damit :)

                      Meine aktuelle Installation läuft in einer eigenen Proxmox-VM und die restlichen Sachen wie Grafana, PiHole etc. jeweils in separaten VM/LXC-Containern (alles unter Ubuntu). Aber ich denke das spielt erstmal keine Rolle, ich erstelle mir einen neuen Debian-Container und richte da dann ioBroker ein. Macht es einen großen Unterschied, ob ich hierfür eine VM oder einen LXC-Container nehme?

                      Thomas BraunT W 2 Antworten Letzte Antwort
                      0
                      • S Spexx

                        @thomas-braun

                        Ich mach sowas nur alle paar Jahre und muss mich dann jedes Mal wieder einlesen, meine ioBroker-Installation läuft schon relativ lange und bisher gab es keinen Grund, großartig etwas zu aktualisieren...

                        Inwiefern sich nun Ubuntu und Debian unterscheiden ist mir nicht bekannt, aber ich denke für meinen Anwendungsfall bzw. für die Installation von ioBroker dürfte das vermutlich egal sein. Wenn du mir sagst Debian Bookworm passt, dann versuch ich es einfach damit :)

                        Meine aktuelle Installation läuft in einer eigenen Proxmox-VM und die restlichen Sachen wie Grafana, PiHole etc. jeweils in separaten VM/LXC-Containern (alles unter Ubuntu). Aber ich denke das spielt erstmal keine Rolle, ich erstelle mir einen neuen Debian-Container und richte da dann ioBroker ein. Macht es einen großen Unterschied, ob ich hierfür eine VM oder einen LXC-Container nehme?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #351

                        @spexx sagte in Troubleshooting NodeJS update:

                        Ich mach sowas nur alle paar Jahre und muss mich dann jedes Mal wieder einlesen, meine ioBroker-Installation läuft schon relativ lange und bisher gab es keinen Grund, großartig etwas zu aktualisieren...

                        Alle paar Jahre ist deutlich zu selten. Die Installationen kippen dir weg, wie du siehst.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        1
                        • S Spexx

                          @thomas-braun

                          Ich mach sowas nur alle paar Jahre und muss mich dann jedes Mal wieder einlesen, meine ioBroker-Installation läuft schon relativ lange und bisher gab es keinen Grund, großartig etwas zu aktualisieren...

                          Inwiefern sich nun Ubuntu und Debian unterscheiden ist mir nicht bekannt, aber ich denke für meinen Anwendungsfall bzw. für die Installation von ioBroker dürfte das vermutlich egal sein. Wenn du mir sagst Debian Bookworm passt, dann versuch ich es einfach damit :)

                          Meine aktuelle Installation läuft in einer eigenen Proxmox-VM und die restlichen Sachen wie Grafana, PiHole etc. jeweils in separaten VM/LXC-Containern (alles unter Ubuntu). Aber ich denke das spielt erstmal keine Rolle, ich erstelle mir einen neuen Debian-Container und richte da dann ioBroker ein. Macht es einen großen Unterschied, ob ich hierfür eine VM oder einen LXC-Container nehme?

                          W Online
                          W Online
                          Wildbill
                          schrieb am zuletzt editiert von
                          #352

                          @spexx Wenn Du USB-Geräte direkt an iobroker weiterreichen willst, tust Du Dir mit einer VM leichter, da Du das direkt über die GUI machen kannst. Bei LXC ist es etwas komplizierter.
                          Wenn iobroker aber nur für sich läuft und nichts direkt durchgereicht wird, dann würde ich einen LXC nehmen. Benötigt etwas weniger overhead, wobei das, je nach verwendetem Proxmox-Host (Hardware) allenfalls akademisch messbare Unterschiede hätte.
                          Wichtig ist, dass Du Debian ohne Desktop installierst, egal ob VM oder LXC. Das ist auf einem Server kontraproduktiv und benötigt nur unnötig Ressourcen.

                          Gruss, Jürgen

                          S 1 Antwort Letzte Antwort
                          0
                          • W Wildbill

                            @spexx Wenn Du USB-Geräte direkt an iobroker weiterreichen willst, tust Du Dir mit einer VM leichter, da Du das direkt über die GUI machen kannst. Bei LXC ist es etwas komplizierter.
                            Wenn iobroker aber nur für sich läuft und nichts direkt durchgereicht wird, dann würde ich einen LXC nehmen. Benötigt etwas weniger overhead, wobei das, je nach verwendetem Proxmox-Host (Hardware) allenfalls akademisch messbare Unterschiede hätte.
                            Wichtig ist, dass Du Debian ohne Desktop installierst, egal ob VM oder LXC. Das ist auf einem Server kontraproduktiv und benötigt nur unnötig Ressourcen.

                            Gruss, Jürgen

                            S Offline
                            S Offline
                            Spexx
                            schrieb am zuletzt editiert von
                            #353

                            @wildbill
                            Alles klar danke, dann nehm ich einen LXC.

                            @Thomas-Braun
                            Ja mag sein, das ist aber einfach nur lästig und wie heißt es doch so schön "never touch a running system" :)

                            W DJMarc75D Thomas BraunT 3 Antworten Letzte Antwort
                            0
                            • S Spexx

                              @wildbill
                              Alles klar danke, dann nehm ich einen LXC.

                              @Thomas-Braun
                              Ja mag sein, das ist aber einfach nur lästig und wie heißt es doch so schön "never touch a running system" :)

                              W Online
                              W Online
                              Wildbill
                              schrieb am zuletzt editiert von
                              #354

                              @spexx Das ist so ziemlich der dümmste Spruch, den es nur geben kann. Ergebnis davon siehst Du ja...
                              Regelmäßige Updates (so einmal im Monat spätestens das Betriebssystem) sorgen halt erst gar nicht für einen Update-Stau und halten das System aktuell und sicher.

                              Gruss, Jürgen

                              1 Antwort Letzte Antwort
                              1
                              • S Spexx

                                @wildbill
                                Alles klar danke, dann nehm ich einen LXC.

                                @Thomas-Braun
                                Ja mag sein, das ist aber einfach nur lästig und wie heißt es doch so schön "never touch a running system" :)

                                DJMarc75D Online
                                DJMarc75D Online
                                DJMarc75
                                schrieb am zuletzt editiert von
                                #355

                                @spexx sagte in Troubleshooting NodeJS update:

                                und wie heißt es doch so schön "never touch a running system"

                                und wenn der TÜV vom Auto abgelaufen ist unternimmst Du auch nichts ? ;)
                                Irgendwann bekommst Du Besuch und Dir wird Dein Auto stillgelegt ;) ;)

                                Lehrling seit 1975 !!!
                                Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                                https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                1 Antwort Letzte Antwort
                                0
                                • S Spexx

                                  @wildbill
                                  Alles klar danke, dann nehm ich einen LXC.

                                  @Thomas-Braun
                                  Ja mag sein, das ist aber einfach nur lästig und wie heißt es doch so schön "never touch a running system" :)

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #356

                                  @spexx sagte in Troubleshooting NodeJS update:

                                  Ja mag sein, das ist aber einfach nur lästig und wie heißt es doch so schön "never touch a running system"

                                  Die dämliche "Weisheit" funktioniert nur nicht. Wer auch immer so einen Schwachsinn erzählt...

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  0
                                  • A Offline
                                    A Offline
                                    Arni_Banone
                                    schrieb am zuletzt editiert von
                                    #357

                                    Moin allerseits,
                                    ich habe auf einem Raspberry Pi 4 laufen:
                                    ioBroker, InfluxDB, Grafana

                                    Habe eine Sicherung auf SD-Karte mittels SD Card Copier, sowie ein Back(it)up von ioBroker, JavaScript, InfluxDB.
                                    Ich kann nun also einigermaßen sicher Dinge ausprobieren, bin aber wahrlich kein Profi auf diesem Gebiet.

                                    Da ich einige Instanzen nicht mehr aktualisieren kann, möchte ich gerne Node.JS aktualisieren. Dies habe ich entsprechend der Anleitung mehrfach versucht.

                                    Hier der Code im Spoiler

                                    ioBroker nodejs fixer 2024-05-23
                                    
                                    Recommended nodejs-version is: 18.20.3
                                    Checking your installation now. Please be patient!
                                    
                                    Your current setup is:
                                    /usr/bin/node 		v16.19.0
                                    /usr/bin/npm 		8.19.3
                                    /usr/bin/npx 		8.19.3
                                    /usr/bin/corepack 	0.15.1
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                     Installed: 16.19.0-deb-1nodesource1
                                     Candidate: 20.14.0-1nodesource1
                                     Version table:
                                        20.14.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.13.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.13.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.12.2-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.12.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.12.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.11.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.11.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.10.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.9.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.8.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.8.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.7.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.6.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.6.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.5.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.5.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.4.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.3.1-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.3.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.2.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.1.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        20.0.0-1nodesource1 1001
                                           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                    *** 16.19.0-deb-1nodesource1 100
                                           100 /var/lib/dpkg/status
                                        12.22.12~dfsg-1~deb11u4 500
                                           500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                           500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                    
                                    
                                    
                                    Nothing to do - Your installation is using the correct paths.
                                    
                                    You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? 
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to fix your installation now. Please be patient.
                                    Waiting for ioBroker to shut down - Give me a minute...
                                    ############################################################
                                    
                                    *** These repos are active on your system:
                                    Hit:1 http://deb.debian.org/debian bullseye InRelease
                                    Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                    Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                    Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                    Get:5 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                    Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                       
                                    Err:5 https://repos.influxdata.com/debian bullseye InRelease
                                     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    Reading package lists... Done
                                    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    
                                    *** 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_20.x nodistro main
                                    Package: nodejs
                                    Pin: origin deb.nodesource.com
                                    Pin-Priority: 1001
                                    
                                    *** These repos are active after the adjustments:
                                    Hit:1 http://deb.debian.org/debian bullseye InRelease
                                    Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                    Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                    Get:4 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                    Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                    Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                                         
                                    Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease                                            
                                    Err:4 https://repos.influxdata.com/debian bullseye InRelease
                                     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    Reading package lists... Done
                                    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    
                                    Installing nodejs now!
                                    
                                    /home/iobroker/.nodejs-update.sh: line 370: [: : integer expression expected
                                    /home/iobroker/.nodejs-update.sh: line 387: [: : integer expression expected
                                    Installing the nodejs!
                                    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                    E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 146.75.118.217 443]
                                    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                    
                                    We tried our best to fix your nodejs. Please run iob diag again to verify.
                                    
                                    *** RESTARTING ioBroker NOW! *** 
                                    Please refresh or restart your browser in a few moments.
                                    
                                    

                                    Ich sehe einige Fehlermeldungen mit fehlenden Key und Signaturen. Das sagt mir allerdings nichts.
                                    Es scheint mit Grafana und InfluxDB zusammenzuhängen.

                                    Mögt ihr mir ein paar Tipps geben, was ich als nächstes machen kann, um das Update doch noch zu installieren?

                                    Vielen Dank!

                                    Thomas BraunT 2 Antworten Letzte Antwort
                                    0
                                    • A Arni_Banone

                                      Moin allerseits,
                                      ich habe auf einem Raspberry Pi 4 laufen:
                                      ioBroker, InfluxDB, Grafana

                                      Habe eine Sicherung auf SD-Karte mittels SD Card Copier, sowie ein Back(it)up von ioBroker, JavaScript, InfluxDB.
                                      Ich kann nun also einigermaßen sicher Dinge ausprobieren, bin aber wahrlich kein Profi auf diesem Gebiet.

                                      Da ich einige Instanzen nicht mehr aktualisieren kann, möchte ich gerne Node.JS aktualisieren. Dies habe ich entsprechend der Anleitung mehrfach versucht.

                                      Hier der Code im Spoiler

                                      ioBroker nodejs fixer 2024-05-23
                                      
                                      Recommended nodejs-version is: 18.20.3
                                      Checking your installation now. Please be patient!
                                      
                                      Your current setup is:
                                      /usr/bin/node 		v16.19.0
                                      /usr/bin/npm 		8.19.3
                                      /usr/bin/npx 		8.19.3
                                      /usr/bin/corepack 	0.15.1
                                      
                                      We found these nodejs versions available for installation:
                                      
                                      nodejs:
                                       Installed: 16.19.0-deb-1nodesource1
                                       Candidate: 20.14.0-1nodesource1
                                       Version table:
                                          20.14.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.13.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.13.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.12.2-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.12.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.12.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.11.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.11.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.10.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.9.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.8.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.8.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.7.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.6.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.6.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.5.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.5.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.4.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.3.1-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.3.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.2.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.1.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                          20.0.0-1nodesource1 1001
                                             500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                      *** 16.19.0-deb-1nodesource1 100
                                             100 /var/lib/dpkg/status
                                          12.22.12~dfsg-1~deb11u4 500
                                             500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                             500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                      
                                      
                                      
                                      Nothing to do - Your installation is using the correct paths.
                                      
                                      You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? 
                                      
                                      Press <y> to continue or any other key to quit
                                      Trying to fix your installation now. Please be patient.
                                      Waiting for ioBroker to shut down - Give me a minute...
                                      ############################################################
                                      
                                      *** These repos are active on your system:
                                      Hit:1 http://deb.debian.org/debian bullseye InRelease
                                      Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                      Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                      Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                      Get:5 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                      Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                       
                                      Err:5 https://repos.influxdata.com/debian bullseye InRelease
                                       The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                       The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                      Reading package lists... Done
                                      W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                      N: See apt-secure(8) manpage for repository creation and user configuration details.
                                      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                      
                                      *** 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_20.x nodistro main
                                      Package: nodejs
                                      Pin: origin deb.nodesource.com
                                      Pin-Priority: 1001
                                      
                                      *** These repos are active after the adjustments:
                                      Hit:1 http://deb.debian.org/debian bullseye InRelease
                                      Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                      Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                      Get:4 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                      Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                      Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                                         
                                      Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease                                            
                                      Err:4 https://repos.influxdata.com/debian bullseye InRelease
                                       The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                       The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                      Reading package lists... Done
                                      W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                      N: See apt-secure(8) manpage for repository creation and user configuration details.
                                      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                      
                                      Installing nodejs now!
                                      
                                      /home/iobroker/.nodejs-update.sh: line 370: [: : integer expression expected
                                      /home/iobroker/.nodejs-update.sh: line 387: [: : integer expression expected
                                      Installing the nodejs!
                                      W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                      E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                      E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 146.75.118.217 443]
                                      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                      
                                      We tried our best to fix your nodejs. Please run iob diag again to verify.
                                      
                                      *** RESTARTING ioBroker NOW! *** 
                                      Please refresh or restart your browser in a few moments.
                                      
                                      

                                      Ich sehe einige Fehlermeldungen mit fehlenden Key und Signaturen. Das sagt mir allerdings nichts.
                                      Es scheint mit Grafana und InfluxDB zusammenzuhängen.

                                      Mögt ihr mir ein paar Tipps geben, was ich als nächstes machen kann, um das Update doch noch zu installieren?

                                      Vielen Dank!

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von Thomas Braun
                                      #358

                                      @arni_banone

                                      Mach es mittels

                                      iob nodejs-update 20 
                                      

                                      Und zuvor die Grafana und Influxdb Repos auf einen aktuellen Stand bringen. Such meinen Thread 'Phantastische Repos und wo sie zu finden sind ' und leg die jeweils neu an.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      A 1 Antwort Letzte Antwort
                                      2
                                      • A Arni_Banone

                                        Moin allerseits,
                                        ich habe auf einem Raspberry Pi 4 laufen:
                                        ioBroker, InfluxDB, Grafana

                                        Habe eine Sicherung auf SD-Karte mittels SD Card Copier, sowie ein Back(it)up von ioBroker, JavaScript, InfluxDB.
                                        Ich kann nun also einigermaßen sicher Dinge ausprobieren, bin aber wahrlich kein Profi auf diesem Gebiet.

                                        Da ich einige Instanzen nicht mehr aktualisieren kann, möchte ich gerne Node.JS aktualisieren. Dies habe ich entsprechend der Anleitung mehrfach versucht.

                                        Hier der Code im Spoiler

                                        ioBroker nodejs fixer 2024-05-23
                                        
                                        Recommended nodejs-version is: 18.20.3
                                        Checking your installation now. Please be patient!
                                        
                                        Your current setup is:
                                        /usr/bin/node 		v16.19.0
                                        /usr/bin/npm 		8.19.3
                                        /usr/bin/npx 		8.19.3
                                        /usr/bin/corepack 	0.15.1
                                        
                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                         Installed: 16.19.0-deb-1nodesource1
                                         Candidate: 20.14.0-1nodesource1
                                         Version table:
                                            20.14.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.13.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.13.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.12.2-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.12.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.12.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.11.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.11.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.10.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.9.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.8.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.8.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.7.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.6.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.6.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.5.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.5.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.4.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.3.1-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.3.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.2.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.1.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                            20.0.0-1nodesource1 1001
                                               500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                                        *** 16.19.0-deb-1nodesource1 100
                                               100 /var/lib/dpkg/status
                                            12.22.12~dfsg-1~deb11u4 500
                                               500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                               500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                        
                                        
                                        
                                        Nothing to do - Your installation is using the correct paths.
                                        
                                        You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? 
                                        
                                        Press <y> to continue or any other key to quit
                                        Trying to fix your installation now. Please be patient.
                                        Waiting for ioBroker to shut down - Give me a minute...
                                        ############################################################
                                        
                                        *** These repos are active on your system:
                                        Hit:1 http://deb.debian.org/debian bullseye InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                        Get:5 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                        Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                       
                                        Err:5 https://repos.influxdata.com/debian bullseye InRelease
                                         The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                        Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                         The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                        Reading package lists... Done
                                        W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                        E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                        N: See apt-secure(8) manpage for repository creation and user configuration details.
                                        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                        
                                        *** 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_20.x nodistro main
                                        Package: nodejs
                                        Pin: origin deb.nodesource.com
                                        Pin-Priority: 1001
                                        
                                        *** These repos are active after the adjustments:
                                        Hit:1 http://deb.debian.org/debian bullseye InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
                                        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
                                        Get:4 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
                                        Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
                                        Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                                         
                                        Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease                                            
                                        Err:4 https://repos.influxdata.com/debian bullseye InRelease
                                         The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                        Err:6 https://packages.grafana.com/oss/deb stable InRelease
                                         The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                        Reading package lists... Done
                                        W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                        E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                        N: See apt-secure(8) manpage for repository creation and user configuration details.
                                        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                        
                                        Installing nodejs now!
                                        
                                        /home/iobroker/.nodejs-update.sh: line 370: [: : integer expression expected
                                        /home/iobroker/.nodejs-update.sh: line 387: [: : integer expression expected
                                        Installing the nodejs!
                                        W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                        E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
                                        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                                        E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 146.75.118.217 443]
                                        E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                        
                                        We tried our best to fix your nodejs. Please run iob diag again to verify.
                                        
                                        *** RESTARTING ioBroker NOW! *** 
                                        Please refresh or restart your browser in a few moments.
                                        
                                        

                                        Ich sehe einige Fehlermeldungen mit fehlenden Key und Signaturen. Das sagt mir allerdings nichts.
                                        Es scheint mit Grafana und InfluxDB zusammenzuhängen.

                                        Mögt ihr mir ein paar Tipps geben, was ich als nächstes machen kann, um das Update doch noch zu installieren?

                                        Vielen Dank!

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #359

                                        @arni_banone

                                        https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Antwort Letzte Antwort
                                        1
                                        • Thomas BraunT Thomas Braun

                                          @arni_banone

                                          Mach es mittels

                                          iob nodejs-update 20 
                                          

                                          Und zuvor die Grafana und Influxdb Repos auf einen aktuellen Stand bringen. Such meinen Thread 'Phantastische Repos und wo sie zu finden sind ' und leg die jeweils neu an.

                                          A Offline
                                          A Offline
                                          Arni_Banone
                                          schrieb am zuletzt editiert von
                                          #360

                                          @thomas-braun said in Troubleshooting NodeJS update:

                                          iob nodejs-update 20

                                          Wunderbar, vielen Dank für die wahnsinnig schnelle Hilfe!!!

                                          Hat auf Anhieb geklappt.

                                          1. Grafana Update
                                          2. Influx update
                                          3. Node.js update, jedoch mit Befehl
                                          iob nodejs-update 20
                                          

                                          Neuer Stand:

                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          /usr/bin/npx
                                          v20.14.0
                                          v20.14.0
                                          10.7.0
                                          10.7.0
                                          
                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          674

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe