NEWS
Absturz während Repo Update
-
@mp_trixi ja
-
@crunchip
@Thomas-Braun
hab jetzt mal zwei Adapter beendet und etwas freien Speicher gewonnen:
Wenn ich mir nen 8GB Raspi zulege: Kann ich dann einfach da die SD-Karte reinmachen oder muss der dann von Grund auf neu installiert werden?
-
@mp_trixi Ich würde ein frisches System draufwerfen und dann ein Backup des ioBrokers einspielen.
-
@mp_trixi sagte in Absturz während Repo Update:
Kann ich dann einfach da die SD-Karte reinmachen
theoretisch, aber aufgrund von
@mp_trixi sagte in Absturz während Repo Update:
er muss vom Strom genommen werden
und das schon mehrmals,
würde ich in dem Zug auch gleich eine frische Sd Karte bevorzugen -
@crunchip
@Thomas-Braun
ihr macht mir Freude - danke für die Hilfe, Bestellung ist rausWerde mich dann bestimmt wieder melden
Noch Tipps wie man hier dann vorgeht? Die Anleitungen die ich adhoc dazu gefunden habe sind doch schon etwas älter.
-
Betriebssystem in der Variante 64bit - Lite (ohne Desktop) installieren, iobroker 'leer' installieren. Ggf. 'vis' schon mal 'leer' installieren, Backup zurückspielen, fertig.
-
@thomas-braun
ok, das passt noch? -
Ja, das passt soweit noch.
Ich mach es immer danach:https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
-
@thomas-braun
Super, danke - werde ich so machen. Du hast nicht zufällig auch sowas noch für die weiteren Schritte zum Restore gemacht? -
Nö, das ist doch alles bei Bedarf beim Backitup-Adapter bzw. dem dazugehörigen Wiki nachzulesen.
-
@thomas-braun
Danke - hab das hier gefunden und werde es damit versuchen. Gibt es etwas Besonderes bei Grafana und influxdb zu beachten? -
Bei influx muss ggfls. mit dem Token 'gezaubert' werden. Hab das aber selber nicht im Einsatz, kann ich also nicht viel zu sagen.
-
@thomas-braun
ok, danke - dann mach ich mich da mal schlau. Hoffentlich letzte Frage. Wie mache ich das mit meinen USB Sticks (Selve Steuerung und Sonoff Zigbee)? Gleich stecken mit erstem OS Boot? -
@mp_trixi sagte in Absturz während Repo Update:
Gleich stecken mit erstem OS Boot?
Egal. Die Treiber/Kernelmodule werden eh bei Bedarf geladen.
-
@thomas-braun
neuer Raspi ist da - nackt gemäß Anleitung installiert (ist noch kein restore gelaufen, also direkt nach dem Start). Habe schon wieder das im log:host.smarthome 2023-07-10 14:47:40.587 error Error by updating repository "stable" under "http://download.iobroker.net/sources-dist.json": Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded
gehe also wieder auf das live, richtig?
-
@mp_trixi kann es sein das du ein Netzwerkproblem hast?
Pihole, Adguard der gleichen? -
@crunchip
nein, keines das mir bewusst wäre. Adguard oÄ habe ich nicht im Einsatz. Als Router ist ne Fritzbox im Einsatz.
Habs mal mit wget versucht:pi@smarthome:~ $ cd /tmp pi@smarthome:/tmp $ wget http://download.iobroker.net/sources-dist.json --2023-07-10 15:02:46-- http://download.iobroker.net/sources-dist.json Auflösen des Hostnamens download.iobroker.net (download.iobroker.net)… 93.90.206.45 Verbindungsaufbau zu download.iobroker.net (download.iobroker.net)|93.90.206.45|:80 … verbunden. HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently Platz: http://repo.iobroker.live/sources-dist.json [folgend] --2023-07-10 15:03:01-- http://repo.iobroker.live/sources-dist.json Auflösen des Hostnamens repo.iobroker.live (repo.iobroker.live)… 172.67.222.102, 104.21.86.170, 2606:4700:3035::6815:56aa, ... Verbindungsaufbau zu repo.iobroker.live (repo.iobroker.live)|172.67.222.102|:80 … verbunden. HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK Länge: 3333047 (3,2M) [application/json] Wird in »sources-dist.json« gespeichert. sources-dist.json 100%[==========================================================================================================>] 3,18M 5,65MB/s in 0,6s 2023-07-10 15:03:01 (5,65 MB/s) - »sources-dist.json« gespeichert [3333047/3333047]
Bekomme aber auch eine Meldung vom admin
admin.0 (3353) Cannot update rating: timeout of 15000ms exceeded
Hier das iob diag des frischen Systems:
Skript v.2023-04-16 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.5 Architecture : aarch64 Docker : false Virtualization : none Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" Systemuptime and Load: 14:57:50 up 30 min, 1 user, load average: 0.16, 0.12, 0.13 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=55.0'C volt=0.9360V *** Time and Time Zones *** Local time: Mon 2023-07-10 14:57:50 CEST Universal time: Mon 2023-07-10 12:57:50 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) 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: 7.8G 493M 6.2G 1.0M 1.1G 7.2G Swap: 99M 0B 99M Total: 7.9G 493M 6.3G 7812 M total memory 493 M used memory 562 M active memory 926 M inactive memory 6185 M free memory 42 M buffer memory 1090 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 *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 58G 2.9G 53G 6% / devtmpfs devtmpfs 3.6G 0 3.6G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 1.2M 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 782M 0 782M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon Jul 10 14:27:05 2023] 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=D8:3A:DD:38:25:E4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=192fb279-02 rootfstype=ext4 fsck.repair=yes rootwait [Mon Jul 10 14:27:06 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Mon Jul 10 14:27:06 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Mon Jul 10 14:27:08 2023] 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 /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 632M /var/ 308M /var/cache 303M /var/cache/apt 201M /var/cache/apt/archives 159M /var/lib Archived and active journals take up 64.0M in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 18M /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 3.5M /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 *** NodeJS-Installation *** /usr/bin/nodejs v18.16.1 /usr/bin/node v18.16.1 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 nodejs: Installed: 18.16.1-deb-1nodesource1 Candidate: 18.16.1-deb-1nodesource1 Version table: *** 18.16.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://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl MULTIHOSTSERVICE/enabled: false Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: "javascript" not found Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : smarthome - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.backitup.0 : backitup : smarthome - enabled + system.adapter.discovery.0 : discovery : smarthome - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : smarthome - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json Active repo(s): live-stable Installed ioBroker-Instances Used repository: live-stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "discovery" : 3.1.0 , installed 3.1.0 Controller "js-controller": 4.0.24 , installed 4.0.24 Objects and States Please stand by - This may take a while Objects: 142 States: 104 *** OS-Repositories and Updates *** 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 Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://apt.grafana.com stable 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:9000 0.0.0.0:* LISTEN 1001 1546 550/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 1539 550/iobroker.js-con tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13826 594/sshd: /usr/sbin tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 18804 1502/influxd tcp6 0 0 :::3000 :::* LISTEN 110 23678 3317/grafana tcp6 0 0 :::8081 :::* LISTEN 1001 23493 3353/io.admin.0 tcp6 0 0 :::8086 :::* LISTEN 999 16955 1502/influxd tcp6 0 0 :::22 :::* LISTEN 0 13828 594/sshd: /usr/sbin udp 0 0 0.0.0.0:68 0.0.0.0:* 0 1579 733/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1485 451/avahi-daemon: r udp 0 0 0.0.0.0:39251 0.0.0.0:* 108 1487 451/avahi-daemon: r udp6 0 0 :::5353 :::* 108 1486 451/avahi-daemon: r udp6 0 0 :::59339 :::* 108 1488 451/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-07-10 14:47:20.308 - info: admin.0 (622) ==> Connected system.user.admin from ::ffff:192.168.1.138 2023-07-10 14:47:20.477 - info: host.smarthome Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-07-10 14:47:40.587 - error: host.smarthome Error by updating repository "stable" under "http://download.iobroker.net/sources-dist.json": Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded 2023-07-10 14:51:18.222 - info: host.smarthome stopInstance system.adapter.admin.0 (force=false, process=true) 2023-07-10 14:51:18.232 - info: admin.0 (622) Got terminate signal TERMINATE_YOURSELF 2023-07-10 14:51:18.235 - info: admin.0 (622) terminating http server on port 8081 2023-07-10 14:51:18.245 - info: admin.0 (622) terminating 2023-07-10 14:51:18.248 - info: admin.0 (622) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-07-10 14:51:18.273 - info: host.smarthome stopInstance system.adapter.admin.0 send kill signal 2023-07-10 14:51:18.799 - info: host.smarthome instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-07-10 14:51:21.299 - info: host.smarthome instance system.adapter.admin.0 started with pid 3353 2023-07-10 14:51:23.503 - info: admin.0 (3353) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v18.16.1, js-controller: 4.0.24 2023-07-10 14:51:23.699 - info: admin.0 (3353) requesting all states 2023-07-10 14:51:23.700 - info: admin.0 (3353) requesting all objects 2023-07-10 14:51:23.771 - info: admin.0 (3353) received all objects 2023-07-10 14:51:23.796 - warn: admin.0 (3353) Repository cannot be read: Active repo - stable 2023-07-10 14:51:23.797 - warn: admin.0 (3353) Active repository "stable" cannot be read 2023-07-10 14:51:23.888 - info: admin.0 (3353) https server listening on port 8081 2023-07-10 14:51:23.889 - info: admin.0 (3353) Use link "https://localhost:8081" to configure. 2023-07-10 14:51:23.899 - info: admin.0 (3353) Secure socket.io server listening on port 8081 2023-07-10 14:51:33.242 - info: admin.0 (3353) ==> Connected system.user.admin from ::ffff:192.168.1.138 2023-07-10 14:51:33.347 - info: host.smarthome Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-07-10 14:51:38.998 - warn: admin.0 (3353) Cannot update rating: timeout of 15000ms exceeded 2023-07-10 14:51:48.523 - info: host.smarthome Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-07-10 14:52:16.893 - warn: admin.0 (3353) Cannot update rating: timeout of 15000ms exceeded
-
@mp_trixi sagte in Absturz während Repo Update:
frischen Systems
und da gibt es nun von Haus aus?
ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json Active repo(s): live-stable
@mp_trixi sagte in Absturz während Repo Update:
bind: 0.0.0.0 (SSL)
hast du auch eingerichtet?
@crunchip sagte in Absturz während Repo Update:
Active repo(s): live-stable
passt ja irgendwie nicht zu
error: host.smarthome Error by updating repository "stable" under "http://download.iobroker.net/sources-dist.json": Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded
-
@crunchip
jein. Der Repo- und auch der Admin-Fehler war direkt nach der Installation im Log. Beim ersten iobroker Start kommt ja der Einrichtungsassistent. Lokation etc. Hier habe ich bei Zertifikate auf "selbstsigniertes Zertifikat umgestellt". Dann wie im alten System auf live (was ich mit der Referenz(https://forum.iobroker.net/topic/57541/gelöst-nach-installation-weden-keine-adapter-angezeigt/11) tun sollte wenn man mit der ursprünglichen Repo Schwierigkeiten hat. D.h.:iobroker repo add live-stable http://iobroker.live/repo/sources-dist.json iobroker repo unset stable iobroker repo set live-stable
influxdb 1 und grafana habe ich auch installiert
danach das iob diag
-
@mp_trixi ok, hatte es so verstanden
@mp_trixi sagte in Absturz während Repo Update:
nackt gemäß Anleitung installiert (ist noch kein restore gelaufen
das influx und grafana bereits installiert sind hab ich dann auch gesehen
allerdings wie bereits geschrieben, passt die Log-Ausgabe nicht zu deiner Repo Einstellung
@crunchip sagte in Absturz während Repo Update:
Error by updating repository "stable"
@crunchip sagte in Absturz während Repo Update:
Active repo(s): live-stable