NEWS
iob diag: npm ERR! code ELSPROBLEMS - invalid cli@1.0.1
-
Hi, heut such ich mal Hilfe.
Beim check meines Pi habe ich folgende Fehlermeldung bei iob diag entdeckt:
Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! invalid: cli@1.0.1 /opt/iobroker/node_modules/cli npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-28T15_12_28_710Z-debug-0.log
Ich habe keine Ahnung ob dass Paket da überhaupt sein soll - oder nicht.
Ich habe auch keine Ahnung ob / wer es benutzt.Frage:
Was soll ich am besten tun um das zu bereinigen?Und @thomas-braun
Ja, ich habe auf dem pi einen Desktop. Ich habe das beim Aufsetzen des Rechners nicht besser gewußt und bei einer Neuinstallation werde ich auch die von dir empfohlene lite Version benutzen. Ein manuelles Entfernen des Desktops macht wahrscheinloch mehr Probleme als ihn zu lassen. Ich bezweifle allerdings auch dass das cli Verzeichnis was damit zu tun hat. Solltest du anderer Ansicht sein, würd ich dich trotzdem bitten ein Statement zum cli Paket abzugeben wenn du dazu was weißt - DANKE
======================= SUMMARY ======================= v.2023-10-10 Static hostname: pi4 Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs 18.18.2 and npm 9.8.1 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.9G 168M 49M 1.7G 1.8G Swap: 1.0G 10M 1.0G Total: 4.8G 1.9G 1.2G Active iob-Instances: 30 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : pi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : pi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 11090 States: 9033 Size of iob-Database: 25M /opt/iobroker/iobroker-data/objects.jsonl 3.5M /opt/iobroker/iobroker-data/objects.json.migrated 3.5M /opt/iobroker/iobroker-data/objects.json.bak.migrated 12M /opt/iobroker/iobroker-data/states.jsonl 220K /opt/iobroker/iobroker-data/states.json.migrated 220K /opt/iobroker/iobroker-data/states.json.bak.migrated =================== END OF SUMMARY ====================
Full log
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: pi4 Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.4 Docker : false Virtualization : none Kernel : aarch64 Userland : armhf Systemuptime and Load: 17:12:20 up 1:11, 3 users, load average: 1.38, 0.92, 0.87 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Sat 2023-10-28 17:12:20 CEST Universal time: Sat 2023-10-28 15:12:20 UTC RTC time: n/a Time zone: Europe/Vienna (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio www-data video plugdev games users input netdev lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 1.9G 205M 48M 1.7G 1.9G Swap: 1.0G 10M 1.0G Total: 4.8G 1.9G 1.2G 3793 M total memory 1879 M used memory 2170 M active memory 1025 M inactive memory 205 M free memory 114 M buffer memory 1593 M swap cache 1023 M total swap 10 M used swap 1013 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 439G 15G 402G 4% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 1.4M 1.9G 1% /dev/shm tmpfs tmpfs 759M 9.0M 750M 2% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 253M 51M 202M 20% /boot tmpfs tmpfs 380M 24K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Sat Oct 28 16:01:16 2023] 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:66:84:E6 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=e3536342-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Sat Oct 28 16:01:18 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Sat Oct 28 16:01:18 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Sat Oct 28 16:01:21 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime,stripe=8191 `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro Files in neuralgic directories: /var: 4.1G /var/ 2.4G /var/lib 2.2G /var/lib/influxdb/data 2.2G /var/lib/influxdb 2.1G /var/lib/influxdb/data/telegraf/autogen Archived and active journals take up 8.0M in the file system. /opt/iobroker/backups: 118M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 423M /opt/iobroker/iobroker-data/ 283M /opt/iobroker/iobroker-data/files 101M /opt/iobroker/iobroker-data/backup-objects 72M /opt/iobroker/iobroker-data/files/telegram.admin 52M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 25M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map 8.6M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.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: npm ERR! code ELSPROBLEMS npm ERR! invalid: cli@1.0.1 /opt/iobroker/node_modules/cli npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-28T15_12_28_710Z-debug-0.log *** 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.12.0 javascript: 7.1.4 Adapters from github: 6 Adapter State + system.adapter.admin.0 : admin : pi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alias-manager.0 : alias-manager : pi4 - enabled + system.adapter.backitup.0 : backitup : pi4 - enabled system.adapter.devices.0 : devices : pi4 - enabled + system.adapter.discovery.0 : discovery : pi4 - enabled system.adapter.energiefluss.0 : energiefluss : pi4 - disabled + system.adapter.envertech-pv.0 : envertech-pv : pi4 - enabled + system.adapter.fronius-solarweb.0 : fronius-solarweb : pi4 - enabled + system.adapter.history.0 : history : pi4 - enabled system.adapter.homeconnect.0 : homeconnect : pi4 - disabled system.adapter.icons-material-svg.0 : icons-material-svg : pi4 - enabled system.adapter.influxdb.0 : influxdb : pi4 - disabled, port: 8086 + system.adapter.info.0 : info : pi4 - enabled + system.adapter.iqontrol.0 : iqontrol : pi4 - enabled + system.adapter.javascript.0 : javascript : pi4 - enabled + system.adapter.javascript.1 : javascript : pi4 - enabled + system.adapter.javascript.10 : javascript : pi4 - enabled system.adapter.jsonconfig-demo.0 : jsonconfig-demo : pi4 - disabled + system.adapter.logparser.0 : logparser : pi4 - enabled system.adapter.lovelace.0 : lovelace : pi4 - disabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.net-tools.0 : net-tools : pi4 - enabled + system.adapter.notification-manager.0 : notification-manager : pi4 - enabled system.adapter.nsclient.0 : nsclient : pi4 - disabled + system.adapter.pi-hole.0 : pi-hole : pi4 - enabled system.adapter.pid.0 : pid : pi4 - disabled + system.adapter.ping.0 : ping : pi4 - enabled + system.adapter.sainlogic.0 : sainlogic : pi4 - enabled, port: 45000, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : pi4 - enabled, port: 1882, bind: 0.0.0.0 system.adapter.shelly.1 : shelly : pi4 - disabled, port: 1881, bind: 10.17.2.20 + system.adapter.snmp.0 : snmp : pi4 - enabled + system.adapter.snmp.10 : snmp : pi4 - enabled + system.adapter.sonoff.0 : sonoff : pi4 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sql.0 : sql : pi4 - enabled + system.adapter.statistics.0 : statistics : pi4 - enabled system.adapter.synology.0 : synology : pi4 - disabled, port: 5000 system.adapter.systeminfo.0 : systeminfo : pi4 - disabled + system.adapter.tahoma.0 : tahoma : pi4 - enabled + system.adapter.telegram.0 : telegram : pi4 - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : pi4 - enabled system.adapter.tradfri.0 : tradfri : pi4 - disabled + system.adapter.tuya.0 : tuya : pi4 - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : pi4 - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : pi4 - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: pi4 - enabled system.adapter.vis.0 : vis : pi4 - enabled system.adapter.weatherunderground.0 : weatherunderground : pi4 - enabled + system.adapter.web.0 : web : pi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : pi4 - enabled, port: /dev/ttyUSB0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : pi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.sainlogic.0 : sainlogic : pi4 - enabled, port: 45000, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : pi4 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : pi4 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : pi4 - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : pi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : pi4 - enabled, port: /dev/ttyUSB0 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.12.0 , installed 6.12.0 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.8.1 , installed 2.8.2 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 3.1.0 , installed 4.1.0 Adapter "envertech-pv" : 1.0.2 , installed 1.0.2 Adapter "fronius-solarweb": 0.0.3 , installed 0.0.3 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 2.0.0 , installed 2.0.0 Adapter "iqontrol" : 2.3.0 , installed 2.3.0 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.12 , installed 5.0.12 Adapter "logparser" : 2.2.0 , installed 2.2.0 Adapter "lovelace" : 3.0.1 , installed 3.0.1 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "notification-manager": 0.1.2, installed 0.1.2 Adapter "nsclient" : 0.1.2 , installed 0.1.2 Adapter "pi-hole" : 1.3.6 , installed 1.3.6 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "sainlogic" : 0.10.5 , installed 0.10.5 Adapter "shelly" : 6.4.5 , installed 6.4.5 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "snmp" : 2.4.11 , installed 3.1.0 Adapter "socketio" : 6.5.5 , installed 6.5.5 Adapter "sonoff" : 2.5.3 , installed 2.5.3 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "statistics" : 2.3.0 , installed 2.3.0 Adapter "synology" : 3.0.0 , installed 3.0.0 Adapter "systeminfo" : 1.1.0 , installed 1.1.0 Adapter "tahoma" : 0.10.2 , installed 0.10.2 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "tradfri" : 3.1.3 , installed 3.1.3 Adapter "tuya" : 3.14.2 , installed 3.14.2 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "weatherunderground": 3.6.0, installed 3.6.0 Adapter "web" : 6.1.2 , installed 6.1.2 Adapter "ws" : 2.5.5 , installed 2.5.5 Adapter "zigbee" : 1.8.23 , installed 1.8.23 Objects and States Please stand by - This may take a while Objects: 11090 States: 9033 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 https://apt.grafana.com stable InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 https://repos.influxdata.com/debian bullseye InRelease Hit:6 https://deb.nodesource.com/node_18.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 127.0.0.1:8088 0.0.0.0:* LISTEN 999 12982 607/influxd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 19432 1568/master tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15792 685/sshd: /usr/sbin tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 997 15153 660/pihole-FTL tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 218636 8374/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 215622 8374/iobroker.js-co tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 997 15159 660/pihole-FTL tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 14922 602/cupsd tcp 0 0 0.0.0.0:45000 0.0.0.0:* LISTEN 1001 276801 8892/io.sainlogic.0 tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 15065 661/vncserver-x11-c tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 254137 8651/io.sonoff.0 tcp6 0 0 :::22 :::* LISTEN 0 15794 685/sshd: /usr/sbin tcp6 0 0 :::53 :::* LISTEN 997 15155 660/pihole-FTL tcp6 0 0 :::80 :::* LISTEN 0 15953 785/apache2 tcp6 0 0 :::443 :::* LISTEN 0 15957 785/apache2 tcp6 0 0 :::3000 :::* LISTEN 116 71927 2120/grafana tcp6 0 0 :::8086 :::* LISTEN 999 31025 607/influxd tcp6 0 0 :::8081 :::* LISTEN 1001 658484 21268/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 266352 8799/io.web.0 tcp6 0 0 :::5900 :::* LISTEN 0 15064 661/vncserver-x11-c tcp6 0 0 ::1:631 :::* LISTEN 0 14921 602/cupsd tcp6 0 0 ::1:4711 :::* LISTEN 997 15160 660/pihole-FTL udp 0 0 0.0.0.0:53 0.0.0.0:* 997 15152 660/pihole-FTL udp 0 0 0.0.0.0:68 0.0.0.0:* 0 18623 531/dhcpcd udp 0 0 0.0.0.0:55476 0.0.0.0:* 1001 278067 8930/io.snmp.0 udp 0 0 0.0.0.0:45323 0.0.0.0:* 1001 301022 8973/io.snmp.10 udp 0 0 0.0.0.0:6666 0.0.0.0:* 1001 276509 8710/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 1001 276510 8710/io.tuya.0 udp 0 0 0.0.0.0:631 0.0.0.0:* 0 16718 711/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 15567 444/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 651294 20824/io.shelly.0 udp 0 0 0.0.0.0:55083 0.0.0.0:* 1001 291318 8973/io.snmp.10 udp 0 0 0.0.0.0:38887 0.0.0.0:* 108 15569 444/avahi-daemon: r udp6 0 0 :::53 :::* 997 15154 660/pihole-FTL udp6 0 0 :::5353 :::* 108 15568 444/avahi-daemon: r udp6 0 0 :::48642 :::* 108 15570 444/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-10-28 17:00:44.165 - info: admin.0 (8397) Got terminate signal TERMINATE_YOURSELF 2023-10-28 17:00:44.167 - info: admin.0 (8397) terminating http server on port 8081 2023-10-28 17:00:44.171 - info: admin.0 (8397) terminating 2023-10-28 17:00:44.173 - info: admin.0 (8397) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-10-28 17:00:44.276 - info: host.pi4 stopInstance system.adapter.admin.0 send kill signal 2023-10-28 17:00:44.676 - info: admin.0 (8397) terminating 2023-10-28 17:00:44.936 - info: host.pi4 instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-10-28 17:00:47.165 - info: host.pi4 [WEBSERVER_UPGRADE] (admin) Server is running on http://localhost:8081 2023-10-28 17:01:13.771 - info: host.pi4 [WEBSERVER_UPGRADE] (admin) Successfully upgraded admin to version 6.12.0 2023-10-28 17:01:14.569 - info: host.pi4 [WEBSERVER_UPGRADE] (admin) Final information delivered 2023-10-28 17:01:14.633 - info: host.pi4 "system.adapter.admin.0" enabled 2023-10-28 17:01:14.637 - info: host.pi4 [WEBSERVER_UPGRADE] (admin) Successfully started adapter 2023-10-28 17:01:14.850 - info: host.pi4 instance system.adapter.admin.0 started with pid 21268 2023-10-28 17:01:19.248 - info: admin.0 (21268) starting. Version 6.12.0 in /opt/iobroker/node_modules/iobroker.admin, node: v18.18.2, js-controller: 5.0.12 2023-10-28 17:01:19.314 - info: admin.0 (21268) requesting all objects 2023-10-28 17:01:22.052 - info: admin.0 (21268) received all objects 2023-10-28 17:01:22.491 - info: admin.0 (21268) Request actual repository... 2023-10-28 17:01:22.524 - info: admin.0 (21268) socket.io server listening on port 8081 2023-10-28 17:01:22.527 - info: admin.0 (21268) http server listening on port 8081 2023-10-28 17:01:22.528 - info: admin.0 (21268) Use link "http://127.0.0.1:8081" to configure. 2023-10-28 17:01:23.348 - info: host.pi4 Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-10-28 17:01:25.143 - info: admin.0 (21268) Repository received successfully. 2023-10-28 17:01:26.620 - info: admin.0 (21268) ==> Connected system.user.admin from ::ffff:10.17.2.100 2023-10-28 17:01:27.628 - info: admin.0 (21268) <== Disconnect system.user.admin from ::ffff:10.17.2.100 admin 2023-10-28 17:01:29.510 - info: admin.0 (21268) ==> Connected system.user.admin from ::ffff:10.17.2.100
============ Mark until here for C&P =============
-
@mcm57 sagte in iob diag: npm ERR! code ELSPROBLEMS - invalid cli@1.0.1:
Ein manuelles Entfernen des Desktops macht wahrscheinloch mehr Probleme als ihn zu lassen.
Nein, macht natürlich kein Problem, weil der ganze GUI-Stack komplett unabhängig vom System läuft.
sudo systemctl set-default multi-user.target sudo systemctl isolate multi-user.target
und der Desktop ist auf Eis gelegt.
Was sagt dir denn
cd /opt/iobroker && npm ls cli
Hier hab ich das Modul nur im sainlogic drin:
npm ls cli iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.sainlogic@0.10.5 └─┬ jshint@2.13.6 └── cli@1.0.1
-
Sorry für das delay - chefin wollte Pizza essen gehen
Desktop hab ich disabled.
cli listet ein Problem bei telegram auf - wenn ich das trichtig interpretiere
pi@pi4:~ $ pi@pi4:~ $ cd /opt/iobroker && npm ls cli npm ERR! code ELSPROBLEMS npm ERR! invalid: cli@1.0.1 /opt/iobroker/node_modules/cli iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.sainlogic@0.10.5 │ └─┬ jshint@2.13.6 │ └── cli@1.0.1 └─┬ iobroker.telegram@1.16.0 └─┬ socksv5@0.0.6 └─┬ ipv6@3.1.1 └── cli@1.0.1 deduped invalid: "0.4.x" from node_modules/socksv5/node_modules/ipv6
Desktop scheint jetzt ok zu sein - oder ?
======================= SUMMARY ======================= v.2023-10-10 Static hostname: pi4 Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs 18.18.2 and npm 9.8.1 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.7G 114M 5.0M 2.0G 2.1G Swap: 1.0G 13M 1.0G Total: 4.8G 1.7G 1.1G Active iob-Instances: 30 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : pi4 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : pi4 - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 11090 States: 9036 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 3.5M /opt/iobroker/iobroker-data/objects.json.migrated 3.5M /opt/iobroker/iobroker-data/objects.json.bak.migrated 6.7M /opt/iobroker/iobroker-data/states.jsonl 220K /opt/iobroker/iobroker-data/states.json.migrated 220K /opt/iobroker/iobroker-data/states.json.bak.migrated =================== END OF SUMMARY ====================
-
@mcm57 sagte in iob diag: npm ERR! code ELSPROBLEMS - invalid cli@1.0.1:
X-Server: false
Boot Target: multi-user.target
Ja, so ist es fein.
Ich denke, da steht im package.json von ipv6 was falsches drin:
cli@1.0.1 deduped invalid: "0.4.x" from node_modules/socksv5/node_modules/ipv6
€dit: Hab den Adapter gerade mal installiert, da kommt bei mir auch das um's Eck:
echad@chet:/opt/iobroker $ npm ls cli npm ERR! code ELSPROBLEMS npm ERR! invalid: cli@1.0.1 /opt/iobroker/node_modules/cli iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.sainlogic@0.10.5 │ └─┬ jshint@2.13.6 │ └── cli@1.0.1 └─┬ iobroker.telegram@2.0.1 └─┬ socksv5@0.0.6 └─┬ ipv6@3.1.1 └── cli@1.0.1 deduped invalid: "0.4.x" from node_modules/socksv5/node_modules/ipv6 npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-28T17_37_08_467Z-debug-0.log
-
@thomas-braun sagte in iob diag: npm ERR! code ELSPROBLEMS - invalid cli@1.0.1:
Ich denke, da steht im package.json von ipv6 was falsches drin:
So ist es:
}, "dependencies": { "sprintf": "0.1.x", "cli": "0.4.x", "cliff": "0.1.x" },
Und cli 0.4.x kann wohl nicht mehr bedient werden.
DEPRECATED
This module has been renamed to ip-address.
Ich würde sagen, telegram sollte prüfen, ob man da nicht was lebendigeres als socksv5 verwenden kann. Das Ding ist seit Jahren nicht mehr angepackt worden:
-
Ja hab auch grad gewühlt.
Ich werd mal ein Issue beim telegram erstellen.
Da scheint ne zimelich krumme Version von sock5 drinnen zu sein - warum auch immer.DANKE für deine Hilfe
https://github.com/iobroker-community-adapters/ioBroker.telegram/issues/689