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.
    • B
      BigMike71 @Thomas Braun last edited by

      @thomas-braun

      mike@Pi5:~ $ curl -L -o node-update.sh https://raw.githubusercontent.com/Grothesk242/ioBroker/refs/heads/master/node-update.sh
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 13917  100 13917    0     0  65309      0 --:--:-- --:--:-- --:--:-- 65646
      mike@Pi5:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @BigMike71 last edited by

        @bigmike71

        Nix zu sehen.
        Auf meinem System funktioniert aber auch der direkte Aufruf via

        iob diag
        

        oder

        iob nodesjs-update
        

        Keine Ahnung, was das dann bei dir ist.

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

          @BigMike71

          Eins fällt mir noch ein...
          Schau mal nach den Rechten an /home/iobroker

          ls -la /home
          
          B 1 Reply Last reply Reply Quote 0
          • L
            lessthanmore @Thomas Braun last edited by

            @thomas-braun Es war gar nicht der Adapter, sondern zigbee2mqtt selbst. Sorry.
            Sollte jetzt passen 🙂

            Script v.2025-08-09
            
            *** BASE SYSTEM ***
            Operating System: Debian GNU/Linux 13 (trixie)
             Static hostname: iobroker
                   Icon name: computer-container
                     Chassis: container ☐
              Virtualization: lxc
                      Kernel: Linux 6.14.8-2-pve
                Architecture: x86-64
            OS is similar to: 
            
            model name	: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
            Docker          : false
            Virtualization  : lxc
            Kernel          : x86_64
            Userland        : 64 bit
            
            Systemuptime and Load:
             12:08:39 up 1 min,  1 user,  load average: 0.55, 0.61, 0.56
            CPU threads: 2
            
            
            *** LIFE CYCLE STATUS ***
            Operating System is the current Debian stable version codenamed 'trixie'!
            
            *** TIME AND TIMEZONES ***
                           Local time: Wed 2025-08-13 12:08:39 CEST
                       Universal time: Wed 2025-08-13 10:08:39 UTC
                             RTC time: n/a
                            Time zone: Europe/Berlin (CEST, +0200)
            System clock synchronized: yes
                          NTP service: inactive
                      RTC in local TZ: no
            
            *** Users and Groups ***
            User that called 'iob diag':
            michael
            HOME=/home/michael
            GROUPS=michael sudo users iobroker
            
            User that is running 'js-controller':
            iobroker
            HOME=/home/iobroker
            SUDO_HOME=/home/michael
            GROUPS=iobroker tty dialout audio video plugdev redis
            
            *** DISPLAY-SERVER SETUP ***
            Display-Server: 	false
            Unit display-manager.service could not be found.
            Display-Manager: 	
            Desktop: 		
            Session: 		tty
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            8.6G        1.1G        7.1G        1.6M        335M        7.5G
            Swap:           536M          0B        536M
            Total:          9.1G        1.1G        7.7G
            
            Active iob-Instances: 	13
            
                     8192 M total memory
                     1080 M used memory
                     1230 M active memory
                      101 M inactive memory
                     6792 M free memory
                        0 M buffer memory
                      319 M swap cache
                      512 M total swap
                        0 M used swap
                      512 M free swap
            
            *** top - Table Of Processes  ***
            top - 12:08:39 up 1 min,  1 user,  load average: 0.55, 0.61, 0.56
            Tasks:  47 total,   1 running,  46 sleeping,   0 stopped,   0 zombie
            %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
            MiB Mem :   8192.0 total,   6791.5 free,   1081.9 used,    319.9 buff/cache     
            MiB Swap:    512.0 total,    512.0 free,      0.0 used.   7110.1 avail Mem 
            
            *** FAILED SERVICES ***
            
              UNIT                 LOAD   ACTIVE SUB    DESCRIPTION
            * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System
            
            Legend: LOAD   -> Reflects whether the unit definition was properly loaded.
                    ACTIVE -> The high-level unit activation state, i.e. generalization of SUB.
                    SUB    -> The low-level unit activation state, values depend on unit type.
            
            1 loaded units listed.
            
            
            *** DMESG CRITICAL ERRORS ***
            dmesg: read kernel buffer failed: Operation not permitted
            No critical errors detected
            
            *** FILESYSTEM ***
            Filesystem                       Type      Size  Used Avail Use% Mounted on
            /dev/mapper/pve-vm--100--disk--1 ext4       25G  4.9G   19G  21% /
            none                             tmpfs     492K  4.0K  488K   1% /dev
            /dev/mapper/pve-root             ext4       67G  3.9G   60G   7% /dev/ttyACM0
            udev                             devtmpfs   32G     0   32G   0% /dev/tty
            tmpfs                            tmpfs      32G     0   32G   0% /dev/shm
            tmpfs                            tmpfs      13G  152K   13G   1% /run
            tmpfs                            tmpfs      32G  1.4M   32G   1% /tmp
            tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
            tmpfs                            tmpfs     6.3G  8.0K  6.3G   1% /run/user/1001
            
            Messages concerning ext4 filesystem in dmesg:
            dmesg: read kernel buffer failed: Operation not permitted
            
            Show mounted filesystems:
            TARGET         SOURCE                                                 FSTYPE OPTIONS
            /              /dev/mapper/pve-vm--100--disk--1                       ext4   rw,relatime,stripe=16
            `-/dev/ttyACM0 /dev/mapper/pve-root[/var/lib/lxc/100/devices/ttyACM0] ext4   rw,relatime,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            418M	/var/
            214M	/var/lib
            130M	/var/cache
            126M	/var/cache/apt
            89M	/var/lib/apt
            
            Hint: You are currently not seeing messages from other users and the system.
                  Users in groups 'adm', 'systemd-journal' can see all messages.
                  Pass -q to turn off this notice.
            Archived and active journals take up 24M in the file system.
            
            /opt/iobroker/backups:
            1.8M	/opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            92M	/opt/iobroker/iobroker-data/
            56M	/opt/iobroker/iobroker-data/files
            38M	/opt/iobroker/iobroker-data/files/admin.admin/custom/assets
            38M	/opt/iobroker/iobroker-data/files/admin.admin/custom
            38M	/opt/iobroker/iobroker-data/files/admin.admin
            
            The five largest files in iobroker-data are:
            6.8M	/opt/iobroker/iobroker-data/files/backitup.admin/custom/static/js/vendors-node_modules_file-saver_dist_FileSaver_min_js-node_modules_react-icons_di_index_mjs-n-0fd47d.a444afaa.chunk.js
            5.3M	/opt/iobroker/iobroker-data/objects.jsonl
            3.9M	/opt/iobroker/iobroker-data/files/backitup.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.92169c09.chunk.js
            3.7M	/opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js
            3.7M	/opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-Drg0QIRU.js
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
            
            /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2432650-if00
            
            Zigbee Network Settings on your coordinator/in nvbackup are:
            
            zigbee.X
            Extended Pan ID:
            *** MASKED ***
            Pan ID:
            *** MASKED ***
            Channel:
            *** MASKED ***
            Network Key:
            *** MASKED ***
            
            To unmask the settings run 'iob diag --unmask'
            
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs 	v22.18.0
            /usr/bin/node 		v22.18.0
            /usr/bin/npm 		10.9.3
            /usr/bin/npx 		10.9.3
            /usr/bin/corepack 	0.33.0
            
            nodejs:
              Installed: 22.18.0-1nodesource1
              Candidate: 22.18.0-1nodesource1
              Version table:
             *** 22.18.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                    100 /var/lib/dpkg/status
                 22.17.1-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.17.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.16.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.15.1-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.15.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.14.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.13.1-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.13.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.12.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.11.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.10.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.9.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.8.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.7.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.6.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.5.1-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.5.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.4.1-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.4.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.3.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.2.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.1.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 22.0.0-1nodesource1 600
                    500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                 20.19.2+dfsg-1 500
                    500 http://deb.debian.org/debian trixie/main amd64 Packages
            
            Temp directories causing deletion problem: 0
            No problems detected
            
            Errors in npm tree: 0
            No problems detected
            
            Checking for nodejs vulnerability:
            
            
             █████  ██      ██           ██████   ██████   ██████  ██████         ██
            ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
            ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
            ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
            ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
            
            
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            At least one iobroker host is running.
            
            Objects type: redis
            States  type: redis
            
            Hosts:
            iobroker            iobroker (version: 7.0.6, hostname: iobroker      , alive, uptime: 61)
            
            Core adapters versions
            js-controller: 	7.0.6
            admin: 		7.6.17
            javascript: 	8.9.2
            
            nodejs modules from github: 	1
            +-- iobroker.husqvarna-automower@0.6.0-beta.12 (git+ssh://git@github.com/ice987987/ioBroker.husqvarna-automower.git#e43328543d35c4555a4a3f3e595dd16417978d85)
            
            Adapter State
            + system.adapter.accuweather.0            : accuweather           : iobroker                                 -  enabled
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.homeconnect.0            : homeconnect           : iobroker                                 -  enabled
            + system.adapter.husqvarna-automower.0    : husqvarna-automower   : iobroker                                 -  enabled
              system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
            + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
            + system.adapter.lovelace.0               : lovelace              : iobroker                                 -  enabled, port: 8091, bind: 0.0.0.0, run as: admin
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.openknx.0                : openknx               : iobroker                                 -  enabled
            + system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            + system.adapter.yahka.0                  : yahka                 : iobroker                                 -  enabled
            + system.adapter.zigbee2mqtt.0            : zigbee2mqtt           : iobroker                                 -  enabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.lovelace.0               : lovelace              : iobroker                                 -  enabled, port: 8091, bind: 0.0.0.0, run as: admin
            + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            ioBroker-Repositories
            ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
            │ (index) │ name     │ url                                                     │ auto upgrade │
            ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
            │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
            │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
            └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
            
            Active repo(s): stable
            Upgrade policy: none
            
            Installed ioBroker-Adapters
            Used repository: stable
            Adapter    "accuweather"  : 2.1.0    , installed 2.1.0
            Adapter    "admin"        : 7.6.17   , installed 7.6.17
            Adapter    "homeconnect"  : 1.4.3    , installed 1.4.3
            Adapter    "ical"         : 1.16.2   , installed 1.16.2
            Adapter    "javascript"   : 8.9.2    , installed 8.9.2
            Controller "js-controller": 7.0.6    , installed 7.0.6
            Adapter    "lovelace"     : 4.1.15   , installed 4.1.15
            Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
            Adapter    "openknx"      : 0.9.0    , installed 0.9.0
            Adapter    "pushover"     : 4.1.0    , installed 4.1.0
            Adapter    "socketio"     : 6.7.1    , installed 7.0.8
            Adapter    "web"          : 7.0.8    , installed 7.0.8
            Adapter    "ws"           : 2.6.2    , installed 3.0.19
            Adapter    "yahka"        : 1.0.3    , installed 1.0.3
            Adapter    "zigbee2mqtt"  : 3.0.9    , installed 3.0.9
            
            Objects and States
            Please stand by - This may take a while
            Objects: 	18944
            States: 	7107
            
            *** OS-Repositories and Updates ***
            W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
            Hit:1 http://deb.debian.org/debian trixie InRelease
            Hit:2 http://security.debian.org trixie-security InRelease
            Hit:3 http://deb.debian.org/debian trixie-updates InRelease
            Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
            Reading package lists...
            W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
            Pending Updates: 0
            
            *** Listening Ports ***
            Active Internet connections (only servers)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
            tcp        0      0 127.0.0.1:44527         0.0.0.0:*               LISTEN      1000       2961001    535/io.yahka.0      
            tcp        0      0 127.0.0.1:45247         0.0.0.0:*               LISTEN      1000       2961005    535/io.yahka.0      
            tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      107        2954068    320/mosquitto       
            tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          2949013    1/init              
            tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          2954254    288/master          
            tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      105        2951043    146/redis-server 12 
            tcp        0      0 127.0.0.1:40947         0.0.0.0:*               LISTEN      1000       2961009    535/io.yahka.0      
            tcp6       0      0 ::1:6379                :::*                    LISTEN      105        2951044    146/redis-server 12 
            tcp6       0      0 ::1:25                  :::*                    LISTEN      0          2954255    288/master          
            tcp6       0      0 :::8082                 :::*                    LISTEN      1000       2951844    565/io.web.0        
            tcp6       0      0 :::8081                 :::*                    LISTEN      1000       2951332    338/io.admin.0      
            tcp6       0      0 :::8091                 :::*                    LISTEN      1000       2955216    520/io.lovelace.0   
            tcp6       0      0 :::35035                :::*                    LISTEN      1000       2951772    535/io.yahka.0      
            tcp6       0      0 :::1883                 :::*                    LISTEN      107        2954069    320/mosquitto       
            tcp6       0      0 :::33309                :::*                    LISTEN      1000       2951776    535/io.yahka.0      
            tcp6       0      0 :::111                  :::*                    LISTEN      0          2949015    1/init              
            tcp6       0      0 :::22                   :::*                    LISTEN      0          2953518    1/init              
            tcp6       0      0 :::41839                :::*                    LISTEN      1000       2951774    535/io.yahka.0      
            udp        0      0 0.0.0.0:60413           0.0.0.0:*                           106        2950882    131/avahi-daemon: r 
            udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          2949014    1/init              
            udp        0      0 0.0.0.0:34687           0.0.0.0:*                           1000       2955115    475/io.openknx.0    
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           106        2950880    131/avahi-daemon: r 
            udp6       0      0 :::111                  :::*                                0          2949016    1/init              
            udp6       0      0 :::5353                 :::*                                106        2950881    131/avahi-daemon: r 
            udp6       0      0 :::41093                :::*                                106        2950883    131/avahi-daemon: r 
            
            *** Log File - Last 25 Lines ***
            
            
            
            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @lessthanmore last edited by

              @lessthanmore

              Das haste aber jetzt auch nicht per iob nodejs-update gemacht, oder?
              Das müsste nämlich dann eigentlich anders aussehen.

              L 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            770
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            24
                                            152
                                            4572
                                            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