NEWS
[gelöst]Kann node. js und NPM nicht updaten
-
Hallo zusammen,
habe ein kleines Problem. Ich habe jetzt schon ein paar mal versucht node.js und NPM zu udaten. Iobroker zeigt mir an, dass es ein Update gibt.
Plattform: linux
Betriebssystem: linux
Architektur: arm64
CPUs: 4
Geschwindigkeit: 1500 MHz
Modell: Cortex-A72
RAM: 3.7 GB
System-Betriebszeit: 36 T. 23:59:51
Node.js: v18.17.1
time: 1708241316311
timeOffset: -60
NPM: 9.6.7
Adapter-Anzahl: 532
Datenträgergröße: 58.3 GB
Freier Festplattenspeicher: 51.3 GB
Aktive Instanzen: 22
Pfad: /opt/iobroker/
Betriebszeit: 00:01:34
aktiv:Dieses ist im Moment installiert.
root@raspberrypi:/home/pi# node -v v18.17.1 root@raspberrypi:/home/pi# npm -v 9.6.7 root@raspberrypi:/home/pi# sudo apt remove node Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package node root@raspberrypi:/home/pi# sudo apt remove node Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package node
Das zeigt er mir an, wenn ich, wie empfohlen node.js deinstallieren möchte.
update und anschließend upgrade klappt auch nicht. Die Versionen bleiben immer bei 19.17.1 und 9.6.7.
Bin jetzt kein super crack, deshalb bitte Hilfe für Anfänger.......
Danke Dirk
-
@dirkheider melde dich erstmal nicht aks root, sondern als user (pi??) an.
dann machst du als user
iob stop iob fix iob start
wenn das fertig ist noch ein
iob diag
davon postest du hier die Langfassung in code-tags -
@dirkheider
Bin ebenfalls keine Linux Leuchte, aber als User 'root' zu agieren ist ein eigentlich mittlerweile bekanntes NoGo. Normalen User mit Root-Rechten anlegen und den Fixer drüber laufen lassen.EDIT
@Homoran war schneller -
@homoran said in Kann node. js und NPM nicht updaten:
iob start
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Feb 18 08:09:48 2024 from 192.168.178.62 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob fix library: loaded Library version=2024-01-04 ========================================================================== 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://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_18.x bullseye 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! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspberrypi:~ $ iob start pi@raspberrypi:~ $
Das wusste ich nicht mit, dass ich das als User mach muss:-)
-
@dirkheider sagte in Kann node. js und NPM nicht updaten:
dass ich das als User mach muss
man arbeitet immer nur als user!
arbeiten mit root kann die Rechtestruktur dermaßen verbiegen, dass nichts mehr läuft.und was kam bei
iob diag
raus? -
@homoran
wie mach ich das mit dem iob diag? -
@dirkheider sagte in Kann node. js und NPM nicht updaten:
@homoran
wie mach ich das mit dem iob diag?iob diag
eintippen und dann <enter> -
@homoran said in Kann node. js und NPM nicht updaten:
iob diag
======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 /home/iobroker/.diag.sh: line 486: nodejs: command not found Nodejs-Installation: /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 Recommended versions are nodejs 18.19.1 and npm 10.2.4 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please check https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian for more information on how to fix these errors. MEMORY: total used free shared buff/cache available Mem: 3.8G 2.4G 473M 0.0K 918M 1.3G Swap: 99M 5.0M 94M Total: 3.9G 2.4G 568M Active iob-Instances: 38 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 6.13.16 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.1 : web : raspberrypi - enabled, port: 8083, bind: 0.0.0.0, run as: admin Objects: 20142 States: 16026 Size of iob-Database: 23M /opt/iobroker/iobroker-data/objects.jsonl 27M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
pi@raspberrypi:~ $sorry wusste ich nicht. Sieht aus als ob da was nicht richt installiert wäre? Wie fix ich das?
-
@dirkheider sagte in Kann node. js und NPM nicht updaten:
SUMMARY
ist leider nicht
@homoran sagte in Kann node. js und NPM nicht updaten:
die Langfassung
die kommt vorher.
du datfst danach nicht den <any key> drücken -
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.2 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 09:23:49 up 37 days, 55 min, 1 user, load average: 1.05, 1.33, 1.45 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Sun 2024-02-18 09:23:49 CET Universal time: Sun 2024-02-18 08:23:49 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 2.5G 525M 0.0K 779M 1.2G Swap: 99M 5.0M 94M Total: 3.9G 2.5G 619M 3794 M total memory 2489 M used memory 2534 M active memory 443 M inactive memory 525 M free memory 62 M buffer memory 716 M swap cache 99 M total swap 5 M used swap 94 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 59G 7.0G 49G 13% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.1M 758M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 31M 225M 13% /boot /dev/sda1 vfat 29G 3.0G 26G 11% /media/usbstick tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Jan 12 08:28:44 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:85:4B:66 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=70d9c91d-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Jan 12 08:28:45 2024] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [Fri Jan 12 08:28:45 2024] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [Fri Jan 12 08:28:45 2024] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs [Fri Jan 12 08:28:45 2024] EXT4-fs (mmcblk0p2): 4 orphan inodes deleted [Fri Jan 12 08:28:45 2024] EXT4-fs (mmcblk0p2): recovery complete [Fri Jan 12 08:28:46 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Jan 12 08:28:46 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Jan 12 08:28:48 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro `-/media/usbstick /dev/sda1 vfat rw,noatime,uid=1001,gid=1001,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro Files in neuralgic directories: /var: 1.4G /var/ 850M /var/log 849M /var/log/journal/e65d0c5a6bb249ea952a43dc9a55bac2 849M /var/log/journal 308M /var/cache Archived and active journals take up 848.1M in the file system. /opt/iobroker/backups: 499M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 417M /opt/iobroker/iobroker-data/ 199M /opt/iobroker/iobroker-data/files 81M /opt/iobroker/iobroker-data/backup-objects 71M /opt/iobroker/iobroker-data/node-red/node_modules 71M /opt/iobroker/iobroker-data/node-red The five largest files in iobroker-data are: 44M /opt/iobroker/iobroker-data/states.jsonl 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map 23M /opt/iobroker/iobroker-data/objects.jsonl 22M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js.map 20M /opt/iobroker/iobroker-data/node-red/node_modules/sharp/vendor/8.10.6/lib/libvips-cpp.so.42 USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 *** NodeJS-Installation *** /home/iobroker/.diag.sh: line 277: nodejs: command not found /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 /home/iobroker/.diag.sh: line 288: nodejs: command not found *** nodejs is NOT correctly installed *** nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 500 http://security.debian.org/debian-security bullseye-security/main arm64 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.17 admin: 6.13.16 javascript: 7.8.0 Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.device-watcher.0 : device-watcher : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled + system.adapter.email.0 : email : raspberrypi - enabled system.adapter.feiertage.0 : feiertage : raspberrypi - enabled + system.adapter.followthesun.0 : followthesun : raspberrypi - enabled + system.adapter.fullcalendar.0 : fullcalendar : raspberrypi - enabled + system.adapter.fullybrowser.0 : fullybrowser : raspberrypi - enabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 18701 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 12001 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 12010 + system.adapter.hm-rpc.3 : hm-rpc : raspberrypi - enabled, port: 0 system.adapter.ical.0 : ical : raspberrypi - enabled + system.adapter.info.0 : info : raspberrypi - enabled + system.adapter.iot.0 : iot : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.mihome-lamp.0 : mihome-lamp : raspberrypi - enabled, port: 54321 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.net-tools.0 : net-tools : raspberrypi - enabled + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.onvif.0 : onvif : raspberrypi - enabled, port: 80, 7575, 8000, 8080, 8081, 8899 system.adapter.openweathermap.0 : openweathermap : raspberrypi - enabled + system.adapter.ping.0 : ping : raspberrypi - enabled + system.adapter.pushover.0 : pushover : raspberrypi - enabled + system.adapter.reolink.0 : reolink : raspberrypi - enabled + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled + system.adapter.samsung.0 : samsung : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8111, bind: 0.0.0.0, run as: admin system.adapter.spotify-premium.0 : spotify-premium : raspberrypi - disabled + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : raspberrypi - enabled + system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled system.adapter.weatherunderground.0 : weatherunderground : raspberrypi - enabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.1 : web : raspberrypi - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyUSB0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - enabled, port: 18701 + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 12001 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 12010 + system.adapter.hm-rpc.3 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.mihome-lamp.0 : mihome-lamp : raspberrypi - enabled, port: 54321 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.onvif.0 : onvif : raspberrypi - enabled, port: 80, 7575, 8000, 8080, 8081, 8899 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8111, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.1 : web : raspberrypi - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi - 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.13.16 , installed 6.13.16 Adapter "alexa2" : 3.26.4 , installed 3.26.4 Adapter "backitup" : 2.9.8 , installed 2.9.8 Adapter "device-watcher": 2.9.6 , installed 2.9.6 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "email" : 1.2.2 , installed 1.2.2 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "followthesun" : 0.5.0 , installed 0.5.0 Adapter "fullcalendar" : 2.3.4 , installed 2.3.4 Adapter "fullybrowser" : 3.0.9 , installed 3.0.9 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "hm-rega" : 4.0.0 , installed 4.0.0 Adapter "hm-rpc" : 1.16.0 , installed 1.16.0 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.8.0 , installed 7.8.0 Controller "js-controller": 5.0.17 , installed 5.0.17 Adapter "mihome-lamp" : 1.1.0 , installed 1.1.0 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "node-red" : 5.1.0 , installed 5.1.0 Adapter "onvif" : 1.1.1 , installed 1.1.1 Adapter "openweathermap": 1.0.4 , installed 1.0.4 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pushover" : 3.0.6 , installed 3.0.6 Adapter "reolink" : 1.0.3 , installed 1.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "spotify-premium": 1.3.1 , installed 1.3.1 Adapter "telegram" : 3.0.1 , installed 3.0.1 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.3.0 , installed 2.3.0 Adapter "weatherunderground": 3.6.0, installed 3.6.0 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "ws" : 2.5.10 , installed 2.5.10 Adapter "zigbee" : 1.10.1 , installed 1.10.1 Objects and States Please stand by - This may take a while Objects: 20142 States: 16026 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_18.x bullseye 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 192.168.178.40:49292 0.0.0.0:* LISTEN 1001 43874317 3123164/io.hm-rpc.3 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12618 556/sshd: /usr/sbin tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 1890 579/lighttpd tcp 0 0 192.168.178.40:18701 0.0.0.0:* LISTEN 1001 43872214 3123082/io.hm-rpc.0 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 43872822 3122880/iobroker.js tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 43869502 3122880/iobroker.js tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1001 43871820 3122993/node-red tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 43874349 3123250/io.mqtt.0 tcp 0 0 192.168.178.40:12010 0.0.0.0:* LISTEN 1001 43873356 3123112/io.hm-rpc.2 tcp 0 0 192.168.178.40:12001 0.0.0.0:* LISTEN 1001 43873053 3123097/io.hm-rpc.1 tcp6 0 0 :::3000 :::* LISTEN 1001 43874945 3123611/io.fullybro tcp6 0 0 :::22 :::* LISTEN 0 12620 556/sshd: /usr/sbin tcp6 0 0 :::80 :::* LISTEN 0 1891 579/lighttpd tcp6 0 0 :::8111 :::* LISTEN 1001 43876516 3123502/io.simple-a tcp6 0 0 :::8081 :::* LISTEN 1001 43870883 3122898/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 43876407 3123412/io.web.0 tcp6 0 0 :::8083 :::* LISTEN 1001 43873852 3123432/io.web.1 tcp6 0 0 :::8095 :::* LISTEN 1001 43876076 3123622/io.onvif.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 12547 411/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 43869916 3123206/io.shelly.0 udp 0 0 0.0.0.0:42625 0.0.0.0:* 108 12549 411/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 15154 670/dhcpcd udp 0 0 0.0.0.0:53423 0.0.0.0:* 1001 43876787 3123690/io.mihome-l udp6 0 0 :::5353 :::* 108 12548 411/avahi-daemon: r udp6 0 0 :::59769 :::* 108 12550 411/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-02-18 09:11:17.342 - info: javascript.0 (3122936) script.js.Sammlung.Tablet_umschalten_Kamera: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-02-18 09:11:17.343 - info: javascript.0 (3122936) Start javascript script.js.Sammlung.Tablet_umschalten_Neo 2024-02-18 09:11:17.351 - info: javascript.0 (3122936) script.js.Sammlung.Tablet_umschalten_Neo: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-02-18 09:11:17.365 - info: javascript.0 (3122936) Start javascript script.js.Sammlung.PC_an_aus 2024-02-18 09:11:17.373 - info: javascript.0 (3122936) script.js.Sammlung.PC_an_aus: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-02-18 09:11:17.374 - info: javascript.0 (3122936) Start javascript script.js.Sammlung.Klingel_ein_ausschalten_mit_Handy_neu 2024-02-18 09:11:17.381 - info: javascript.0 (3122936) script.js.Sammlung.Klingel_ein_ausschalten_mit_Handy_neu: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-02-18 09:11:17.384 - info: javascript.0 (3122936) Start javascript script.js.Beleuchtung.Ledstreifen_TV 2024-02-18 09:11:17.392 - info: javascript.0 (3122936) script.js.Beleuchtung.Ledstreifen_TV: registered 4 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-02-18 09:12:30.301 - info: admin.0 (3122898) ==> Connected system.user.admin from ::ffff:192.168.178.62 2024-02-18 09:12:54.710 - info: alexa2.0 (3123149) No smart home devices to query 2024-02-18 09:12:58.692 - info: alexa2.0 (3123149) Subscribing to states... 2024-02-18 09:12:58.703 - info: alexa2.0 (3123149) Deleting the following states: ["Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023","Smart-Home-Devices.21b95856-695b-4faf-b3c7-94950a6e1f55","Smart-Home-Devices.30dcc6ad-8a1c-4aa6-b1f3-9e52bdd8d63e","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f","Smart-Home-Devices.a893c44d-8436-468e-b9ec-ee1892279542","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031","Smart-Home-Devices.ef438d97-f1eb-4cf8-a4f6-6a3a98a6feec","Smart-Home-Devices.f7521cc7-e0db-4acf-98cc-3af07d2c7889","Smart-Home-Devices.eba8e8ef-cac2-4671-9a3a-c2495fd7b42c","Smart-Home-Devices.8658ec07-64e9-40ff-9fa7-035639c7da8d","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.#delete","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.#enabled","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.#includeInAllQuery","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.#query","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.Blind-Lift-rangeValue","Smart-Home-Devices.0ed7dd37-5ec6-4e29-a2da-f6587e815023.percentage","Smart-Home-Devices.21b95856-695b-4faf-b3c7-94950a6e1f55.#delete","Smart-Home-Devices.21b95856-695b-4faf-b3c7-94950a6e1f55.#enabled","Smart-Home-Devices.21b95856-695b-4faf-b3c7-94950a6e1f55.powerState","Smart-Home-Devices.30dcc6ad-8a1c-4aa6-b1f3-9e52bdd8d63e.#delete","Smart-Home-Devices.30dcc6ad-8a1c-4aa6-b1f3-9e52bdd8d63e.#enabled","Smart-Home-Devices.30dcc6ad-8a1c-4aa6-b1f3-9e52bdd8d63e.powerState","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974.#delete","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974.#enabled","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974.#includeInAllQuery","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974.#query","Smart-Home-Devices.413aff1f-a6de-4ca8-aaf9-4714ab9fb974.powerState","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.#delete","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.#enabled","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.#includeInAllQuery","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.#query","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.Blind-Lift-rangeValue","Smart-Home-Devices.68e4d4f0-cdcd-48fd-912d-eaafbd688a24.percentage","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.#delete","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.#enabled","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.#includeInAllQuery","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.#query","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.connectivity","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.connectivity-reason","Smart-Home-Devices.7e10b4d6-6463-4eb3-918d-6929c1e8358f.powerState","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7.#delete","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7.#enabled","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7.#includeInAllQuery","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7.#query","Smart-Home-Devices.7e34e12d-68b4-471c-b71a-cd5c1b08bbd7.powerState","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.#delete","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.#enabled","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.#includeInAllQuery","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.#query","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.brightness","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.color-brightness","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.color-hue","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.color-saturation","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.colorName","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.colorRgb","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.colorTemperatureInKelvin","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.colorTemperatureName","Smart-Home-Devices.8ac119dd-80bd-4db0-869c-b1f08127b61f.powerState","Smart-Home-Devices.a893c44d-8436-468e-b9ec-ee1892279542.#delete","Smart-Home-Devices.a893c44d-8436-468e-b9ec-ee1892279542.#enabled","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.#delete","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.#enabled","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.#includeInAllQuery","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.#query","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.Camera-PrivacyMode-toggleState","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.connectivity","Smart-Home-Devices.b25c40b2-c8d4-4f2c-97f8-55f38386f070.connectivity-reason","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449.#delete","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449.#enabled","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449.#includeInAllQuery","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449.#query","Smart-Home-Devices.c09b63b3-bb2b-41b1-995f-f72c5fefc449.detectionState","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a.#delete","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a.#enabled","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a.#includeInAllQuery","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a.#query","Smart-Home-Devices.c110e7e8-6bfc-47f7-be41-f92bfb7d004a.powerState","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.#delete","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.brightness","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.color-brightness","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.color-hue","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.color-saturation","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.colorName","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.colorRgb","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.colorTemperatureInKelvin","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.colorTemperatureName","Smart-Home-Devices.c641e86a-04b0-4236-a7c5-e87263705526.powerState","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.#delete","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.#enabled","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.#includeInAllQuery","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.#query","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.brightness","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.color-brightness","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.color-hue","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.color-saturation","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.colorName","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.colorRgb","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.colorTemperatureInKelvin","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.colorTemperatureName","Smart-Home-Devices.e88c2a2d-098b-42d9-9a26-278f847ce031.powerState","Smart-Home-Devices.ef438d97-f1eb-4cf8-a4f6-6a3a98a6feec.#delete","Smart-Home-Devices.ef438d97-f1eb-4cf8-a4f6-6a3a98a6feec.#enabled","Smart-Home-Devices.f7521cc7-e0db-4acf-98cc-3af07d2c7889.#delete","Smart-Home-Devices.f7521cc7-e0db-4acf-98cc-3af07d2c7889.#enabled","Smart-Home-Devices.eba8e8ef-cac2-4671-9a3a-c2495fd7b42c.#enabled","Smart-Home-Devices.eba8e8ef-cac2-4671-9a3a-c2495fd7b42c.#delete","Smart-Home-Devices.eba8e8ef-cac2-4671-9a3a-c2495fd7b42c.powerState","Smart-Home-Devices.8658ec07-64e9-40ff-9fa7-035639c7da8d.#enabled","Smart-Home-Devices.8658ec07-64e9-40ff-9fa7-035639c7da8d.#delete","Smart-Home-Devices.8658ec07-64e9-40ff-9fa7-035639c7da8d.powerState"] 2024-02-18 09:13:00.703 - info: alexa2.0 (3123149) Alexa-Push-Connection (macDms = true) established. Disable Polling 2024-02-18 09:13:16.603 - info: alexa2.0 (3123149) Initialization Done ... 2024-02-18 09:13:35.379 - info: admin.0 (3122898) ==> Connected system.user.admin from ::ffff:192.168.178.62 2024-02-18 09:13:38.965 - info: host.raspberrypi Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2024-02-18 09:18:54.367 - info: admin.0 (3122898) <== Disconnect system.user.admin from ::ffff:192.168.178.62 2024-02-18 09:18:54.384 - info: admin.0 (3122898) <== Disconnect system.user.admin from ::ffff:192.168.178.62 admin 2024-02-18 09:19:43.467 - info: shelly.0 (3123206) [CoAP] Device 192.168.178.24 (shelly1 / shelly1-E8DB84D21FD7 / SHSW-1#E8DB84D21FD7#1) connected! Polltime set to 15 sec. 2024-02-18 09:22:00.656 - info: host.raspberrypi instance system.adapter.weatherunderground.0 started with pid 3126507 2024-02-18 09:22:03.195 - info: weatherunderground.0 (3126507) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2024-02-18 09:22:03.523 - info: weatherunderground.0 (3126507) starting. Version 3.6.0 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v18.17.1, js-controller: 5.0.17 2024-02-18 09:22:13.307 - info: weatherunderground.0 (3126507) Terminated (NO_ERROR): Without reason 2024-02-18 09:22:13.850 - info: host.raspberrypi instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
sorry:-)
-
@dirkheider sagte in Kann node. js und NPM nicht updaten:
4 orphan inodes deleted
dein Dateisystem hat einen Schuss abbekommen
@dirkheider sagte in Kann node. js und NPM nicht updaten:
usr/bin/node v18.17.1
da bist du anscheinend noch im alten node Repo
iob nodejs-update
sollte das fixen -
@homoran said in Kann node. js und NPM nicht updaten:
iob nodejs-update
Das hat funktioniert........ich liebe dieses Forum:-)))
Danke dir......einen schönen Sonntag noch
-
@dirkheider
Das ändert aber nichts an dem Hinweis von @Homoran, dass Dein Dateisystem einen Weg hat. -
@samson71
okay......was heißt das für mich?
update hat auf jeden Fall funktioniert -
@dirkheider sagte in [gelöst]Kann node. js und NPM nicht updaten:
@homoran said in Kann node. js und NPM nicht updaten:
iob nodejs-update
Das hat funktioniert........ich liebe dieses Forum:-)))
Danke dir......einen schönen Sonntag noch
dann setze den Thread auf [gelöst]
@samson71 sagte in [gelöst]Kann node. js und NPM nicht updaten:
dass Dein Dateisystem einen Weg hat.
das knallt doch erst später, wenn sich niemand mehr an die verwaisten Dateifragmente erinnert
-
@homoran
schon passiert......muss ich noch irgendwas tun nun?, wegen dem Dateisystem?
-
@dirkheider
Auf jeden Fall erstmal Daten sichern bzw. Backup machen. Läuft das auf einer SD-Karte? Dann ggf. neue Karte nehmen, frische Installation drauf, Backup einspielen. -
@dirkheider sagte in [gelöst]Kann node. js und NPM nicht updaten:
@homoran
schon passiert......muss ich noch irgendwas tun nun?, wegen dem Dateisystem?
Das System hat Dareireste am Wegesrand gefunden an denen kein Schild dranstand wohin sie gehören.
Also wurde aufgeräumt und die Fragmente vernichtet.Wenn du Glück hast waren das Dateien, die jetzt beim Update neu geladen und geschrieben wurden.
ist eher unwahrscheinlich.Also ist irgendwo 1 - 4 defekte Datei(en). was immer das für Auswirkungen hat.
-
@homoran
Ah okay, es läuft alles ohne Fehler. Dann hoffe ich mal, dass es so bleibt.
Danke nochmal für die unkomplizierte HilfeGruß Dirk
-
@dirkheider sagte in [gelöst]Kann node. js und NPM nicht updaten:
es läuft alles ohne Fehler.
da fällt mircein alter Spruch ein: "nur weil man es nicht sieht, heisst es nicht, dass es nicht da ist"