NEWS
Umzug Raspi 3b auf 4 8gb
-
@gonzokalle ja!
Es werden deswegen nur die Konfigurationen gesichert.
Alle Adapter werden neu gebaut -
@homoran
Dankeschön
Das probiere ich nachher mal. -
@gonzokalle
Installieren von Debian und Iobroker lief problemlos. Iobroker war über SSH und Weboberfläche erreichbar.
Danach habe ich das Backup eingespielt.
SSH ging noch. Über die Weboberfläche war der Iobroker nicht mehr zu erreichen. Weiter bin ich nicht gekommen.
Müssen altes und neues OS den gleichen Benutzer und PW haben, damit das Backup läuft? -
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
Müssen altes und neues OS den gleichen Benutzer und PW haben
nein, aber ggf. hast du einen anderen Hostnamen.
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
damit das Backup läuft?
bist du sicher dass das
BackupRestore nicht läuft?
hast du lange genug gewartet bis alles neu gebaut war?was sagt
iob diag
? -
nein, aber ggf. hast du einen anderen Hostnamen.
Das stimmt. Muss der gleich sein?bist du sicher dass das
BackupRestore nicht läuft?
Laut SSH läuft der Iobrokerhast du lange genug gewartet bis alles neu gebaut war?
5 Minutenwas sagt
iob diag
?
Schreibe ich nachher. -
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
Das stimmt. Muss der gleich sein?
ja, oder korrigiert werden
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
Laut SSH läuft der Iobroker
das ist der Controller
nur
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:5 Minuten
für den ganzen rebuild?
ich hoffe du hast den Vorgang nicht gestört. Der kann auch 1h dauern -
@homoran
Da war ich wohl zu ungeduldig.
Probiere es heute Abend noch einmal. -
@homoran sagte in Umzug Raspi 3b auf 4 8gb:
für den ganzen rebuild?
ich hoffe du hast den Vorgang nicht gestört. Der kann auch 1h dauernDa das ja gefühlt bei jedem Zweiten, der ein Backup einspielt vorkommt, dass er denkt, sobald success erscheint wäre iobroker fix und fertig wieder lauffähig, wäre es da nicht sinnvoll, bei dieser Meldung (am besten in roten Großbuchstaben) gleich noch hinzuschreiben, dass nun die Adapter gerebuildet werden, man die Finger davon lassen soll, das ganze auch mal 1 h oder so dauern kann und man parallel die logs mit
iobroker logs —watch
schauen kann, was Sache ist?
Das liesse sich doch sicher in die Backup-Routine mit einbauen?!Gruss, Jürgen
-
@wildbill sagte in Umzug Raspi 3b auf 4 8gb:
wäre es da nicht sinnvoll, bei dieser Meldung (am besten in roten Großbuchstaben) gleich noch hinzuschreiben, dass nun die Adapter gerebuildet werden, man die Finger davon lassen soll, das ganze auch mal 1 h oder so dauern kann und man parallel die logs mit
könnte man @simatec mal fragen.
ABER:
die Aufgabe von backitup ist ja tatsächlich in dem Moment erfolgreich beendet. -
@homoran sagte in Umzug Raspi 3b auf 4 8gb:
ABER:
die Aufgabe von backitup ist ja tatsächlich in dem Moment erfolgreich beendet.Das ja, aber irgendwie verleitet es ja dann schon dazu, direkt iobroker zu öffnen und zu hoffen, anstatt erst einmal abzuwarten. Die wenigsten (vermutlich gerade die, die öfter ein Backup brauchen oder meinen, durch Einspielen wird alles wieder gut
) werden dann wissen, dass es danach erst los geht...
Gruss, Jürgen
-
@homoran
Moin, hatte den Restore über Nacht laufen lassen.
Komme jetzt wieder nicht auf die Weboberfläche.
Die IP laut Fritz.Box ist richtig.iob diag sagt:
Skript v.2023-06-20 *** BASE SYSTEM *** Static hostname: RaspberryPi-Iobroker Icon name: computer Machine ID: 9853d2da275c4121aba5beaaff2ed64e Boot ID: ba3ca28d76f54a89a749b5e8c4c529f5 Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 10:47:34 up 1 day, 3:28, 1 user, load average: 0.15, 0.22, 0.10 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=53.0'C volt=0.9460V *** Time and Time Zones *** Local time: Sun 2023-09-24 10:47:34 CEST Universal time: Sun 2023-09-24 08:47:34 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 *** Martin /home/Martin Martin adm dialout cdrom sudo audio video plugdev games users input render netde v 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 178M 7.0G 1.0M 623M 7.5G Swap: 99M 0B 99M Total: 7.9G 178M 7.1G 7812 M total memory 178 M used memory 247 M active memory 441 M inactive memory 7010 M free memory 65 M buffer memory 558 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 59G 2.4G 54G 5% / devtmpfs devtmpfs 3.6G 0 3.6G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 1.1M 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: [Sat Sep 23 07:18:42 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.ena ble_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=D8:3A:DD:66:1B:11 vc_mem. mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty 1 root=PARTUUID=cc4844da-02 rootfstype=ext4 fsck.repair=yes rootwait [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on reado nly filesystem [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): write access will be enabled dur ing recovery [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): 1 orphan inode deleted [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): recovery complete [Sat Sep 23 07:18:43 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Sat Sep 23 07:18:43 2023] VFS: Mounted root (ext4 filesystem) readonly on devic e 179:2. [Sat Sep 23 07:18:45 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,ioc harset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 495M /var/ 180M /var/cache 174M /var/cache/apt 147M /var/lib 122M /var/lib/apt/lists Archived and active journals take up 64.0M in the file system. /opt/iobroker/backups: 61M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 39M /opt/iobroker/iobroker-data/ 17M /opt/iobroker/iobroker-data/backup-objects 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 The five largest files in iobroker-data are: 7.1M /opt/iobroker/iobroker-data/objects.jsonl 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-n ode_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_ iobr-99c23e.847b8ad9.chunk.js.map 2.8M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-n ode_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-n ode_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionD etai-57e02d.0886b730.chunk.js.map 1.2M /opt/iobroker/iobroker-data/backup-objects/2023-09-24_09-33_objects.json l.gz *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.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 ar m64 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 Errors in npm tree: 0 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl No configuration change needed. Multihost discovery server: disabled Discovery authentication: enabled Persistent activation: disabled Objects: jsonl on 127.0.0.1 States: jsonl on 127.0.0.1 Core adapters versions js-controller: 4.0.24 admin: "admin" not found javascript: "javascript" not found Adapters from github: 0 Adapter State + instance is alive Enabled adapters with bindings 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 Controller "js-controller": 5.0.12 , installed 4.0.24 [Updatable] Objects and States Please stand by - This may take a while Objects: 40 States: 25 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Hit:5 https://deb.nodesource.com/node_18.x bullseye 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 14265 1124/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 12982 1124/iobroker.js-co tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12192 524/sshd: /usr/sbin tcp6 0 0 :::22 :::* LISTEN 0 13727 524/sshd: /usr/sbin udp 0 0 0.0.0.0:49197 0.0.0.0:* 108 14847 382/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13752 799/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 14845 382/avahi-daemon: r udp6 0 0 :::56057 :::* 108 14848 382/avahi-daemon: r udp6 0 0 :::546 :::* 0 13770 799/dhcpcd udp6 0 0 :::5353 :::* 108 14846 382/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-09-23 07:33:00.092 - info: admin.0 (832) Got terminate signal TERMINATE_YO URSELF 2023-09-23 07:33:00.094 - info: backitup.0 (948) Got terminate signal TERMINATE _YOURSELF 2023-09-23 07:33:00.094 - info: discovery.0 (847) Got terminate signal TERMINAT E_YOURSELF 2023-09-23 07:33:00.099 - info: discovery.0 (847) Terminated (START_IMMEDIATELY _AFTER_STOP): Without reason 2023-09-23 07:33:00.101 - info: admin.0 (832) Terminated (START_IMMEDIATELY_AFT ER_STOP): Without reason 2023-09-23 07:33:00.105 - info: host.RaspberryPi-Iobroker stopInstance system.a dapter.admin.0 send kill signal 2023-09-23 07:33:00.107 - info: host.RaspberryPi-Iobroker stopInstance system.a dapter.discovery.0 send kill signal 2023-09-23 07:33:00.108 - info: host.RaspberryPi-Iobroker stopInstance system.a dapter.backitup.0 send kill signal 2023-09-23 07:33:00.147 - info: backitup.0 (948) Terminated (START_IMMEDIATELY_ AFTER_STOP): Without reason 2023-09-23 07:33:00.682 - info: host.RaspberryPi-Iobroker instance system.adapt er.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-09-23 07:33:00.717 - info: host.RaspberryPi-Iobroker instance system.adapt er.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-09-23 07:33:00.761 - info: host.RaspberryPi-Iobroker instance system.adapt er.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-09-23 07:33:00.762 - info: host.RaspberryPi-Iobroker All instances are sto pped. 2023-09-23 07:33:00.915 - info: host.RaspberryPi-Iobroker terminated 2023-09-23 07:33:49.056 - info: host.RaspberryPi-Iobroker iobroker.js-controlle r version 4.0.24 js-controller starting 2023-09-23 07:33:49.062 - info: host.RaspberryPi-Iobroker Copyright (c) 2014-20 22 bluefox, 2014 hobbyquaker 2023-09-23 07:33:49.063 - info: host.RaspberryPi-Iobroker hostname: RaspberryPi -Iobroker, node: v18.17.1 2023-09-23 07:33:49.064 - info: host.RaspberryPi-Iobroker ip addresses: 192.168 .10.100 2a02:8108:97c0:2b04:533c:364d:eece:91ba fe80::1b1f:4a5e:5ad9:ae6d 2023-09-23 07:33:49.798 - info: host.RaspberryPi-Iobroker connected to Objects and States 2023-09-23 07:33:49.828 - info: host.RaspberryPi-Iobroker Node.js version has c hanged from unknown to 18.17.1 2023-09-23 07:33:49.892 - info: host.RaspberryPi-Iobroker added notifications c onfiguration of host 2023-09-23 07:33:50.240 - info: host.RaspberryPi-Iobroker Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/nod e 2023-09-23 07:33:50.272 - info: host.RaspberryPi-Iobroker no instances found 2023-09-23 07:33:50.273 - info: host.RaspberryPi-Iobroker no instances found 2023-09-23 07:33:50.508 - info: host.RaspberryPi-Iobroker Created UUID: 00f3a47 1-327e-dadd-b5fa-7c63e9c376d6 Copy text starting here: ======================= SUMMARY ======================= v.2023-06-20 Static hostname: RaspberryPi-Iobroker Icon name: computer Machine ID: 9853d2da275c4121aba5beaaff2ed64e Boot ID: ba3ca28d76f54a89a749b5e8c4c529f5 Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.8G 176M 7.0G 1.0M 625M 7.5G Swap: 99M 0B 99M Total: 7.9G 176M 7.1G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin "admin" not found ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: Objects: 40 States: 25 Size of iob-Database: 7.1M /opt/iobroker/iobroker-data/objects.jsonl 904K /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
orphan cleanup on readonly fs
dein Dateisystem ist morsch
stand was im log vom Restore?
-
@homoran
OS wurde doch aber mit dem Raspberry Pi Imager neu geschrieben.
Habe ich gerade nachgeschaut.=== Mark text until here for copying === Martin@RaspberryPi-Iobroker:~ $ iobroker logs -watch -bash: iobroker: command not found Martin@RaspberryPi-Iobroker:~ $ === Mark text until here for copying === Martin@RaspberryPi-Iobroker:~ $ iobroker logs -watch -bash: iobroker: command not found Martin@RaspberryPi-Iobroker:~ $
-
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
aber mit dem Raspberry Pi Imager neu geschrieben.
auf eine neue Karte?
-
@homoran
Das nicht.
Nehme jetzt mal eine andere Karte.
Nach dem schreiben des OS und installieren des Iobroker komme ich ja noch auf die Weboderfläche.
Erst nach dem Restore geht es nicht mehr. -
-
@gonzokalle Bringt Dir aber nix, wenn die Karte bereits defekte Bereiche hat und beim restore dann dahin geschrieben wird. Merken: Das stromlos machen ohne vorheriges sauberes Herunterfahren zerstört nicht nur sehr schnell das Dateisystem sondern bei Raspi sehr oft auch die SD-Karte irreparabel. Heißt: Karte auf den Müll und neue besorgen.
Wenn Du nach dem Installieren nicht bereits mal den Strom weggenommen hattest und die Fehler daher rühren, dass „nur“ das Dateisystem teildefekt ist, kannst Du davon ausgehen, dass die Karte entsorgt gehört den Meldungen nach.Gruss, Jürgen
-
@wildbill
Okay, hätte nicht erwartet, dass die SD-Karten so anfällig sind. Werde die Karte mal überprüfen.Das ist jetzt die neue Karte. Ist das normal?
-
Ja, ist zu Zeit normal. Der Installer muss umgeschrieben werden.
-
@gonzokalle sagte in Umzug Raspi 3b auf 4 8gb:
iob diag sagt:
Moin,
was auch immer da passiert ist, da sind keine Adapter installiert, geschweige denn gestartet, aus Deinem
iob diag
Core adapters versions js-controller: 4.0.24 admin: "admin" not found <---- javascript: "javascript" not found <-- ok, den braucht man am anfang nicht Adapter State ### und weiter + instance is alive Enabled adapters with bindings
Ist Dein Backup auch korrekt, Du kannst ja mal in die Backupdatei hineinschauen, was sich da alles darin befindet!
VG
Bernd