NEWS
ioB nicht erreichbar
-
Nachdem ich mir durch eine Unachtsamkeit beim Upgrade auf bookworm 64 die Installation ruiniert habe. wollte ich mit backitup restore eine Neuinstallation aktualisieren. Backitup meldete ein erfolgreiches restore beendete den restore nicht vollständig. Llediglich redis wurde nicht aktualisiert da ich offenbar den redis-server nicht installiert hatte. Im cli ist alles Ok nur kann ich die weboberfläche nicht erreichen.
iob fix hat nicht geholfen
iob diag meldet:
======== Start marking the full check here ========= Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: pivpn Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi8-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.4 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 15:36:02 up 36 min, 2 users, load average: 0.37, 0.29, 0.28 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-02-16 15:36:02 WET Universal time: Fri 2024-02-16 15:36:02 UTC RTC time: n/a Time zone: Atlantic/Canary (WET, +0000) 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 *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 1.9G 240M 915M 1.2M 862M 1.7G Swap: 104M 0B 104M Total: 2.0G 240M 1.0G 1848 M total memory 229 M used memory 87 M active memory 718 M inactive memory 873 M free memory 36 M buffer memory 786 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 661M 0 661M 0% /dev tmpfs tmpfs 185M 1.2M 184M 1% /run /dev/mmcblk0p2 ext4 29G 2.9G 25G 11% / tmpfs tmpfs 925M 0 925M 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 510M 61M 450M 12% /boot/firmware tmpfs tmpfs 185M 0 185M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Feb 16 14:59:57 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=E4:5F:01:20:8D:54 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=e8b30680-02 rootfstype=ext4 fsck.repair=yes rootwait ip=192.168.1.9::192.168.1.1:255.255.255.0::eth0:off cfg80211.ieee80211_regdom=AT [Fri Feb 16 15:00:12 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Feb 16 15:00:14 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime,commit=600 `-/boot/firmware /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 512M /var/ 204M /var/cache 198M /var/cache/apt 164M /var/lib 132M /var/lib/apt/lists Archived and active journals take up 43.7M in the file system. /opt/iobroker/backups: 125M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 19M /opt/iobroker/iobroker-data/ 15M /opt/iobroker/iobroker-data/files 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js 13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static 13M /opt/iobroker/iobroker-data/files/admin.admin/custom The five largest files in iobroker-data are: 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 4.3M /opt/iobroker/iobroker-data/objects.jsonl 2.8M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js 1.6M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map 652K /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.1-1nodesource1 Candidate: 18.19.1-1nodesource1 Version table: *** 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 1001 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 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 1001 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 Cannot read system.config: null (OK when migrating or restoring) iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Core adapters versions js-controller: 5.0.17 admin: "admin" not found javascript: "javascript" not found Adapters from github: 0 Adapter State Cannot read system.config: null (OK when migrating or restoring) + instance is alive Enabled adapters with bindings ioBroker-Repositories Cannot read system.config: null (OK when migrating or restoring) List is empty Installed ioBroker-Instances Cannot read system.config: null (OK when migrating or restoring) Error: Object "system.config" not found Objects and States Please stand by - This may take a while Objects: 33 States: 26 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Hit:5 http://deb.debian.org/debian bookworm-updates 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:6379 0.0.0.0:* LISTEN 106 46606 10178/redis-server tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13814 656/sshd: /usr/sbin tcp6 0 0 :::22 :::* LISTEN 0 13816 656/sshd: /usr/sbin tcp6 0 0 ::1:6379 :::* LISTEN 106 46607 10178/redis-server udp 0 0 0.0.0.0:55529 0.0.0.0:* 104 14949 436/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 14947 436/avahi-daemon: r udp6 0 0 :::5353 :::* 104 14948 436/avahi-daemon: r udp6 0 0 :::58786 :::* 104 14950 436/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-02-16 15:28:12.780 - info: host.pivpn Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker 2024-02-16 15:28:12.781 - info: host.pivpn hostname: pivpn, node: v18.19.1 2024-02-16 15:28:12.784 - info: host.pivpn ip addresses: 192.168.1.9 fe80::e65f:1ff:fe20:8d54 2024-02-16 15:28:42.821 - error: host.pivpn No connection to databases possible, restart 2024-02-16 15:28:42.841 - info: host.pivpn iobroker _restart 2024-02-16 15:28:49.673 - info: host.pivpn iobroker.js-controller version 5.0.17 js-controller starting 2024-02-16 15:28:49.681 - info: host.pivpn Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker 2024-02-16 15:28:49.683 - info: host.pivpn hostname: pivpn, node: v18.19.1 2024-02-16 15:28:49.686 - info: host.pivpn ip addresses: 192.168.1.9 fe80::e65f:1ff:fe20:8d54 2024-02-16 15:28:49.786 - error: host.pivpn Cannot read system.config: null (OK when migrating or restoring) 2024-02-16 15:28:49.801 - error: host.pivpn Cannot find view "system" for search "host" 2024-02-16 15:28:49.864 - info: host.pivpn connected to Objects and States 2024-02-16 15:28:49.882 - info: host.pivpn Node.js version has changed from unknown to 18.19.1 2024-02-16 15:28:49.921 - info: host.pivpn Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2024-02-16 15:28:49.936 - info: host.pivpn added notifications configuration of host 2024-02-16 15:28:49.945 - error: host.pivpn Cannot find view "system" for search "instance" 2024-02-16 15:28:49.947 - error: host.pivpn Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2024-02-16 15:28:49.969 - info: host.pivpn Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2024-02-16 15:28:49.980 - error: host.pivpn Cannot find view "system" for search "state" 2024-02-16 15:28:49.981 - error: host.pivpn Cannot find view "system" for search "instance" 2024-02-16 15:28:49.985 - error: host.pivpn Could not collect system.host.pivpn states to check for obsolete states: Cannot find view "system" 2024-02-16 15:28:49.986 - error: host.pivpn _design/system missing - call node iobroker.js setup 2024-02-16 15:28:49.987 - info: host.pivpn no instances found 2024-02-16 15:28:49.987 - info: host.pivpn no instances found 2024-02-16 15:28:50.168 - info: host.pivpn Created UUID: 5ee4fb26-3da5-0184-80cc-f4c46cfa2017 ============ Mark until here for C&P =============
Redis server ist nachinstalliert und alle backups sind dort wo sie sein sollen.
Influxdb und grafana müssen wohl auch noch installiert werdenWie kriege ich das wieder zum Laufen
-
@maximinus Ich versuche da mal etwas Struktur hineinzubekommen
Du hattest auf einem Pi
- iobroker
- influx
- Grafana
- Redis
??
Davon hattest du alles über Backitup gesichert?
@maximinus sagte in ioB nicht erreichbar:
Backitup meldete ein erfolgreiches restore beendete den restore nicht vollständig.
wenn backitup meldet der Restore sei fertig ist lediglich backitup damit fertig die Informationen wiederherzustellen.
Anschließend baut der cobtroller alle Pakeze neu.
Das dauert bis zu einer Stunde und darf nicht gestört werden.@maximinus sagte in ioB nicht erreichbar:
Influxdb und grafana müssen wohl auch noch installiert werden
wenn du die Datenbank wiederherstellen willst muss diese vor dem Restore installiert sein.
Das selbe gilt für Redis.Wo brauchst du jetzt noch Infos?
-
Ggf noch etwas warten.
Ansonsten den Admin manuell nachinstallieren.
Laut iob diag ist keine Instanz installiert.2 GB RAM finde ich was knapp für all deine Dinge.
-
@maximinus sagte in ioB nicht erreichbar:
*** Time and Time Zones ***
Local time: Fri 2024-02-16 15:36:02 WET Universal time: Fri 2024-02-16 15:36:02 UTC RTC time: n/a Time zone: Atlantic/Canary (WET, +0000)
Ist das dein Wohnsitz !?
-
@homoran said in ioB nicht erreichbar:
Ja auf dem Raspi liefen:
iobroker
Grafana
influxdb
redis
und auch noch
pi-hole
pivpnDas ging bisher problemlos. Allerdings auf bullseye 32bit.
Das restore habe ich offensichtlich vorzeitig abgebrochen.
Alle Sicherungen sind vorhanden.
Falls ich das richtig verstehe installiere ich jetzt noch influxdb (war bisher v1 möchte jetzt v2) und die Datenbank (mit selbem Namen?) und grafana. Redis server habe ich schon,
Und dann nochmals restore. Aber wie komme ich da rein wenn der admin fehlt? iobroker einfach nochmals installieren?? -
@maximinus sagte in ioB nicht erreichbar:
Falls ich das richtig verstehe installiere ich jetzt noch influxdb (war bisher v1 möchte jetzt v2) und die Datenbank (mit selbem Namen?)
Da kann ich dir nicht helfen. Ich nutze kein influx
@maximinus sagte in ioB nicht erreichbar:
Aber wie komme ich da rein wenn der admin fehlt?
da scheint aber möglicherweise noch mehr im argen zu liegen.
@maximinus sagte in ioB nicht erreichbar:
Das restore habe ich offensichtlich vorzeitig abgebrochen.
und damit einen undefinierten Zustand erzeugt.
-
-
Also am besten nochmals vorn vorne?
bookworm, iobroker, influxdb plus datenbank, redis server, grafana, alle backups . Dann nochmals restore und so lange warten bis die Ringe sich nicht mehr drehen?!
-
@maximinus sagte in ioB nicht erreichbar:
so lange warten bis die Ringe sich nicht mehr drehen?!
zumindest bis alle Instanzen ihr Icon haben, oder unter
iob logs --watch
nichts mehr passiert -
bookworm, iobroker, influxdb plus datenbank, redis server, grafana
Das alles auf 'nem Pi4 mit 2GB???
Ich schließe mich meinen Vorrednern mal an: Ganz schön sportlich
Ich befürchte, dass Du daran nicht viel Freude haben wirst.