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.
    • A
      ag last edited by

      Hallo.
      Habe jetzt mein Multihostsystem auch auf Nodejs22.
      1 Host (RPI5) und 2 Slaves (RPI4/RPI3)
      Der CanBus Adapter wollte erst nicht, Erst nach deinstallation und neubau lief der dann auch.
      Danke an Alle für die Tips und Tricks hier.

      Gruß
      ag

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

        @thomas-braun Doch, das habe ich.
        Wie müsste es denn aussehen bzw. wie kann ich es korrigieren?

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

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

          Wie müsste es denn aussehen bzw. wie kann ich es korrigieren?

          Kannste so lassen. Ist nicht ganz verkehrt. nodejs-update sollte eigentlich das Paket nodejs mit ganz hoher Priority (1001) führen. Bei dir ist es 'nur' mit 600 eingestellt. Macht aber nix, ist immer noch höhere Prio als der Standard (500).

          Das könnte allerdings auch der Grund sein, warum das bei dir so komisch reagiert, Prio 1001 knallt diese Versionen ohne Rücksicht auf Verluste auf jedenfall rein, 600 ist nicht ganz so aggressiv.

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

            @thomas-braun
            Alles klar, dann werde ich das versuchen.

            Danke und Gruß, Michael

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

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

              ls -la /home

              mike@Pi5:~ $ ls -la /home
              total 36
              drwxr-xr-x  5 root root  4096 Sep  9  2024 .
              drwxr-xr-x 18 root root  4096 Jul  4  2024 ..
              drwxr-xr-x  2 root root 20480 Apr 18 17:25 backup
              drwxr-xr-x  4 mike ****  4096 Jul 15 18:04 iobroker
              drwx------ 12 mike **** 4096 Aug 13 11:48 mike
              mike@Pi5:~ $
              
              
              

              so siehts aus.
              hast du zufällig auch ein bash script für den iob fix, der macht auch nix mehr, früher gings...

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

                @bigmike71

                Haste die **** da selber reingeschrieben oder ist das so?

                Da sind eh die Rechte verbogen. /home/iobroker muss natürlich auch dem iobroker gehörten und NICHT dem mike.

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

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

                  früher gings...

                  Bevor du dir die Rechte zerballert hast...

                  sudo chown -R iobroker:iobroker /home/iobroker
                  

                  Das Verzeichnis

                  drwxr-xr-x  2 root root 20480 Apr 18 17:25 backup
                  

                  darf es da auch nicht geben. Oder hast du einen user namens 'backup', der irgendwas tut?
                  Aber dann hätte der die falschen Rechte, der Kram würde dann nicht root gehören. Der hat ein eigenes Home unter /root
                  Also komplett alles irgendwie durcheinandergeschossen.

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

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

                    sudo chown -R iobroker:iobroker /home/iobroker

                    kann ich mir damit was kaputt machen? gibt es einen weg notfalls zurück?
                    keine ahnung warum die rechte so sind, hatte eine normale installation seinerzeit gemacht über ssh

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

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

                      kann ich mir damit was kaputt machen? gibt es einen weg notfalls zurück?

                      Das IST doch schon alles kaputt gefummelt. Mit dem Befehl stellst du das wieder richtig, sodass auch der Befehle wie iob diag und iob nodejs-update wieder funktionieren können. Grund bei dir ist: Die Skripte können nicht heruntergeladen werden, weil der user 'iobroker' in sein eigenes Zuhause nicht reinkommt, weil da jemand an der Tür das Schloss getauscht hat.

                      keine ahnung warum die rechte so sind, hatte eine normale installation seinerzeit gemacht über ssh

                      Und irgendwann danach hast DU die Rechte zerballert. Der user 'iobroker' wird natürlich erstmal mit den richtigen Rechten angelegt.

                      B 1 Reply Last reply Reply Quote 2
                      • B
                        bean last edited by

                        Das Update des Containers von Buanet auf 11 Latest hat einwandfrei funktioniert - leider kann der eCharts-Adapter keine Bilder mehr versenden und der Eusec Adapter lässt sich nicht starten - entsprechende Issues sind schon eröffnet und warten auf Behandlung.

                        Also wieder zurück auf v10/Node 20, ich muss noch warten...

                        mcm1957 1 Reply Last reply Reply Quote 0
                        • P
                          Pitpilot last edited by Homoran

                          Der Siemens Simatic S7 Adapter macht leider einen Fehler mit Node.js 22.x und ich musste zurück auf 20 updaten.
                          Also Vorsicht wenn ihr eine Produktiv System am Laufen habt !!
                          Kennt das Problem schon jemand?

                          host.raspberrypi
                          2025-08-14 12:15:14.244	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.244	error	Caught by controller[0]: Node.js v22.18.0
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.244	error	Caught by controller[0]: }
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: ]
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-arm64/node_snap7.node'
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.18.0/linux/arm64/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.243	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: tries: [
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: at require (node:internal/modules/helpers:135:16) {
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.242	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1445:12)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1246:12)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1423:32)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1820:10)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1688:14)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.241	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-arm64/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.18.0/linux/arm64/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.240	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: ^
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.239	error	Caught by controller[0]: throw err;
                          
                          host.raspberrypi
                          2025-08-14 12:15:14.238	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
                          
                          host.raspberrypi
                          2025-08-14 12:15:12.134	info	instance system.adapter.s7.0 in version "1.4.3" started with pid 6217
                          
                          host.raspberrypi
                          2025-08-14 12:15:11.490	info	iobroker npm-rebuild: exit 1
                          
                          host.raspberrypi
                          2025-08-14 12:15:10.456	error	iobroker npm-rebuild: Rebuilding native modules failed
                          
                          vis.0
                          2025-08-14 12:15:05.035	info	Terminated (NO_ERROR): Without reason
                          
                          vis.0
                          2025-08-14 12:15:03.976	info	starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.vis, node: v22.18.0, js-controller: 7.0.6
                          
                          host.raspberrypi
                          2025-08-14 12:14:52.609	info	iobroker npm-rebuild: Rebuilding native modules ...
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.956	info	iobroker rebuild
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	warn	adapter "s7" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	info	system.adapter.s7.0 will be rebuilt
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	info	Adapter system.adapter.s7.0 needs rebuild and will be restarted afterwards.
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	error	Caught by controller[0]: Node.js v22.18.0
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.955	error	Caught by controller[0]: }
                          
                          host.raspberrypi
                          2025-08-14 12:14:50.954	error	Caught by controller[0]: ]
                          

                          MOD-EDIT:Code in code-tags gesetzt!

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

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

                            warn adapter "s7" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt

                            Auch hier muss ein rebuild erfolgen. Da das aber augenscheinlich über den internen Vorgang nicht funktioniert, deinstallier den Adapter mal komplett und installier den dann nochmal frisch von Neu.

                            mcm1957 P 2 Replies Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 @Thomas Braun last edited by

                              Eine REINSTALLATION sollte m.E. reichen.

                              Bei einer Deinstallation werden alle ioBroker infos / states etc gelöscht. Bei einer Reinstallation wird nur der Adaptercode (also alles was via npm kommt) deinstalliert und neu installiert. Die Config u States bleiben erhalten.

                              Bin nur am Handy u kann daher nicht genauer checken. Reinstallation sollte in etwa mit

                              iob update myadapter@1.2.3

                              gehen. Sorry wenn sytax fehlerhaft.

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

                                @thomas-braun
                                ok, vielen dank, nun geht auch wieder diag und co 🙂 👍

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

                                  @bean said in Wir empfehlen: Node.js 22.x:

                                  der Eusec Adapter lässt sich nicht starten

                                  Also wieder zurück auf v10/Node 20, ich muss noch warten...

                                  Würde mit Erwartungen bei eusec zurüchhaltend sein Brobat hat seit Oktober 2024 keine Aktion mehr auf Github gesetzt ...

                                  1 Reply Last reply Reply Quote 1
                                  • P
                                    Pitpilot last edited by

                                    @thomas-braun Ich habe 4 Siemens Instanzen installiert. Die Adapter De-und Reinstallation auf meinem Clone System hat zumindest über die GUI auch nichts verändert. Hat mir jemand Konsolen Befehle?

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

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

                                      iob update myadapter@1.2.3

                                      Müsste dann

                                      iob upgrade myadapter@1.2.3 sein.
                                      

                                      wobei glaube ich auch bei einem de/re-Install die config stehen bleibt. Müsste ich mal ausprobieren.

                                      Homoran mcm1957 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Thomas Braun last edited by

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

                                        bei einem de/re-Install die config stehen bleibt.

                                        aber auf keinen Fall die in den Objekten eingestellten Historisierungs- und andere Optionen

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

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

                                          ok, vielen dank, nun geht auch wieder diag und co

                                          Logisch, der user kommt ja nun auch wieder in sein Zuhause rein. 🙂

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

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

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

                                            iob update myadapter@1.2.3

                                            Müsste dann

                                            iob upgrade myadapter@1.2.3 sein.
                                            

                                            wobei glaube ich auch bei einem de/re-Install die config stehen bleibt. Müsste ich mal ausprobieren.

                                            Bwi einer deinstalltion werden alle Objekte gelöscht.Alles andere würde mich sehr wundern.

                                            Aber nonzentrieren wir ubs mal auf das aktuelle Problem.

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

                                            Support us

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

                                            925
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            167
                                            6102
                                            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