Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wir empfehlen: Node.js 22.x

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wir empfehlen: Node.js 22.x

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

      @thomas-braun said in Wir empfehlen: Node.js 22.x:

      @fuchs1978 sagte in Wir empfehlen: Node.js 22.x:

      Muss ich die Datei jetzt löschen? Trixie wie gesagt habe ich, aber damit auch gleich apt3?

      Du sprichst von der nodesource-Repo-Datei?
      Falls du die Repo-Dateien per

      sudo apt modernize-sources
      

      auf das modernere Format umgestellt hast würde ich das machen. Gibt sonst Mecker von apt, das Quellen doppelt angelegt sind.

      Edit: Kurz, wenn diese beiden Dateien auftauchen:

      echad@chet:~ $ ls -la /etc/apt/sources.list.d/nodesource.*
      -rw-r--r-- 1 root root 100 Aug 10 21:14 /etc/apt/sources.list.d/nodesource.list
      -rw-r--r-- 1 root root 242 Aug 10 18:39 /etc/apt/sources.list.d/nodesource.sources
      echad@chet:~ $
      

      würde ich die nodesource.sources löschen.

      Es kommt nur die list Datei

      1 Reply Last reply Reply Quote 0
      • BananaJoe
        BananaJoe Most Active last edited by BananaJoe

        Upgrade in einer VMware VM unter Ubuntu 24.04 LTS lief völlig Problemlos.
        Allerdings habe ich - wie jedes mal - das Problem das eCharts nun keine Bilder mehr versenden kann.

        Das Testskript:
        4501d42d-b7ea-4223-b8d4-0c918e7e1cce-image.png

        Log Ausgabe:

        2025-08-11 14:12:03.387  - info: javascript.0 (6980) script.js.001_Routinen.Solaranlage.disabled.Test_echarts: sendTo[custom] echarts.0: preset: echarts.0.Solaranlage.Solar_Hauswand, renderer: jpg, background: #000000, fileOnDisk: /tmp/echarts_solarHauswand.jpg, quality: 1, width: 1024, height: 800
        

        Das immer am canvas Paket im eCharts Adapter, ich suche gerade was ich die letzten male gemacht habe. Einen Upload habe ich schon gemacht, der hat nichts gebracht.

        npm ls canvas
        

        im /opt/iobroker/ Verzeichnis ergibt

        iobroker.inst@2.0.3 /opt/iobroker
        └─┬ iobroker.echarts@2.0.6
          ├── canvas@3.1.0
          └─┬ jsdom@26.0.0
            └── canvas@3.1.0 deduped
        

        Nachtrag: Hier habe ich zusammengetragen was ich sonst gemacht habe: https://forum.iobroker.net/post/1242483
        Hilft aber nicht

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

          @bananajoe

          Bau den echarts-Adapter nochmal neu.
          Es gab mal mit dem mihome-vaccuum Adapter das Problem, wenn canvas nicht direkt im Tree lag sondern wie bei dir auch 'deduped' war. Wo hängt denn canvas bei dir direkt? Mal mit

          npm ls canvas
          

          schauen.

          BananaJoe 1 Reply Last reply Reply Quote 0
          • Eduard77
            Eduard77 @BananaJoe last edited by

            @bananajoe
            letztes mal hat mir das geholfen. (https://forum.iobroker.net/topic/74956/gelöst-probleme-mit-echart-diagramm-per-telegram-senden/2?_=1754914858526)

            
            cd /opt/iobroker/node_modules/canvas/
            sudo -u iobroker npm install --omit=dev
            
            
            BananaJoe 1 Reply Last reply Reply Quote 0
            • BananaJoe
              BananaJoe Most Active @Thomas Braun last edited by

              @thomas-braun sagte in Wir empfehlen: Node.js 22.x:

              @bananajoe

              Bau den echarts-Adapter nochmal neu.
              Es gab mal mit dem mihome-vaccuum Adapter das Problem, wenn canvas nicht direkt im Tree lag sondern wie bei dir auch 'deduped' war. Wo hängt denn canvas bei dir direkt? Mal mit

              npm ls canvas
              

              schauen.

              siehe meinen Post, da steht die Ausgabe schon drin

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

                @bananajoe

                Aber es muss noch ein canvas ohne deduped geben.

                (Edit: Tomaten auf den Augen. Sind zwei Ebenen mit canvas)

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

                  @thomas-braun
                  gibt es doch?

                  iobroker.inst@2.0.3 /opt/iobroker
                  └─┬ iobroker.echarts@2.0.6
                    ├── canvas@3.1.0
                    └─┬ jsdom@26.0.0
                      └── canvas@3.1.0 deduped
                  
                  1 Reply Last reply Reply Quote 0
                  • BananaJoe
                    BananaJoe Most Active @Eduard77 last edited by

                    @eduard77 tja, hat jetzt gerade auch nichts gebracht
                    gibt auch keine Fehlermeldungen, auch wenn ich den eCharts-Adapter auf Debug stelle

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

                      @thomas-braun sagte in Wir empfehlen: Node.js 22.x:

                      Bau den echarts-Adapter nochmal neu.

                      öhm? wie genau?

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

                        @bananajoe

                        Können wir das Thema auslagern? Telegram + canvas haben wenn überhaupt nur sehr indirekt mit nodejs22 zu tun.

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

                          @bananajoe sagte in Wir empfehlen: Node.js 22.x:

                          öhm? wie genau?

                          iob upgrade echarts@1.9.2
                          

                          oder wie auch immer die aktuelle Versionsnummer für echarts lautet.

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

                            damit hat es bei mir auch geklappt iob nodejs-update 22

                            Screenshot 2025-08-11 144642.jpg

                            👍

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

                              @thomas-braun sagte in Wir empfehlen: Node.js 22.x:

                              @bananajoe

                              Können wir das Thema auslagern? Telegram + canvas haben wenn überhaupt nur sehr indirekt mit nodejs22 zu tun.

                              hier geht es weiter: https://forum.iobroker.net/topic/81902/echarts-kein-sendto-nach-upgrade-auf-node-js-22-x

                              1 Reply Last reply Reply Quote 0
                              • Fabio
                                Fabio @apollon77 last edited by Fabio

                                @apollon77 Hallo zusammen leider läuft jetzt bei mir der eusec Adapter nicht mehr.
                                Habt ihr eine Idee was das sein kann. Ich denke das hat was mit der Node 22 zu tun. Vorher ging es. https://github.com/bropat/ioBroker.eusec

                                https://github.com/bropat/ioBroker.eusec/issues/481

                                
                                host.nuc
                                2025-08-11 16:04:27.122	info	Do not restart adapter system.adapter.eusec.0 because disabled or deleted
                                
                                host.nuc
                                2025-08-11 16:04:27.122	error	instance system.adapter.eusec.0 terminated with code 12 (UNKNOWN_PACKET_NAME)
                                
                                host.nuc
                                2025-08-11 16:04:27.121	error	Caught by controller[0]: /usr/bin/node: Error: Attempt to revert an unknown CVE [CVE-2023-46809]
                                
                                host.nuc
                                2025-08-11 16:04:03.433	info	"system.adapter.eusec.0" disabled
                                
                                host.nuc
                                2025-08-11 16:03:56.820	info	Restart adapter system.adapter.eusec.0 because enabled
                                
                                host.nuc
                                2025-08-11 16:03:56.820	error	instance system.adapter.eusec.0 terminated with code 12 (UNKNOWN_PACKET_NAME)
                                
                                host.nuc
                                2025-08-11 16:03:56.820	error	Caught by controller[0]: /usr/bin/node: Error: Attempt to revert an unknown CVE [CVE-2023-46809]
                                
                                host.nuc
                                2025-08-11 16:03:56.794	info	instance system.adapter.eusec.0 in version "1.3.3" (non-npm: bropat/ioBroker.eusec) started with pid 7139
                                
                                host.nuc
                                2025-08-11 16:03:26.530	info	Restart adapter system.adapter.eusec.0 because enabled
                                
                                host.nuc
                                2025-08-11 16:03:26.530	error	instance system.adapter.eusec.0 terminated with code 12 (UNKNOWN_PACKET_NAME)
                                
                                host.nuc
                                2025-08-11 16:03:26.530	error	Caught by controller[0]: /usr/bin/node: Error: Attempt to revert an unknown CVE [CVE-2023-46809]
                                
                                host.nuc
                                2025-08-11 16:03:26.498	info	instance system.adapter.eusec.0 in version "1.3.3" (non-npm: bropat/ioBroker.eusec) started with pid 7138
                                
                                host.nuc
                                2025-08-11 16:03:26.186	info	"system.adapter.eusec.0" enabled
                                

                                Herzliche Grüße
                                Fabio

                                ioBroker-Bot created this issue in bropat/ioBroker.eusec

                                open Compatibility check and testing for node.js 24 #481

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

                                  @fabio sagte in Wir empfehlen: Node.js 22.x:

                                  Error: Attempt to revert an unknown CVE [CVE-2023-46809]

                                  Ja, da muss der Adapter (oder eine der Dependencies) angepasst werden. Hier werden noch Methoden verwendet, die ein Sicherheitsrisiko beinhalten und deswegen wird das geblockt.

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

                                    @thomas-braun danke Thomas,

                                    hab ein Issues aufgemacht. Ich denke der Adapter ist tot.

                                    https://github.com/bropat/ioBroker.eusec/issues/482

                                    Herzliche Grüße
                                    Fabio

                                    sansonifabio created this issue in bropat/ioBroker.eusec

                                    open [Bug]: Node.js 22.x Error: Attempt to revert an unknown CVE [CVE-2023-46809] #482

                                    1 Reply Last reply Reply Quote 1
                                    • BananaJoe
                                      BananaJoe Most Active last edited by BananaJoe

                                      Der Adapter alexa-timer-vis https://github.com/MiRo1310/ioBroker.alexa-timer-vis ist auch nicht kompatibel mit Node.js 22, ich werde da auch noch ein Issue eröffnen

                                      https://github.com/MiRo1310/ioBroker.alexa-timer-vis/issues/210

                                      BernhardLinz created this issue in MiRo1310/ioBroker.alexa-timer-vis

                                      closed Not compatible with NodeJS 22.x #210

                                      1 Reply Last reply Reply Quote 1
                                      • BananaJoe
                                        BananaJoe Most Active last edited by

                                        Beim Adapter echarts https://github.com/ioBroker/ioBroker.echarts funktioniert das Server side rendering mit Node.js 22 nicht mehr, die Diagramme in VIS1 sahen gut aus.
                                        https://github.com/ioBroker/ioBroker.echarts/issues/925

                                        BernhardLinz created this issue in ioBroker/ioBroker.echarts

                                        open Server side rendering not working with Node.js 22 #925

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

                                          @thomas-braun sagte in Wir empfehlen: Node.js 22.x:

                                          Falls es wider Erwarten mit nodejs@22 noch bei einzelnen Adaptern Probleme geben sollte kann man die alte Version so wieder installieren:

                                          iob nodejs-update 20
                                          

                                          Wer den SQL-Adapter einsetzt muss diesen nach einem Downgrade mit

                                          iob upgrade sql@3.0.1
                                          

                                          einmal neu installieren, bei mir hat er es nicht von alleine wieder geschafft zu starten. Der Befehl deinstalliert den Adapter und installiert diesen gleich wieder neu, danach funktionierte er wieder.

                                          haselchen 1 Reply Last reply Reply Quote 1
                                          • haselchen
                                            haselchen Most Active @BananaJoe last edited by

                                            @apollon77

                                            Werden die Entwickler von euch informiert ihre Adapter anzupassen?
                                            Oder läuft das so:
                                            Ihr empfehlt -> wir merken das was nicht funktioniert -> erstellen ein Issue -> wenns gut läuft arbeitet der Entwickler es ab ?

                                            Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            682
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            26
                                            158
                                            5536
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo