NEWS
I2C Adapter nicht mehr installierbar (Upd. Raspi3 auf Raspi5
-
Moin zusammen,
augenscheinlich ist bei der Wiederherstellung der Backups meiner IOBroker Installation vom Raspi3 auf Raspi 5 etwas schief gegangen. Neben dem I2C Adapter lassen sich auch andere Adapter (z.B. RPI2) nicht installieren. In NodeRed lassen sich auch einige Paletten (... die ich auch für GPIO genutzt habe) nicht installieren. Ich habe im Forum nix Konkretes gefunden. IOB fix ist einige Male durchgelaufen. Raspberry Kernel habe ich hochgezogen.
Ich bin eher so der User-Typ, daher jetzt am Ende mit meiner Weisheit.
Kann mir jemand helfen?
Danke schon mal und viele Grüße, Norbert.- Adaptername: I2C aber auch andere Adapter
- Link zu Adapterrepository: www.github.com...
- Adapterversion: iobroker.i2c@1.2.1
- js-controller Version: 7.0.7
- Admin Version: 7.7.19
- Hardwaresystem: Pi5
- Arbeitsspeicher: 8 GB
- Festplattenart: SSD an USB3 mit 64 GB
- Betriebssystem: Debian (Trixie) Kernel: Linux 6.12.61-v8-16k+
- Nodejs-Version: 22.21.0
- NPM-Version: 10.9.4
- Installationsart: Skript
- Image, Docker genutzt: Nein
Fehlercode 25:
error: host.Pi5zaehler iobroker npm error code 1npm error path /opt/iobroker/node_modules/i2c-busnpm error command failednpm error command sh -c node-gyp rebuildnpm error (node:10320) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.61-v8-16k+npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/i2c-busnpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-13T15_27_40_701Z-debug-0.log 2025-12-13 16:27:44.473 - error: host.Pi5zaehler iobroker host.Pi5zaehler Cannot install iobroker.i2c@1.2.1: 1 2025-12-13 16:27:45.483 - info: host.Pi5zaehler iobroker exit 25========== Start marking the full check here =========== ```bash Script v.2025-08-09 *** BASE SYSTEM *** Operating System: Debian GNU/Linux 13 (trixie) Static hostname: Pi5zaehler Icon name: computer Kernel: Linux 6.12.61-v8-16k+ Architecture: arm64 OS is similar to: Model : Raspberry Pi 5 Model B Rev 1.1 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 16:28:28 up 1 day, 21:12, 2 users, load average: 0.35, 0.16, 0.11 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'trixie'! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Sat 2025-12-13 16:28:28 CET Universal time: Sat 2025-12-13 15:28:28 UTC RTC time: Sat 2025-12-13 15:28:28 Time zone: Europe/Berlin (CET, +0100) 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 netdev gpio i2c spi render input iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker SUDO_HOME=/home/pi 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: 8.5G 2.0G 4.8G 26M 1.8G 6.4G Swap: 2.1G 0B 2.1G Total: 10G 2.0G 6.9G Active iob-Instances: 14 8063 M total memory 1936 M used memory 1706 M active memory 1361 M inactive memory 4534 M free memory 221 M buffer memory 1483 M swap cache 2047 M total swap 0 M used swap 2047 M free swap *** top - Table Of Processes *** top - 16:28:28 up 1 day, 21:12, 2 users, load average: 0.35, 0.16, 0.11 Tasks: 193 total, 1 running, 192 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 0.0 sy, 0.0 ni, 97.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 8063.2 total, 4531.9 free, 1938.7 used, 1705.5 buff/cache MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 6124.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * resize2fs_once.service loaded failed failed LSB: Resize the root filesystem to fill partition 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 *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 1.6G 14M 1.6G 1% /run /dev/sda2 ext4 55G 12G 42G 22% / tmpfs tmpfs 4.0G 0 4.0G 0% /dev/shm tmpfs tmpfs 5.0M 48K 5.0M 1% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs tmpfs 4.0G 12M 4.0G 1% /tmp /dev/sda1 vfat 510M 74M 437M 15% /boot/firmware tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service tmpfs tmpfs 807M 32K 807M 1% /run/user/1000 tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyAMA10.service Messages concerning ext4 filesystem in dmesg: [Thu Dec 11 19:15:42 2025] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0 numa=fake=8 system_heap.max_order=0 iommu_dma_numa_policy=interleave smsc95xx.macaddr=88:A2:9E:2D:64:03 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=bd01a318-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE [Thu Dec 11 19:15:46 2025] EXT4-fs (sda2): orphan cleanup on readonly fs [Thu Dec 11 19:15:46 2025] EXT4-fs (sda2): mounted filesystem e20b40e9-a03b-4e15-b170-f527cf96d5e5 ro with ordered data mode. Quota mode: none. [Thu Dec 11 19:15:47 2025] EXT4-fs (sda2): re-mounted e20b40e9-a03b-4e15-b170-f527cf96d5e5 r/w. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 3.3G /var/ 1008M /var/lib 831M /var/lib/mysql 557M /var/lib/mysql/iobroker 294M /var/cache Archived and active journals take up 8M in the file system. /opt/iobroker/backups: 348M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 161M /opt/iobroker/iobroker-data/ 89M /opt/iobroker/iobroker-data/files 50M /opt/iobroker/iobroker-data/backup-objects 47M /opt/iobroker/iobroker-data/files/admin.admin 46M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets The five largest files in iobroker-data are: 15M /opt/iobroker/iobroker-data/objects.jsonl 8.1M /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-C_W7K-9p.js 7.7M /opt/iobroker/iobroker-data/states.jsonl 3.7M /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-ConOsPbp.js 3.7M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' 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.21.0 /usr/bin/node v22.21.0 /usr/bin/npm 10.9.4 /usr/bin/npx 10.9.4 /usr/bin/corepack 0.34.0 nodejs: Installed: 22.21.0-1nodesource1 Candidate: 22.21.0-1nodesource1 Version table: *** 22.21.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 22.20.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main arm64 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. Objects type: jsonl States type: jsonl Hosts: Pi5zaehler Pi5zaehler (version: 7.0.7, hostname: Pi5zaehler , alive, uptime: 72676) Core adapters versions js-controller: 7.0.7 admin: 7.7.19 javascript: "javascript" not found nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : Pi5zaehler - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.backitup.0 : backitup : Pi5zaehler - enabled + system.adapter.discovery.0 : discovery : Pi5zaehler - enabled + system.adapter.ds18b20.0 : ds18b20 : Pi5zaehler - enabled system.adapter.flot.0 : flot : Pi5zaehler - disabled + system.adapter.mqtt-client.0 : mqtt-client : Pi5zaehler - enabled, port: 1885 + system.adapter.mqtt.0 : mqtt : Pi5zaehler - enabled, port: 1885, bind: 192.168.178.67 + system.adapter.node-red.0 : node-red : Pi5zaehler - enabled, port: 1880, bind: 192.168.178.67 + system.adapter.opendtu.2 : opendtu : Pi5zaehler - enabled + system.adapter.shelly.0 : shelly : Pi5zaehler - enabled, port: 8085, bind: 192.168.178.67 + system.adapter.smartmeter.1 : smartmeter : Pi5zaehler - enabled + system.adapter.sonoff.0 : sonoff : Pi5zaehler - enabled, port: 1883, bind: 192.168.178.67 + system.adapter.sql.0 : sql : Pi5zaehler - enabled, port: 3306 + system.adapter.web.0 : web : Pi5zaehler - enabled, port: 8082, bind: 192.168.178.67, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : Pi5zaehler - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.mqtt-client.0 : mqtt-client : Pi5zaehler - enabled, port: 1885 + system.adapter.mqtt.0 : mqtt : Pi5zaehler - enabled, port: 1885, bind: 192.168.178.67 + system.adapter.node-red.0 : node-red : Pi5zaehler - enabled, port: 1880, bind: 192.168.178.67 + system.adapter.shelly.0 : shelly : Pi5zaehler - enabled, port: 8085, bind: 192.168.178.67 + system.adapter.sonoff.0 : sonoff : Pi5zaehler - enabled, port: 1883, bind: 192.168.178.67 + system.adapter.sql.0 : sql : Pi5zaehler - enabled, port: 3306 + system.adapter.web.0 : web : Pi5zaehler - enabled, port: 8082, bind: 192.168.178.67, 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 "admin" : 7.7.19 , installed 7.7.19 Adapter "backitup" : 3.3.10 , installed 3.3.10 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "ds18b20" : 3.1.1 , installed 3.1.1 Adapter "flot" : 1.12.0 , installed 1.12.0 Controller "js-controller": 7.0.7 , installed 7.0.7 Adapter "mqtt" : 6.1.4 , installed 6.1.4 Adapter "mqtt-client" : 3.0.0 , installed 3.0.0 Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "opendtu" : 3.1.0 , installed 3.1.0 Adapter "shelly" : 10.4.1 , installed 10.4.1 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.1 , installed 7.0.8 Adapter "sonoff" : 3.2.1 , installed 3.2.1 Adapter "sql" : 3.0.1 , installed 3.0.1 Adapter "web" : 7.0.8 , installed 7.0.8 Adapter "ws" : 2.6.2 , installed 3.0.19 Objects and States Please stand by - This may take a while Objects: 1204 States: 914 *** 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://archive.raspberrypi.com/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 http://deb.debian.org/debian-security trixie-security InRelease Hit:5 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 192.168.178.67:8082 0.0.0.0:* LISTEN 1001 46039 8129/io.web.0 tcp 0 0 192.168.178.67:8085 0.0.0.0:* LISTEN 1001 49155 8053/io.shelly.0 tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 104 8602 975/mariadbd tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 48641 7865/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 48646 7865/iobroker.js-co tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 1131 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 8575 928/sshd: /usr/sbin tcp 0 0 192.168.178.67:1883 0.0.0.0:* LISTEN 1001 202595 9879/io.sonoff.0 tcp 0 0 192.168.178.67:1880 0.0.0.0:* LISTEN 1001 44998 7968/node-red tcp 0 0 192.168.178.67:1885 0.0.0.0:* LISTEN 1001 45959 8023/io.mqtt.0 tcp6 0 0 :::8081 :::* LISTEN 1001 44942 7883/io.admin.0 tcp6 0 0 :::3306 :::* LISTEN 104 8603 975/mariadbd tcp6 0 0 :::111 :::* LISTEN 0 3941 1/init tcp6 0 0 :::22 :::* LISTEN 0 8585 928/sshd: /usr/sbin udp 0 0 0.0.0.0:111 0.0.0.0:* 0 877 1/init udp 0 0 0.0.0.0:5353 0.0.0.0:* 101 6688 697/avahi-daemon: r udp 0 0 0.0.0.0:38493 0.0.0.0:* 101 6690 697/avahi-daemon: r udp6 0 0 :::111 :::* 0 1132 1/init udp6 0 0 fe80::9fbb:3ace:167:546 :::* 0 8153 726/NetworkManager udp6 0 0 :::54039 :::* 101 6691 697/avahi-daemon: r udp6 0 0 :::5353 :::* 101 6689 697/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-12-13 00:00:01.041 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 00:00:01.046 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 00:00:02.244 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 8517 2025-12-13 01:17:11.473 - info: host.Pi5zaehler Delete log file iobroker.2025-12-05.log.gz 2025-12-13 01:54:01.297 - info: opendtu.2 (8038) Connect to OpenDTU over websocket connection. 2025-12-13 06:00:01.037 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 06:00:01.037 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 06:00:02.226 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 9238 2025-12-13 12:00:01.037 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 12:00:01.037 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 12:00:02.225 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 9879 2025-12-13 16:27:09.083 - info: admin.0 (7883) ==> Connected system.user.admin from ::ffff:192.168.178.29 2025-12-13 16:27:15.040 - error: host.Pi5zaehler cannot call visUtils: vis.0 is not an object of type "meta" 2025-12-13 16:27:39.684 - info: host.Pi5zaehler iobroker add i2c --host Pi5zaehler 2025-12-13 16:27:40.612 - info: host.Pi5zaehler iobroker NPM version: 10.9.4 2025-12-13 16:27:40.613 - info: host.Pi5zaehler iobroker Installing iobroker.i2c@1.2.1... (System call) 2025-12-13 16:27:44.472 - error: host.Pi5zaehler iobroker npm error code 1npm error path /opt/iobroker/node_modules/i2c-busnpm error command failednpm error command sh -c node-gyp rebuildnpm error (node:10320) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.61-v8-16k+npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/i2c-busnpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-13T15_27_40_701Z-debug-0.log 2025-12-13 16:27:44.473 - error: host.Pi5zaehler iobroker host.Pi5zaehler Cannot install iobroker.i2c@1.2.1: 1 2025-12-13 16:27:45.483 - info: host.Pi5zaehler iobroker exit 25============ Mark until here for C&P =============
-
Moin zusammen,
augenscheinlich ist bei der Wiederherstellung der Backups meiner IOBroker Installation vom Raspi3 auf Raspi 5 etwas schief gegangen. Neben dem I2C Adapter lassen sich auch andere Adapter (z.B. RPI2) nicht installieren. In NodeRed lassen sich auch einige Paletten (... die ich auch für GPIO genutzt habe) nicht installieren. Ich habe im Forum nix Konkretes gefunden. IOB fix ist einige Male durchgelaufen. Raspberry Kernel habe ich hochgezogen.
Ich bin eher so der User-Typ, daher jetzt am Ende mit meiner Weisheit.
Kann mir jemand helfen?
Danke schon mal und viele Grüße, Norbert.- Adaptername: I2C aber auch andere Adapter
- Link zu Adapterrepository: www.github.com...
- Adapterversion: iobroker.i2c@1.2.1
- js-controller Version: 7.0.7
- Admin Version: 7.7.19
- Hardwaresystem: Pi5
- Arbeitsspeicher: 8 GB
- Festplattenart: SSD an USB3 mit 64 GB
- Betriebssystem: Debian (Trixie) Kernel: Linux 6.12.61-v8-16k+
- Nodejs-Version: 22.21.0
- NPM-Version: 10.9.4
- Installationsart: Skript
- Image, Docker genutzt: Nein
Fehlercode 25:
error: host.Pi5zaehler iobroker npm error code 1npm error path /opt/iobroker/node_modules/i2c-busnpm error command failednpm error command sh -c node-gyp rebuildnpm error (node:10320) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.61-v8-16k+npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/i2c-busnpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-13T15_27_40_701Z-debug-0.log 2025-12-13 16:27:44.473 - error: host.Pi5zaehler iobroker host.Pi5zaehler Cannot install iobroker.i2c@1.2.1: 1 2025-12-13 16:27:45.483 - info: host.Pi5zaehler iobroker exit 25========== Start marking the full check here =========== ```bash Script v.2025-08-09 *** BASE SYSTEM *** Operating System: Debian GNU/Linux 13 (trixie) Static hostname: Pi5zaehler Icon name: computer Kernel: Linux 6.12.61-v8-16k+ Architecture: arm64 OS is similar to: Model : Raspberry Pi 5 Model B Rev 1.1 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 16:28:28 up 1 day, 21:12, 2 users, load average: 0.35, 0.16, 0.11 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'trixie'! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Sat 2025-12-13 16:28:28 CET Universal time: Sat 2025-12-13 15:28:28 UTC RTC time: Sat 2025-12-13 15:28:28 Time zone: Europe/Berlin (CET, +0100) 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 netdev gpio i2c spi render input iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker SUDO_HOME=/home/pi 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: 8.5G 2.0G 4.8G 26M 1.8G 6.4G Swap: 2.1G 0B 2.1G Total: 10G 2.0G 6.9G Active iob-Instances: 14 8063 M total memory 1936 M used memory 1706 M active memory 1361 M inactive memory 4534 M free memory 221 M buffer memory 1483 M swap cache 2047 M total swap 0 M used swap 2047 M free swap *** top - Table Of Processes *** top - 16:28:28 up 1 day, 21:12, 2 users, load average: 0.35, 0.16, 0.11 Tasks: 193 total, 1 running, 192 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 0.0 sy, 0.0 ni, 97.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 8063.2 total, 4531.9 free, 1938.7 used, 1705.5 buff/cache MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 6124.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * resize2fs_once.service loaded failed failed LSB: Resize the root filesystem to fill partition 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 *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 1.6G 14M 1.6G 1% /run /dev/sda2 ext4 55G 12G 42G 22% / tmpfs tmpfs 4.0G 0 4.0G 0% /dev/shm tmpfs tmpfs 5.0M 48K 5.0M 1% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs tmpfs 4.0G 12M 4.0G 1% /tmp /dev/sda1 vfat 510M 74M 437M 15% /boot/firmware tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service tmpfs tmpfs 807M 32K 807M 1% /run/user/1000 tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyAMA10.service Messages concerning ext4 filesystem in dmesg: [Thu Dec 11 19:15:42 2025] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0 numa=fake=8 system_heap.max_order=0 iommu_dma_numa_policy=interleave smsc95xx.macaddr=88:A2:9E:2D:64:03 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=bd01a318-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE [Thu Dec 11 19:15:46 2025] EXT4-fs (sda2): orphan cleanup on readonly fs [Thu Dec 11 19:15:46 2025] EXT4-fs (sda2): mounted filesystem e20b40e9-a03b-4e15-b170-f527cf96d5e5 ro with ordered data mode. Quota mode: none. [Thu Dec 11 19:15:47 2025] EXT4-fs (sda2): re-mounted e20b40e9-a03b-4e15-b170-f527cf96d5e5 r/w. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 3.3G /var/ 1008M /var/lib 831M /var/lib/mysql 557M /var/lib/mysql/iobroker 294M /var/cache Archived and active journals take up 8M in the file system. /opt/iobroker/backups: 348M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 161M /opt/iobroker/iobroker-data/ 89M /opt/iobroker/iobroker-data/files 50M /opt/iobroker/iobroker-data/backup-objects 47M /opt/iobroker/iobroker-data/files/admin.admin 46M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets The five largest files in iobroker-data are: 15M /opt/iobroker/iobroker-data/objects.jsonl 8.1M /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-C_W7K-9p.js 7.7M /opt/iobroker/iobroker-data/states.jsonl 3.7M /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-ConOsPbp.js 3.7M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' 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.21.0 /usr/bin/node v22.21.0 /usr/bin/npm 10.9.4 /usr/bin/npx 10.9.4 /usr/bin/corepack 0.34.0 nodejs: Installed: 22.21.0-1nodesource1 Candidate: 22.21.0-1nodesource1 Version table: *** 22.21.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 22.20.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main arm64 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. Objects type: jsonl States type: jsonl Hosts: Pi5zaehler Pi5zaehler (version: 7.0.7, hostname: Pi5zaehler , alive, uptime: 72676) Core adapters versions js-controller: 7.0.7 admin: 7.7.19 javascript: "javascript" not found nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : Pi5zaehler - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.backitup.0 : backitup : Pi5zaehler - enabled + system.adapter.discovery.0 : discovery : Pi5zaehler - enabled + system.adapter.ds18b20.0 : ds18b20 : Pi5zaehler - enabled system.adapter.flot.0 : flot : Pi5zaehler - disabled + system.adapter.mqtt-client.0 : mqtt-client : Pi5zaehler - enabled, port: 1885 + system.adapter.mqtt.0 : mqtt : Pi5zaehler - enabled, port: 1885, bind: 192.168.178.67 + system.adapter.node-red.0 : node-red : Pi5zaehler - enabled, port: 1880, bind: 192.168.178.67 + system.adapter.opendtu.2 : opendtu : Pi5zaehler - enabled + system.adapter.shelly.0 : shelly : Pi5zaehler - enabled, port: 8085, bind: 192.168.178.67 + system.adapter.smartmeter.1 : smartmeter : Pi5zaehler - enabled + system.adapter.sonoff.0 : sonoff : Pi5zaehler - enabled, port: 1883, bind: 192.168.178.67 + system.adapter.sql.0 : sql : Pi5zaehler - enabled, port: 3306 + system.adapter.web.0 : web : Pi5zaehler - enabled, port: 8082, bind: 192.168.178.67, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : Pi5zaehler - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.mqtt-client.0 : mqtt-client : Pi5zaehler - enabled, port: 1885 + system.adapter.mqtt.0 : mqtt : Pi5zaehler - enabled, port: 1885, bind: 192.168.178.67 + system.adapter.node-red.0 : node-red : Pi5zaehler - enabled, port: 1880, bind: 192.168.178.67 + system.adapter.shelly.0 : shelly : Pi5zaehler - enabled, port: 8085, bind: 192.168.178.67 + system.adapter.sonoff.0 : sonoff : Pi5zaehler - enabled, port: 1883, bind: 192.168.178.67 + system.adapter.sql.0 : sql : Pi5zaehler - enabled, port: 3306 + system.adapter.web.0 : web : Pi5zaehler - enabled, port: 8082, bind: 192.168.178.67, 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 "admin" : 7.7.19 , installed 7.7.19 Adapter "backitup" : 3.3.10 , installed 3.3.10 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "ds18b20" : 3.1.1 , installed 3.1.1 Adapter "flot" : 1.12.0 , installed 1.12.0 Controller "js-controller": 7.0.7 , installed 7.0.7 Adapter "mqtt" : 6.1.4 , installed 6.1.4 Adapter "mqtt-client" : 3.0.0 , installed 3.0.0 Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "opendtu" : 3.1.0 , installed 3.1.0 Adapter "shelly" : 10.4.1 , installed 10.4.1 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.1 , installed 7.0.8 Adapter "sonoff" : 3.2.1 , installed 3.2.1 Adapter "sql" : 3.0.1 , installed 3.0.1 Adapter "web" : 7.0.8 , installed 7.0.8 Adapter "ws" : 2.6.2 , installed 3.0.19 Objects and States Please stand by - This may take a while Objects: 1204 States: 914 *** 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://archive.raspberrypi.com/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 http://deb.debian.org/debian-security trixie-security InRelease Hit:5 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 192.168.178.67:8082 0.0.0.0:* LISTEN 1001 46039 8129/io.web.0 tcp 0 0 192.168.178.67:8085 0.0.0.0:* LISTEN 1001 49155 8053/io.shelly.0 tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 104 8602 975/mariadbd tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 48641 7865/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 48646 7865/iobroker.js-co tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 1131 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 8575 928/sshd: /usr/sbin tcp 0 0 192.168.178.67:1883 0.0.0.0:* LISTEN 1001 202595 9879/io.sonoff.0 tcp 0 0 192.168.178.67:1880 0.0.0.0:* LISTEN 1001 44998 7968/node-red tcp 0 0 192.168.178.67:1885 0.0.0.0:* LISTEN 1001 45959 8023/io.mqtt.0 tcp6 0 0 :::8081 :::* LISTEN 1001 44942 7883/io.admin.0 tcp6 0 0 :::3306 :::* LISTEN 104 8603 975/mariadbd tcp6 0 0 :::111 :::* LISTEN 0 3941 1/init tcp6 0 0 :::22 :::* LISTEN 0 8585 928/sshd: /usr/sbin udp 0 0 0.0.0.0:111 0.0.0.0:* 0 877 1/init udp 0 0 0.0.0.0:5353 0.0.0.0:* 101 6688 697/avahi-daemon: r udp 0 0 0.0.0.0:38493 0.0.0.0:* 101 6690 697/avahi-daemon: r udp6 0 0 :::111 :::* 0 1132 1/init udp6 0 0 fe80::9fbb:3ace:167:546 :::* 0 8153 726/NetworkManager udp6 0 0 :::54039 :::* 101 6691 697/avahi-daemon: r udp6 0 0 :::5353 :::* 101 6689 697/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-12-13 00:00:01.041 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 00:00:01.046 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 00:00:02.244 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 8517 2025-12-13 01:17:11.473 - info: host.Pi5zaehler Delete log file iobroker.2025-12-05.log.gz 2025-12-13 01:54:01.297 - info: opendtu.2 (8038) Connect to OpenDTU over websocket connection. 2025-12-13 06:00:01.037 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 06:00:01.037 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 06:00:02.226 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 9238 2025-12-13 12:00:01.037 - info: host.Pi5zaehler instance system.adapter.sonoff.0 scheduled normal terminated and will be restarted on schedule. 2025-12-13 12:00:01.037 - info: host.Pi5zaehler Restart adapter system.adapter.sonoff.0 because enabled 2025-12-13 12:00:02.225 - info: host.Pi5zaehler instance system.adapter.sonoff.0 in version "3.2.1" started with pid 9879 2025-12-13 16:27:09.083 - info: admin.0 (7883) ==> Connected system.user.admin from ::ffff:192.168.178.29 2025-12-13 16:27:15.040 - error: host.Pi5zaehler cannot call visUtils: vis.0 is not an object of type "meta" 2025-12-13 16:27:39.684 - info: host.Pi5zaehler iobroker add i2c --host Pi5zaehler 2025-12-13 16:27:40.612 - info: host.Pi5zaehler iobroker NPM version: 10.9.4 2025-12-13 16:27:40.613 - info: host.Pi5zaehler iobroker Installing iobroker.i2c@1.2.1... (System call) 2025-12-13 16:27:44.472 - error: host.Pi5zaehler iobroker npm error code 1npm error path /opt/iobroker/node_modules/i2c-busnpm error command failednpm error command sh -c node-gyp rebuildnpm error (node:10320) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.61-v8-16k+npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/i2c-busnpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-13T15_27_40_701Z-debug-0.log 2025-12-13 16:27:44.473 - error: host.Pi5zaehler iobroker host.Pi5zaehler Cannot install iobroker.i2c@1.2.1: 1 2025-12-13 16:27:45.483 - info: host.Pi5zaehler iobroker exit 25============ Mark until here for C&P =============
Da fehlt ein python-Paket.
Installier das persudo apt install python3-setuptoolsmal nach.
Der rpi2-Adapter muss ggfls. in der Beta-Version installiert werden.Zum Output von 'iob diag':
User that called 'iob diag':
pipi soll nicht mehr verwendet werden. Es ist ein individueller username vorgesehen. Dein Vorname oder dein Formsnick oder sonst irgendwas.
[Thu Dec 11 19:15:46 2025] EXT4-fs (sda2): orphan cleanup on readonly fs
Nicht ordentlich heruntergefahren? NIE, NIE, NIE einfach den Stecker ziehen.
-
@thomas-braun : 1000 Dank. Ich hatte gehofft, dass es so eine vergleichsweise einfache Lösung für das Problem gibt.
-
F fishermans has marked this topic as solved on
-
@thomas-braun : 1000 Dank. Ich hatte gehofft, dass es so eine vergleichsweise einfache Lösung für das Problem gibt.
Ist das keine einfache Lösung?
-
@thomas-braun : Ja, na klar. Sehr einfach. So hatte ich es gemeint. Der Adapter läuft jetzt bestens.