NEWS
[gelöst] Nach Restore IOB nicht erreichbar
-
@ianig-iro die admin instanz läuft auch nicht
-
Außer backitup läuft da gar nix.
Ist der evtl. noch zugange? -
@thomas-braun jep, alles sehr veraltet, aber vorher lief es eigentlich.
Backitup hatte gesagt, dass er durch ist.iob dialog
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi7-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.1 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 13:00:09 up 1:17, 4 users, load average: 0.26, 0.16, 0.33 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Wed 2024-01-10 13:00:09 CET Universal time: Wed 2024-01-10 12:00:09 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 lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 574M 1.7G 42M 1.8G 3.4G Swap: 104M 0B 104M Total: 4.1G 574M 1.8G 3792 M total memory 548 M used memory 706 M active memory 1207 M inactive memory 1607 M free memory 92 M buffer memory 1660 M swap cache 99 M total swap 0 M used swap 99 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 udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 1.3M 378M 1% /run /dev/sda2 ext4 29G 6.3G 22G 23% / tmpfs tmpfs 1.9G 216K 1.9G 1% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 74M 437M 15% /boot/firmware tmpfs tmpfs 380M 40K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Jan 10 11:42:14 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:61:2A:FD vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=ee71d179-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB [Wed Jan 10 11:42:18 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Wed Jan 10 11:42:22 2024] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 611M /var/ 191M /var/lib 187M /var/cache 174M /var/cache/apt 132M /var/log/journal/a268e5d002bb48d195e4958fbaefe16d Archived and active journals take up 131.3M in the file system. /opt/iobroker/backups: 6.5M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 232M /opt/iobroker/iobroker-data/ 204M /opt/iobroker/iobroker-data/files 88M /opt/iobroker/iobroker-data/files/echarts.admin 57M /opt/iobroker/iobroker-data/files/echarts 32M /opt/iobroker/iobroker-data/files/echarts/static/js The five largest files in iobroker-data are: 23M /opt/iobroker/iobroker-data/files/echarts/static/js/main.eb0afecd.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.7952f0f7.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.eb0afecd.js.map 17M /opt/iobroker/iobroker-data/files/echarts/preview/static/js/main.1b04901d.js.map 17M /opt/iobroker/iobroker-data/files/echarts.admin/preview/static/js/main.1b04901d.js.map 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-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2255680-if00 *** NodeJS-Installation *** /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.0-1nodesource1 Candidate: 18.19.0-1nodesource1 Version table: 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages *** 18.19.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.18.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_18.x nodistro/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: 5.1.25 javascript: 5.2.13 Adapters from github: 0 Adapter State system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.deconz.0 : deconz : raspberrypi - disabled, port: 80 system.adapter.discovery.0 : discovery : raspberrypi - disabled system.adapter.echarts.0 : echarts : raspberrypi - disabled system.adapter.influxdb.0 : influxdb : raspberrypi - disabled, port: 8086 system.adapter.javascript.0 : javascript : raspberrypi - disabled system.adapter.mqtt.0 : mqtt : raspberrypi - disabled, port: 1883, bind: 192.168.178.21 system.adapter.shelly.0 : shelly : raspberrypi - disabled, port: 1882, bind: 0.0.0.0 system.adapter.sureflap.0 : sureflap : raspberrypi - disabled system.adapter.telegram.0 : telegram : raspberrypi - disabled, port: 8443, bind: 0.0.0.0 system.adapter.vis.0 : vis : raspberrypi - disabled system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wolf-smartset.0 : wolf-smartset : raspberrypi - disabled system.adapter.yahka.0 : yahka : raspberrypi - disabled system.adapter.yahka.1 : yahka : raspberrypi - disabled + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, 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" : 6.12.0 , installed 5.1.25 [Updatable] Adapter "alias-manager": 1.2.6 , installed 1.2.3 [Updatable] Adapter "backitup" : 2.9.8 , installed 2.1.17 [Updatable] Adapter "deconz" : 1.3.23 , installed 1.3.19 [Updatable] Adapter "discovery" : 4.2.0 , installed 2.7.0 [Updatable] Adapter "echarts" : 1.7.2 , installed 1.5.1 [Updatable] Adapter "influxdb" : 3.2.0 , installed 1.9.5 [Updatable] Adapter "javascript" : 7.1.6 , installed 5.2.13 [Updatable] Controller "js-controller": 5.0.17 , installed 5.0.17 Adapter "mqtt" : 5.1.0 , installed 2.4.0 [Updatable] Adapter "shelly" : 6.6.1 , installed 4.0.7 [Updatable] Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 4.2.0 [Updatable] Adapter "sureflap" : 1.2.1 , installed 1.1.8 [Updatable] Adapter "telegram" : 3.0.1 , installed 1.10.0 [Updatable] Adapter "vis" : 1.5.4 , installed 1.4.16 [Updatable] Adapter "web" : 6.1.10 , installed 4.3.0 [Updatable] Adapter "wolf-smartset": 1.1.1 , installed 1.1.1 Adapter "ws" : 2.5.8 , installed 1.3.0 [Updatable] Adapter "yahka" : 1.0.3 , installed 0.13.1 [Updatable] Objects and States Please stand by - This may take a while Objects: 2850 States: 2217 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 12191 839/sshd: /usr/sbin tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 17653 814/cupsd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 32026 7618/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 32019 7618/iobroker.js-co tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 1000 15100 1179/wayvnc tcp6 0 0 :::22 :::* LISTEN 0 12193 839/sshd: /usr/sbin tcp6 0 0 ::1:631 :::* LISTEN 0 17652 814/cupsd udp 0 0 0.0.0.0:39203 0.0.0.0:* 104 14656 608/avahi-daemon: r udp 0 0 0.0.0.0:631 0.0.0.0:* 0 17215 1107/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 14654 608/avahi-daemon: r udp6 0 0 :::59079 :::* 104 14657 608/avahi-daemon: r udp6 0 0 fe80::bee6:def8:c02:546 :::* 0 18561 744/NetworkManager udp6 0 0 fe80::4914:f794:31f:546 :::* 0 12286 744/NetworkManager udp6 0 0 :::5353 :::* 104 14655 608/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-01-10 12:21:55.095 - info: host.raspberrypi iobroker npm-rebuild: Rebuilding native modules done 2024-01-10 12:21:56.112 - info: host.raspberrypi iobroker npm-rebuild: exit 0 2024-01-10 12:21:56.240 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 9646 2024-01-10 12:21:57.438 - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:1137 2024-01-10 12:21:57.439 - error: host.raspberrypi Caught by controller[0]: throw err; 2024-01-10 12:21:57.439 - error: host.raspberrypi Caught by controller[0]: ^ 2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js' 2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: Require stack: 2024-01-10 12:21:57.440 - error: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js 2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) 2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:975:27) 2024-01-10 12:21:57.441 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19) 2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18) 2024-01-10 12:21:57.442 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14) 2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) 2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32) 2024-01-10 12:21:57.443 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12) 2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-01-10 12:21:57.444 - error: host.raspberrypi Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ] 2024-01-10 12:21:57.445 - error: host.raspberrypi Caught by controller[0]: } 2024-01-10 12:21:57.445 - error: host.raspberrypi Caught by controller[0]: Node.js v18.19.0 2024-01-10 12:21:57.446 - error: host.raspberrypi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-01-10 12:21:57.446 - info: host.raspberrypi Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
und die summary
======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi7-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 17 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.0G 585M 1.7G 42M 1.9G 3.4G Swap: 104M 0B 104M Total: 4.1G 585M 1.8G Active iob-Instances: 2 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 5.1.25 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 - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 2850 States: 2217 Size of iob-Database: 9.5M /opt/iobroker/iobroker-data/objects.jsonl 5.3M /opt/iobroker/iobroker-data/objects.json.migrated 5.3M /opt/iobroker/iobroker-data/objects.json.bak.migrated 644K /opt/iobroker/iobroker-data/states.jsonl 396K /opt/iobroker/iobroker-data/states.json.bak.migrated 392K /opt/iobroker/iobroker-data/states.json.migrated =================== END OF SUMMARY ====================
@crunchip woran erkennst du das? ich dachte wenn enabled dort steht, läuft er admin?
system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
-
@ianig-iro sagte in Nach Restore IOB nicht erreichbar:
Backitup hatte gesagt, dass er durch ist.
dann ist backitup durch!
Aber nicht der Restore
Jetzt werden alle Adapter für die neuen Versionen OS und node neu gebaut -
-
@ianig-iro sagte in Nach Restore IOB nicht erreichbar:
alles sehr veraltet, aber vorher lief es eigentlich.
Das rottet dann so lange vor sich hin, bis es nicht mehr läuft...
Du musst die Kiste dauerhaft auf Stand halten...Ich vermute, du hast vor dem Umzug die Versionen nicht angeglichen und bist mit einem 4er js-controller auf den js-controller 5.0.17 gegangen. Das geht in die Hose.
Versuch:
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller iob update iob upgrade all -y
-
@ianig-iro sagte in Nach Restore IOB nicht erreichbar:
Boot Target: graphical.target
sudo systemctl set-default multi-user.target sudo reboot
-
@thomas-braun du hattest recht und mit deiner lösung funktioniert es. vielen dank - das hätte ich nicht hinbekommen.
ab jetzt wird alles aktuell gehalten.
-
@ianig-iro sagte in [gelöst] Nach Restore IOB nicht erreichbar:
du hattest recht
dann ist aber eine entsprechende Meldung beim Versuch des Restores gekommen!
-
@homoran das kann sein, ich konnte aber nirgends eingreifen. nachdem dort sinngemäß successful stand, habe ich etwas voreilig auf refresh gedrückt und konnte mir den verlauf nicht mehr im detail ansehen.
-
@ianig-iro sagte in [gelöst] Nach Restore IOB nicht erreichbar:
@homoran das kann sein, ich konnte aber nirgends eingreifen.
die Meldung komm sofort zu Beginn und fordert dich auf die controller Version vor dem Restore herunterzusetzen.
@Thomas-Braun hat jetzt den umgekehrten Weg beschritten