NEWS
Installation Telegram
-
Required: {"node":">=18"}
Actual: {"npm":"8.19.4","node":"v16.20.2"}System auf aktuellen Stand bringen
-
@sascha-hartmann sagte in Installation Telegram:
npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"}
Du fährst nodejs 16.20.2, der Adapter (und auch andere) benötigen mindestens nodejs@18.
Wie immer: Kiste (Edit: in GÄNZE) aktuell halten, keine Probleme.
-
@negalein sagte in Installation Telegram:
System auf aktuellen Stand bringen
Das dürfte aber "tragisch" Enden wenn es noch Debian 10 ist. Von daher die Langfassung wäre nicht schlecht.
Ro75.
-
@ro75 sagte in Installation Telegram:
Das dürfte aber "tragisch" Enden wenn es noch Debian 10 ist.
deshalb
System
.
denn da wird sicher noch mehr nicht aktuell sein. -
@negalein nur mit "System auf aktuellen Stand bringen" machen die User genau das. Kloppen nodejs 20 rein auf einem System wo das gar nicht gehen kann. Von daher den Hinweis erstmal schauen und dann Tipps geben, bevor dann wieder 3 Experten das ganze gerade ziehen müssen, bevor das "GROßE" gemacht werden kann.
Ro75.
-
@ro75
Grundlegend ist schon das Problem das kein Puplic key mehr da ist ie auch immer das passieren konnteHier das Ergebniss von diag
========== Start marking the full check here =========== ```bash Script v.2024-10-19 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 16:45:56 up 45 min, 3 users, load average: 2.94, 2.47, 1.86 CPU threads: 4 *** LIFE CYCLE STATUS *** Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Wed 2024-11-20 16:45:56 CET Universal time: Wed 2024-11-20 15:45:56 UTC RTC time: n/a 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': hartmann HOME=/home/hartmann GROUPS=hartmann adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin 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 Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 1.7G 432M 35M 1.6G 1.9G Swap: 99M 0B 99M Total: 3.9G 1.7G 532M Active iob-Instances: 19 3794 M total memory 1733 M used memory 2329 M active memory 742 M inactive memory 432 M free memory 176 M buffer memory 1451 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 16:45:57 up 45 min, 3 users, load average: 2.94, 2.47, 1.86 Tasks: 221 total, 5 running, 215 sleeping, 0 stopped, 1 zombie %Cpu(s): 7.1 us, 2.9 sy, 0.0 ni, 87.1 id, 0.0 wa, 0.0 hi, 2.9 si, 0.0 st MiB Mem : 3794.3 total, 432.9 free, 1733.0 used, 1628.4 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 1926.6 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 20G 8.6G 70% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.3M 758M 1% /run tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 380M 24K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Nov 20 16:00:12 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=E4:5F:01:FD:11:1C vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 root=PARTUUID=b441ff1a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Wed Nov 20 16:00:13 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Wed Nov 20 16:00:13 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Wed Nov 20 16:00:16 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. 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,errors=remount-ro Files in neuralgic directories: /var: 9.0G /var/ 4.5G /var/log 4.4G /var/lib 4.1G /var/lib/influxdb/engine 4.1G /var/lib/influxdb Archived and active journals take up 2.8G in the file system. /opt/iobroker/backups: 36M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 124M /opt/iobroker/iobroker-data/ 74M /opt/iobroker/iobroker-data/files 51M /opt/iobroker/iobroker-data/files/javascript.admin 42M /opt/iobroker/iobroker-data/backup-objects 32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 7.1M /opt/iobroker/iobroker-data/objects.jsonl 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.6M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.8083c40d.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 4.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/848.7424922d.chunk.js.map 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' *** NodeJS-Installation *** nodejs: N/A /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.0 *** nodejs is NOT correctly installed *** nodejs: Installed: 16.20.2-deb-1nodesource1 Candidate: 16.20.2-deb-1nodesource1 Version table: *** 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u5 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: raspberrypi raspberrypi (version: 4.0.23, hostname: raspberrypi , alive, uptime: 242) Core adapters versions js-controller: 4.0.23 admin: 6.3.5 javascript: 6.1.4 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.asterisk.0 : asterisk : raspberrypi - enabled, port: 5038 system.adapter.awattar.0 : awattar : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.bydbatt.0 : bydbatt : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.fhem.0 : fhem : raspberrypi - disabled, port: 7072 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.2 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.kostal-piko-ba.0 : kostal-piko-ba : raspberrypi - enabled + system.adapter.kostal-piko-ba.1 : kostal-piko-ba : raspberrypi - enabled + system.adapter.loxone.0 : loxone : raspberrypi - enabled, port: 80 + system.adapter.modbus.0 : modbus : raspberrypi - enabled + system.adapter.modbus.1 : modbus : raspberrypi - enabled + system.adapter.modbus.2 : modbus : raspberrypi - enabled + system.adapter.pvforecast.0 : pvforecast : raspberrypi - enabled + system.adapter.smartmeter.0 : smartmeter : raspberrypi - enabled + system.adapter.smartmeter.1 : smartmeter : raspberrypi - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.asterisk.0 : asterisk : raspberrypi - enabled, port: 5038 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.influxdb.2 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.loxone.0 : loxone : raspberrypi - enabled, port: 80 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.1.5 , installed 6.3.5 [Updatable] Adapter "awattar" : 1.0.6 , installed 1.0.6 Adapter "backitup" : 3.0.25 , installed 2.5.9 [Updatable] Adapter "bydbatt" : 1.1.0 , installed 1.1.0 Adapter "discovery" : 5.0.0 , installed 3.1.0 [Updatable] Adapter "fhem" : 3.0.0 , installed 1.6.3 [Updatable] Adapter "influxdb" : 4.0.2 , installed 3.2.0 [Updatable] Adapter "javascript" : 8.8.3 , installed 6.1.4 [Updatable] Controller "js-controller": 6.0.11 , installed 4.0.23 [Updatable] Adapter "kostal-piko-ba": 4.2.3 , installed 3.0.1 [Updatable] Adapter "loxone" : 3.0.1 , installed 3.0.0 [Updatable] Adapter "modbus" : 6.3.2 , installed 5.0.11 [Updatable] Adapter "mqtt" : 6.1.2 , installed 4.0.7 [Updatable] Adapter "pvforecast" : 3.0.0 , installed 2.9.0 [Updatable] Adapter "smartmeter" : 3.4.0 , installed 3.3.4 [Updatable] Objects and States Please stand by - This may take a while Objects: 3967 States: 3508 *** OS-Repositories and Updates *** W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_16.x bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280 W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280 W: Some index files failed to download. They have been ignored, or old ones used instead. Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://download.docker.com/linux/debian bullseye InRelease Get:8 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B] Ign:9 https://packages.twingate.com/apt InRelease Ign:10 https://packages.twingate.com/apt Release Ign:11 https://packages.twingate.com/apt Packages Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Get:11 https://packages.twingate.com/apt Packages Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Err:8 https://deb.nodesource.com/node_16.x bullseye InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280 Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Ign:12 https://packages.twingate.com/apt Translation-de Ign:13 https://packages.twingate.com/apt Translation-en Ign:14 https://packages.twingate.com/apt Translation-de_DE Fetched 33.9 kB in 3s (10.8 kB/s) Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.nodesource.com/node_16.x bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280 W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280 W: Some index files failed to download. They have been ignored, or old ones used instead. 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:3551 0.0.0.0:* LISTEN 0 13154 560/apcupsd tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1000 21747 416/node-red tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 117 15487 559/mosquitto tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15471 576/sshd: /usr/sbin tcp 0 0 0.0.0.0:5060 0.0.0.0:* LISTEN 118 15767 518/asterisk tcp 0 0 0.0.0.0:5038 0.0.0.0:* LISTEN 118 15755 518/asterisk tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 324771 14758/iobroker.js-c tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 324781 14758/iobroker.js-c tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 17700 522/cupsd tcp6 0 0 :::3389 :::* LISTEN 119 15565 631/xrdp tcp6 0 0 ::1:631 :::* LISTEN 0 17699 522/cupsd tcp6 0 0 :::6003 :::* LISTEN 1000 21756 416/node-red tcp6 0 0 :::1883 :::* LISTEN 117 15488 559/mosquitto tcp6 0 0 :::8081 :::* LISTEN 1001 325850 14781/io.admin.0 tcp6 0 0 :::8086 :::* LISTEN 999 19899 543/influxd tcp6 0 0 :::22 :::* LISTEN 0 15473 576/sshd: /usr/sbin tcp6 0 0 ::1:3350 :::* LISTEN 0 1709 571/xrdp-sesman tcp6 0 0 :::3000 :::* LISTEN 116 20033 2071/grafana udp 0 0 0.0.0.0:5060 0.0.0.0:* 118 15764 518/asterisk udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 14451 401/avahi-daemon: r udp 0 0 0.0.0.0:9522 0.0.0.0:* 1000 21758 416/node-red udp 0 0 0.0.0.0:42301 0.0.0.0:* 118 17439 518/asterisk udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13277 501/dhcpcd udp 0 0 0.0.0.0:47483 0.0.0.0:* 108 14453 401/avahi-daemon: r udp 0 0 0.0.0.0:4569 0.0.0.0:* 118 17451 518/asterisk udp6 0 0 :::5353 :::* 108 14452 401/avahi-daemon: r udp6 0 0 :::51102 :::* 118 17440 518/asterisk udp6 0 0 :::57895 :::* 108 14454 401/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-11-20 16:43:01.595 - info: host.raspberrypi instance system.adapter.asterisk.0 started with pid 15389 2024-11-20 16:43:04.560 - info: asterisk.0 (15389) starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.asterisk, node: v16.20.2, js-controller: 4.0.23 2024-11-20 16:43:04.667 - info: asterisk.0 (15389) Starting Adapter asterisk.0 in version 1.0.6 with transcoder ffmpeg and language DE 2024-11-20 16:43:05.625 - info: host.raspberrypi instance system.adapter.kostal-piko-ba.0 started with pid 15432 2024-11-20 16:43:09.644 - info: host.raspberrypi instance system.adapter.kostal-piko-ba.1 started with pid 15465 2024-11-20 16:43:10.198 - info: kostal-piko-ba.0 (15432) starting. Version 3.0.1 in /opt/iobroker/node_modules/iobroker.kostal-piko-ba, node: v16.20.2, js-controller: 4.0.23 2024-11-20 16:43:10.302 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:43:10.237 - info: kostal-piko-ba.0 (15432) IP address found in config: 192.168.178.202 2024-11-20 16:43:13.721 - info: host.raspberrypi instance system.adapter.pvforecast.0 started with pid 15506 2024-11-20 16:43:14.047 - info: kostal-piko-ba.1 (15465) starting. Version 3.0.1 in /opt/iobroker/node_modules/iobroker.kostal-piko-ba, node: v16.20.2, js-controller: 4.0.23 2024-11-20 16:43:14.096 - info: kostal-piko-ba.1 (15465) IP address found in config: 192.168.178.201 2024-11-20 16:43:17.487 - info: pvforecast.0 (15506) starting. Version 2.9.0 in /opt/iobroker/node_modules/iobroker.pvforecast, node: v16.20.2, js-controller: 4.0.23 2024-11-20 16:43:17.606 - info: pvforecast.0 (15506) InfluxDB logging is enabled - forecast for plant "PV" will be available @ "pvforecast.0.plants.pv.power" 2024-11-20 16:43:17.613 - info: pvforecast.0 (15506) InfluxDB logging is enabled - forecast summary will be available @ "pvforecast.0.summary.power" 2024-11-20 16:43:17.797 - info: host.raspberrypi instance system.adapter.bydbatt.0 started with pid 15545 2024-11-20 16:43:21.868 - info: host.raspberrypi instance scheduled system.adapter.awattar.0 0 15 * * * 2024-11-20 16:43:22.364 - info: bydbatt.0 (15545) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.bydbatt, node: v16.20.2, js-controller: 4.0.23 2024-11-20 16:43:22.420 - error: bydbatt.0 (15545) initialization undefined no ip 2024-11-20 16:43:25.520 - info: pvforecast.0 (15506) Starting internal update cron (every 15 Minutes) for timezone: Europe/Berlin 2024-11-20 16:43:45.517 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:44:20.904 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:44:56.103 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:45:31.278 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:46:06.633 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again! 2024-11-20 16:46:41.847 - error: asterisk.0 (15389) Cound not connect to Asterisk Manager! Try to connect in 30 seconds again!
============ Mark until here for C&P =============
-
Der ist nicht 'nicht mehr da', der ist vor geraumer Zeit mal geändert worden.
iob nodejs-update 20
sollte das alles aber richten. Und dann DRINGEND den ioBroker insgesamt auf Stand bringen. Inklusive js-controller.
-
Danke hat alles geklappt und alles auf dem neuen Stand
-
@sascha-hartmann
Aber alles "nur" Debian 11. Das was @Thomas-Braun meinte ist die Aktualisierung bzw. Neuinstallation auf Debian 12 / Bookworm. Sonst holt Dich das wieder erneut genauso schnell ein. -
Primär war/ist zwar der ioBroker gemeint, aber das Betriebssystem muss in nächster Zeit auch neuinstalliert werden, stimmt.