NEWS
node-gyp Caches löschen?
-
@thomas-braun
ja, habe das gerade alles geprüft -
@wrod
auf dem slave tut "iob nodejs-update" gar nichts. Dort ist noch 20.16.0 installiert. Müssen die gleich sein mit dem master? -
-
@thomas-braun tut auch rein gar nichts. Und seit ich version 22 auf dem master drauf habe, geht vis nicht mehr.
-
vis2 läuft aber natürlich auch mit nodejs@22 grundsätzlich.
Muss mit deinem System zusammenhängen. Aber das dieses 'etwas schief steht' sieht man ja. -
@thomas-braun auch "iob diag" tut dort gar nichts (mehr)
-
@wrod
Dann ruf das so auf:curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.shDas ist aber in der Regel dann ein Problem in deinem Netzwerk.
-
@thomas-braun said in node-gyp Caches löschen?:
curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
ja, da findet er jetzt nichts mehr. Vor dem nodejs update ging das wenigstens noch
-
@wrod sagte in node-gyp Caches löschen?:
ja, da findet er jetzt nichts mehr.
Was heißt das konkret?
Das skript hat auch nix mit nodejs zu tun, das läuft egal ob nodejs installiert ist, falsch installiert ist oder rund läuft oder gar nicht läuft. -
@thomas-braun ok, habe eine Blockae im Netzwerk abgebaut. Ich n´mach jetzt mal das node-js update auch dort und schaue dann mal weiter
Zur Blockade. ich hatte nach der Installation des Slave diesen im Netzwerk auf "internet gesperrt" gesetzt, weil er ja nur intern kommunizieren soll. Das war beim Update-Versuch aber noch nicht wirksam aufgehoben (da war ich zu schnell).
Nun aber die Frage: Bedeutet das, dass iob auch im Betrieb immer Bezüge nach "außen" braucht?
-
Ja, besser ist das. Dinge wie
iob fixoder wie hieriob diagoder auchiob nodejs-updatewerden immer in aktueller Version geladen. Die Updates erfolgen halt serverseitig. Und daher muss der Server auch erreichbar sein. -
@thomas-braun OK, "iob fix" habe ich mehrfach gemacht
iob diag sagt dann beim Start u.a.
*** iob diag is starting up, please wait *** iob diag needs to be updated. Please execute 'iobroker fix' first. The state system.host.temperaturraspi.versions.nodeNewestNext was not found! The state system.host.temperaturraspi.versions.npmNewestNext was not found!Hier der volle output:
========== Start marking the full check here =========== ```bash Script v.2025-08-09 *** BASE SYSTEM *** Operating System: Raspbian GNU/Linux 11 (bullseye) Static hostname: temperaturraspi Icon name: computer Kernel: Linux 6.12.51-v7+ Architecture: arm OS is similar to: debian Model : Raspberry Pi 3 Model B Rev 1.2 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 15:31:41 up 30 min, 1 user, load average: 0.45, 0.49, 0.65 CPU threads: 4 *** LIFE CYCLE STATUS *** Debian Release codenamed 'bullseye' reached its END OF LIFE and needs to be updated to the latest stable release 'trixie' NOW! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Fri 2025-10-24 15:31:41 CEST Universal time: Fri 2025-10-24 13:31:41 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** 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: 921M 150M 75M 0.0K 695M 705M Swap: 99M 0B 99M Total: 1.0G 150M 175M Active iob-Instances: 17 921 M total memory 150 M used memory 270 M active memory 472 M inactive memory 74 M free memory 105 M buffer memory 590 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 15:31:42 up 30 min, 1 user, load average: 0.45, 0.49, 0.65 Tasks: 156 total, 1 running, 155 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 2.9 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 921.0 total, 74.1 free, 151.2 used, 695.7 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 704.9 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 3.8G 25G 14% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 461M 0 461M 0% /dev/shm tmpfs tmpfs 185M 716K 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 56M 197M 23% /boot tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Oct 24 15:01:11 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_hdmi=0 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=fcbfae90-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Oct 24 15:01:13 2025] EXT4-fs (mmcblk0p2): mounted filesystem 568caafd-bab1-46cb-921b-cd257b61f505 ro with ordered data mode. Quota mode: none. [Fri Oct 24 15:01:13 2025] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Oct 24 15:01:16 2025] EXT4-fs (mmcblk0p2): re-mounted 568caafd-bab1-46cb-921b-cd257b61f505 r/w. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro Files in neuralgic directories: /var: 1.2G /var/ 862M /var/cache 857M /var/cache/apt 792M /var/cache/apt/archives 143M /var/log Archived and active journals take up 122.0M in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 70M /opt/iobroker/iobroker-data/ 64M /opt/iobroker/iobroker-data/files 47M /opt/iobroker/iobroker-data/files/admin.admin 46M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets 46M /opt/iobroker/iobroker-data/files/admin.admin/custom The five largest files in iobroker-data are: 8.6M /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-BBu8-Y_o.js 5.6M /opt/iobroker/iobroker-data/objects.jsonl 3.7M /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-00V6sJFg.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-IIKn7Ixx.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-FTDI_FT230X_Basic_UART_DK0E1HO0-if00-port0 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.15.0 /usr/bin/node v22.15.0 /usr/bin/npm 10.9.2 /usr/bin/npx 10.9.2 /usr/bin/corepack 0.32.0 nodejs: Installed: 22.15.0-1nodesource1 Candidate: 22.15.0-1nodesource1 Version table: *** 22.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 22.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.4.1-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 22.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages 12.22.12~dfsg-1~deb11u7 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected Checking for nodejs vulnerability: ██████ █████ ███ ██ ██████ ███████ ███████ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ███ █████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ████ ██████ ███████ ██ ██ The current Node.js version (v22.15.0) is vulnerable to the following CVEs: CVE-2025-23166(high): The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the Node.js process. Such cryptographic operations are commonly applied to untrusted inputs. Thus, this mechanism potentially allows an adversary to remotely crash a Node.js runtime. Patched versions: ^20.19.2 || ^22.15.1 || ^23.11.1 || ^24.0.2 = *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. At least one iobroker host is running. Objects type: jsonl States type: jsonl Hosts: iobrokerpi iobrokerpi (version: 7.0.7, hostname: iobrokerpi , alive, uptime: 2570) temperaturraspi temperaturraspi (version: 7.0.7, hostname: temperaturraspi, alive, uptime: 664) Core adapters versions js-controller: 7.0.7 admin: 7.7.2 javascript: "javascript" not found nodejs modules from github: 0 Adapter State + system.adapter.accuweather.0 : accuweather : iobrokerpi - enabled + system.adapter.admin.0 : admin : iobrokerpi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin system.adapter.alias-manager.0 : alias-manager : iobrokerpi - enabled + system.adapter.backitup.0 : backitup : iobrokerpi - enabled + system.adapter.ble.0 : ble : iobrokerpi - enabled + system.adapter.device-watcher.0 : device-watcher : iobrokerpi - enabled system.adapter.devices.0 : devices : iobrokerpi - disabled system.adapter.discovery.0 : discovery : iobrokerpi - disabled + system.adapter.ds18b20.1 : ds18b20 : temperaturraspi - enabled system.adapter.flot.0 : flot : iobrokerpi - disabled + system.adapter.fritzdect.0 : fritzdect : iobrokerpi - enabled + system.adapter.hm-rpc.0 : hm-rpc : iobrokerpi - enabled system.adapter.hue.0 : hue : iobrokerpi - disabled, port: 443 system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobrokerpi - enabled system.adapter.icons-icons8.0 : icons-icons8 : iobrokerpi - enabled + system.adapter.influxdb.0 : influxdb : iobrokerpi - enabled, port: 8086 system.adapter.info.0 : info : iobrokerpi - disabled + system.adapter.javascript.0 : javascript : iobrokerpi - enabled + system.adapter.modbus.0 : modbus : iobrokerpi - enabled system.adapter.net-tools.0 : net-tools : iobrokerpi - disabled system.adapter.netatmo-crawler.0 : netatmo-crawler : iobrokerpi - enabled system.adapter.ping.0 : ping : iobrokerpi - disabled system.adapter.rpi2.0 : rpi2 : iobrokerpi - disabled + system.adapter.shelly.0 : shelly : iobrokerpi - enabled, port: 1884, bind: 0.0.0.0 system.adapter.smartmeter.0 : smartmeter : iobrokerpi - disabled system.adapter.smartthings.0 : smartthings : iobrokerpi - disabled system.adapter.solaredge.0 : solaredge : iobrokerpi - disabled + system.adapter.sonoff.0 : sonoff : iobrokerpi - enabled, port: 1882, bind: 192.168.220.41 system.adapter.statistics.0 : statistics : iobrokerpi - disabled + system.adapter.synochat.0 : synochat : iobrokerpi - enabled system.adapter.synology.0 : synology : iobrokerpi - disabled, port: 5001 system.adapter.tr-064.0 : tr-064 : iobrokerpi - disabled system.adapter.tuya.0 : tuya : iobrokerpi - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobrokerpi - enabled system.adapter.vis-icontwo.0 : vis-icontwo : iobrokerpi - enabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobrokerpi - enabled system.adapter.vis-justgage.0 : vis-justgage : iobrokerpi - enabled system.adapter.vis-map.0 : vis-map : iobrokerpi - enabled system.adapter.vis.0 : vis : iobrokerpi - enabled + system.adapter.web.0 : web : iobrokerpi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobrokerpi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.influxdb.0 : influxdb : iobrokerpi - enabled, port: 8086 + system.adapter.shelly.0 : shelly : iobrokerpi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : iobrokerpi - enabled, port: 1882, bind: 192.168.220.41 + system.adapter.web.0 : web : iobrokerpi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬────────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'Beta (latest)' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ │ 2 │ 'online' │ 'https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/conf/sources-dist.json' │ false │ └─────────┴────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): Stable (default) Upgrade policy: none Installed ioBroker-Adapters Used repository: Stable (default) Adapter "admin" : 7.7.2 , installed 7.7.2 Adapter "backitup" : 3.3.5 , installed 3.3.5 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "ds18b20" : 3.0.1 , installed 3.0.1 Controller "js-controller": 7.0.7 , installed 7.0.7 Objects and States Please stand by - This may take a while Objects: 4325 States: 3128 *** OS-Repositories and Updates *** Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_22.x nodistro InRelease Reading package lists... 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 4889 551/sshd: /usr/sbin tcp6 0 0 :::22 :::* LISTEN 0 4891 551/sshd: /usr/sbin udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 5829 425/avahi-daemon: r udp 0 0 0.0.0.0:45310 0.0.0.0:* 108 5831 425/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 5913 708/dhcpcd udp6 0 0 :::5353 :::* 108 5830 425/avahi-daemon: r udp6 0 0 :::51444 :::* 108 5832 425/avahi-daemon: r udp6 0 0 :::546 :::* 0 5930 708/dhcpcd *** Log File - Last 25 Lines *** 2025-10-24 15:17:32.066 - info: host.temperaturraspi ip addresses: 192.168.220.102 fd36:15ed:187f:0:be0d:2bae:f11f:de38 2a01:41e1:2eed:8300:933a:6908:6bb1:fa3d fe80::d78:a548:9dbc:4b3e 2025-10-24 15:17:32.332 - info: host.temperaturraspi connected to Objects and States 2025-10-24 15:17:32.390 - info: host.temperaturraspi added notifications configuration of host 2025-10-24 15:17:32.399 - info: host.temperaturraspi Node.js version has changed from 20.16.0 to 22.15.0 2025-10-24 15:17:32.595 - info: host.temperaturraspi Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2025-10-24 15:17:33.350 - info: host.temperaturraspi 40 instances found 2025-10-24 15:17:33.389 - info: host.temperaturraspi starting 1 instance 2025-10-24 15:17:34.963 - info: host.temperaturraspi instance system.adapter.ds18b20.1 in version "3.0.1" started with pid 4984 2025-10-24 15:19:27.148 - info: host.temperaturraspi received SIGTERM 2025-10-24 15:19:27.156 - info: host.temperaturraspi stopInstance system.adapter.ds18b20.1 (force=false, process=true) 2025-10-24 15:19:27.216 - info: host.temperaturraspi stopInstance system.adapter.ds18b20.1 send kill signal 2025-10-24 15:19:27.905 - info: host.temperaturraspi instance system.adapter.ds18b20.1 terminated with code 0 (NO_ERROR) 2025-10-24 15:19:27.908 - info: host.temperaturraspi All instances are stopped. 2025-10-24 15:19:28.038 - info: host.temperaturraspi terminated 2025-10-24 15:21:09.276 - info: host.temperaturraspi iobroker.js-controller version 7.0.7 js-controller starting 2025-10-24 15:21:09.287 - info: host.temperaturraspi Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2025-10-24 15:21:09.289 - info: host.temperaturraspi hostname: temperaturraspi, node: v22.15.0 2025-10-24 15:21:09.291 - info: host.temperaturraspi ip addresses: 192.168.220.102 fd36:15ed:187f:0:be0d:2bae:f11f:de38 2a01:41e1:2eed:8300:933a:6908:6bb1:fa3d fe80::d78:a548:9dbc:4b3e 2025-10-24 15:21:09.555 - info: host.temperaturraspi connected to Objects and States 2025-10-24 15:21:09.613 - info: host.temperaturraspi added notifications configuration of host 2025-10-24 15:21:10.565 - info: host.temperaturraspi 40 instances found 2025-10-24 15:21:10.622 - info: host.temperaturraspi starting 1 instance 2025-10-24 15:21:12.231 - info: host.temperaturraspi instance system.adapter.ds18b20.1 in version "3.0.1" started with pid 6592 2025-10-24 15:23:27.548 - warn: ds18b20.1 (6592) Error reading sensor 28-3c27f6498941: Error: Read error 2025-10-24 15:32:27.546 - warn: ds18b20.1 (6592) Error reading sensor 28-3cc2f64915c2: Error: Read error============ Mark until here for C&P =============
iob diag has finished.
-
@thomas-braun OK, danke
-
@wrod vis geht zumindest wieder.
Aber die vielen warnungen von javascript bleiben.Beispiel:
"javascript.0 2025-10-24 15:38:38.003 warn at process.processTimers (node:internal/timers:523:7) javascript.0 2025-10-24 15:38:38.003 warn at listOnTimeout (node:internal/timers:588:17) javascript.0 2025-10-24 15:38:38.003 warn at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7) javascript.0 2025-10-24 15:38:38.003 warn at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28 javascript.0 2025-10-24 15:38:38.003 warn at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15) javascript.0 2025-10-24 15:38:38.002 warn at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1876:34) javascript.0 2025-10-24 15:38:38.002 warn at Object.FWVerbrauch (script.js.FW_Verbrauch:13:24) javascript.0 2025-10-24 15:38:38.002 warn getState "alias.0.Die Sensoren.28-3ccfe38142b0" not found (3) javascript.0 2025-10-24 15:38:37.006 warn at process.processTimers (node:internal/timers:523:7)" -
@wrod sagte in node-gyp Caches löschen?:
getState "alias.0.Die Sensoren.28-3ccfe38142b0" not found (3)
existiert der alias?
-
@homoran
Danke!
Das ist interessant. ich hatte den einmal doppelt vergeben ("...b0_2") und eigentlich den anderen gelöscht. Nun ist er wohl beim Wieder-Starten des remote dort doch noch da gewesen.
Es hatte ja heute morgen funktioniert.Danke!
-
@wrod sagte in node-gyp Caches löschen?:
Das ist interessant.
Deswegen auch mal lesen was das log dir sagt!
@wrod sagte in node-gyp Caches löschen?:
The state system.host.temperaturraspi.versions.nodeNewestNext was not found!
wie hast du das Multihost aufgesetzt?
hast du
iob diagmal auf dem Slave ausgeführt?