NEWS
BackItUp - Probleme mit wiederherstellung
-
Lies die Dokumentation dazu:
https://www.iobroker.net/#de/documentation/install/proxmox.md
-
@thomas-braun
Danke dir. Bevor ich jetzt aber mir eine LTS Ubuntu Version von 20.04 runterlade die Frage ob du für ioBroker grundsätzlich eine anderes Template empfiehlst? Vorschläge nehme ich sehr gerne entgegen -
Ich empfehle das Original: Debian 12 'Bookworm'
Ist im HowTo auch die Distribution der Wahl, soweit ich weiß. -
@thomas-braun
und dann nicht als lxc sondern al VM?Verstehe nicht wie das bei den anderen YouTubern dann funktioniert. Die erstellen alle mit ubuntu nur einen Container und das läuft. Ich versuch jetzt mal deinen Weg
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
bei den anderen YouTubern dann funktioniert
wir sind hier aber nicht bei diesen ! Hier wird es richtig nach offizieller Anleitung gemacht
-
@djmarc75
ich versuche es -
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
und dann nicht als lxc sondern al VM?
Kannst du machen wie du willst (oder davon abhängig machen, was an Vorwissen vorhanden ist. VM ist etwas pflegeleichter als ein Container).
Verstehe nicht wie das bei den anderen YouTubern dann funktioniert.
Ich verstehe auch oft nicht was die Juhtjuber da immer treiben. Allerdings wird von den 'YT-Kollegen' furchtbar oft einfach nur falscher Schrott erzählt. Hauptsache es blinkt und dauert lange.
-
Hallo zusammen,
die Anleitung...
https://www.iobroker.net/#de/documentation/install/proxmox.md
war bis zum Punkt "4 - VM einrichten" super. Habe jetzt ein gut funktionierende Debian Installation - stand eh auf dem ToDo Zettel. Nur die iOBroker Installation unter Debian hab ich noch nicht hin bekommen.In der Anleitung geht man damit ja dann auch auf einen LXC Container. Das hab ich mit einem Debian Template und nochmal mit einem Abuntu LTS Template probiert. IOBroker kommt zum laufen aber sobald ich die Wiederherstellung einspiele ist Schluss mit lustig. Da läuft dann gar nix mehr.
Die Wiederherstellung kommt aus einem Synology Doker Contaier. Ich meine aus einer buanet Umgebung.
Ich muss kotz.... wenn ich alles neu aufsetzen muss aber ich fürchte da ist was nicht kompatibel.
vg Andreas
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
Da läuft dann gar nix mehr.
sicher?
was sagtiob status
? -
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
kann aber die Console von ioBroker per Browser nicht öffnen
Konsole oder Browser?
Was denn?
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1und mit root als "user" kannst du das gesamte Rechtegefüge zerstören
was sagt
iob diag
? -
Ich komme nicht mehr per Browser auf die ioBroker Übersicht.
hier die Auswertung von iob diag
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Ubuntu 20.04.6 LTS Kernel: 6.2.16-5-pve Installation: lxc Timezone: Europe/Berlin (CEST, +0200) User-ID: 0 X-Server: false Boot Target: graphical.target Pending OS-Updates: 1 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.0 /usr/bin/node v18.17.0 /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: 4.1G 420M 2.0G 0.0K 1.7G 3.7G Swap: 512M 0.0K 511M Total: 4.6G 420M 2.5G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : ioBroker-Ubuntu - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : ioBroker-Ubuntu - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 10609 States: 9132 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 3.8M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================#
MOD-EDIT: Code in code-tags gesetzt!
irgendwie finde ich diese Info unplausibel
enabled, port: 8081, bind: 0.0.0.0,
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
irgendwie finde ich diese Info unplausibel
das sehen wir, wenn du die gesamte Ausgabe postest, nicht nur die Summary.
Was steht in der schwarzen Briefmarke?
bitte auch als Text in code-tags posten. ich kann das am Handy nicht entziffern!bitte kesen und befolgen:
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1 -
@andreas-kerzel wie gesagt kann ich es nicht ganz entziffern, aber hat dei e neue Installation einen anderen Hostnamen?
und eine andere IP? -
IP Adresse ist auf jeden Fall eine andere. Hostname weiß ich nicht wie der bei der alten Installation war.
hinweis-für-gute-forenbeiträge ??? mach ich was falsch??
-
Briefmarke??
======== Start marking the full check here =========
Skript v.2023-04-16 *** BASE SYSTEM *** Architecture : x86_64 Docker : false Virtualization : lxc Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal Systemuptime and Load: 11:29:26 up 10:03, 1 user, load average: 0.66, 0.40, 0.26 CPU threads: 2 *** Time and Time Zones *** Local time: Wed 2023-08-02 11:29:26 CEST Universal time: Wed 2023-08-02 09:29:26 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** root /root root *** X-Server-Setup *** X-Server: false Desktop: Terminal: Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.1G 431M 2.0G 0.0K 1.7G 3.7G Swap: 512M 0.0K 511M Total: 4.6G 431M 2.5G 4096 M total memory 431 M used memory 465 M active memory 1489 M inactive memory 1984 M free memory 0 M buffer memory 1680 M swap cache 512 M total swap 0 M used swap 511 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/pve-vm--102--disk--0 ext4 16G 2.2G 13G 15% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 5.8G 0 5.8G 0% /dev/tty tmpfs tmpfs 5.8G 0 5.8G 0% /dev/shm tmpfs tmpfs 1.2G 116K 1.2G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/pve-vm--102--disk--0 ext4 rw,relatime,lazytime,stripe=16 |-/proc/cpuinfo lxcfs[/proc/cpuinfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/diskstats lxcfs[/proc/diskstats] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/loadavg lxcfs[/proc/loadavg] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/meminfo lxcfs[/proc/meminfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/slabinfo lxcfs[/proc/slabinfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/stat lxcfs[/proc/stat] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/swaps lxcfs[/proc/swaps] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other |-/proc/uptime lxcfs[/proc/uptime] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other `-/sys/devices/system/cpu lxcfs[/sys/devices/system/cpu] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other Files in neuralgic directories: /var: 543M /var/ 317M /var/lib 208M /var/cache 202M /var/cache/apt 182M /var/lib/apt/lists Archived and active journals take up 16.0M in the file system. /opt/iobroker/backups: 4.1M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 44M /opt/iobroker/iobroker-data/ 16M /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: 17M /opt/iobroker/iobroker-data/objects.jsonl 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/states.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 *** NodeJS-Installation *** /usr/bin/nodejs v18.17.0 /usr/bin/node v18.17.0 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.0-deb-1nodesource1 Candidate: 18.17.0-deb-1nodesource1 Version table: *** 18.17.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x focal/main amd64 Packages 100 /var/lib/dpkg/status 10.19.0~dfsg-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 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 : ioBroker-Ubuntu - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : ioBroker-Ubuntu - enabled system.adapter.bosch-ebike.0 : bosch-ebike : ioBroker-Ubuntu - disabled system.adapter.bosesoundtouch.0 : bosesoundtouch : ioBroker-Ubuntu - disabled system.adapter.denon.0 : denon : ioBroker-Ubuntu - disabled system.adapter.discovery.0 : discovery : ioBroker-Ubuntu - disabled system.adapter.energiefluss.0 : energiefluss : ioBroker-Ubuntu - disabled system.adapter.flot.0 : flot : ioBroker-Ubuntu - disabled system.adapter.govee.0 : govee : ioBroker-Ubuntu - disabled system.adapter.harmony.0 : harmony : ioBroker-Ubuntu - disabled system.adapter.hue-extended.0 : hue-extended : ioBroker-Ubuntu - disabled system.adapter.hue.0 : hue : ioBroker-Ubuntu - disabled, port: 443 system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: ioBroker-Ubuntu - disabled system.adapter.icons-icons8.0 : icons-icons8 : ioBroker-Ubuntu - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker-Ubuntu - disabled system.adapter.info.0 : info : ioBroker-Ubuntu - disabled system.adapter.javascript.0 : javascript : ioBroker-Ubuntu - disabled system.adapter.lgtv.0 : lgtv : ioBroker-Ubuntu - disabled system.adapter.modbus.0 : modbus : ioBroker-Ubuntu - disabled system.adapter.mqtt.0 : mqtt : ioBroker-Ubuntu - disabled, port: 1883, bind: 0.0.0.0 system.adapter.myenergi.0 : myenergi : ioBroker-Ubuntu - disabled system.adapter.netatmo.0 : netatmo : ioBroker-Ubuntu - disabled system.adapter.tapo.0 : tapo : ioBroker-Ubuntu - disabled system.adapter.tradfri.0 : tradfri : ioBroker-Ubuntu - disabled system.adapter.tuya.0 : tuya : ioBroker-Ubuntu - disabled system.adapter.tvspielfilm.0 : tvspielfilm : ioBroker-Ubuntu - disabled system.adapter.vis-bars.0 : vis-bars : ioBroker-Ubuntu - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : ioBroker-Ubuntu - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBroker-Ubuntu - disabled system.adapter.vis-history.0 : vis-history : ioBroker-Ubuntu - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : ioBroker-Ubuntu - disabled system.adapter.vis-inventwo.0 : vis-inventwo : ioBroker-Ubuntu - disabled system.adapter.vis-justgage.0 : vis-justgage : ioBroker-Ubuntu - disabled system.adapter.vis-metro.0 : vis-metro : ioBroker-Ubuntu - disabled system.adapter.vis-rgraph.0 : vis-rgraph : ioBroker-Ubuntu - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : ioBroker-Ubuntu - disabled system.adapter.vis.0 : vis : ioBroker-Ubuntu - disabled system.adapter.web.0 : web : ioBroker-Ubuntu - disabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : ioBroker-Ubuntu - enabled, port: 8081, 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(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "backitup" : 2.6.23 , installed 2.6.23 Controller "js-controller": 4.0.24 , installed 4.0.24 Objects and States Please stand by - This may take a while Objects: 10609 States: 9132 *** OS-Repositories and Updates *** Hit:1 https://deb.nodesource.com/node_18.x focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Pending Updates: 1 *** 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 448176 11880/sshd: /usr/sb tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 486435 1/systemd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 1133022 31465/iobroker.js-c tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 1134797 31465/iobroker.js-c tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 446789 11257/master tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 106 448759 11928/systemd-resol tcp6 0 0 :::22 :::* LISTEN 0 448178 11880/sshd: /usr/sb tcp6 0 0 :::111 :::* LISTEN 0 486437 1/systemd tcp6 0 0 ::1:25 :::* LISTEN 0 446790 11257/master udp 0 0 127.0.0.53:53 0.0.0.0:* 106 448758 11928/systemd-resol udp 0 0 0.0.0.0:111 0.0.0.0:* 0 486436 1/systemd udp6 0 0 :::111 :::* 0 486438 1/systemd *** Log File - Last 25 Lines *** 2023-08-02 01:35:55.518 - info: host.buanet-iobroker1 Delete state "system.host.buanet-iobroker1.versions.nodeNewestNext" 2023-08-02 01:35:55.566 - info: host.buanet-iobroker1 Delete state "system.host.buanet-iobroker1.versions.npmCurrent" 2023-08-02 01:35:55.613 - info: host.buanet-iobroker1 Delete state "system.host.buanet-iobroker1.versions.npmNewest" 2023-08-02 01:35:55.659 - info: host.buanet-iobroker1 Delete state "system.host.buanet-iobroker1.versions.npmNewestNext" 2023-08-02 01:35:55.706 - info: host.buanet-iobroker1 Some obsolete host states deleted. 2023-08-02 10:03:52.660 - info: host.buanet-iobroker1 received SIGTERM 2023-08-02 10:03:52.679 - info: host.buanet-iobroker1 terminated 2023-08-02 10:03:59.615 - info: host.buanet-iobroker1 iobroker.js-controller version 4.0.24 js-controller starting 2023-08-02 10:03:59.618 - info: host.buanet-iobroker1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-08-02 10:03:59.619 - info: host.buanet-iobroker1 hostname: buanet-iobroker1, node: v18.17.0 2023-08-02 10:03:59.619 - info: host.buanet-iobroker1 ip addresses: 192.168.2.33 fe80::184d:dcff:fe3e:9081 2023-08-02 10:04:00.341 - info: host.buanet-iobroker1 connected to Objects and States 2023-08-02 10:04:00.361 - info: host.buanet-iobroker1 added notifications configuration of host 2023-08-02 10:04:00.686 - info: host.buanet-iobroker1 38 instances found 2023-08-02 10:04:00.691 - warn: host.buanet-iobroker1 does not start any instances on this host 2023-08-02 10:04:23.050 - info: host.buanet-iobroker1 received SIGTERM 2023-08-02 10:04:23.083 - info: host.buanet-iobroker1 terminated 2023-08-02 10:04:46.573 - info: host.buanet-iobroker1 iobroker.js-controller version 4.0.24 js-controller starting 2023-08-02 10:04:46.576 - info: host.buanet-iobroker1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-08-02 10:04:46.576 - info: host.buanet-iobroker1 hostname: buanet-iobroker1, node: v18.17.0 2023-08-02 10:04:46.577 - info: host.buanet-iobroker1 ip addresses: 192.168.2.33 fe80::184d:dcff:fe3e:9081 2023-08-02 10:04:47.290 - info: host.buanet-iobroker1 connected to Objects and States 2023-08-02 10:04:47.310 - info: host.buanet-iobroker1 added notifications configuration of host 2023-08-02 10:04:47.620 - info: host.buanet-iobroker1 38 instances found 2023-08-02 10:04:47.624 - warn: host.buanet-iobroker1 does not start any instances on this host
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
Briefmarke??
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
mach ich was falsch??
ja!
keine Screenshots von Text!@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
Hostname weiß ich nicht
wenn ich das richtig entziffert habe, ist das einmal
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
ioBroker-Ubuntu
und einmal irgendwas mit buanet.
kann es leider nicht aus dem Bild zitieren -
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
+ instance is alive
bei dir läuft ja gar nichts!
da stehts!
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:host.buanet-iobroker1 does not start any instances on this host
stoppe iobroker!
dann
iob host this
danach wieder starten -
ja, das Spendersystem sitzt auf einer Synology NAS im Doker Container. Hier hieß das Template "buanet". Jetzt möchte ich das System umziehen auf einen Mini PC / Proxmox und dann in ein Ubunto Template. Ich nehme auch ein anderes.
Ok keine Screenshots mehr
-
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
Briefmarke??
Moin,
das sagt etwas über die
Screen Shots
, die sind auf Handy, Tablet nicht zu entziffern, auch wenn man Vergrößert, Du solltest Dir angewöhnen, das was Text ist auch als Text zu Posten, in den berühmt, berüchtigten Code Tags </>
Findest Du hier oben im Menü des Editors
@andreas-kerzel sagte in BackItUp - Probleme mit wiederherstellung:
hinweis-für-gute-forenbeiträge ??? mach ich was falsch??
Ja/nein, falsch ist nicht das richtige Wort, da Du ja vielleicht noch nicht so viel hier gepostet hast und neu bist.
Dieser nette Hinweis, sich einmal diese Seite durchzulesen, ist hilfreich, damit Du gleich soviel/korrekte Informationen lieferst ohne, dass die, die Dir helfen wollen, immer nachfragen müssen.Zu deinem Problem, da wurde ja schon das Richtige angemerkt, wenn Du ein neuen
ioBroker
aufbaust, der einen neuen Host-Namen und/oder eine neue IP bekommen hat und Du dann ein Backup dort einspielst, dann beißen sich die alten und neuen Einstellungen.
Beispiel:# Altes System IP= 192.168.178.25 Hostname= iobroker # Neues System IP= 192.186.178.125 Hostname= nuer-iobroker
Beim Erstellen des neuen
iobrokers
erreichst Du ihn anschließen unter der Adesse "http://192.168.178.125:8081" oder "http://neuer-iobroker:8081". Wenn jetzt das Backup eingespielt wird, wird intern der neueioBroker
aber wieder auf die alte IP und den alten Namen gemappt, deswegen kannst Du anschließend nicht mehr die WEB-GUI aufrufen, denn sie wird unter den neuen Parametern nicht mehr gefunden, einfach ausgedrückt, das Mapping stimmt nicht mehr.Du hast ja schon von @Homoran die Information bekommen
Hier noch mal die Erklärung:
iobroker@iobroker:/opt/iobroker$ iob host -h iobroker host <hostname> Set host to given hostname Commands: iobroker host this Initialize current host iobroker host set <hostname> Set host with specified hostname iobroker host remove <hostname> Remove host with specified hostname Options: --help Show help [boolean] Not enough non-option arguments: got 0, need at least 1
VG
Bernd