NEWS
nach nodeJs update auf 20.16.0 keine Skrpt seite mehr
-
@thomas-braun
im iob diag kommt folgendes:
kannst du damiot was anfangen?2024-08-02 18:57:55.252 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-08-02 18:57:55.253 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-08-02 18:57:55.253 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:57:55.254 - error: host.raspberrypi Caught by controller[0]: Node.js v20.16.0 2024-08-02 18:57:55.254 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-08-02 18:57:55.255 - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2024-08-02 18:58:25.676 - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 9442 2024-08-02 18:58:27.858 - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:1437 2024-08-02 18:58:27.859 - error: host.raspberrypi Caught by controller[0]: throw err; 2024-08-02 18:58:27.860 - error: host.raspberrypi Caught by controller[0]: ^ 2024-08-02 18:58:27.861 - error: host.raspberrypi Caught by controller[0]: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/db.json: Expected property name or '}' in JSON at position 111104 2024-08-02 18:58:27.862 - error: host.raspberrypi Caught by controller[0]: at parse (<anonymous>) 2024-08-02 18:58:27.863 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..json (node:internal/modules/cjs/loader:1434:39) 2024-08-02 18:58:27.863 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:58:27.864 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) 2024-08-02 18:58:27.866 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) 2024-08-02 18:58:27.867 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-08-02 18:58:27.868 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/index.js:12:18) 2024-08-02 18:58:27.869 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-08-02 18:58:27.869 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-08-02 18:58:27.870 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:58:27.871 - error: host.raspberrypi Caught by controller[0]: Node.js v20.16.0 2024-08-02 18:58:27.872 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-08-02 18:58:27.873 - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2024-08-02 18:58:59.452 - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 9752
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
im iob diag kommt folgendes:
nee, das ist nur der letzte Teil des iob logs
-
@homoran
das ist aber viel!======== Start marking the full check here =========
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7+ Architecture: arm Model : Raspberry Pi 2 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 18:56:45 up 1:26, 3 users, load average: 0.93, 1.63, 2.29 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Fri 2024-08-02 18:56:46 CEST Universal time: Fri 2024-08-02 16:56:46 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** Display-Server-Setup *** Display-Server: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 921M 379M 219M 7.0M 322M 475M Swap: 99M 99M 0.0K Total: 1.0G 479M 219M Active iob-Instances: 7 921 M total memory 379 M used memory 229 M active memory 382 M inactive memory 219 M free memory 48 M buffer memory 274 M swap cache 99 M total swap 99 M used swap 0 M free swap *** top - Table Of Processes *** top - 18:56:46 up 1:26, 3 users, load average: 0.93, 1.63, 2.29 Tasks: 172 total, 1 running, 171 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 7.2 sy, 0.0 ni, 92.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 922.0 total, 219.9 free, 378.7 used, 323.4 buff/cache MiB Swap: 100.0 total, 0.0 free, 100.0 used. 476.4 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 11G 18G 37% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 461M 0 461M 0% /dev/shm tmpfs tmpfs 185M 1.1M 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 51M 205M 20% /boot tmpfs tmpfs 93M 20K 93M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Aug 2 17:30:43 2024] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=HDMI-A-1:1280x1024M@60 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=53c09ba6-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Fri Aug 2 17:30:46 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Aug 2 17:30:46 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Aug 2 17:30:49 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime,commit=600 |-/dev devtmpfs devtmpfs rw,relatime,size=340464k,nr_inodes=85116,mode=755 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime | `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,size=188820k,nr_inodes=819200,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=94408k,nr_inodes=23602,mode=700,uid=1000,gid=1000 | `-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 3.0G /var/ 2.3G /var/log 2.2G /var/log/journal/4261c72918d647a8ac632ffea859fbd4 2.2G /var/log/journal 469M /var/cache Archived and active journals take up 2.1G in the file system. /opt/iobroker/backups: 66M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 731M /opt/iobroker/iobroker-data/ 637M /opt/iobroker/iobroker-data/files 441M /opt/iobroker/iobroker-data/files/javascript.admin 409M /opt/iobroker/iobroker-data/files/javascript.admin/static 408M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 22M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js.map 12M /opt/iobroker/iobroker-data/objects.jsonl 8.9M /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map 8.8M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.1 /usr/bin/npx 10.8.1 /usr/bin/corepack 0.28.2 nodejs: Installed: 20.16.0-1nodesource1 Candidate: 20.16.0-1nodesource1 Version table: *** 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 12.22.12~dfsg-1~deb11u4 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 1 Some problems detected, please run iob fix 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: 7.0.22 javascript: 8.7.6 nodejs modules from github: 1 +-- iobroker.enet@1.0.1 (git+ssh://git@github.com/SebastianSchultz/ioBroker.enet.git#9f24d2f36cb4ce2c9c99546fa9ab3c31ebcf358f) Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.ble.0 : ble : raspberrypi - disabled system.adapter.discovery.0 : discovery : raspberrypi - disabled system.adapter.ds18b20.0 : ds18b20 : raspberrypi - disabled system.adapter.enet.0 : enet : raspberrypi - disabled system.adapter.enet.1 : enet : raspberrypi - disabled system.adapter.info.0 : info : raspberrypi - disabled system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.linkeddevices.0 : linkeddevices : raspberrypi - enabled system.adapter.modbus.0 : modbus : raspberrypi - disabled system.adapter.node-red.0 : node-red : raspberrypi - disabled, port: 1880, bind: 0.0.0.0 system.adapter.proxy.0 : proxy : raspberrypi - disabled + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled system.adapter.shelly.0 : shelly : raspberrypi - disabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : raspberrypi - disabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.smartmeter.0 : smartmeter : raspberrypi - disabled system.adapter.sonoff.0 : sonoff : raspberrypi - disabled, port: 1883, bind: 0.0.0.0 system.adapter.tr-064.0 : tr-064 : raspberrypi - disabled system.adapter.vis.0 : vis : raspberrypi - disabled system.adapter.vw-connect.0 : vw-connect : raspberrypi - disabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.withings.0 : withings : raspberrypi - disabled + system.adapter.yahka.0 : yahka : raspberrypi - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.0.22 , installed 7.0.22 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "ble" : 0.14.0 , installed 0.14.0 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "ds18b20" : 2.0.5 , installed 2.0.5 Adapter "enet" : 1.0.1 , installed 1.0.1 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 5.0.12 [Updatable] Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "modbus" : 6.2.3 , installed 6.1.0 [Updatable] Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "proxy" : 1.3.2 , installed 1.3.2 Adapter "radar2" : 2.2.0 , installed 2.1.0 [Updatable] Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sonoff" : 3.1.0 , installed 3.0.3 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "withings" : 0.0.13 , installed 0.0.13 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "yahka" : 1.0.3 , installed 1.0.3 Objects and States Please stand by - This may take a while Objects: 11542 States: 7722 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 13733 431/cupsd tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 1742 458/vncserver-x11-c tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13724 484/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 58839 8457/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 59887 8457/iobroker.js-co tcp6 0 0 :::8081 :::* LISTEN 1001 59966 8481/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 59089 8542/io.web.0 tcp6 0 0 :::5900 :::* LISTEN 0 1741 458/vncserver-x11-c tcp6 0 0 :::38147 :::* LISTEN 1001 60033 8541/io.yahka.0 tcp6 0 0 ::1:631 :::* LISTEN 0 13732 431/cupsd tcp6 0 0 :::22 :::* LISTEN 0 13726 484/sshd: /usr/sbin udp 0 0 0.0.0.0:631 0.0.0.0:* 0 13746 489/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1531 312/avahi-daemon: r udp 0 0 0.0.0.0:35225 0.0.0.0:* 108 1533 312/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13677 440/dhcpcd udp6 0 0 :::5353 :::* 108 1532 312/avahi-daemon: r udp6 0 0 :::32773 :::* 108 1534 312/avahi-daemon: r udp6 0 0 :::546 :::* 0 13756 440/dhcpcd *** Log File - Last 25 Lines *** 2024-08-02 18:57:55.252 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-08-02 18:57:55.253 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-08-02 18:57:55.253 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:57:55.254 - error: host.raspberrypi Caught by controller[0]: Node.js v20.16.0 2024-08-02 18:57:55.254 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-08-02 18:57:55.255 - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2024-08-02 18:58:25.676 - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 9442 2024-08-02 18:58:27.858 - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:1437 2024-08-02 18:58:27.859 - error: host.raspberrypi Caught by controller[0]: throw err; 2024-08-02 18:58:27.860 - error: host.raspberrypi Caught by controller[0]: ^ 2024-08-02 18:58:27.861 - error: host.raspberrypi Caught by controller[0]: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/db.json: Expected property name or '}' in JSON at position 111104 2024-08-02 18:58:27.862 - error: host.raspberrypi Caught by controller[0]: at parse (<anonymous>) 2024-08-02 18:58:27.863 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..json (node:internal/modules/cjs/loader:1434:39) 2024-08-02 18:58:27.863 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:58:27.864 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1024:12) 2024-08-02 18:58:27.866 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1233:19) 2024-08-02 18:58:27.867 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-08-02 18:58:27.868 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/index.js:12:18) 2024-08-02 18:58:27.869 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1358:14) 2024-08-02 18:58:27.869 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 2024-08-02 18:58:27.870 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1208:32) 2024-08-02 18:58:27.871 - error: host.raspberrypi Caught by controller[0]: Node.js v20.16.0 2024-08-02 18:58:27.872 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-08-02 18:58:27.873 - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2024-08-02 18:58:59.452 - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 9752
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
Copy text starting here:======================= SUMMARY ======================= v.2024-05-22 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7+ Architecture: arm Installation: native Kernel: armv7l Userland: 32 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 5 Nodejs-Installation: /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.1 /usr/bin/npx 10.8.1 /usr/bin/corepack 0.28.2 Recommended versions are nodejs 20.16.0 and npm 10.8.1 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 921M 393M 99M 7.0M 428M 456M Swap: 99M 99M 0.0K Total: 1.0G 493M 99M Active iob-Instances: 7 ^[[1;2AActive repo(s): stable ioBroker Core: js-controller 5.0.12 admin 7.0.22 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, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 11542 States: 7722 Size of iob-Database: 12M /opt/iobroker/iobroker-data/objects.jsonl 2.4M /opt/iobroker/iobroker-data/states.jsonl ********************************************************************* Some problems detected, please run iob fix and try to have them fixed ********************************************************************* =================== END OF SUMMARY ====================
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Model : Raspberry Pi 2 Model B Rev 1.1
ernsthaft?
mit nur 1GB RAM?
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Mem: 921M 379M 219M 7.0M 322M 475M
und vollkommen verbrauchtem SWAP
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Swap: 99M 99M 0.0K
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Some problems detected, please run iob fix
wird zwar nicht mehr viel reißen können, aber musst du mal machen!
-
Den JS-Controller sollte auch auf Version 6.0.9 angepasst werden.
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Boot Target: graphical.target
Schalt den Desktop aus... (Inkl. VNC-Server und Drucker-Server und so einem Quark...)
sudo systemctl set-default multi-user.target
Some problems detected, please run iob fix
iob stop iob fix
Schmeiß das Modul
mime-db
mal aus dem javascript-Adapter raus. Wozu wird das benötigt?Dann die
Pending iob updates: 5
auf 0 bringen. -
@tt-tom
js-controller auf 6.0.9 … was muss ich da eingeben, ist dan npm install… -
@thomas-braun
mime-db ist doch da garnicht drin… -
/opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/db.json
Ich würde sagen, das Ding spukt da herum.cd /opt/iobroker npm ls mime-db
sagt?
-
pi@ /home/pi └── (empty)
-
Du sollst ja auch zuvor in das richtige Verzeichnis wechseln...
Deswegen gebe ich das sogar an. -
@thomas-braun
sorry, hab ich übersehen…pi@raspberrypi:~ $ cd /opt/iobroker/ pi@raspberrypi:/opt/iobroker $ npm ls mime-db iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.admin@7.0.22 │ └─┬ compression@1.7.4 │ └─┬ compressible@2.0.18 │ └── mime-db@1.52.0 deduped ├─┬ iobroker.javascript@8.7.6 │ └─┬ axios@1.7.2 │ └─┬ form-data@4.0.0 │ └─┬ mime-types@2.1.35 │ └── mime-db@ invalid: "1.52.0" from node_modules/iobroker.javascript/node_modules/mime-types └─┬ iobroker.web@6.2.5 └─┬ mime-types@2.1.35 └── mime-db@1.52.0 npm error code ELSPROBLEMS npm error invalid: mime-db@ /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_22_41_904Z-debug-0.log pi@raspberrypi:/opt/iobroker $
die mime-types werden soweitz ich weiß für ein SH1106 Display gebraucht
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
mime-db ist doch da garnicht drin…
Was ist denn drin?
-
@thomas-braun sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Was ist denn drin?
lass mich raten...
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
mime-types
-
@thomas-braun
ich versteh’s aktuell nicht so richtig…
im javascript adapter habe ich zusätzlich npm module
„modbus-seriell,i2c-bus,oled-font-5x7,ms5611,basic-ftp“ -
@stoffel67
Nix mit npm install machen, sondern überiob upgrade self
-
@tt-tom
OK werden den JS-controller updaten -
pi@raspberrypi:/opt/iobroker $ iob stop pi@raspberrypi:/opt/iobroker $ iob upgrade self Update js-controller from @5.0.12 to @6.0.9 Stopped Objects DB Stopped States DB NPM version: 10.8.1 Installing iobroker.js-controller@6.0.9... (System call) Try to solve ENOTEMPTY error automatically Could not handle ENOTEMPTY, because no deletable files were found npm error code ENOTEMPTY npm error syscall rename npm error path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/types npm error dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue npm error errno -39 npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/types' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue' npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_32_43_299Z-debug-0.log host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217 pi@raspberrypi:/opt/iobroker $
-
Hau den javascript-Adapter nochmal drüber.
-
Das mine-db Problem löst du damit aber nicht.