NEWS
IoBroker Umzug auf neues System
-
@wendy2702 jetzt mit komplett ausgeschalteten System geht es.
-
altes System komplett aus
-
@shellyatze ```
======== Start marking the full check here =========Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: iobrokernuc Icon name: computer-desktop Chassis: desktop 🖥️ Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-25-amd64 Architecture: x86-64 Hardware Vendor: Intel_R_ Client Systems Hardware Model: NUC7i3BNK Firmware Version: BNKBL357.86A.0078.2019.0425.1314 model name : Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz Docker : false Virtualization : none Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 18:08:28 up 17:30, 3 users, load average: 0.80, 0.61, 0.62 CPU threads: 4 *** Time and Time Zones *** Local time: Wed 2024-09-11 18:08:28 CEST Universal time: Wed 2024-09-11 16:08:28 UTC RTC time: Wed 2024-09-11 16:08:28 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': iobrokernuc HOME=/home/iobrokernuc GROUPS=iobrokernuc cdrom floppy audio dip video plugdev users netdev bluetooth lpadmin scanner iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth *** Display-Server-Setup *** Display-Server: true Desktop: gnome-xorg Terminal: x11 Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 16G 2.4G 12G 287M 2.8G 14G Swap: 1.0G 0B 1.0G Total: 17G 2.4G 13G Active iob-Instances: 0 15874 M total memory 2278 M used memory 608 M active memory 3134 M inactive memory 11520 M free memory 171 M buffer memory 2510 M swap cache 975 M total swap 0 M used swap 975 M free swap *** top - Table Of Processes *** top - 18:08:28 up 17:30, 3 users, load average: 0.80, 0.61, 0.62 Tasks: 229 total, 1 running, 228 sleeping, 0 stopped, 0 zombie %Cpu(s): 50.0 us, 33.3 sy, 0.0 ni, 16.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 15874.7 total, 11519.7 free, 2279.3 used, 2682.0 buff/cache MiB Swap: 976.0 total, 976.0 free, 0.0 used. 13595.3 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 7.8G 0 7.8G 0% /dev tmpfs tmpfs 1.6G 1.5M 1.6G 1% /run /dev/sda2 ext4 109G 8.2G 95G 8% / tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock /dev/sda1 vfat 511M 5.9M 506M 2% /boot/efi tmpfs tmpfs 1.6G 88K 1.6G 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,relatime,errors=remount-ro |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime | `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11979 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,relatime,size=8094088k,nr_inodes=2023522,mode=755,inode64 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev,inode64 | |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=1625568k,mode=755,inode64 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 | |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1625564k,nr_inodes=406391,mode=700,uid=1000,gid=1000,inode64 | |-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 | `-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 `-/boot/efi /dev/sda1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro Files in neuralgic directories: /var: 694M /var/ 273M /var/lib 247M /var/cache 207M /var/cache/apt 173M /var/log Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 48.0M in the file system. /opt/iobroker/backups: 5.3M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 99M /opt/iobroker/iobroker-data/ 73M /opt/iobroker/iobroker-data/files 31M /opt/iobroker/iobroker-data/files/backitup.admin 31M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js 31M /opt/iobroker/iobroker-data/files/admin.admin/custom/static The five largest files in iobroker-data are: 14M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.2cca4954.js 9.9M /opt/iobroker/iobroker-data/objects.jsonl 7.0M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.0c96b194.chunk.js.map 5.6M /opt/iobroker/iobroker-data/files/backitup.admin/custom/static/js/vendors-node_modules_file-saver_dist_FileSaver_min_js-node_modules_react-icons_di_index_mjs-n-f0ed96.6c33ff1f.chunk.js 5.5M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-2d33e4.42bb0640.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.17.0-1nodesource1 Candidate: 20.17.0-1nodesource1 Version table: *** 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://debian.inf.tu-dresden.de/debian bookworm/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. No connection to databases possible ... Core adapters versions js-controller: 6.0.11 admin: 7.0.23 javascript: 8.7.6 nodejs modules from github: 0 Adapter State Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. No connection to databases possible ... Enabled adapters with bindings ioBroker-Repositories Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. No connection to databases possible ... Installed ioBroker-Instances Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. Server Configured backup period 7200000 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes. No connection to databases possible ... Objects and States Please stand by - This may take a while Objects: 3 States: 3 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://debian.inf.tu-dresden.de/debian bookworm InRelease Hit:3 https://linux.teamviewer.com/deb stable InRelease Hit:4 http://debian.inf.tu-dresden.de/debian bookworm-updates InRelease Hit:5 https://deb.nodesource.com/node_20.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:631 0.0.0.0:* LISTEN 0 20871 701/cupsd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 20909 733/sshd: /usr/sbin tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 14971 1/init tcp 0 0 127.0.0.1:5939 0.0.0.0:* LISTEN 0 23309 1164/teamviewerd tcp6 0 0 :::22 :::* LISTEN 0 20911 733/sshd: /usr/sbin tcp6 0 0 :::80 :::* LISTEN 0 22823 805/apache2 tcp6 0 0 :::111 :::* LISTEN 0 14973 1/init tcp6 0 0 ::1:631 :::* LISTEN 0 20870 701/cupsd udp 0 0 0.0.0.0:5353 0.0.0.0:* 105 20273 609/avahi-daemon: r udp 0 0 0.0.0.0:111 0.0.0.0:* 0 14972 1/init udp 0 0 0.0.0.0:631 0.0.0.0:* 0 21281 1153/cups-browsed udp 0 0 0.0.0.0:35785 0.0.0.0:* 105 20275 609/avahi-daemon: r udp6 0 0 :::5353 :::* 105 20274 609/avahi-daemon: r udp6 0 0 :::47091 :::* 0 92220 1164/teamviewerd udp6 0 0 :::47339 :::* 0 90861 1164/teamviewerd udp6 0 0 :::49145 :::* 0 74761 1164/teamviewerd udp6 0 0 :::111 :::* 0 14974 1/init udp6 0 0 fe80::1e69:7aff:fe0:546 :::* 0 25515 649/NetworkManager udp6 0 0 :::60574 :::* 105 20276 609/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-09-11 18:09:36.066 - info: host.iobrokernuc ip addresses: 192.168.178.142 2003:d7:3f09:cd00:2e0a:4818:3558:1fe9 2003:d7:3f09:cd00:1e69:7aff:fe06:6679 fd01:b09:dc6c:b74f:f5b4:8482:5ae5:83ca fd01:b09:dc6c:b74f:1e69:7aff:fe06:6679 2003:d7:3f09:cd00:84ef:10e2:abde:ff3f 2003:d7:3f09:cd00:6203:1983:adf6:a97c fe80::1e69:7aff:fe06:6679 2024-09-11 18:10:06.083 - error: host.iobrokernuc No connection to databases possible, restart 2024-09-11 18:10:06.095 - info: host.iobrokernuc iobroker _restart 2024-09-11 18:10:06.640 - info: host.iobrokernuc iobroker Starting node restart.js 2024-09-11 18:10:06.643 - error: host.iobrokernuc [sendTo] Could not push message "{ command: 'cmdStdout', message: { id: undefined, data: 'Starting node restart.js' }, from: 'system.host.iobrokernuc' }" to "system.host.iobrokernuc": Cannot read properties of null (reading 'pushMessage') 2024-09-11 18:10:11.069 - info: host.iobrokernuc iobroker.js-controller version 6.0.11 js-controller starting 2024-09-11 18:10:11.072 - info: host.iobrokernuc Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2024-09-11 18:10:11.072 - info: host.iobrokernuc hostname: iobrokernuc, node: v20.17.0 2024-09-11 18:10:11.072 - info: host.iobrokernuc ip addresses: 192.168.178.142 2003:d7:3f09:cd00:2e0a:4818:3558:1fe9 2003:d7:3f09:cd00:1e69:7aff:fe06:6679 fd01:b09:dc6c:b74f:f5b4:8482:5ae5:83ca fd01:b09:dc6c:b74f:1e69:7aff:fe06:6679 2003:d7:3f09:cd00:84ef:10e2:abde:ff3f 2003:d7:3f09:cd00:6203:1983:adf6:a97c fe80::1e69:7aff:fe06:6679 2024-09-11 18:10:41.092 - error: host.iobrokernuc No connection to databases possible, restart 2024-09-11 18:10:41.103 - info: host.iobrokernuc iobroker _restart 2024-09-11 18:10:41.647 - info: host.iobrokernuc iobroker Starting node restart.js 2024-09-11 18:10:41.650 - error: host.iobrokernuc [sendTo] Could not push message "{ command: 'cmdStdout', message: { id: undefined, data: 'Starting node restart.js' }, from: 'system.host.iobrokernuc' }" to "system.host.iobrokernuc": Cannot read properties of null (reading 'pushMessage') 2024-09-11 18:10:46.063 - info: host.iobrokernuc iobroker.js-controller version 6.0.11 js-controller starting 2024-09-11 18:10:46.066 - info: host.iobrokernuc Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2024-09-11 18:10:46.066 - info: host.iobrokernuc hostname: iobrokernuc, node: v20.17.0 2024-09-11 18:10:46.067 - info: host.iobrokernuc ip addresses: 192.168.178.142 2003:d7:3f09:cd00:2e0a:4818:3558:1fe9 2003:d7:3f09:cd00:1e69:7aff:fe06:6679 fd01:b09:dc6c:b74f:f5b4:8482:5ae5:83ca fd01:b09:dc6c:b74f:1e69:7aff:fe06:6679 2003:d7:3f09:cd00:84ef:10e2:abde:ff3f 2003:d7:3f09:cd00:6203:1983:adf6:a97c fe80::1e69:7aff:fe06:6679
============ Mark until here for C&P =============
iob diag has finished.
-
@shellyatze kann es sein das die Herstellung des Backups noch lief/läuft ?
Mal ins log geschaut?
Zeig doch mal auf wie genau du vorgegangen bist.
-
@wendy2702
Neuen Nuc aufgesetzt mit Debian
TeamViewer installiert
Nutzer Rechte vergeben
IoBroker installiert
IoBroker eingerichtet ,nur bis ich ein Backup herstellen konnteVon altem System ein Backup erstellt
Dieses per FileZilla in den neuen Backup Ordner
Im neuen ioBroker per wiederherstellen eingelesenDann musste ich einen admin hinzufügen
Über das alte System kann ich diesen admin auch sehen und dahinter steht auch der Host Name vom neuen System -
@shellyatze sagte in IoBroker Umzug auf neues System:
2024-09-11 17:55:43.196 - error: host.iobrokernuc Objects database error: connect ECONNREFUSED 192.168.178.103:9001
2024-09-11 17:55:43.204 - error: host.iobrokernuc States database error: connect ECONNREFUSED 192.168.178.103:9000Du hast auf dem alten System für den js-controller/Datenbank die IP (...103) eingegeben statt 127.0.0.1 (localhost). Diese Daten sind im Backup enthalten. Damit versucht sich der neue ioBroker zum alten System zu verbinden.
Um das zu ändern, würde ich folgendes machen:
- auf dem alten System
iob setup custom
aufrufen - IP auf 127.0.0.1 ändern
- neu starten
- Backup machen
- das Backup auf dem neuen System einspielen
- auf dem alten System
-
@marc-berg ich teste und meld mich dann
danke -
@marc-berg ja was soll ich sagen.
vielen Dank , ich dachte mir schon das es irgendwie an der ip hängt.
aber wo und wie ändern....,jetzt weiss ich es.
vielen dank dafür
alles wieder 1 zu 1 da,ausser den host Namen ,der ja noch geändert werden kann oder?
wenn ja.wie kann ich den Hostnamen ändern? -
@shellyatze sagte in IoBroker Umzug auf neues System:
wie kann ich den Hostnamen ändern?
iob host set <name>
-
@marc-berg vielen dank
dann allen eine schöne Restwoche