@dr-bakterius
Gibt es irgendwo eine Übersicht welcher admin bzw backitup adapter mit welcher js controller version funktioniert?
NEWS
Latest posts made by Christoph G
-
RE: Backup wiederherstellen
-
RE: Backup wiederherstellen
super dankeschön
Ich werde es nächste Woche probieren und berichten!! -
RE: Backup wiederherstellen
@dr-bakterius
======== Start marking the full check here =========Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7+ Architecture: arm Model : Raspberry Pi 2 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : armhf Systemuptime and Load: 15:40:41 up 1:00, 1 user, load average: 0.10, 0.03, 0.01 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 2023-10-27 15:40:42 CEST Universal time: Fri 2023-10-27 13:40:42 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 *** budde /home/budde budde 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: 921M 137M 628M 0.0K 155M 732M Swap: 99M 0B 99M Total: 1.0G 137M 728M 921 M total memory 138 M used memory 91 M active memory 153 M inactive memory 628 M free memory 28 M buffer memory 126 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 /dev/root ext4 57G 2.5G 52G 5% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 461M 0 461M 0% /dev/shm tmpfs tmpfs 185M 988K 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 51M 205M 20% /boot tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Oct 27 14:39:56 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=de441372-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Oct 27 14:40:00 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [Fri Oct 27 14:40:00 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [Fri Oct 27 14:40:01 2023] EXT4-fs (mmcblk0p2): recovery complete [Fri Oct 27 14:40:01 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Oct 27 14:40:01 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Oct 27 14:40:05 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,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 506M /var/ 247M /var/cache 241M /var/cache/apt 177M /var/cache/apt/archives 94M /var/lib Archived and active journals take up 64.0M in the file system. /opt/iobroker/backups: 3.4M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 72M /opt/iobroker/iobroker-data/ 58M /opt/iobroker/iobroker-data/files 30M /opt/iobroker/iobroker-data/files/web.admin/static 30M /opt/iobroker/iobroker-data/files/web.admin 29M /opt/iobroker/iobroker-data/files/web.admin/static/js The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 8.3M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js 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.8M /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 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.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.18.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.15.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.13.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.12.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.11.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.10.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.8.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.7.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.6.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.5.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.4.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.3.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.2.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.1.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.0.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.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 iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 3.3.20 admin: 6.10.1 javascript: "javascript" not found 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.backitup.0 : backitup : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - enabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, 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: stable Installed ioBroker-Instances Used repository: stable hash changed or no sources cached => force download of new sources Cannot get any information of "_repoInfo". Ignored. update done Adapter "admin" : 6.12.0 , installed 6.10.1 [Updateable] Adapter "backitup" : 2.8.1 , installed 2.8.1 Adapter "discovery" : 3.1.0 , installed 3.1.0 Controller "js-controller" : 5.0.12 , installed 3.3.20 [Updateable] Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.5.5 , installed 6.5.5 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "web" : 6.1.2 , installed 6.1.2 Adapter "ws" : 2.5.5 , installed 2.5.5 Objects and States Please stand by - This may take a while Objects: 170 States: 126 *** 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_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 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 12550 521/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 12543 521/iobroker.js-con tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12445 430/sshd: /usr/sbin tcp6 0 0 :::8082 :::* LISTEN 1001 12665 591/io.web.0 tcp6 0 0 :::22 :::* LISTEN 0 12447 430/sshd: /usr/sbin udp 0 0 0.0.0.0:33276 0.0.0.0:* 108 11802 326/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 11101 490/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 11800 326/avahi-daemon: r udp6 0 0 :::39337 :::* 108 11803 326/avahi-daemon: r udp6 0 0 :::5353 :::* 108 11801 326/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-10-27 14:40:48.475 - info: host.raspberrypi added notifications configuration of host 2023-10-27 14:40:49.789 - info: host.raspberrypi 5 instances found 2023-10-27 14:40:49.843 - info: host.raspberrypi starting 5 instances 2023-10-27 14:40:49.957 - error: host.raspberrypi startInstance system.adapter.admin.0 Invalid version of "js-controller". Installed "3.3.20", required ">=3.3.22 2023-10-27 14:40:53.977 - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 539 2023-10-27 14:40:57.879 - error: host.raspberrypi startInstance system.adapter.backitup.0 Invalid version of "js-controller". Installed "3.3.20", required ">=4.0.0 2023-10-27 14:40:59.366 - error: discovery.0 (539) discovery.0 already running 2023-10-27 14:40:59.379 - warn: discovery.0 (539) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-10-27 14:41:00.052 - error: host.raspberrypi instance system.adapter.discovery.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-10-27 14:41:00.056 - info: host.raspberrypi Restart adapter system.adapter.discovery.0 because enabled 2023-10-27 14:41:01.972 - info: host.raspberrypi instance system.adapter.web.0 started with pid 550 2023-10-27 14:41:08.790 - error: web.0 (550) web.0 already running 2023-10-27 14:41:08.805 - warn: web.0 (550) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-10-27 14:41:09.523 - error: host.raspberrypi instance system.adapter.web.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-10-27 14:41:09.528 - info: host.raspberrypi Restart adapter system.adapter.web.0 because enabled 2023-10-27 14:41:11.811 - info: vis.0 (557) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.18.2, js-controller: 3.3.20 2023-10-27 14:41:11.984 - error: vis.0 (557) No license found for vis. Please get one on https://iobroker.net ! 2023-10-27 14:41:12.990 - info: vis.0 (557) Terminated (NO_ERROR): Without reason 2023-10-27 14:41:13.657 - info: host.raspberrypi instance system.adapter.vis.0 terminated while should be started once 2023-10-27 14:41:30.121 - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 576 2023-10-27 14:41:36.634 - info: discovery.0 (576) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v18.18.2, js-controller: 3.3.20 2023-10-27 14:41:39.586 - info: host.raspberrypi instance system.adapter.web.0 started with pid 591 2023-10-27 14:41:47.015 - info: web.0 (591) starting. Version 6.1.2 in /opt/iobroker/node_modules/iobroker.web, node: v18.18.2, js-controller: 3.3.20 2023-10-27 14:41:48.100 - info: web.0 (591) socket.io server listening on port 8082 2023-10-27 14:41:48.167 - info: web.0 (591) http server listening on port 8082
so sieht es gerade aus
-
RE: Backup wiederherstellen
@christoph-g
Ich probiere gerade den js controller zu downgraden . Habe das mitcd /opt/iobroker iobroker fix iobroker stop npm i iobroker.js-controller@3.3.20 --production iobroker start
Richtig?
Weil es danach nichtmehr lief.
Oder muss node js auch downgraden werden??Gruß
-
RE: Backup wiederherstellen
@dr-bakterius said in Backup wiederherstellen:
Da musst du dann wirklich viel Geduld aufbringen nach dem Restore. Es werden dann nämlich erst die ganzen Adapter neu installiert - und das dauert eben seine Zeit. Und unter Umständen wird dabei auch der RAM / Cache voll ausgelastet und der Restore klappt dann nicht vollständig. Vor allem wenn auch noch ein Desktop geladen werden muss. Also wie @Thomas-Braun schon schrieb: ein paar Euro für aktuellere Hardware in die Hand nehmen (und den Desktop weg lassen) ist sicher nicht verkehrt.
Du hast auch nicht die Langfassung von iob diag gezeigt, sondern die Kurzfassung. Und da sieht man schon, dass die web-Instanz nicht läuft - also auch keine VIS. Es wurde vermutlich auch noch kein Restore durchgeführt (bei lediglich 2 aktiven Instanzen). Und warum bist du im beta-Zweig unterwegs? Es stehen auch 139 Systemupdates an und ein Reboot wäre fällig. Beim nächsten Mal vor der Installation von ioBroker das System auf aktuellen Stand bringen (sudo apt-get update && upgrade). -
RE: Backup wiederherstellen
@codierknecht said in Backup wiederherstellen:
@christoph-g
OK, habe ich dann auch endlich verstandenWas mir da als Idee in den Kopf kommt:
- Backup des alten Systems. Hast Du
- Neues System aufsetzen und Vis installieren. Hast Du vermutlich mittlerweile auch
=> Aktuelles OS (Bookworm) ohne Desktop. - Downgrade des JS-Controllers auf die benötigte Version und Restore. Wird dann wohl "try-and-error".
- Wenn alles läuft: ioBroker auf aktuellen Stand bringen
- Dokumentieren
%(#ff0000)[was bedeutet ohne Desktop? Also nur die Linux Version ohne Desktop und Console? Bin sowieso nur über ssh drauf. Okay glaube habs verstanden ]
-
RE: Backup wiederherstellen
@codierknecht
Habe aktuell nur nen Raspi 2 zur Hand, kann es sein, dass Bookworm da nicht läuft? -
RE: Backup wiederherstellen
@codierknecht said in Backup wiederherstellen:
Da die alte Instanz ja noch läuft, könntest Du die auf aktuellen Stand bringen, dann ein Backup erstellen und dieses dann auf einem neuen System wiederherstellen.
Das Problem ist ja, dass niemand sich einloggen kann wegen der nicht vorhandenen Passwörter. Wie @Dr-Bakterius schon schrieb, muss vor dem Restore der Vis-Adapter aufgrund eines Bugs zunächst manuell installiert werden.
Okay, danke das werde ich probieren!. -
RE: Backup wiederherstellen
habe gesehen, dass die ip nicht der aktuellen entspricht, habe
iobroker set admin.0 --bind 0.0.0.0
ausgeführt. Hat aber keine besserung gebracht.
-
RE: Backup wiederherstellen
@dr-bakterius
Vielleicht kannst du mal reinschauenVielen Dank
<======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7+ Architecture: arm Installation: native Kernel: armv7l Userland: armhf Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 139 Pending iob updates: 26 This system needs to be REBOOTED NOW! Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 921M 183M 153M 0.0K 585M 674M Swap: 99M 95M 4.0M Total: 1.0G 278M 157M Active iob-Instances: 2 Active repo(s): beta ioBroker Core: js-controller 5.0.12 admin 4.2.1 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: 10.55.234.181, run as: admin system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 5733 States: 4934 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 8.7M /opt/iobroker/iobroker-data/objects.json.migrated 8.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 5.5M /opt/iobroker/iobroker-data/states.jsonl 1.2M /opt/iobroker/iobroker-data/states.json.bak.migrated 1.1M /opt/iobroker/iobroker-data/states.json.migrated =================== END OF SUMMARY ====================
/>