NEWS
[Gelöst] Oberfläche nach Backup nicht mehr erreichbar
-
Hallo,
es läuft iobroker von buanet im Docker auf einem Raspberry 4. Das lief auch schon vorher problemlos im Docker bis irgendwas passiert ist. Ich hab allesmögliche ausprobiert, nix hat funktioniert und deswegen wollte ich einfach alles löschen und neu einrichten und ein Backup wiederherstellen.
So weit so gut. Starten klappt auch. Alles läuft. Ich kann das Backup auswählen zum wiederherstellen. Der Container startet neu und ich kann die Oberfläche nicht mehr erreichen.Im Cointainer
root@73ab4d518d28:/opt/iobroker# iob status iobroker is running on this host. Objects type: jsonl States type: jsonl
Log vom Start
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29168 files and directories currently installed.) Preparing to unpack .../git-man_1%3a2.30.2-1+deb11u2_all.deb ... Unpacking git-man (1:2.30.2-1+deb11u2) over (1:2.30.2-1+deb11u1) ... Preparing to unpack .../git_1%3a2.30.2-1+deb11u2_armhf.deb ... Unpacking git (1:2.30.2-1+deb11u2) over (1:2.30.2-1+deb11u1) ... Preparing to unpack .../libtiff5_4.2.0-1+deb11u4_armhf.deb ... Unpacking libtiff5:armhf (4.2.0-1+deb11u4) over (4.2.0-1+deb11u3) ... Preparing to unpack .../nodejs_16.19.1-deb-1nodesource1_armhf.deb ... Unpacking nodejs (16.19.1-deb-1nodesource1) over (16.19.0-deb-1nodesource1) ... Setting up nodejs (16.19.1-deb-1nodesource1) ... Setting up git-man (1:2.30.2-1+deb11u2) ... Setting up libtiff5:armhf (4.2.0-1+deb11u4) ... Setting up git (1:2.30.2-1+deb11u2) ... Processing triggers for libc-bin (2.31-13+deb11u5) ... Done. Registering maintenance script as command... Done. -------------------------------------------------------------------------------- ----- Step 2 of 5: Detecting ioBroker installation ----- -------------------------------------------------------------------------------- Existing installation of ioBroker detected in "/opt/iobroker". -------------------------------------------------------------------------------- ----- Step 3 of 5: Checking ioBroker installation ----- -------------------------------------------------------------------------------- (Re)setting permissions (This might take a while! Please be patient!)... Done. Fixing "sudo-bug" by replacing sudo with gosu... Done. [DEBUG] Detected admin instance is: system.adapter.admin.0 [DEBUG] Detected admin hostname is: 73ab4d518d28 Hostname in ioBroker matches the hostname of this container. No action required. [DEBUG] Collecting some more ioBroker debug information... [DEBUG] ##### iobroker list instances ##### [DEBUG] system.adapter.admin.0 : admin : 73ab4d518d28 - enabled, port: 8081, bind: 0.0.0.0, run as: admin [DEBUG] system.adapter.backitup.0 : backitup : 73ab4d518d28 - enabled [DEBUG] system.adapter.chromecast.0 : chromecast : 73ab4d518d28 - disabled [DEBUG] system.adapter.discovery.0 : discovery : 73ab4d518d28 - disabled [DEBUG] system.adapter.heatingcontrol.0 : heatingcontrol : 73ab4d518d28 - disabled [DEBUG] system.adapter.hm-rega.0 : hm-rega : 73ab4d518d28 - disabled [DEBUG] system.adapter.hm-rpc.0 : hm-rpc : 73ab4d518d28 - disabled, port: 1880 [DEBUG] system.adapter.hmip.0 : hmip : 73ab4d518d28 - disabled [DEBUG] system.adapter.info.0 : info : 73ab4d518d28 - disabled [DEBUG] system.adapter.mqtt.0 : mqtt : 73ab4d518d28 - disabled, port: 1883, bind: 172.20.0.2 [DEBUG] system.adapter.node-red.0 : node-red : 73ab4d518d28 - disabled, port: 1880, bind: 0.0.0.0 [DEBUG] system.adapter.samsung.0 : samsung : 73ab4d518d28 - disabled [DEBUG] system.adapter.shelly.0 : shelly : 73ab4d518d28 - disabled, port: 1882, bind: 0.0.0.0 [DEBUG] system.adapter.spotify-premium.0 : spotify-premium : 73ab4d518d28 - disabled [DEBUG] system.adapter.telegram.0 : telegram : 73ab4d518d28 - disabled, port: 8443, bind: 0.0.0.0 [DEBUG] system.adapter.web.0 : web : 73ab4d518d28 - disabled, port: 8082, bind: 0.0.0.0, run as: admin [DEBUG] + instance is alive [DEBUG] ##### iobroker repo list ##### [DEBUG] stable : http://download.iobroker.net/sources-dist.json [DEBUG] beta : http://download.iobroker.net/sources-dist-latest.json [DEBUG] Active repo(s): stable [DEBUG] ##### iobroker update ##### [DEBUG] Used repository: stable [DEBUG] Adapter "admin" : 6.3.5 , installed 6.3.5 [DEBUG] Adapter "backitup" : 2.5.12 , installed 2.5.12 [DEBUG] Controller "js-controller": 4.0.24 , installed 4.0.24 -------------------------------------------------------------------------------- ----- Step 4 of 5: Applying special settings ----- -------------------------------------------------------------------------------- Some adapters have special requirements/ settings which can be activated by the use of environment variables. For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/). -------------------------------------------------------------------------------- ----- Step 5 of 5: ioBroker startup ----- -------------------------------------------------------------------------------- Starting ioBroker... ##### #### ### ## # iobroker.js-controller log output # ## ### #### ##### ================================== > LOG REDIRECT system.adapter.admin.0 => true [starting] host.e4b4be3f90b3 check instance "system.adapter.admin.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.node-red.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.telegram.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.hm-rega.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.hm-rpc.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.hmip.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.mqtt.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.samsung.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.shelly.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.spotify-premium.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.discovery.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.backitup.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.chromecast.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.heatingcontrol.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.info.0" for host "73ab4d518d28" host.e4b4be3f90b3 check instance "system.adapter.web.0" for host "73ab4d518d28"
Ich weiß zwar nicht was genau es tut aber
root@73ab4d518d28:/opt/iobroker# iobroker validate backups/iobroker_2023_02_22-02_40_10_backupiobroker.tar.gz host.e4b4be3f90b3 Starting validation ... host.e4b4be3f90b3 backup.json OK Backup OK
Weiß jemand Rat?
-
@streifenkarl
Betreibst Du den Container im Bridge-Mode?
Hast Du dann auch die benötigten Ports an den Container durchgereicht? -
@codierknecht
Ja.
8081, 1883, 1880
Wie gesagt. Das funktioniert auch alles bis ich das Backup einspiele und dann ist es nicht mehr erreichbar -
@streifenkarl Mal im Log geschaut ob das "Restore" wirklich fertig ist?
-
@wendy2702
Es gibt keinen restore. Zumindest nicht im Ordner /opt/iobroker/logAllerdings ist mir beim durchsuchen der logs aufgefallen dass sich der hostname nach dem backup geändert hat.
2023-02-26 22:03:48.192 - info: host.73ab4d518d28 stopInstance system.adapter.backitup.0 send kill signal 2023-02-26 22:03:48.191 - info: backitup.0 (265) cleaned everything up... 2023-02-26 22:03:48.193 - info: backitup.0 (265) terminating 2023-02-26 22:03:48.197 - info: backitup.0 (265) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-26 22:03:48.186 - info: admin.0 (211) terminating http server on port 8081 2023-02-26 22:03:48.196 - info: admin.0 (211) terminating 2023-02-26 22:03:48.200 - info: admin.0 (211) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-26 22:03:48.752 - info: host.73ab4d518d28 instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-02-26 22:03:48.761 - info: host.73ab4d518d28 instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-02-26 22:03:48.762 - info: host.73ab4d518d28 All instances are stopped. 2023-02-26 22:03:48.859 - info: host.73ab4d518d28 terminated 2023-02-26 22:08:24.969 - info: host.e4b4be3f90b3 iobroker.js-controller version 4.0.24 js-controller starting 2023-02-26 22:08:24.976 - info: host.e4b4be3f90b3 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-02-26 22:08:24.977 - info: host.e4b4be3f90b3 hostname: e4b4be3f90b3, node: v16.19.1
Deswegen hab ich in der console folgendes ausprobiert.
pkill iobroker iobroker host this iobroker start
Jetzt funktioniert es wieder. Ich hoffe das es diesmal länger hält.
Vielen Dank für eure Mühe. -
@streifenkarl OK.
Dann Editiere doch bitte den ersten Beitrag und setze ein [Gelöst] vor die Überschrift.