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. ioBroker Allgemein
  4. Wir Empfehlen: Node.js 20.x :-)

NEWS

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

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

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

Wir Empfehlen: Node.js 20.x :-)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
237 Beiträge 49 Kommentatoren 73.1k Aufrufe 46 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.
  • Thomas BraunT Thomas Braun

    @wildbill sagte in Wir Empfehlen: Node.js 20.x :-):

    Nur, wenn ich irgendwo, beispielsweise hier, mitbekomme, dass es irgendwas Sicherheitskritisches gibt, wo man schnell updaten sollte, dann wird das sehr zeitnah gemacht.

    Zum Beispiel ganz aktuell:
    https://nodejs.org/en/blog/vulnerability/july-2024-security-releases

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

    @thomas-braun Danke, da schau ich dann demnächst. Hab grad nur keine Zeit dafür, bin am Kernlöcher bohren für 5 dezentrale Lüftungssysteme (Bayernlüfter).

    Gruss, Jürgen

    1 Antwort Letzte Antwort
    0
    • BananaJoeB Online
      BananaJoeB Online
      BananaJoe
      Most Active
      schrieb am zuletzt editiert von
      #162

      Ich habe heute auch auf nodejs 20 aktualisert und will mal ein Problem teilen falls noch jemand darüber stolpert:

      Sah erst alles ok aus, gab dann aber beim eCharts-Adapter eine Fehlermeldung wegen Canvas:

      2024-07-10 20:15:25.138  - error: echarts.0 (1632729) Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 108. This version of Node.js requires
      NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      

      Das passiert wenn man per SendTo an eCharts eine Grafik erzeugt (die man z.B. per Telegram versendet).
      Interessanterweise hat er das Bild trotzdem erzeugt und es wurde verschickt ...
      Ok, so etwas hatte ich doch schon mal, als eCharts damals heraus kam musste ich mit dem Canvas auch etwas kämpfen.
      Also Modulinstallation geprüft:

      iobroker@iobroker:/opt/iobroker$ npm ls canvas
      iobroker.inst@2.0.3 /opt/iobroker
      ├─┬ iobroker.echarts@1.8.4
      │ ├── canvas@2.11.2
      │ └─┬ jsdom@24.1.0
      │   └── canvas@2.11.2 deduped
      └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
        └── canvas@2.11.2 deduped
      

      Mhh, sieht ok aus ...

      npm rebuild canvas
      

      und danach:

      iobroker.inst@2.0.3 /opt/iobroker
      ├─┬ iobroker.echarts@1.8.4
      │ ├── canvas@2.11.2
      │ └─┬ jsdom@24.1.0
      │   └── canvas@2.11.2 deduped
      └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
        └── canvas@2.11.2 deduped
      

      sieht für mich 1:1 aus wie vorher.
      Dann ist der eCharts-Adapter beim nächsten erzeugen eines Bilds abgestürzt und wurde neu gestartet (ich hatte ioBroker / den Adapter nicht angehalten), seit geht es ohne Fehlermeldung und es ist ruhe.

      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

      W 1 Antwort Letzte Antwort
      1
      • BananaJoeB BananaJoe

        Ich habe heute auch auf nodejs 20 aktualisert und will mal ein Problem teilen falls noch jemand darüber stolpert:

        Sah erst alles ok aus, gab dann aber beim eCharts-Adapter eine Fehlermeldung wegen Canvas:

        2024-07-10 20:15:25.138  - error: echarts.0 (1632729) Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 108. This version of Node.js requires
        NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
        the module (for instance, using `npm rebuild` or `npm install`).
        

        Das passiert wenn man per SendTo an eCharts eine Grafik erzeugt (die man z.B. per Telegram versendet).
        Interessanterweise hat er das Bild trotzdem erzeugt und es wurde verschickt ...
        Ok, so etwas hatte ich doch schon mal, als eCharts damals heraus kam musste ich mit dem Canvas auch etwas kämpfen.
        Also Modulinstallation geprüft:

        iobroker@iobroker:/opt/iobroker$ npm ls canvas
        iobroker.inst@2.0.3 /opt/iobroker
        ├─┬ iobroker.echarts@1.8.4
        │ ├── canvas@2.11.2
        │ └─┬ jsdom@24.1.0
        │   └── canvas@2.11.2 deduped
        └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
          └── canvas@2.11.2 deduped
        

        Mhh, sieht ok aus ...

        npm rebuild canvas
        

        und danach:

        iobroker.inst@2.0.3 /opt/iobroker
        ├─┬ iobroker.echarts@1.8.4
        │ ├── canvas@2.11.2
        │ └─┬ jsdom@24.1.0
        │   └── canvas@2.11.2 deduped
        └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
          └── canvas@2.11.2 deduped
        

        sieht für mich 1:1 aus wie vorher.
        Dann ist der eCharts-Adapter beim nächsten erzeugen eines Bilds abgestürzt und wurde neu gestartet (ich hatte ioBroker / den Adapter nicht angehalten), seit geht es ohne Fehlermeldung und es ist ruhe.

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

        @bananajoe Canvas scheint da immer irgendwie Problemkind zu sein. Ich habe das regelmäßig beim mihome-vacuum-Adapter für den Roborock. Da muss ich Canvas nach einem Update von NodeJS auch regelmäßig wieder installieren.

        Gruss, Jürgen

        1 Antwort Letzte Antwort
        1
        • Thomas BraunT Thomas Braun

          @wildbill sagte in Wir Empfehlen: Node.js 20.x :-):

          Nur, wenn ich irgendwo, beispielsweise hier, mitbekomme, dass es irgendwas Sicherheitskritisches gibt, wo man schnell updaten sollte, dann wird das sehr zeitnah gemacht.

          Zum Beispiel ganz aktuell:
          https://nodejs.org/en/blog/vulnerability/july-2024-security-releases

          Dr. BakteriusD Online
          Dr. BakteriusD Online
          Dr. Bakterius
          Most Active
          schrieb am zuletzt editiert von
          #164

          @thomas-braun sagte in Wir Empfehlen: Node.js 20.x :-):

          Zum Beispiel ganz aktuell:

          Wenn ich das richtig verstanden habe, betrifft das aber "nur" Windows-Installationen. Und da muss der Angreifer auch mal Zugang zum System haben. Oder irre ich?

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • Dr. BakteriusD Dr. Bakterius

            @thomas-braun sagte in Wir Empfehlen: Node.js 20.x :-):

            Zum Beispiel ganz aktuell:

            Wenn ich das richtig verstanden habe, betrifft das aber "nur" Windows-Installationen. Und da muss der Angreifer auch mal Zugang zum System haben. Oder irre ich?

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

            @dr-bakterius

            Das sind doch mehrere Dinge. Da ist nicht nur die Windows-Version betroffen.

            Und kannst du bei jedem Issue für dein System bewerten, ob es betroffen ist? Ich könnte das jedenfalls nicht besser bewerten als die Leute, die den Code kennen und per Patch auf eine gemeldete Lücke reagiert haben.

            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

            Dr. BakteriusD 1 Antwort Letzte Antwort
            1
            • Thomas BraunT Thomas Braun

              @dr-bakterius

              Das sind doch mehrere Dinge. Da ist nicht nur die Windows-Version betroffen.

              Und kannst du bei jedem Issue für dein System bewerten, ob es betroffen ist? Ich könnte das jedenfalls nicht besser bewerten als die Leute, die den Code kennen und per Patch auf eine gemeldete Lücke reagiert haben.

              Dr. BakteriusD Online
              Dr. BakteriusD Online
              Dr. Bakterius
              Most Active
              schrieb am zuletzt editiert von
              #166

              @thomas-braun Wobei die anderen nicht mit 'high' bewertet werden. Aber ich mache auch meist alle 14 Tage ein Update - spätestens nach einem Monat. Da schaue ich mir die Issues gar nicht an.

              1 Antwort Letzte Antwort
              0
              • haselchenH haselchen

                @drapo

                Aktuell ist doch die V 9.1.2
                Da sollte Node20 drin sein.
                Denn im Discord Channel wurde geschrieben , dass Node20 mit dem 9.1.0 beta 4 ausgerollt wurde.
                Ansonsten das aktuelle Image ziehen und eben selber updaten.

                André  22.04.2024 08:02
                Eigentlich v9.1.2-beta.1, aber der letzte build mit Node 20 ist nicht durchgelaufen. Ich stoße den mal manuell an. Wir werden sehen...
                Ah, ich seh grad, v9.1.2-beta.1 habe ich nicht released. 🙂 Also wäre es regulär in der Tat noch v9.1.0-beta.4.
                
                D Offline
                D Offline
                drapo
                schrieb am zuletzt editiert von
                #167

                @haselchen hab mir heite das 9.1.2 buanet image installiert. Das kommt immer noch mit node 18 daher. Dann warte ich mal geduldig bis es offiziell ein Image mit Node 20 gibt. Solange alles läuft ist das ja nicht so dringend

                1 Antwort Letzte Antwort
                0
                • haselchenH Offline
                  haselchenH Offline
                  haselchen
                  Most Active
                  schrieb am zuletzt editiert von
                  #168

                  @drapo

                  Falls Du mal Langeweile hast ;)

                  c05d175e-6755-42c7-ae03-f20699252764-grafik.png

                  Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                  D 1 Antwort Letzte Antwort
                  0
                  • haselchenH haselchen

                    @drapo

                    Falls Du mal Langeweile hast ;)

                    c05d175e-6755-42c7-ae03-f20699252764-grafik.png

                    D Offline
                    D Offline
                    drapo
                    schrieb am zuletzt editiert von
                    #169

                    @haselchen haha danke für die info. Aber ich warte lieber auf die stable version

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      smarthome2020
                      schrieb am zuletzt editiert von smarthome2020
                      #170

                      Hey Leute,

                      ich bekomme ich ioBroker seit kurzer Zeit unter Host immer die Erinnerung:

                      libnode-dev/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                      libnode108/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                      node-babel7-runtime/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
                      node-babel7/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
                      node-v8-compile-cache/stable 2.3.0-3+deb12u1 all [aktualisierbar von: 2.3.0-3]
                      nodejs-doc/stable 18.19.0+dfsg-6~deb12u2 all [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                      nodejs/nodistro 20.16.0-1nodesource1 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                      

                      Nun wollte ich mich ans Werk machen und nodejs auf 20 heben nach folgender Anleitung .

                      Leider klappt das nicht, mir wird unter "iob diag" folgendes ausgegeben:

                      corepack:       N/A
                      *** nodejs is NOT correctly installed ***
                      
                      nodejs:
                        Installed: 18.19.0+dfsg-6~deb12u1
                        Candidate: 20.16.0-1nodesource1
                        Version table:
                           20.16.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.15.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.15.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.14.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.13.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.13.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.11.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.11.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.10.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.9.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.8.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.8.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.7.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.6.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.6.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.5.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.5.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.4.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.3.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.3.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.2.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.1.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.0.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           18.19.0+dfsg-6~deb12u2 500
                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                       *** 18.19.0+dfsg-6~deb12u1 500
                              500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                              100 /var/lib/dpkg/status
                      

                      Ich habe bereits "iob fix" probiert. Die VM unter Proxmox ist auf dem neuesten Stand.
                      Was mache ich falsch? Wie aktualisiere ich den Rest dann (apt update und upgrade -y sind bereits ausgeführt worden)

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • S smarthome2020

                        Hey Leute,

                        ich bekomme ich ioBroker seit kurzer Zeit unter Host immer die Erinnerung:

                        libnode-dev/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                        libnode108/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                        node-babel7-runtime/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
                        node-babel7/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
                        node-v8-compile-cache/stable 2.3.0-3+deb12u1 all [aktualisierbar von: 2.3.0-3]
                        nodejs-doc/stable 18.19.0+dfsg-6~deb12u2 all [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                        nodejs/nodistro 20.16.0-1nodesource1 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
                        

                        Nun wollte ich mich ans Werk machen und nodejs auf 20 heben nach folgender Anleitung .

                        Leider klappt das nicht, mir wird unter "iob diag" folgendes ausgegeben:

                        corepack:       N/A
                        *** nodejs is NOT correctly installed ***
                        
                        nodejs:
                          Installed: 18.19.0+dfsg-6~deb12u1
                          Candidate: 20.16.0-1nodesource1
                          Version table:
                             20.16.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.15.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.15.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.14.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.13.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.13.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.12.2-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.12.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.12.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.11.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.11.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.10.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.9.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.8.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.8.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.7.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.6.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.6.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.5.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.5.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.4.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.3.1-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.3.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.2.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.1.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             20.0.0-1nodesource1 1001
                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                             18.19.0+dfsg-6~deb12u2 500
                                500 http://deb.debian.org/debian bookworm/main amd64 Packages
                         *** 18.19.0+dfsg-6~deb12u1 500
                                500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                                100 /var/lib/dpkg/status
                        

                        Ich habe bereits "iob fix" probiert. Die VM unter Proxmox ist auf dem neuesten Stand.
                        Was mache ich falsch? Wie aktualisiere ich den Rest dann (apt update und upgrade -y sind bereits ausgeführt worden)

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

                        @smarthome2020

                        Da ist die falsche Version noch installiert.
                        Sollte eigentlich per

                        iob nodejs-update 20
                        

                        automatisch alles bereinigt werden. Zeig mal die Ausgaben davon.

                        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

                          @smarthome2020

                          Da ist die falsche Version noch installiert.
                          Sollte eigentlich per

                          iob nodejs-update 20
                          

                          automatisch alles bereinigt werden. Zeig mal die Ausgaben davon.

                          S Offline
                          S Offline
                          smarthome2020
                          schrieb am zuletzt editiert von
                          #172

                          @thomas-braun

                          Nothing to do - Your installation is using the correct paths.
                          
                          You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree?
                          
                          Press <y> to continue or any other key to quit
                          Trying to fix 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://deb.debian.org/debian bookworm InRelease
                          Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
                          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                          Reading package lists... Done
                          
                          *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                          
                          *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                          
                          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_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 bookworm InRelease
                          Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
                          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                          Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                          Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8759 B]
                          Fetched 20.9 kB in 0s (45.1 kB/s)
                          Reading package lists... Done
                          
                          Installing nodejs now!
                          
                          E: Broken packages
                          Installing nodejs now!
                          E: Broken packages
                          
                          *** You need to manually restart your container/virtual machine now! ***
                          
                          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                          
                          
                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • S smarthome2020

                            @thomas-braun

                            Nothing to do - Your installation is using the correct paths.
                            
                            You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree?
                            
                            Press <y> to continue or any other key to quit
                            Trying to fix 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://deb.debian.org/debian bookworm InRelease
                            Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                            Reading package lists... Done
                            
                            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                            
                            *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                            
                            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_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 bookworm InRelease
                            Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
                            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                            Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                            Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8759 B]
                            Fetched 20.9 kB in 0s (45.1 kB/s)
                            Reading package lists... Done
                            
                            Installing nodejs now!
                            
                            E: Broken packages
                            Installing nodejs now!
                            E: Broken packages
                            
                            *** You need to manually restart your container/virtual machine now! ***
                            
                            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von Thomas Braun
                            #173

                            @smarthome2020
                            Versuch mal ein

                            sudo apt remove libnode* node-* nodejs-doc npm nodejs
                            

                            und danach nochmal

                            sudo apt update
                            iob nodejs-update 20
                            

                            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 S 2 Antworten Letzte Antwort
                            1
                            • Thomas BraunT Thomas Braun

                              @smarthome2020
                              Versuch mal ein

                              sudo apt remove libnode* node-* nodejs-doc npm nodejs
                              

                              und danach nochmal

                              sudo apt update
                              iob nodejs-update 20
                              
                              S Offline
                              S Offline
                              smarthome2020
                              schrieb am zuletzt editiert von
                              #174

                              @thomas-braun

                              Super, das hat geklappt :)
                              Vielen Dank für deine kompetente Hilfe (wie immer :D ) .

                              1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                Hallo alle zusammen,

                                mal wieder ist ein Jahr ins Land gegangen und das bedeutet das es wieder Neuigkeiten gibt was die bei der Node.js Version angeht.

                                Node.js 20 wurde letztes Jahr veröffentlicht, seit Oktober LTS und ist inzwischen unseren Erfahrungen nach stabil und es sind keine Probleme bisher bekannt.

                                Aus diesem Grund wollen wir empfehlen auch Eure Systeme auf Node.js 20 zu aktualisieren bzw neue Installationen gleich mit Node.js 20 zu machen.
                                Es gibt keinen Grund zur Hektik! Node.js 18 ist auch noch vollkommen ok und stabil, es muss als niemand Panik bekommen :-) Auch der kommende js-controller 6 wird weiterhin Node.js 18 unterstützen - dort wird nur Node.js 16 rausfallen.

                                Wir werden in den nächsten Tagen (!) die einschlägigen Stellen wie Admin, Info-Adapter, Installer u.ä. anpassen das diese Node.js 20 ebenfalls empfehlen bzw bei Neuinstallationen automatisch mit installieren. Bezüglich Docker bin ich mit @buanet ebenfalls im Gespräch.

                                Am Ende gilt weiterhin https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 und auch "iob nodejs-update" ist ein einfacher Weg für das Update.

                                Ingo

                                Gabriel BastG Offline
                                Gabriel BastG Offline
                                Gabriel Bast
                                schrieb am zuletzt editiert von
                                #175

                                @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                                Über eine Antwort wäre ich sehr dankbar.
                                Vielen Dank und Gruß
                                Gabriel

                                sigi234S Thomas BraunT HomoranH 3 Antworten Letzte Antwort
                                0
                                • Gabriel BastG Gabriel Bast

                                  @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                                  Über eine Antwort wäre ich sehr dankbar.
                                  Vielen Dank und Gruß
                                  Gabriel

                                  sigi234S Online
                                  sigi234S Online
                                  sigi234
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #176

                                  @gabriel-bast

                                  Meister Fehler ist ein Leerzeichen am Anfang oder Ende des PW

                                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Immer Daten sichern!

                                  1 Antwort Letzte Antwort
                                  0
                                  • Gabriel BastG Gabriel Bast

                                    @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                                    Über eine Antwort wäre ich sehr dankbar.
                                    Vielen Dank und Gruß
                                    Gabriel

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

                                    @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

                                    Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt.

                                    Wie installierst du es denn?
                                    Per

                                    iob nodejs-update
                                    

                                    wirst du nicht nach dem PW für den iobroker-Admin gefragt sondern nach dem Passwort für das Betriebssystem.

                                    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
                                    • Gabriel BastG Gabriel Bast

                                      @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                                      Über eine Antwort wäre ich sehr dankbar.
                                      Vielen Dank und Gruß
                                      Gabriel

                                      HomoranH Nicht stören
                                      HomoranH Nicht stören
                                      Homoran
                                      Global Moderator Administrators
                                      schrieb am zuletzt editiert von
                                      #178

                                      @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

                                      Ich will Version 20 installieren

                                      wie?

                                      @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

                                      ich werde nach dem iobrocker Passwort gefragt

                                      wo genau?

                                      bitte mehr Infos

                                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @smarthome2020
                                        Versuch mal ein

                                        sudo apt remove libnode* node-* nodejs-doc npm nodejs
                                        

                                        und danach nochmal

                                        sudo apt update
                                        iob nodejs-update 20
                                        
                                        S Offline
                                        S Offline
                                        Stadtschloss
                                        schrieb am zuletzt editiert von Stadtschloss
                                        #179

                                        @thomas-braun

                                        Hallo,

                                        ich habe die genannten Befehle ausgeführt. Bei dem nodejs-update kann Anscheint die neue Version nicht installiert werden. Was kann ich hier machen?

                                        Danke!

                                        iob nodejs-update 20
                                        
                                        ioBroker nodejs fixer 2024-10-10
                                        You requested to install latest version from nodejs v20 tree.
                                        
                                        Your current setup is:
                                        /home/iobroker/.nodejs-update.sh: line 156: node: command not found
                                         		
                                        /home/iobroker/.nodejs-update.sh: line 157: npm: command not found
                                         		
                                        /home/iobroker/.nodejs-update.sh: line 158: npx: command not found
                                         		
                                        /home/iobroker/.nodejs-update.sh: line 178: node: command not found
                                        /home/iobroker/.nodejs-update.sh: line 179: npm: command not found
                                        /home/iobroker/.nodejs-update.sh: line 180: npx: command not found
                                        
                                        *** nodejs is NOT correctly installed ***
                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: (none)
                                          Candidate: 20.18.1-1nodesource1
                                          Version table:
                                             20.18.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.18.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.17.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.16.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.14.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.2-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.10.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.9.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.7.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.4.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.2.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.1.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.0.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             12.22.12~dfsg-1~deb11u5 500
                                                500 http://security.debian.org bullseye-security/main amd64 Packages
                                             12.22.12~dfsg-1~deb11u4 500
                                                500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                        
                                        
                                        
                                        Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                        Press <y> to continue or any other key to quit
                                        
                                        Fixing your nodejs setup
                                        *** Deleting  ***
                                        rm: cannot remove '': No such file or directory
                                        *** Deleting  ***
                                        rm: cannot remove '': No such file or directory
                                        *** Deleting  ***
                                        rm: cannot remove '': No such file or directory
                                        
                                        Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                        /home/iobroker/.nodejs-update.sh: line 279: node: command not found
                                        
                                        You are running nodejs . Do you want to install latest version from nodejs v.20 tree? 
                                        
                                        Press <y> to continue or any other key to quit
                                        Trying to fix your installation now. Please be patient.
                                        
                                        rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                                        
                                        Virtualization: lxc
                                        Waiting for ioBroker to shut down - Give me a minute...
                                        ############################################################
                                        
                                        Removing dfsg-nodejs
                                        
                                        
                                        *** These repos are active on your system:
                                        Hit:1 http://security.debian.org bullseye-security InRelease
                                        Hit:2 http://ftp.debian.org/debian bullseye InRelease
                                        Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
                                        Reading package lists... Done
                                        
                                        *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                        
                                        *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                        
                                        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                        Package: nodejs
                                        Pin: origin deb.nodesource.com
                                        Pin-Priority: 1001
                                        
                                        *** These repos are active after the adjustments:
                                        Hit:1 http://security.debian.org bullseye-security InRelease
                                        Hit:2 http://ftp.debian.org/debian bullseye InRelease                   
                                        Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease           
                                        Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] 
                                        Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9928 B]
                                        Fetched 22.1 kB in 1s (28.3 kB/s)   
                                        Reading package lists... Done
                                        
                                        Installing nodejs now!
                                        
                                        /home/iobroker/.nodejs-update.sh: line 386: [: : integer expression expected
                                        Exact recommended version unknown, installing a fallback!
                                        Selecting previously unselected package nodejs.
                                        (Reading database ... 36421 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_20.0.0-1nodesource1_amd64.deb ...
                                        Unpacking nodejs (20.0.0-1nodesource1) ...
                                        Setting up nodejs (20.0.0-1nodesource1) ...
                                        Processing triggers for man-db (2.9.4-2) ...
                                        
                                        Updating fallback to latest nodejs v20 release
                                        (Reading database ... 41875 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
                                        Detected old npm client, removing...
                                        Unpacking nodejs (20.18.1-1nodesource1) over (20.0.0-1nodesource1) ...
                                        Setting up nodejs (20.18.1-1nodesource1) ...
                                        Processing triggers for man-db (2.9.4-2) ...
                                        v20.18.1 has been installed! You are using the latest version now!
                                        /home/iobroker/.nodejs-update.sh: line 403: [: : integer expression expected
                                        Installing nodejs now!
                                        
                                        *** You need to manually restart your container/virtual machine now! *** 
                                        
                                        We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                        

                                        UPDATE:

                                        Ein restart zeigt nun das. Hat also wie es ausschaut jetzt geklappt:

                                        ioBroker nodejs fixer 2024-10-10
                                        
                                        Recommended nodejs-version is: 20.18.1
                                        Checking your installation now. Please be patient!
                                        
                                        Your current setup is:
                                        /usr/bin/nodejs 	v20.18.1
                                        /usr/bin/node 		v20.18.1
                                        /usr/bin/npm 		10.8.2
                                        /usr/bin/npx 		10.8.2
                                        /usr/bin/corepack 	0.29.4
                                        
                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: 20.18.1-1nodesource1
                                          Candidate: 20.18.1-1nodesource1
                                          Version table:
                                         *** 20.18.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                                100 /var/lib/dpkg/status
                                             20.18.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.17.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.16.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.14.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.2-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.10.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.9.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.7.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.4.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.2.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.1.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.0.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             12.22.12~dfsg-1~deb11u5 500
                                                500 http://security.debian.org bullseye-security/main amd64 Packages
                                             12.22.12~dfsg-1~deb11u4 500
                                                500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                        
                                        
                                        
                                        Nothing to do - Your installation is using the correct paths.
                                        Nothing to do - Your version is the recommended one.
                                        
                                        ***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
                                        *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
                                        
                                         *** DO NOT use 'nodejs-update' as part of a regular update process! ***
                                        
                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S Stadtschloss

                                          @thomas-braun

                                          Hallo,

                                          ich habe die genannten Befehle ausgeführt. Bei dem nodejs-update kann Anscheint die neue Version nicht installiert werden. Was kann ich hier machen?

                                          Danke!

                                          iob nodejs-update 20
                                          
                                          ioBroker nodejs fixer 2024-10-10
                                          You requested to install latest version from nodejs v20 tree.
                                          
                                          Your current setup is:
                                          /home/iobroker/.nodejs-update.sh: line 156: node: command not found
                                           		
                                          /home/iobroker/.nodejs-update.sh: line 157: npm: command not found
                                           		
                                          /home/iobroker/.nodejs-update.sh: line 158: npx: command not found
                                           		
                                          /home/iobroker/.nodejs-update.sh: line 178: node: command not found
                                          /home/iobroker/.nodejs-update.sh: line 179: npm: command not found
                                          /home/iobroker/.nodejs-update.sh: line 180: npx: command not found
                                          
                                          *** nodejs is NOT correctly installed ***
                                          We found these nodejs versions available for installation:
                                          
                                          nodejs:
                                            Installed: (none)
                                            Candidate: 20.18.1-1nodesource1
                                            Version table:
                                               20.18.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.18.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.17.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.16.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.14.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.2-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.10.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.9.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.7.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.4.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.2.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.1.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.0.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               12.22.12~dfsg-1~deb11u5 500
                                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                                               12.22.12~dfsg-1~deb11u4 500
                                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                          
                                          
                                          
                                          Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                          Press <y> to continue or any other key to quit
                                          
                                          Fixing your nodejs setup
                                          *** Deleting  ***
                                          rm: cannot remove '': No such file or directory
                                          *** Deleting  ***
                                          rm: cannot remove '': No such file or directory
                                          *** Deleting  ***
                                          rm: cannot remove '': No such file or directory
                                          
                                          Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                          /home/iobroker/.nodejs-update.sh: line 279: node: command not found
                                          
                                          You are running nodejs . Do you want to install latest version from nodejs v.20 tree? 
                                          
                                          Press <y> to continue or any other key to quit
                                          Trying to fix your installation now. Please be patient.
                                          
                                          rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                                          
                                          Virtualization: lxc
                                          Waiting for ioBroker to shut down - Give me a minute...
                                          ############################################################
                                          
                                          Removing dfsg-nodejs
                                          
                                          
                                          *** These repos are active on your system:
                                          Hit:1 http://security.debian.org bullseye-security InRelease
                                          Hit:2 http://ftp.debian.org/debian bullseye InRelease
                                          Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
                                          Reading package lists... Done
                                          
                                          *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                          
                                          *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                          
                                          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                          Package: nodejs
                                          Pin: origin deb.nodesource.com
                                          Pin-Priority: 1001
                                          
                                          *** These repos are active after the adjustments:
                                          Hit:1 http://security.debian.org bullseye-security InRelease
                                          Hit:2 http://ftp.debian.org/debian bullseye InRelease                   
                                          Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease           
                                          Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] 
                                          Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9928 B]
                                          Fetched 22.1 kB in 1s (28.3 kB/s)   
                                          Reading package lists... Done
                                          
                                          Installing nodejs now!
                                          
                                          /home/iobroker/.nodejs-update.sh: line 386: [: : integer expression expected
                                          Exact recommended version unknown, installing a fallback!
                                          Selecting previously unselected package nodejs.
                                          (Reading database ... 36421 files and directories currently installed.)
                                          Preparing to unpack .../nodejs_20.0.0-1nodesource1_amd64.deb ...
                                          Unpacking nodejs (20.0.0-1nodesource1) ...
                                          Setting up nodejs (20.0.0-1nodesource1) ...
                                          Processing triggers for man-db (2.9.4-2) ...
                                          
                                          Updating fallback to latest nodejs v20 release
                                          (Reading database ... 41875 files and directories currently installed.)
                                          Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
                                          Detected old npm client, removing...
                                          Unpacking nodejs (20.18.1-1nodesource1) over (20.0.0-1nodesource1) ...
                                          Setting up nodejs (20.18.1-1nodesource1) ...
                                          Processing triggers for man-db (2.9.4-2) ...
                                          v20.18.1 has been installed! You are using the latest version now!
                                          /home/iobroker/.nodejs-update.sh: line 403: [: : integer expression expected
                                          Installing nodejs now!
                                          
                                          *** You need to manually restart your container/virtual machine now! *** 
                                          
                                          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                          

                                          UPDATE:

                                          Ein restart zeigt nun das. Hat also wie es ausschaut jetzt geklappt:

                                          ioBroker nodejs fixer 2024-10-10
                                          
                                          Recommended nodejs-version is: 20.18.1
                                          Checking your installation now. Please be patient!
                                          
                                          Your current setup is:
                                          /usr/bin/nodejs 	v20.18.1
                                          /usr/bin/node 		v20.18.1
                                          /usr/bin/npm 		10.8.2
                                          /usr/bin/npx 		10.8.2
                                          /usr/bin/corepack 	0.29.4
                                          
                                          We found these nodejs versions available for installation:
                                          
                                          nodejs:
                                            Installed: 20.18.1-1nodesource1
                                            Candidate: 20.18.1-1nodesource1
                                            Version table:
                                           *** 20.18.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               20.18.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.17.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.16.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.14.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.2-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.10.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.9.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.7.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.4.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.2.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.1.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.0.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               12.22.12~dfsg-1~deb11u5 500
                                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                                               12.22.12~dfsg-1~deb11u4 500
                                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                          
                                          
                                          
                                          Nothing to do - Your installation is using the correct paths.
                                          Nothing to do - Your version is the recommended one.
                                          
                                          ***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
                                          *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
                                          
                                           *** DO NOT use 'nodejs-update' as part of a regular update process! ***
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #180

                                          @stadtschloss

                                          Deswegen ja auch der Hinweis:

                                          *** You need to manually restart your container/virtual machine now! ***

                                          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
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          684

                                          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