Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Oberfläche nach Backup nicht mehr erreichbar

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Oberfläche nach Backup nicht mehr erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      StreifenKarl last edited by StreifenKarl

      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?

      Codierknecht 1 Reply Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @StreifenKarl last edited by

        @streifenkarl
        Betreibst Du den Container im Bridge-Mode?
        Hast Du dann auch die benötigten Ports an den Container durchgereicht?

        S 1 Reply Last reply Reply Quote 0
        • S
          StreifenKarl @Codierknecht last edited by StreifenKarl

          @codierknecht
          Ja.
          8081, 1883, 1880
          Wie gesagt. Das funktioniert auch alles bis ich das Backup einspiele und dann ist es nicht mehr erreichbar

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @StreifenKarl last edited by

            @streifenkarl Mal im Log geschaut ob das "Restore" wirklich fertig ist?

            S 1 Reply Last reply Reply Quote 0
            • S
              StreifenKarl @wendy2702 last edited by StreifenKarl

              @wendy2702
              Es gibt keinen restore. Zumindest nicht im Ordner /opt/iobroker/log

              Allerdings 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.

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @StreifenKarl last edited by

                @streifenkarl OK.

                Dann Editiere doch bitte den ersten Beitrag und setze ein [Gelöst] vor die Überschrift.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate
                FAQ Cloud / IOT
                HowTo: Node.js-Update
                HowTo: Backup/Restore
                Downloads
                BLOG

                963
                Online

                31.9k
                Users

                80.1k
                Topics

                1.3m
                Posts

                3
                6
                346
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo