NEWS
Troubleshooting NodeJS update
-
@reddddich sagte in Troubleshooting NodeJS update:
Wie hast du eigentlich nodejs v20.16.0 ohne Repo auf das System gewuchtet?Mach es damit:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
-
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7l+ Architecture: arm Model : Raspberry Pi 4 Model B Rev 1.4 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 23:09:24 up 4 days, 23:14, 1 user, load average: 4.26, 4.46, 3.87 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: ~ Under-voltage has occurred *** Time and Time Zones *** Local time: Tue 2024-07-30 23:09:24 CEST Universal time: Tue 2024-07-30 21:09:24 UTC RTC time: Tue 2024-07-30 21:09:24 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: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 1.8G 5.4G 4.0M 691M 6.1G Swap: 99M 0B 99M Total: 8.0G 1.8G 5.5G Active iob-Instances: 29 7897 M total memory 1814 M used memory 125 M active memory 2265 M inactive memory 5391 M free memory 27 M buffer memory 663 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 23:09:25 up 4 days, 23:14, 1 user, load average: 4.26, 4.46, 3.87 Tasks: 219 total, 5 running, 214 sleeping, 0 stopped, 0 zombie %Cpu(s): 41.1 us, 19.2 sy, 0.0 ni, 27.4 id, 11.0 wa, 0.0 hi, 1.4 si, 0.0 st MiB Mem : 7897.4 total, 5398.7 free, 1816.3 used, 682.4 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 6060.6 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 118G 21G 92G 19% / devtmpfs devtmpfs 3.7G 0 3.7G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 2.0M 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 253M 51M 202M 20% /boot tmpfs tmpfs 790M 0 790M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Thu Jul 25 23:54:59 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:5F:37:B2 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=c4837344-02 rootfstype=ext4 fsck.repair=yes rootwait [Thu Jul 25 23:55:01 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Thu Jul 25 23:55:01 2024] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Thu Jul 25 23:55:04 2024] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/dev devtmpfs devtmpfs rw,relatime,size=3780284k,nr_inodes=25694,mode=755 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime | `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,size=1617384k,nr_inodes=819200,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=808688k,nr_inodes=202172,mode=700,uid=1000,gid=1000 |-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro `-/var/lib/lxcfs lxcfs fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other Files in neuralgic directories: /var: du: cannot access '/var/lib/lxcfs/cgroup': Input/output error 8.1G /var/ 4.7G /var/log 3.9G /var/log/journal/3e23e34d17484a28b9473f69f7d9d21c 3.9G /var/log/journal 3.2G /var/lib Archived and active journals take up 3.8G in the file system. /opt/iobroker/backups: 3.2G /opt/iobroker/backups/ 4.0K /opt/iobroker/backups/redistmp /opt/iobroker/iobroker-data: 1.3G /opt/iobroker/iobroker-data/ 652M /opt/iobroker/iobroker-data/files 227M /opt/iobroker/iobroker-data/ring_0/snapshot 227M /opt/iobroker/iobroker-data/ring_0 227M /opt/iobroker/iobroker-data/files/ring.0/doorbell_118278720 The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 27M /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map 27M /opt/iobroker/iobroker-data/files/material/static/js/2.73100bd6.chunk.js.map 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 19M /opt/iobroker/iobroker-data/states.jsonl 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-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CDD48FA-if00 HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: /dev/ttyACM0 *** NodeJS-Installation *** /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.1 /usr/bin/npx 10.8.1 /usr/bin/corepack 0.28.2 nodejs: Installed: 20.16.0-1nodesource1 Candidate: 20.16.0-1nodesource1 Version table: *** 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 12.22.12~dfsg-1~deb11u4 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.19 admin: 6.17.14 javascript: 8.3.1 nodejs modules from github: 2 +-- iobroker.mercedesme@0.2.3 (git+ssh://git@github.com/TA2k/ioBroker.mercedesme.git#127508de20b11a628957ab2478fbf590ef99cf9f) +-- iobroker.telegram@3.9.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.telegram.git#d0b5366c77d6e7f1656dc53648d9cb160d3b66b2) Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.denon.0 : denon : raspberrypi - enabled + system.adapter.device-reminder.1 : device-reminder : raspberrypi - enabled system.adapter.devices.0 : devices : raspberrypi - disabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled + system.adapter.eusec.0 : eusec : raspberrypi - enabled + system.adapter.evcc.0 : evcc : raspberrypi - enabled, port: 7070 + system.adapter.fullybrowser.0 : fullybrowser : raspberrypi - enabled + system.adapter.heos.0 : heos : raspberrypi - enabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 18701 + system.adapter.hm-rpc.3 : hm-rpc : raspberrypi - enabled, port: 12001 + system.adapter.hm-rpc.4 : hm-rpc : raspberrypi - enabled, port: 12010 system.adapter.ical.0 : ical : raspberrypi - enabled system.adapter.influxdb.0 : influxdb : raspberrypi - disabled, port: 8086 + system.adapter.iqontrol.0 : iqontrol : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.mercedesme.0 : mercedesme : raspberrypi - disabled system.adapter.meross.0 : meross : raspberrypi - disabled system.adapter.midea.0 : midea : raspberrypi - disabled system.adapter.mqtt-client.0 : mqtt-client : raspberrypi - disabled, port: 1894 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1894, bind: 192.168.5.206 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.ping.0 : ping : raspberrypi - enabled + system.adapter.ring.0 : ring : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1893, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sony-bravia.0 : sony-bravia : raspberrypi - enabled system.adapter.spotify-premium.0 : spotify-premium : raspberrypi - disabled + system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi - enabled system.adapter.telegram.0 : telegram : raspberrypi - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.unifi.0 : unifi : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - disabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8083, bind: 0.0.0.0, run as: admin system.adapter.whatsapp-cmb.0 : whatsapp-cmb : raspberrypi - disabled + system.adapter.wled.0 : wled : raspberrypi - enabled + system.adapter.worx.0 : worx : raspberrypi - enabled + system.adapter.yahka.1 : yahka : raspberrypi - enabled system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0 + 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.evcc.0 : evcc : raspberrypi - enabled, port: 7070 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 18701 + system.adapter.hm-rpc.3 : hm-rpc : raspberrypi - enabled, port: 12001 + system.adapter.hm-rpc.4 : hm-rpc : raspberrypi - enabled, port: 12010 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1894, bind: 192.168.5.206 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1893, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8083, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0 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" : 6.17.14 , installed 6.17.14 Adapter "alexa2" : 3.26.5 , installed 3.26.5 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "denon" : 1.15.5 , installed 1.15.5 Adapter "device-reminder": 3.1.2 , installed 3.1.2 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "eusec" : 1.2.1 , installed 1.2.1 Adapter "evcc" : 0.1.1 , installed 0.1.1 Adapter "fullybrowser" : 3.0.12 , installed 3.0.12 Adapter "heos" : 2.2.1 , installed 2.2.1 Adapter "hm-rega" : 4.0.0 , installed 4.0.0 Adapter "hm-rpc" : 1.17.0 , installed 1.17.0 Adapter "ical" : 1.15.0 , installed 1.15.0 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "iqontrol" : 2.3.0 , installed 2.3.0 Adapter "javascript" : 8.3.1 , installed 8.3.1 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "meross" : 1.17.0 , installed 1.17.0 Adapter "midea" : 0.0.7 , installed 0.0.7 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "mqtt-client" : 2.0.0 , installed 2.0.0 Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "ring" : 5.1.0 , installed 5.1.0 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sony-bravia" : 1.1.0 , installed 1.1.0 Adapter "spotify-premium": 1.5.0 , installed 1.5.0 Adapter "tankerkoenig" : 3.4.0 , installed 3.4.0 Adapter "telegram" : 3.3.2 , installed 3.9.0 Adapter "unifi" : 0.7.0 , installed 0.7.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "worx" : 3.0.2 , installed 3.0.2 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "yahka" : 1.0.3 , installed 1.0.3 Adapter "zigbee" : 1.10.3 , installed 1.10.3 Objects and States Please stand by - This may take a while Objects: 13144 States: 10376 *** 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://repos.influxdata.com/debian stable InRelease Hit:4 https://apt.pivccu.de/piVCCU stable InRelease Hit:5 https://deb.nodesource.com/node_20.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 15383 894/sshd: /usr/sbin tcp 0 0 10.0.3.1:53 0.0.0.0:* LISTEN 0 16415 911/dnsmasq tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 15408 921/lighttpd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 15520 817/influxd tcp 0 0 192.168.5.206:1895 0.0.0.0:* LISTEN 1001 26900300 10369/io.mqtt.0 tcp 0 0 192.168.5.206:1894 0.0.0.0:* LISTEN 1001 26900299 10369/io.mqtt.0 tcp 0 0 192.168.5.206:18701 0.0.0.0:* LISTEN 1001 26900112 10222/io.hm-rpc.2 tcp 0 0 127.0.0.1:34001 0.0.0.0:* LISTEN 1001 26904227 11155/io.yahka.1 tcp 0 0 192.168.5.206:12001 0.0.0.0:* LISTEN 1001 26896947 10262/io.hm-rpc.3 tcp 0 0 192.168.5.206:12010 0.0.0.0:* LISTEN 1001 26897068 10307/io.hm-rpc.4 tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1001 26899050 9931/iobroker.js-co tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 26898098 9931/iobroker.js-co tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1001 26897360 10245/node-red tcp 0 0 0.0.0.0:1893 0.0.0.0:* LISTEN 1001 26900842 10471/io.shelly.0 tcp 0 0 192.168.5.206:2087 0.0.0.0:* LISTEN 1001 26902560 10245/node-red tcp 0 0 192.168.5.206:2088 0.0.0.0:* LISTEN 1001 26902561 10245/node-red tcp6 0 0 :::22 :::* LISTEN 0 15385 894/sshd: /usr/sbin tcp6 0 0 :::80 :::* LISTEN 0 15409 921/lighttpd tcp6 0 0 :::42775 :::* LISTEN 1001 26903307 11155/io.yahka.1 tcp6 0 0 :::8554 :::* LISTEN 1001 26903034 11150/go2rtc tcp6 0 0 :::8555 :::* LISTEN 1001 26903038 11150/go2rtc tcp6 0 0 :::8081 :::* LISTEN 1001 26896763 10009/io.admin.0 tcp6 0 0 :::8083 :::* LISTEN 1001 26905949 11072/io.web.0 tcp6 0 0 :::8086 :::* LISTEN 999 18493 817/influxd tcp6 0 0 :::8087 :::* LISTEN 1001 26904793 10997/io.simple-api tcp6 0 0 :::3000 :::* LISTEN 111 14047 809/grafana-server tcp6 0 0 :::991 :::* LISTEN 1001 26902026 10245/node-red tcp6 0 0 :::1984 :::* LISTEN 1001 26903048 11150/go2rtc tcp6 0 0 :::992 :::* LISTEN 1001 26902024 10245/node-red tcp6 0 0 :::993 :::* LISTEN 1001 26902022 10245/node-red tcp6 0 0 :::994 :::* LISTEN 1001 26902014 10245/node-red tcp6 0 0 :::995 :::* LISTEN 1001 26902012 10245/node-red tcp6 0 0 :::996 :::* LISTEN 1001 26902010 10245/node-red tcp6 0 0 :::997 :::* LISTEN 1001 26902008 10245/node-red tcp6 0 0 :::998 :::* LISTEN 1001 26902017 10245/node-red tcp6 0 0 :::999 :::* LISTEN 1001 26902003 10245/node-red udp 0 0 0.0.0.0:44041 0.0.0.0:* 108 1810 458/avahi-daemon: r udp 0 0 10.0.3.1:53 0.0.0.0:* 0 16414 911/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 0 16411 911/dnsmasq udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14688 700/dhclient udp 0 0 0.0.0.0:52309 0.0.0.0:* 1001 26903063 10761/io.eusec.0 udp 0 0 0.0.0.0:42662 0.0.0.0:* 1001 26932801 10894/io.heos.0 udp 0 0 0.0.0.0:39622 0.0.0.0:* 1001 26903058 10761/io.eusec.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 26903089 11123/io.wled.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1808 458/avahi-daemon: r udp 0 0 0.0.0.0:56565 0.0.0.0:* 1001 26903053 10761/io.eusec.0 udp 0 0 0.0.0.0:48394 0.0.0.0:* 1001 26903990 10761/io.eusec.0 udp 0 0 0.0.0.0:1900 0.0.0.0:* 1001 26900965 10245/node-red udp 0 0 0.0.0.0:51662 0.0.0.0:* 1001 26903970 10761/io.eusec.0 udp6 0 0 :::5353 :::* 108 1809 458/avahi-daemon: r udp6 0 0 :::57656 :::* 108 1811 458/avahi-daemon: r udp6 0 0 :::8555 :::* 1001 26903039 11150/go2rtc *** Log File - Last 25 Lines *** 2024-07-30 23:10:56.760 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-07-30 23:10:56.761 - info: host.raspberrypi Restart adapter system.adapter.zigbee.0 because enabled 2024-07-30 23:10:57.034 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/sshpk/lib/formats/x509-pem.js:3 2024-07-30 23:10:57.035 - error: host.raspberrypi Caught by controller[0]: var!x00) = requiru8'..x509�); 2024-07-30 23:10:57.035 - error: host.raspberrypi Caught by controller[0]: ^ 2024-07-30 23:10:57.035 - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token '!' 2024-07-30 23:10:57.035 - error: host.raspberrypi Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1281:20) 2024-07-30 23:10:57.036 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1321:27) 2024-07-30 23:10:57.036 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-07-30 23:10:57.036 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-07-30 23:10:57.036 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) 2024-07-30 23:10:57.037 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) 2024-07-30 23:10:57.037 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-07-30 23:10:57.037 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sshpk/lib/certificate.js:21:18) 2024-07-30 23:10:57.037 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-07-30 23:10:57.038 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-07-30 23:10:57.038 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-07-30 23:10:57.038 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) 2024-07-30 23:10:57.038 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) 2024-07-30 23:10:57.039 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-07-30 23:10:57.039 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sshpk/lib/fingerprint.js:12:19) 2024-07-30 23:10:57.039 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-07-30 23:10:57.039 - error: host.raspberrypi Caught by controller[0]: Node.js v20.16.0 2024-07-30 23:10:57.040 - error: host.raspberrypi instance system.adapter.sony-bravia.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-07-30 23:10:57.040 - info: host.raspberrypi Restart adapter system.adapter.sony-bravia.0 because enabled
-
@thomas-braun said in Troubleshooting NodeJS update:
@reddddich sagte in Troubleshooting NodeJS update:
Wie hast du eigentlich nodejs v20.16.0 ohne Repo auf das System gewuchtet?Mach es damit:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
wie gesagt...: n00b
-
Und wie hat es der n00b gemacht?
-
Jetzt passt es.
Das nodesource-Repo ist jetzt richtig auf 20 gesetzt worden.
Dann kannste jetzt den Desktop ausschalten und zigbee auf den 'by-id'-Link setzen. -
@thomas-braun said in Troubleshooting NodeJS update:
Und wie hat es der n00b gemacht?
wine and n00bness did its job... als typischer copy paste mensch der befehle lief da bestimmt was schief
-
Und welche Befehle hast du da woher kopiert?
-
@thomas-braun
zumindest alles aus dem Forum...weiterhin starten adapter aber nicht...
2024-07-30 23:12:13.735 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2024-07-30 23:12:13.735 error Caught by controller[0]: Node.js v20.16.0 host.raspberrypi 2024-07-30 23:12:13.735 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) host.raspberrypi 2024-07-30 23:12:13.734 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) host.raspberrypi 2024-07-30 23:12:13.734 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sshpk/lib/certificate.js:21:18) host.raspberrypi 2024-07-30 23:12:13.734 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.raspberrypi 2024-07-30 23:12:13.734 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) host.raspberrypi 2024-07-30 23:12:13.733 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) host.raspberrypi 2024-07-30 23:12:13.733 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) host.raspberrypi 2024-07-30 23:12:13.733 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) host.raspberrypi 2024-07-30 23:12:13.732 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1321:27) host.raspberrypi 2024-07-30 23:12:13.732 error Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1281:20) host.raspberrypi 2024-07-30 23:12:13.732 error Caught by controller[0]: SyntaxError: Unexpected token '!' host.raspberrypi 2024-07-30 23:12:13.731 error Caught by controller[0]: ^ host.raspberrypi 2024-07-30 23:12:13.731 error Caught by controller[0]: var!x00) = requiru8'..x509�); host.raspberrypi 2024-07-30 23:12:13.730 error Caught by controller[0]: /opt/iobroker/node_modules/sshpk/lib/formats/x509-pem.js:3 host.raspberrypi 2024-07-30 23:12:05.243 info Restart adapter system.adapter.sony-bravia.0 because enabled
-
Ohne zu wissen was du da genau gemacht hast kann man auch nicht nachvollziehen, was da nun vielleicht alles krumm ist.
-
@thomas-braun
Ich kann dir nur noch Recht geben... -
@reddddich mit dem Befehl
history
bekommt man eine Liste mit dem was man gemacht hat. Ohne Anspruch auf Vollständigkeit (z.B. bei mehreren Sitzungen gleichzeitig)
-
ich bekomme die node.js 20x nicht installiert, bzw Iobroker leasst sich sobal alle befehle ausgefuehrt sind nicht mehr oeffnen.
Installiert habe ich es nach dieser Anleitung
https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-16-und-18iob diag ergab folgendes:
======================= SUMMARY ======================= v.2024-05-22 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 10 (buster) Kernel: Linux 5.10.103-v7l+ Architecture: arm Installation: native Kernel: armv7l Userland: 32 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: graphical.target Pending OS-Updates: 0 node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) Pending iob updates: 0 Nodejs-Installation: nodejs: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs) /usr/bin/nodejs nodejs: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs) node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) /usr/bin/node node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) /usr/bin/npm node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) /usr/bin/npx node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) /usr/bin/corepack node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.9G 232M 6.4G 16M 1.3G 7.4G Swap: 99M 0B 99M Total: 8.0G 232M 6.5G Active iob-Instances: 0 node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) ioBroker Core: js-controller node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) admin node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) ioBroker Status: Status admin and web instance: Objects: 0 States: 0 Size of iob-Database: 29M /opt/iobroker/iobroker-data/objects.jsonl 5.3M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
pi@raspberrypi:~ $ iob fix
library: loaded
Library version=2024-05-24==========================================================================
Welcome to the ioBroker installation fixer! Script version: 2024-01-04 You might need to enter your password a couple of times.
==========================================================================
==========================================================================
Installing prerequisites (1/5)Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://apt.pivccu.de/piVCCU stable InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists... Done==========================================================================
Checking ioBroker user and directory permissions (2/5)Created /etc/sudoers.d/iobroker
Fixing directory permissions...==========================================================================
Check and cleanup npm temporary directories (3/5)Done.
==========================================================================
Database maintenance (4/5)Checking for uncompressed JSONL databases... This might take a while!
node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by node) main: line 14: [: -lt: unary operator expected node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by node)==========================================================================
Checking autostart (5/5)Enabling autostart...
Autostart enabled!==========================================================================
Your installation was fixed successfully Run iobroker start to start ioBroker again!
==========================================================================
pi@raspberrypi:~ $ iob start
-
@tony63526 sagte in Troubleshooting NodeJS update:
buster
Ist zu alt, installier da dringend was lebendiges.
Diesmal gleich in der 64Bit-Lite Version.https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
-
@thomas-braun
Würde bedeuten ich muss alles neu aufsetzten?- Zigbee gereate neu anlernen
- Text2command neu eintippen.
eigentlich alles, weil ich mein backup nicht nutzen kann?
-
@tony63526
Wieso kannst du dein Backup nicht nutzen? -
@tony63526 sagte in Troubleshooting NodeJS update:
Würde bedeuten ich muss alles neu aufsetzten?
Ja. Musst du so oder so, weil ein Architektur-Wechsel nicht möglich ist und die Änderungen von RPi OS 10 zu 12 zu groß sind.
eigentlich alles, weil ich mein backup nicht nutzen kann?
Warum nicht?
-
@mcm1957
Weis ich nicht.
War eine Frage. Mein backup bassiert ja auf dem alten system, kann ich es einfach auf dem neuen aufspielen? -
@tony63526
Reden wir von einem IOBROKER Backup oder eine Imagebackup des Betreibssystems ? -
@tony63526 sagte in Troubleshooting NodeJS update:
Mein backup bassiert ja auf dem alten system, kann ich es einfach auf dem neuen aufspielen?
Ein Backup via backitup ist unabhängig vom Betriebssystem.
-
@tony63526 sagte in Troubleshooting NodeJS update:
, kann ich es einfach auf dem neuen aufspielen?
warum nicht?
@tony63526 sagte in Troubleshooting NodeJS update:
Mein backup bassiert ja auf dem alten system,
was war daran "zu alt"?