NEWS
(Gelöst) Ich bekomme iobroker nicht mehr ans laufen.
-
Bitte in der nachfolgenden Übersicht die mit ... bzw x gekennzeichneten Felder ausfüllen und im Anschluss an die Tabelle auf Linux Systemen den Output des Commands iob diag einfügen.
Hinweis: Das Eröffnen eines Issues hier ersetzt NICHT das Anlegen eine Issues im Repository des Adapters. Fehlerbehebungen werden ausschließlich über Issues getrackt.
DANKE
Bitte ausfüllen:
- Adaptername: ...
- Link zu Adapterrepository: www.github.com...
- Adapterversion: ...
- js-controller Version: ...
- Admin Version: ...
- Hardwaresystem: Pi4 ...
- Arbeitsspeicher: ..8GB
- Festplattenart: SSD
- Betriebssystem: 11 Bullseye
- Nodejs-Version: 20.17.0
- NPM-Version: ...10.8.2
- Installationsart: Skript
- Image, Docker genutzt: Nein
- Ort, Name der Imagedatei: ...
Nach dem Updgrade von Backitup bekomme ich Iobroker nicht mehr ans laufen. Den Update habe ich aus iobroker heraus über das adapter tab angestossen.
Ich habe das system auf dem neuesten Stand und auch iob fix drüber laufen lassen.
Den Iob diag output habe ich angehängt.Für Eure Hilfe wäre ich dankbar.
Gruß BiBo
====================== SUMMARY ======================= v.2024-05-22 Static hostname: iobrokermaster Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.103-v7l+ Architecture: arm Installation: native Kernel: armv7l Userland: 32 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.9G 91M 5.0G 0.0K 2.8G 7.5G Swap: 99M 0B 99M Total: 8.0G 91M 5.1G Active iob-Instances: 0 node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 ioBroker Core: js-controller node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 admin node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 ioBroker Status: Status admin and web instance: Objects: 0 States: 0 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 19M /opt/iobroker/iobroker-data/objects.json.migrated 19M /opt/iobroker/iobroker-data/objects.json.bak.migrated 12K /opt/iobroker/iobroker-data/objects.json.old 0 /opt/iobroker/iobroker-data/objects.json.broken 8.0K /opt/iobroker/iobroker-data/states.json.old 8.0K /opt/iobroker/iobroker-data/states.json.bak =================== END OF SUMMARY ==================== IOB Diag Full
======== Start marking the full check here =========
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: iobrokermaster Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.103-v7l+ Architecture: arm Model : Raspberry Pi 4 Model B Rev 1.4 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 11:07:59 up 27 min, 2 users, load average: 0.80, 1.05, 1.85 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Thu 2024-09-12 11:07:59 CEST Universal time: Thu 2024-09-12 09:07:59 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 netdev lpadmin gpio i2c spi iobroker User that is running 'js-controller': js-controller is not running *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 90M 5.0G 0.0K 2.8G 7.5G Swap: 99M 0B 99M Total: 8.0G 90M 5.1G Active iob-Instances: 0 7897 M total memory 90 M used memory 490 M active memory 2197 M inactive memory 5043 M free memory 404 M buffer memory 2358 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 11:07:59 up 27 min, 2 users, load average: 0.80, 1.05, 1.85 Tasks: 151 total, 1 running, 150 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 2.9 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7897.7 total, 5043.4 free, 90.9 used, 2763.4 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 7531.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 110G 28G 78G 27% / devtmpfs devtmpfs 3.7G 0 3.7G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 784K 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 790M 20K 790M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Thu Sep 12 10:40:02 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:EE:30:6C vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=a372f35c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles [Thu Sep 12 10:40:04 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Thu Sep 12 10:40:04 2024] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Thu Sep 12 10:40:05 2024] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/dev devtmpfs devtmpfs rw,relatime,size=3878776k,nr_inodes=74941,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/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/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime | `-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,size=1617460k,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=808728k,nr_inodes=202182,mode=700,uid=1000,gid=1000 `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro Files in neuralgic directories: /var: 7.4G /var/ 4.3G /var/cache 4.2G /var/cache/apt/archives 4.2G /var/cache/apt 3.0G /var/log/journal/08b24bd9caf645dab4e71dee6a75e702 Archived and active journals take up 2.9G in the file system. /opt/iobroker/backups: 15M /opt/iobroker/backups/ 2.8M /opt/iobroker/backups/scripte 2.4M /opt/iobroker/backups/scripte/Meine_Geräte 312K /opt/iobroker/backups/scripte/Meine_Geräte/Temp_Ansagen 284K /opt/iobroker/backups/scripte/Test /opt/iobroker/iobroker-data: 5.0G /opt/iobroker/iobroker-data/ 3.8G /opt/iobroker/iobroker-data/history 956M /opt/iobroker/iobroker-data/files 441M /opt/iobroker/iobroker-data/files/javascript.admin 409M /opt/iobroker/iobroker-data/files/javascript.admin/static The five largest files in iobroker-data are: 38M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 27M /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map 26M /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': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.17.0-1nodesource1 Candidate: 20.17.0-1nodesource1 Version table: *** 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 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: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 Core adapters versions node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 js-controller: node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 admin: node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 javascript: nodejs modules from github: 0 Adapter State Enabled adapters with bindings ioBroker-Repositories node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 Installed ioBroker-Instances node:internal/modules/esm/resolve:854 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at packageResolve (node:internal/modules/esm/resolve:854:9) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForModule (node:internal/modules/esm/utils:214:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:253:12) at file:///opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1 { code: 'ERR_MODULE_NOT_FOUND' } Node.js v20.17.0 Objects and States Please stand by - This may take a while Objects: 0 States: 0 *** 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 13733 483/sshd: /usr/sbin tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 9976 442/cupsd tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 116 13746 453/redis-server 12 tcp6 0 0 :::22 :::* LISTEN 0 13735 483/sshd: /usr/sbin tcp6 0 0 ::1:631 :::* LISTEN 0 9975 442/cupsd tcp6 0 0 ::1:6379 :::* LISTEN 116 13747 453/redis-server 12 udp 0 0 0.0.0.0:36357 0.0.0.0:* 108 10607 352/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13784 770/dhcpcd udp 0 0 0.0.0.0:631 0.0.0.0:* 0 10796 484/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 10605 352/avahi-daemon: r udp6 0 0 :::546 :::* 0 10048 770/dhcpcd udp6 0 0 :::5353 :::* 108 10606 352/avahi-daemon: r udp6 0 0 :::53577 :::* 108 10608 352/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-09-12 10:55:47.386 - info: admin.2 (8783) terminating 2024-09-12 10:55:47.325 - error: alexa2.1 (9137) unhandled promise rejection: Cannot find module '/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/defaultObjs.js' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js 2024-09-12 10:55:47.360 - error: alexa2.1 (9137) Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/defaultObjs.js' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js at finalizeResolution (node:internal/modules/esm/resolve:265:11) at moduleResolve (node:internal/modules/esm/resolve:933:10) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleLoader.import (node:internal/modules/esm/loader:472:34) at defaultImportModuleDynamicallyForScript (node:internal/modules/esm/utils:227:31) at importModuleDynamicallyCallback (node:internal/modules/esm/utils:249:12) at AdapterClass._setObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:1159:28) 2024-09-12 10:55:47.361 - error: alexa2.1 (9137) Exception-Code: ERR_MODULE_NOT_FOUND: Cannot find module '/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/defaultObjs.js' imported from /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js 2024-09-12 10:55:46.681 - info: zigbee.0 (9221) cleaned everything up... 2024-09-12 10:55:46.777 - info: zigbee.0 (9221) Zigbee: disabling joining new devices. 2024-09-12 10:55:47.429 - info: zigbee.0 (9221) terminating 2024-09-12 10:55:47.431 - info: zigbee.0 (9221) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-09-12 10:55:47.747 - info: vis-inventwo.0 (9364) cleaned everything up... 2024-09-12 10:55:47.776 - info: vis-inventwo.0 (9364) terminating 2024-09-12 10:55:47.778 - info: vis-inventwo.0 (9364) Terminated (NO_ERROR): Without reason 2024-09-12 10:55:48.253 - info: vis-inventwo.0 (9364) terminating 2024-09-12 10:55:48.286 - info: history.0 (8828) terminating 2024-09-12 10:55:48.289 - info: history.0 (8828) Terminated (NO_ERROR): Without reason 2024-09-12 10:55:53.291 - error: history.0 (8828) Cannot find view "system" for search "instance" : Connection is closed.
============ Mark until here for C&P =============
-
@bibo-13 Moin,
ich bin nicht der Linux Fachmann, aber dein System ist nicht aktuell. Du solltest das System einmal neu machen, mit Debian12 Bookworm in 64bit lite ohne Desktop
-
@nordischerjung Danke für den Hinweis. Vielleicht bekommt man es doch noch zum fliegen.
-
@bibo-13 Filesystem ist kaputt
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
-
@martinp Oh, das ist eine ssd und keine sd und trotzdem ist das Filesystem kaputt? Ist das sicher. Was kann ich jetzt tun?
-
@bibo-13 Ich war glücklicherweise noch nicht in dieser Situation.
Die sicherste Lösung wäre, eine Neuinstallation zu machen...Ansonsten könnte man die SSD an einen anderen Linux-PC anschließen (oder den PI von SD-Card booten), und einen File System check mit Reparatur an der nicht gemounteten SSD durchführen ...
https://www.thomas-krenn.com/de/wiki/FSCK_Best_Practices#Manueller_Filesystem_Check
Diese Reparaturen können aber keine Wunder bewirken, je nachdem, was beschädigt ist, und bei der Reparatur nicht wieder hergestellt werden kann, bootet das System nicht, oder es ist instabil, manches funktioniert nicht mehr o. Ä.
-
-
@bibo-13 sagte in Ich bekomme iobroker nicht mehr ans laufen.:
ich kann noch nicht glauben das das File System beschädigt sein soll.
Schon mal den Stecker beim PI gezogen?
Ro75.
-
@ro75 Bootet ganz normal ohne Probleme.
Er findet nach iob status dieses file oder package nicht nicht.Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@iobroker/js-controller-cli' imported from /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
-
@bibo-13 sagte in Ich bekomme iobroker nicht mehr ans laufen.:
Bootet ganz normal ohne Probleme.
Du hast jetzt hoffentlich nicht die Frage von @Ro75 als Aufforderung gesehen ?????
@ro75 sagte in Ich bekomme iobroker nicht mehr ans laufen.:
Schon mal den Stecker beim PI gezogen?
-
@djmarc75 sagte in Ich bekomme iobroker nicht mehr ans laufen.:
Du hast jetzt hoffentlich nicht die Frage von @Ro75 als Aufforderung gesehen ?????
Falls doch und das nicht das erste Mal war, ist zumindest das "warum" des defekten Dateisystems erklärt.
-
@samson71 Ich ziehe nie den Stecker sondern löse einen sudo reboot aus.
-
und falls dann doch mal aus, sicherlich auch einen:
sudo shutdown now
Eine SSD ist kein Garant dafür, dass sie bei diesen vielen Schreibzugriffen nicht stirbt. Hochwertige Hersteller geben auf SDD's (mittlerweile) eine 10 jährige Garantie... Bei allen anderen (günstigeren und älteren) kann die Platte auch bereits nach 3 Jahren sterben... Daher immer schön die Backups auf eine separate Platte schaufeln...
-
iob stop cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@6.0.11 iob start
Edit: npm-Kommando um sudo... ergänzt.
-
@thomas-braun said in Ich bekomme iobroker nicht mehr ans laufen.:
iob stop cd /opt/iobroker npm install iobroker.js-controller@6.0.11 iob start
Das wird schwierig mit einem Readonly Filesystem....
Oder hat ein Reboot diesen Knoten gelöst?
-
@martinp sagte in Ich bekomme iobroker nicht mehr ans laufen.:
Das wird schwierig mit einem Readonly Filesystem....
Das ist doch nicht readonly...
Das ist hier[Thu Sep 12 10:40:05 2024] EXT4-fs (sda2): re-mounted. Opts: (null)
mit den default-Optionen (aus der /etc/fstab) re-mounted worden.
Das ganze ist der ganz normale Bootvorgang, da ist auch kein Hinweis auf ein korruptes Dateisystem zu sehen. -
@thomas-braun Hallo Herr Braun, herzlichen Dank für die Anweisungen. Mein IOB läuft wieder.
Ich werde mich jetzt aber trotzdem um das Systemupgrade kümmern.
Da komme ich vielleicht noch einmal auf Sie zurück.
BiBo -
-
@martinp sagte in (Gelöst) Ich bekomme iobroker nicht mehr ans laufen.:
@bibo-13 Filesystem ist kaputt
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
sicher???
das ist doch das ro für den Check!EDIT: OK, ist ja bereits gekärt.
Das kommt davon wenn man nach Stunden sich schrittweise durch neue Posts kämpft