- Home
- Deutsch
- Einsteigerfragen
- Installation
- node js Update - npm bad error EBADENGINE
node js Update - npm bad error EBADENGINE
-
Hello, ich habe nach der Anleitung node js aktualisiert
iob nodejs-update
mit folgendem Text:
ioBroker nodejs fixer 2024-05-23 Recommended nodejs-version is: 18.20.3 Checking your installation now. Please be patient! Your current setup is: /usr/bin/node v16.19.0 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 /usr/bin/corepack 0.15.1 We found these nodejs versions available for installation: nodejs: Installed: 16.19.0-deb-1nodesource1 Candidate: 16.20.2-deb-1nodesource1 Version table: 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages *** 16.19.0-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.19.0~dfsg-3ubuntu1.6 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages 10.19.0~dfsg-3ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient.
nun ist allerdings 20.14 installiert und ich erhalte bei jedem Adapter Upgradeversuch einen npm error
npm error code EBADENGINE
laut Host Info ist Npm 10.7 nun installiert...
..... ich habe schon 3 Antworten in einem andren Thread erhalten. Danke schonmal.
Hier der iob diag output:
@djmarc75 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:iob diag
here you go Danke schonmal
======== Start marking the full check here =========Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: ioalbrecht Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-182-generic Architecture: x86-64 model name : Common KVM processor Docker : false Virtualization : kvm Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 19:43:38 up 37 min, 1 user, load average: 0.17, 0.11, 0.15 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2024-05-31 19:43:38 CEST Universal time: Fri 2024-05-31 17:43:38 UTC RTC time: Fri 2024-05-31 17:43:39 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': upgrade HOME=/home/upgrade GROUPS=upgrade adm dialout cdrom sudo dip plugdev lxd iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video redis *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.9G 1.8G 1.3G 1.0M 866M 1.9G Swap: 3.9G 0B 3.9G Total: 7.9G 1.8G 5.2G Active iob-Instances: 19 3920 M total memory 1760 M used memory 1960 M active memory 470 M inactive memory 1293 M free memory 90 M buffer memory 775 M swap cache 3935 M total swap 0 M used swap 3935 M free swap *** top - Table Of Processes *** top - 19:43:39 up 37 min, 1 user, load average: 0.17, 0.11, 0.15 Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3920.1 total, 1293.8 free, 1760.0 used, 866.4 buff/cache MiB Swap: 3936.0 total, 3936.0 free, 0.0 used. 1922.3 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * snap.mosquitto.mosquitto.service loaded failed failed Service for snap application mosquitto.mosquitto 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. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 393M 1.1M 391M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 20G 15G 4.3G 78% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/sda2 ext4 974M 312M 595M 35% /boot /dev/loop0 squashfs 56M 56M 0 100% /snap/core18/2823 /dev/loop1 squashfs 56M 56M 0 100% /snap/core18/2812 /dev/loop2 squashfs 64M 64M 0 100% /snap/core20/2318 /dev/loop3 squashfs 1.2M 1.2M 0 100% /snap/mosquitto/873 /dev/loop4 squashfs 92M 92M 0 100% /snap/lxd/24061 /dev/loop5 squashfs 64M 64M 0 100% /snap/core20/2264 /dev/loop6 squashfs 1.2M 1.2M 0 100% /snap/mosquitto/856 /dev/loop7 squashfs 92M 92M 0 100% /snap/lxd/23991 /dev/loop8 squashfs 39M 39M 0 100% /snap/snapd/21465 /dev/loop9 squashfs 39M 39M 0 100% /snap/snapd/21759 tmpfs tmpfs 393M 0 393M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri May 31 19:06:31 2024] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null) [Fri May 31 19:06:32 2024] EXT4-fs (dm-0): re-mounted. Opts: (null) [Fri May 31 19:06:34 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/ubuntu--vg-ubuntu--lv ext4 rw,relatime |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755 | | |-/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate | | |-/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd | | |-/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices | | |-/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset | | |-/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio | | |-/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory | | |-/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma | | |-/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct | | |-/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer | | |-/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb | | |-/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event | | |-/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids | | `-/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/tracing tracefs tracefs 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 |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15764 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,noexec,relatime,size=1960344k,nr_inodes=490086,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | |-/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755 | | |-/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532318]] nsfs rw | | `-/run/snapd/ns/mosquitto.mnt nsfs[mnt:[4026532320]] nsfs rw | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=401420k,mode=700,uid=1000,gid=1000 |-/boot /dev/sda2 ext4 rw,relatime |-/snap/core18/2823 /dev/loop0 squashfs ro,nodev,relatime |-/snap/core18/2812 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core20/2318 /dev/loop2 squashfs ro,nodev,relatime |-/snap/mosquitto/873 /dev/loop3 squashfs ro,nodev,relatime |-/snap/lxd/24061 /dev/loop4 squashfs ro,nodev,relatime |-/snap/core20/2264 /dev/loop5 squashfs ro,nodev,relatime |-/snap/mosquitto/856 /dev/loop6 squashfs ro,nodev,relatime |-/snap/lxd/23991 /dev/loop7 squashfs ro,nodev,relatime |-/snap/snapd/21465 /dev/loop8 squashfs ro,nodev,relatime `-/snap/snapd/21759 /dev/loop9 squashfs ro,nodev,relatime Files in neuralgic directories: /var: 2.4G /var/ 1.2G /var/lib 926M /var/lib/snapd 901M /var/log 897M /var/log/journal/9eafc192ff0e4f099ca8b43790018b7d Archived and active journals take up 896.1M in the file system. /opt/iobroker/backups: 352M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.4G /opt/iobroker/iobroker-data/ 726M /opt/iobroker/iobroker-data/files 511M /opt/iobroker/iobroker-data/files/ring.0 498M /opt/iobroker/iobroker-data/files/ring.0/doorbell_91774976 386M /opt/iobroker/iobroker-data/backup-objects The five largest files in iobroker-data are: 47M /opt/iobroker/iobroker-data/states.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map 29M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.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': /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 Your zigbee.0 COM-Port is matching 'by-id'. Very good! *** NodeJS-Installation *** /usr/bin/nodejs v20.14.0 /usr/bin/node v20.14.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 nodejs: Installed: 20.14.0-1nodesource1 Candidate: 20.14.0-1nodesource1 Version table: *** 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 10.19.0~dfsg-3ubuntu1.6 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages 10.19.0~dfsg-3ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 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.12 admin: 6.13.16 javascript: 7.1.4 nodejs modules from github: 1 | +-- samsungtv@0.0.0 (git+https://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550) Adapter State + system.adapter.admin.0 : admin : ioalbrecht - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : ioalbrecht - enabled system.adapter.alias-manager.0 : alias-manager : ioalbrecht - enabled + system.adapter.backitup.0 : backitup : ioalbrecht - enabled system.adapter.daswetter.0 : daswetter : ioalbrecht - enabled system.adapter.devices.0 : devices : ioalbrecht - enabled system.adapter.discovery.0 : discovery : ioalbrecht - disabled system.adapter.feiertage.0 : feiertage : ioalbrecht - enabled system.adapter.flot.0 : flot : ioalbrecht - disabled + system.adapter.history.0 : history : ioalbrecht - enabled + system.adapter.info.0 : info : ioalbrecht - enabled + system.adapter.iot.0 : iot : ioalbrecht - enabled + system.adapter.javascript.0 : javascript : ioalbrecht - enabled + system.adapter.mihome-vacuum.0 : mihome-vacuum : ioalbrecht - enabled, port: 54321 + system.adapter.mihome.0 : mihome : ioalbrecht - enabled, port: 9898, bind: 0.0.0.0 + system.adapter.mqtt-client.0 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.mqtt-client.1 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.ping.0 : ping : ioalbrecht - enabled system.adapter.ring.0 : ring : ioalbrecht - disabled system.adapter.samsung.0 : samsung : ioalbrecht - disabled + system.adapter.simple-api.0 : simple-api : ioalbrecht - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : ioalbrecht - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : ioalbrecht - enabled + system.adapter.vw-connect.0 : vw-connect : ioalbrecht - enabled + system.adapter.web.0 : web : ioalbrecht - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wled.0 : wled : ioalbrecht - disabled + system.adapter.zigbee.0 : zigbee : ioalbrecht - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : ioalbrecht - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.mihome-vacuum.0 : mihome-vacuum : ioalbrecht - enabled, port: 54321 + system.adapter.mihome.0 : mihome : ioalbrecht - enabled, port: 9898, bind: 0.0.0.0 + system.adapter.mqtt-client.0 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.mqtt-client.1 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.simple-api.0 : simple-api : ioalbrecht - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : ioalbrecht - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : ioalbrecht - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : ioalbrecht - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 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.13.16 , installed 6.13.16 Adapter "alexa2" : 3.26.5 , installed 3.26.4 [Updatable] Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "daswetter" : 3.1.13 , installed 3.1.13 Adapter "deconz" : 1.4.1 , installed 1.3.19 [Updatable] Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.4.0 , installed 3.1.0 [Updatable] Adapter "feiertage" : 1.2.0 , installed 1.1.4 [Updatable] Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "iot" : 3.2.2 , installed 2.0.11 [Updatable] Adapter "javascript" : 8.3.1 , installed 7.1.4 [Updatable] Controller "js-controller": 5.0.19 , installed 5.0.12 [Updatable] Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 4.2.0 , installed 4.0.0 [Updatable] Adapter "mqtt-client" : 1.8.0 , installed 1.7.0 [Updatable] Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "ring" : 5.0.10 , installed 3.2.2 [Updatable] Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "simple-api" : 2.8.0 , installed 2.7.2 [Updatable] Adapter "socketio" : 6.7.0 , installed 6.6.1 [Updatable] Adapter "telegram" : 3.2.1 , installed 3.1.0 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "ws" : 2.6.1 , installed 2.5.11 [Updatable] Adapter "zigbee" : 1.10.3 , installed 1.8.24 [Updatable] Objects and States Please stand by - This may take a while Objects: 11401 States: 9587 *** OS-Repositories and Updates *** Hit:1 http://phoscon.de/apt/deconz focal InRelease Hit:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://de.archive.ubuntu.com/ubuntu focal-security 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 127.0.0.53:53 0.0.0.0:* LISTEN 101 22411 648/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 25267 721/sshd: /usr/sbin tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 0 24892 672/mosquitto tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 27453 669/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 27394 669/iobroker.js-con tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 15775 1/init tcp6 0 0 :::22 :::* LISTEN 0 25278 721/sshd: /usr/sbin tcp6 0 0 :::8087 :::* LISTEN 1001 29602 1410/io.simple-api. tcp6 0 0 :::1883 :::* LISTEN 0 24893 672/mosquitto tcp6 0 0 :::111 :::* LISTEN 0 15783 1/init tcp6 0 0 :::8081 :::* LISTEN 1001 27613 963/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 31154 1569/io.web.0 udp 0 0 0.0.0.0:9898 0.0.0.0:* 1001 28129 1093/io.mihome.0 udp 0 0 127.0.0.53:53 0.0.0.0:* 101 22410 648/systemd-resolve udp 0 0 192.168.188.74:68 0.0.0.0:* 100 22414 646/systemd-network udp 0 0 0.0.0.0:111 0.0.0.0:* 0 15778 1/init udp 0 0 0.0.0.0:53421 0.0.0.0:* 1001 28081 1065/io.mihome-vacu udp6 0 0 :::111 :::* 0 15788 1/init udp6 0 0 fe80::e091:47ff:fe6:546 :::* 100 22631 646/systemd-network *** Log File - Last 25 Lines *** 2024-05-31 19:29:58.040 - info: host.ioalbrecht iobroker npm error code EBADENGINE 2024-05-31 19:29:58.044 - info: host.ioalbrecht iobroker npm error engine Unsupported engine 2024-05-31 19:29:58.046 - info: host.ioalbrecht iobroker npm error engine Not compatible with your version of node/npm: ring-client-api@11.7.1 2024-05-31 19:29:58.047 - info: host.ioalbrecht iobroker npm error notsup Not compatible with your version of node/npm: ring-client-api@11.7.1npm error notsup Required: {"node":"^16 || ^18"}npm error notsup Actual: {"npm":"10.7.0","node":"v20.14.0"} 2024-05-31 19:29:58.051 - info: host.ioalbrecht iobroker 2024-05-31 19:29:58.053 - info: host.ioalbrecht iobroker npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-31T17_29_55_322Z-debug-0.log 2024-05-31 19:29:58.201 - info: host.ioalbrecht iobroker upload [17] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom.html custom.html text/html 2024-05-31 19:29:58.209 - info: host.ioalbrecht iobroker upload [16] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom_m.html custom_m.html text/html 2024-05-31 19:29:58.213 - info: host.ioalbrecht iobroker upload [15] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/de/translations.json i18n/de/translations.json application/json 2024-05-31 19:29:58.218 - info: host.ioalbrecht iobroker upload [14] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/en/translations.json i18n/en/translations.json application/json 2024-05-31 19:29:58.223 - info: host.ioalbrecht iobroker upload [13] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/es/translations.json i18n/es/translations.json application/json 2024-05-31 19:29:58.228 - info: host.ioalbrecht iobroker upload [12] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/fr/translations.json i18n/fr/translations.json application/json 2024-05-31 19:29:58.233 - info: host.ioalbrecht iobroker upload [11] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/it/translations.json i18n/it/translations.json application/json 2024-05-31 19:29:58.238 - info: host.ioalbrecht iobroker upload [10] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/nl/translations.json i18n/nl/translations.json application/json 2024-05-31 19:29:58.244 - info: host.ioalbrecht iobroker upload [9] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pl/translations.json i18n/pl/translations.json application/json 2024-05-31 19:29:58.249 - info: host.ioalbrecht iobroker upload [8] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pt/translations.json i18n/pt/translations.json application/json 2024-05-31 19:29:58.254 - info: host.ioalbrecht iobroker upload [7] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/ru/translations.json i18n/ru/translations.json application/json 2024-05-31 19:29:58.259 - info: host.ioalbrecht iobroker upload [6] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/uk/translations.json i18n/uk/translations.json application/json 2024-05-31 19:29:58.265 - info: host.ioalbrecht iobroker upload [5] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json 2024-05-31 19:29:58.269 - info: host.ioalbrecht iobroker upload [4] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index.html index.html text/html 2024-05-31 19:29:58.274 - info: host.ioalbrecht iobroker upload [3] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index_m.html index_m.html text/html 2024-05-31 19:29:58.279 - info: host.ioalbrecht iobroker upload [2] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/jsonCustom.json jsonCustom.json application/json 2024-05-31 19:29:58.284 - info: host.ioalbrecht iobroker upload [1] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/mqtt-client.png mqtt-client.png image/png 2024-05-31 19:29:58.289 - info: host.ioalbrecht iobroker upload [0] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/words.js words.js application/javascript 2024-05-31 19:29:59.304 - info: host.ioalbrecht iobroker exit 0
============ Mark until here for C&P =============
-
NPM war vor dem upgrade meine ich auch en niedrigere Version.... wurde ggf mit aktualisiert
Tips gegen den NPM error? -
Update die Antiquitätensammlung bei den Adaptern...
-
darum habe ich ja Nodejs aktualisiert
$ iobroker upgrade mqtt-client@1.8.0 --debug Installing iobroker.mqtt-client@1.8.0... (System call) npm error code EBADENGINE npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-31T17_52_53_784Z-debug-0.log upload [17] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom.html custom.html text/html upload [10] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [9] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [0] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/words.js words.js application/javascript Process exited with code 0
das hier bekomme ich wenn ich den MQTT adapter aktualisieren möchte
-
iob update iob upgrade all -y
-
hier noch das NPM log
======== Start marking the full check here =========
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: ioalbrecht Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-182-generic Architecture: x86-64 model name : Common KVM processor Docker : false Virtualization : kvm Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 19:43:38 up 37 min, 1 user, load average: 0.17, 0.11, 0.15 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2024-05-31 19:43:38 CEST Universal time: Fri 2024-05-31 17:43:38 UTC RTC time: Fri 2024-05-31 17:43:39 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': upgrade HOME=/home/upgrade GROUPS=upgrade adm dialout cdrom sudo dip plugdev lxd iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video redis *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.9G 1.8G 1.3G 1.0M 866M 1.9G Swap: 3.9G 0B 3.9G Total: 7.9G 1.8G 5.2G Active iob-Instances: 19 3920 M total memory 1760 M used memory 1960 M active memory 470 M inactive memory 1293 M free memory 90 M buffer memory 775 M swap cache 3935 M total swap 0 M used swap 3935 M free swap *** top - Table Of Processes *** top - 19:43:39 up 37 min, 1 user, load average: 0.17, 0.11, 0.15 Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3920.1 total, 1293.8 free, 1760.0 used, 866.4 buff/cache MiB Swap: 3936.0 total, 3936.0 free, 0.0 used. 1922.3 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * snap.mosquitto.mosquitto.service loaded failed failed Service for snap application mosquitto.mosquitto 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. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 393M 1.1M 391M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 20G 15G 4.3G 78% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/sda2 ext4 974M 312M 595M 35% /boot /dev/loop0 squashfs 56M 56M 0 100% /snap/core18/2823 /dev/loop1 squashfs 56M 56M 0 100% /snap/core18/2812 /dev/loop2 squashfs 64M 64M 0 100% /snap/core20/2318 /dev/loop3 squashfs 1.2M 1.2M 0 100% /snap/mosquitto/873 /dev/loop4 squashfs 92M 92M 0 100% /snap/lxd/24061 /dev/loop5 squashfs 64M 64M 0 100% /snap/core20/2264 /dev/loop6 squashfs 1.2M 1.2M 0 100% /snap/mosquitto/856 /dev/loop7 squashfs 92M 92M 0 100% /snap/lxd/23991 /dev/loop8 squashfs 39M 39M 0 100% /snap/snapd/21465 /dev/loop9 squashfs 39M 39M 0 100% /snap/snapd/21759 tmpfs tmpfs 393M 0 393M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri May 31 19:06:31 2024] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null) [Fri May 31 19:06:32 2024] EXT4-fs (dm-0): re-mounted. Opts: (null) [Fri May 31 19:06:34 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/ubuntu--vg-ubuntu--lv ext4 rw,relatime |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755 | | |-/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate | | |-/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd | | |-/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices | | |-/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset | | |-/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio | | |-/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory | | |-/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma | | |-/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct | | |-/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer | | |-/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb | | |-/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event | | |-/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids | | `-/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/tracing tracefs tracefs 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 |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15764 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,noexec,relatime,size=1960344k,nr_inodes=490086,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | |-/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec,relatime,size=401424k,mode=755 | | |-/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532318]] nsfs rw | | `-/run/snapd/ns/mosquitto.mnt nsfs[mnt:[4026532320]] nsfs rw | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=401420k,mode=700,uid=1000,gid=1000 |-/boot /dev/sda2 ext4 rw,relatime |-/snap/core18/2823 /dev/loop0 squashfs ro,nodev,relatime |-/snap/core18/2812 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core20/2318 /dev/loop2 squashfs ro,nodev,relatime |-/snap/mosquitto/873 /dev/loop3 squashfs ro,nodev,relatime |-/snap/lxd/24061 /dev/loop4 squashfs ro,nodev,relatime |-/snap/core20/2264 /dev/loop5 squashfs ro,nodev,relatime |-/snap/mosquitto/856 /dev/loop6 squashfs ro,nodev,relatime |-/snap/lxd/23991 /dev/loop7 squashfs ro,nodev,relatime |-/snap/snapd/21465 /dev/loop8 squashfs ro,nodev,relatime `-/snap/snapd/21759 /dev/loop9 squashfs ro,nodev,relatime Files in neuralgic directories: /var: 2.4G /var/ 1.2G /var/lib 926M /var/lib/snapd 901M /var/log 897M /var/log/journal/9eafc192ff0e4f099ca8b43790018b7d Archived and active journals take up 896.1M in the file system. /opt/iobroker/backups: 352M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.4G /opt/iobroker/iobroker-data/ 726M /opt/iobroker/iobroker-data/files 511M /opt/iobroker/iobroker-data/files/ring.0 498M /opt/iobroker/iobroker-data/files/ring.0/doorbell_91774976 386M /opt/iobroker/iobroker-data/backup-objects The five largest files in iobroker-data are: 47M /opt/iobroker/iobroker-data/states.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map 29M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.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': /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 Your zigbee.0 COM-Port is matching 'by-id'. Very good! *** NodeJS-Installation *** /usr/bin/nodejs v20.14.0 /usr/bin/node v20.14.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 nodejs: Installed: 20.14.0-1nodesource1 Candidate: 20.14.0-1nodesource1 Version table: *** 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 10.19.0~dfsg-3ubuntu1.6 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages 10.19.0~dfsg-3ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 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.12 admin: 6.13.16 javascript: 7.1.4 nodejs modules from github: 1 | +-- samsungtv@0.0.0 (git+https://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550) Adapter State + system.adapter.admin.0 : admin : ioalbrecht - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : ioalbrecht - enabled system.adapter.alias-manager.0 : alias-manager : ioalbrecht - enabled + system.adapter.backitup.0 : backitup : ioalbrecht - enabled system.adapter.daswetter.0 : daswetter : ioalbrecht - enabled system.adapter.devices.0 : devices : ioalbrecht - enabled system.adapter.discovery.0 : discovery : ioalbrecht - disabled system.adapter.feiertage.0 : feiertage : ioalbrecht - enabled system.adapter.flot.0 : flot : ioalbrecht - disabled + system.adapter.history.0 : history : ioalbrecht - enabled + system.adapter.info.0 : info : ioalbrecht - enabled + system.adapter.iot.0 : iot : ioalbrecht - enabled + system.adapter.javascript.0 : javascript : ioalbrecht - enabled + system.adapter.mihome-vacuum.0 : mihome-vacuum : ioalbrecht - enabled, port: 54321 + system.adapter.mihome.0 : mihome : ioalbrecht - enabled, port: 9898, bind: 0.0.0.0 + system.adapter.mqtt-client.0 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.mqtt-client.1 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.ping.0 : ping : ioalbrecht - enabled system.adapter.ring.0 : ring : ioalbrecht - disabled system.adapter.samsung.0 : samsung : ioalbrecht - disabled + system.adapter.simple-api.0 : simple-api : ioalbrecht - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : ioalbrecht - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : ioalbrecht - enabled + system.adapter.vw-connect.0 : vw-connect : ioalbrecht - enabled + system.adapter.web.0 : web : ioalbrecht - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wled.0 : wled : ioalbrecht - disabled + system.adapter.zigbee.0 : zigbee : ioalbrecht - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : ioalbrecht - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.mihome-vacuum.0 : mihome-vacuum : ioalbrecht - enabled, port: 54321 + system.adapter.mihome.0 : mihome : ioalbrecht - enabled, port: 9898, bind: 0.0.0.0 + system.adapter.mqtt-client.0 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.mqtt-client.1 : mqtt-client : ioalbrecht - enabled, port: 1883 + system.adapter.simple-api.0 : simple-api : ioalbrecht - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : ioalbrecht - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : ioalbrecht - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : ioalbrecht - enabled, port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2473751-if00 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.13.16 , installed 6.13.16 Adapter "alexa2" : 3.26.5 , installed 3.26.4 [Updatable] Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "daswetter" : 3.1.13 , installed 3.1.13 Adapter "deconz" : 1.4.1 , installed 1.3.19 [Updatable] Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.4.0 , installed 3.1.0 [Updatable] Adapter "feiertage" : 1.2.0 , installed 1.1.4 [Updatable] Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "iot" : 3.2.2 , installed 2.0.11 [Updatable] Adapter "javascript" : 8.3.1 , installed 7.1.4 [Updatable] Controller "js-controller": 5.0.19 , installed 5.0.12 [Updatable] Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 4.2.0 , installed 4.0.0 [Updatable] Adapter "mqtt-client" : 1.8.0 , installed 1.7.0 [Updatable] Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "ring" : 5.0.10 , installed 3.2.2 [Updatable] Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "simple-api" : 2.8.0 , installed 2.7.2 [Updatable] Adapter "socketio" : 6.7.0 , installed 6.6.1 [Updatable] Adapter "telegram" : 3.2.1 , installed 3.1.0 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "ws" : 2.6.1 , installed 2.5.11 [Updatable] Adapter "zigbee" : 1.10.3 , installed 1.8.24 [Updatable] Objects and States Please stand by - This may take a while Objects: 11401 States: 9587 *** OS-Repositories and Updates *** Hit:1 http://phoscon.de/apt/deconz focal InRelease Hit:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://de.archive.ubuntu.com/ubuntu focal-security 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 127.0.0.53:53 0.0.0.0:* LISTEN 101 22411 648/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 25267 721/sshd: /usr/sbin tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 0 24892 672/mosquitto tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 27453 669/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 27394 669/iobroker.js-con tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 15775 1/init tcp6 0 0 :::22 :::* LISTEN 0 25278 721/sshd: /usr/sbin tcp6 0 0 :::8087 :::* LISTEN 1001 29602 1410/io.simple-api. tcp6 0 0 :::1883 :::* LISTEN 0 24893 672/mosquitto tcp6 0 0 :::111 :::* LISTEN 0 15783 1/init tcp6 0 0 :::8081 :::* LISTEN 1001 27613 963/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 31154 1569/io.web.0 udp 0 0 0.0.0.0:9898 0.0.0.0:* 1001 28129 1093/io.mihome.0 udp 0 0 127.0.0.53:53 0.0.0.0:* 101 22410 648/systemd-resolve udp 0 0 192.168.188.74:68 0.0.0.0:* 100 22414 646/systemd-network udp 0 0 0.0.0.0:111 0.0.0.0:* 0 15778 1/init udp 0 0 0.0.0.0:53421 0.0.0.0:* 1001 28081 1065/io.mihome-vacu udp6 0 0 :::111 :::* 0 15788 1/init udp6 0 0 fe80::e091:47ff:fe6:546 :::* 100 22631 646/systemd-network *** Log File - Last 25 Lines *** 2024-05-31 19:29:58.040 - info: host.ioalbrecht iobroker npm error code EBADENGINE 2024-05-31 19:29:58.044 - info: host.ioalbrecht iobroker npm error engine Unsupported engine 2024-05-31 19:29:58.046 - info: host.ioalbrecht iobroker npm error engine Not compatible with your version of node/npm: ring-client-api@11.7.1 2024-05-31 19:29:58.047 - info: host.ioalbrecht iobroker npm error notsup Not compatible with your version of node/npm: ring-client-api@11.7.1npm error notsup Required: {"node":"^16 || ^18"}npm error notsup Actual: {"npm":"10.7.0","node":"v20.14.0"} 2024-05-31 19:29:58.051 - info: host.ioalbrecht iobroker 2024-05-31 19:29:58.053 - info: host.ioalbrecht iobroker npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-31T17_29_55_322Z-debug-0.log 2024-05-31 19:29:58.201 - info: host.ioalbrecht iobroker upload [17] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom.html custom.html text/html 2024-05-31 19:29:58.209 - info: host.ioalbrecht iobroker upload [16] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/custom_m.html custom_m.html text/html 2024-05-31 19:29:58.213 - info: host.ioalbrecht iobroker upload [15] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/de/translations.json i18n/de/translations.json application/json 2024-05-31 19:29:58.218 - info: host.ioalbrecht iobroker upload [14] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/en/translations.json i18n/en/translations.json application/json 2024-05-31 19:29:58.223 - info: host.ioalbrecht iobroker upload [13] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/es/translations.json i18n/es/translations.json application/json 2024-05-31 19:29:58.228 - info: host.ioalbrecht iobroker upload [12] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/fr/translations.json i18n/fr/translations.json application/json 2024-05-31 19:29:58.233 - info: host.ioalbrecht iobroker upload [11] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/it/translations.json i18n/it/translations.json application/json 2024-05-31 19:29:58.238 - info: host.ioalbrecht iobroker upload [10] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/nl/translations.json i18n/nl/translations.json application/json 2024-05-31 19:29:58.244 - info: host.ioalbrecht iobroker upload [9] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pl/translations.json i18n/pl/translations.json application/json 2024-05-31 19:29:58.249 - info: host.ioalbrecht iobroker upload [8] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/pt/translations.json i18n/pt/translations.json application/json 2024-05-31 19:29:58.254 - info: host.ioalbrecht iobroker upload [7] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/ru/translations.json i18n/ru/translations.json application/json 2024-05-31 19:29:58.259 - info: host.ioalbrecht iobroker upload [6] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/uk/translations.json i18n/uk/translations.json application/json 2024-05-31 19:29:58.265 - info: host.ioalbrecht iobroker upload [5] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json 2024-05-31 19:29:58.269 - info: host.ioalbrecht iobroker upload [4] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index.html index.html text/html 2024-05-31 19:29:58.274 - info: host.ioalbrecht iobroker upload [3] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/index_m.html index_m.html text/html 2024-05-31 19:29:58.279 - info: host.ioalbrecht iobroker upload [2] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/jsonCustom.json jsonCustom.json application/json 2024-05-31 19:29:58.284 - info: host.ioalbrecht iobroker upload [1] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/mqtt-client.png mqtt-client.png image/png 2024-05-31 19:29:58.289 - info: host.ioalbrecht iobroker upload [0] mqtt-client.admin /opt/iobroker/node_modules/iobroker.mqtt-client/admin/words.js words.js application/javascript 2024-05-31 19:29:59.304 - info: host.ioalbrecht iobroker exit 0
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
upgrade@ioalbrecht:~$ cd /home/iobroker/.npm/_logs/
upgrade@ioalbrecht:/home/iobroker/.npm/_logs$ ls
2024-05-31T04_51_03_286Z-debug-0.log 2024-05-31T16_51_03_282Z-debug-0.log 2024-05-31T17_10_24_820Z-debug-0.log 2024-05-31T17_29_55_322Z-debug-0.log
2024-05-31T16_41_37_801Z-debug-0.log 2024-05-31T17_08_51_571Z-debug-0.log 2024-05-31T17_15_46_197Z-debug-0.log 2024-05-31T17_52_53_784Z-debug-0.log
2024-05-31T16_41_38_253Z-debug-0.log 2024-05-31T17_09_50_211Z-debug-0.log 2024-05-31T17_24_54_814Z-debug-0.log
upgrade@ioalbrecht:/home/iobroker/.npm/_logs$ nano /home/iobroker/.npm/_logs/2024-05-31T17_52_53_784Z-debug-0.logGNU nano 4.8 /home/iobroker/.npm/_logs/2024-05-31T17_52_53_784Z-debug-0.log
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly fetch manifest iobroker.mqtt-client@1.8.0
15 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.alexa2
16 http fetch GET 200 https://registry.npmjs.org/iobroker.mqtt-client 1407ms (cache revalidated)
17 silly placeDep ROOT iobroker.mqtt-client@1.8.0 REPLACE for: iobroker.inst@3.0.0 want: 1.8.0
18 verbose stack Error: Unsupported engine
18 verbose stack at checkEngine (/usr/lib/node_modules/npm/node_modules/npm-install-checks/lib/index.js:14:25)
18 verbose stack at #checkEngineAndPlatform (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:220:11)
18 verbose stack at Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:206:41)
18 verbose stack at async Promise.all (index 1)
18 verbose stack at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:131:5)
18 verbose stack at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5)
18 verbose stack at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5)
19 verbose pkgid ring-client-api@11.7.1
20 verbose cwd /opt/iobroker
21 verbose Linux 5.4.0-182-generic
22 verbose node v20.14.0
23 verbose npm v10.7.0
24 error code EBADENGINE
25 error engine Unsupported engine
26 error engine Not compatible with your version of node/npm: ring-client-api@11.7.1
27 error notsup Not compatible with your version of node/npm: ring-client-api@11.7.1
27 error notsup Required: {"node":"^16 || ^18"}
27 error notsup Actual: {"npm":"10.7.0","node":"v20.14.0"}
28 verbose exit 1
29 verbose code 1
30 silly unfinished npm timer reify 1717177974152
31 silly unfinished npm timer reify:loadTrees 1717177974174
32 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-31T17_52_53_784Z-debug-0.log -
@thomas-braun sagte in node js Update - npm bad error EBADENGINE:
iob upgrade all -y
läuft gerade und die ersten Adapter sind durchgelaufen....
D.h. die Informationen für die Adapter bei mir auf der Platte waren veraltet und konjugiert damit wurden nun das repo aktualisiert??? oder was ist hier der Mechanismus?
-
@madjack84 sagte in node js Update - npm bad error EBADENGINE:
das hier bekomme ich wenn ich den MQTT adapter aktualisieren möchte
Da klemmt es bei dem ring-Adapter. Den zuerst aktualisieren.
-
@madjack84 sagte in node js Update - npm bad error EBADENGINE:
oder was ist hier der Mechanismus?
Der Mechanismus ist, das dein gnadenlos abgesoffener ring-Adapter bzw. eine der Abhängigkeiten so alt war/ist, das der mit aktuellen nodejs-Versionen nicht mag. Deswegen hält man seine Kiste auch regelmäßig auf Stand, dann passiert das nicht (so leicht).
-
@thomas-braun
ich hab heut dick gelesen:If it ain't broker, don't fix it
aber ja,... ich hab den iobroker die letzten Monate stark vernachlässigt
Dir schonmal größten Dank für die fixe Hilfe.... ich wühl mich mal durch ob alles funktioniert
-
@madjack84 sagte in node js Update - npm bad error EBADENGINE:
If it ain't broker, don't fix it
MOOOOOOOOOARRRRRR....
Das ist der allergrößte BULLSHIT EVER!!!!!!!Wer erzählt so einen Schwachsinn immer????
Es gilt: Halt die Kiste immer auf einem aktuellen, stabilen Stand.
-
https://tasmota.github.io/docs/Upgrading/
these guys hab vorhin ne Steckdose aktualisiert
-
@thomas-braun Lektion gelernt!
Und ich bin immer noch beeindruckt wie du das so schnell irgendwo rausgelesen hast. Hab eben die logs durch gescrollt und nix gefunden #shame
Danke nochmal
-
Joh, bei Tasmota sollst du auch nicht jede kleine Änderung in den Speicher dampfen. Aber so ab und an würde ich auch das auf die nächste Major-Version heben.
Für Server-(Dienste) gilt aber: Updaten, updaten, updaten.
-
@madjack84 sagte in node js Update - npm bad error EBADENGINE:
these guys hab vorhin ne Steckdose aktualisiert
IOT ist ein großes Sicherheitsrisiko und bedarf ständiger Upgrades.
Das auch hier oftmals proklamierte Argument, "meine Geräte dürfen nicht ins Internet" greift aus meiner Sicht zu kurz, denn wenn ICH darauf zugreifen kann, kann ein anderer, der auf irgendeine Weise mein System kompromittiert hat, vortäuschen ICH zu sein.
Hier eine Startrampe für IOT-Sicherheit