Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup kann nicht eingespielt werden - iobroker stürzt ab

    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

    Backup kann nicht eingespielt werden - iobroker stürzt ab

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @oetzi last edited by

      @oetzi

      Naja, so ein uraltes Backup braucht ja auch kein Mensch.

      oetzi 1 Reply Last reply Reply Quote 0
      • oetzi
        oetzi @Thomas Braun last edited by

        @thomas-braun said in Backup kann nicht eingespielt werden - iobroker stürzt ab:

        @oetzi

        Naja, so ein uraltes Backup braucht ja auch kein Mensch.

        In wie weit soll so ein Kommentar jetzt genau helfen...?

        Das Backup selbst war ca. ein halbes Jahr alt. Mag sein, dass die Adapter damals nicht alle auf dem aktuellsten Stand waren. Es war aber ein lauffähiges System, was gesichert wurde und daher hätte ich wie eben geschrieben stark erwartet, dass das System wieder vollständig läuft, wenn ich es wiederherstelle.

        Wie auch immer, hier ein aktuelles Debug Log:

        2022-07-04 19:50:49.223 - info: backitup.0 (685) Got terminate signal TERMINATE_YOURSELF
        2022-07-04 19:50:49.225 - info: backitup.0 (685) cleaned everything up...
        2022-07-04 19:50:49.229 - info: backitup.0 (685) terminating
        2022-07-04 19:50:49.230 - debug: backitup.0 (685) Plugin sentry destroyed
        2022-07-04 19:50:49.230 - info: backitup.0 (685) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        2022-07-04 19:50:49.300 - info: host.iobroker stopInstance system.adapter.backitup.0 send kill signal
        2022-07-04 19:50:49.807 - info: host.iobroker instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        2022-07-04 19:50:52.385 - info: host.iobroker instance system.adapter.backitup.0 started with pid 1812
        2022-07-04 19:50:53.529 - debug: backitup.0 (1812) Redis Objects: Use Redis connection: 127.0.0.1:9001
        2022-07-04 19:50:53.588 - debug: backitup.0 (1812) Objects client ready ... initialize now
        2022-07-04 19:50:53.599 - debug: backitup.0 (1812) Objects create System PubSub Client
        2022-07-04 19:50:53.601 - debug: backitup.0 (1812) Objects create User PubSub Client
        2022-07-04 19:50:53.634 - debug: backitup.0 (1812) Objects client initialize lua scripts
        2022-07-04 19:50:53.641 - debug: backitup.0 (1812) Objects connected to redis: 127.0.0.1:9001
        2022-07-04 19:50:53.666 - debug: backitup.0 (1812) Redis States: Use Redis connection: 127.0.0.1:9000
        2022-07-04 19:50:53.678 - debug: backitup.0 (1812) States create System PubSub Client
        2022-07-04 19:50:53.680 - debug: backitup.0 (1812) States create User PubSub Client
        2022-07-04 19:50:53.739 - debug: backitup.0 (1812) States connected to redis: 127.0.0.1:9000
        2022-07-04 19:50:53.802 - debug: backitup.0 (1812) Plugin sentry Initialize Plugin (enabled=true)
        2022-07-04 19:50:54.142 - info: backitup.0 (1812) starting. Version 2.4.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.15.1, js-controller: 4.0.21
        2022-07-04 19:50:54.196 - debug: backitup.0 (1812) Backitup has recognized a Docker system
        2022-07-04 19:50:54.219 - info: backitup.0 (1812) [iobroker] backup was activated at 02:00 every 7 day(s)
        2022-07-04 19:50:54.327 - info: backitup.0 (1812) [ccu] backup was activated at 01:30 every 7 day(s)
        2022-07-04 19:50:54.350 - debug: backitup.0 (1812) No backup file was found
        

        Teste jetzt gleich mal, ob ich von diesem Stand aus über backitup arbeiten kann.

        oetzi simatec Thomas Braun 3 Replies Last reply Reply Quote 0
        • oetzi
          oetzi @oetzi last edited by oetzi

          Nope

          37b6adae-8b5c-41bf-9276-0cd9373d3d8b-grafik.png

          Hab ein frisches Backup erstellen lassen und versucht dieses direkt wieder einzuspielen.

          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @oetzi last edited by

            @oetzi Naja mit der Version war Docker noch nicht vollumfänglich unterstützt.
            Darum bitte erst mal auf aktuellen Stand bringen.

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @oetzi last edited by Thomas Braun

              @oetzi sagte in Backup kann nicht eingespielt werden - iobroker stürzt ab:

              Version 2.4.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.15.1, js-controller: 4.0.21

              Immer noch keine aktuellen Versionen. Patch das System durch. Komplett, ganz, total, ALLES.

              simatec 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @oetzi last edited by

                @oetzi Zeige doch mal, was in der Debugkonsole deines Browsers steht.
                Hast du nur Firefox? Versuche sonst mal bitte zum testen Chrome.

                Unabhängig von der fehlenden Verfügbarkeit der Restore Page sollte der Restore im Hintergrund laufen

                Bitte auch nochmal ein Debuglog vom Start des Adapters. Wird Docker erkannt?

                1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @Thomas Braun last edited by

                  @thomas-braun korrekt… js-Controller ist auch sehr alt

                  oetzi 1 Reply Last reply Reply Quote 0
                  • oetzi
                    oetzi @simatec last edited by oetzi

                    @simatec said in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                    @thomas-braun korrekt… js-Controller ist auch sehr alt

                    Ach kommt...
                    f36ebde1-a2e3-4be5-aaae-3c4922fd05ef-grafik.png
                    Wo ist das denn bitte "sehr alt"?!

                    Aber okay, neben backitup auf 2.4.9 habe ich auch das Update des js-controllers gemacht.

                    @simatec said in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                    Bitte auch nochmal ein Debuglog vom Start des Adapters. Wird Docker erkannt?

                    Hier das aktuelle Log. Diesmal auch mit "Backitup has recognized a Docker system"

                    2022-07-04 20:46:57.923 - info: host.iobroker "system.adapter.backitup.0" enabled
                    2022-07-04 20:46:58.136 - info: host.iobroker instance system.adapter.backitup.0 started with pid 1828
                    2022-07-04 20:46:59.395 - debug: backitup.0 (1828) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    2022-07-04 20:46:59.464 - debug: backitup.0 (1828) Objects client ready ... initialize now
                    2022-07-04 20:46:59.468 - debug: backitup.0 (1828) Objects create System PubSub Client
                    2022-07-04 20:46:59.469 - debug: backitup.0 (1828) Objects create User PubSub Client
                    2022-07-04 20:46:59.504 - debug: backitup.0 (1828) Objects client initialize lua scripts
                    2022-07-04 20:46:59.512 - debug: backitup.0 (1828) Objects connected to redis: 127.0.0.1:9001
                    2022-07-04 20:46:59.537 - debug: backitup.0 (1828) Redis States: Use Redis connection: 127.0.0.1:9000
                    2022-07-04 20:46:59.548 - debug: backitup.0 (1828) States create System PubSub Client
                    2022-07-04 20:46:59.549 - debug: backitup.0 (1828) States create User PubSub Client
                    2022-07-04 20:46:59.587 - debug: backitup.0 (1828) States connected to redis: 127.0.0.1:9000
                    2022-07-04 20:46:59.656 - debug: backitup.0 (1828) Plugin sentry Initialize Plugin (enabled=true)
                    2022-07-04 20:47:00.155 - info: backitup.0 (1828) starting. Version 2.4.9 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.15.1, js-controller: 4.0.23
                    2022-07-04 20:47:00.212 - debug: backitup.0 (1828) Backitup has recognized a Docker system
                    2022-07-04 20:47:00.234 - info: backitup.0 (1828) [iobroker] backup was activated at 02:00 every 7 day(s)
                    2022-07-04 20:47:00.471 - info: backitup.0 (1828) [ccu] backup was activated at 01:30 every 7 day(s)
                    2022-07-04 20:47:00.494 - debug: backitup.0 (1828) No backup file was found
                    

                    Mit dem Chrome sieht es so aus:
                    66e3a590-9688-4278-8e34-ad31b3468a32-grafik.png
                    Zwar weniger Text, aber wohl das gleiche Problem.

                    Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @oetzi last edited by

                      @oetzi sagte in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                      Wo ist das denn bitte "sehr alt"?!

                      Alles was als 'updateable' markiert ist ist veraltet.

                      1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @oetzi last edited by

                        @oetzi hast du https aktiv?
                        Was sagt die Browserkonsole? Gibt es da eine Fehlermeldung?

                        oetzi 1 Reply Last reply Reply Quote 0
                        • oetzi
                          oetzi @simatec last edited by oetzi

                          @simatec
                          Nein, kein https.

                          Die Browserkonsole schmeißt Fehler:
                          97ec48f2-d614-4488-aa7e-beb0e58e206c-grafik.png

                          Hier der Inhalt des Screenshot nochmal als Text:

                          21:28:32.449 "Started restore ...": {"en": "Started restore ...", "de": "Started restore ...", "ru": "Started restore ...", "pt": "Started restore ...", "nl": "Started restore ...", "fr": "Started restore ...", "es": "Started restore ...", "pl": "Started restore ...", "it": "Started restore ...", "zh-cn": "Started restore ..."}, translate.js:24:17
                          21:28:32.454 "ioBroker will be stopped and started again. Please wait": {"en": "ioBroker will be stopped and started again. Please wait", "de": "ioBroker will be stopped and started again. Please wait", "ru": "ioBroker will be stopped and started again. Please wait", "pt": "ioBroker will be stopped and started again. Please wait", "nl": "ioBroker will be stopped and started again. Please wait", "fr": "ioBroker will be stopped and started again. Please wait", "es": "ioBroker will be stopped and started again. Please wait", "pl": "ioBroker will be stopped and started again. Please wait", "it": "ioBroker will be stopped and started again. Please wait", "zh-cn": "ioBroker will be stopped and started again. Please wait"}, translate.js:24:17
                          21:28:32.484 Restore finish! tab_m.js:334:53
                          21:28:32.485 Restore Url: http://192.168.178.200:8091/backitup-restore.html tab_m.js:337:57
                          21:28:34.284
                          [2022-07-04T19:28:34.284Z] ws connection error: CLOSE_ABNORMAL 6.0126dbd0.chunk.js:2:6258764
                          21:28:34.307 [2022-07-04T19:28:34.307Z] Start reconnect 0 6.0126dbd0.chunk.js:2:6258764
                          21:28:34.312 [2022-07-04T19:28:34.313Z] Try to connect 6.0126dbd0.chunk.js:2:6258764
                          21:28:34.313
                          [2022-07-04T19:28:34.313Z] ws connection error: CLOSE_ABNORMAL socket.io.js:61:32
                          21:28:34.313 [2022-07-04T19:28:34.313Z] Start reconnect 0 socket.io.js:59:41
                          21:28:34.313 [2022-07-04T19:28:34.313Z] Try to connect socket.io.js:59:41
                          21:28:36.390 Source map error: Error: NetworkError when attempting to fetch resource.
                          Resource URL: http://192.168.178.200:8081/static/js/6.0126dbd0.chunk.js
                          Source Map URL: 6.0126dbd0.chunk.js.map
                          
                          21:28:36.638 Firefox can’t establish a connection to the server at ws://192.168.178.200:8081/?sid=1656962914313&name=admin. socket.io.js:94:21
                          21:28:36.639 [2022-07-04T19:28:36.639Z] Start reconnect 1 6.0126dbd0.chunk.js:2:6258764
                          21:28:36.639
                          [2022-07-04T19:28:36.640Z] ws connection error: CLOSE_ABNORMAL 6.0126dbd0.chunk.js:2:6258764
                          21:28:36.639 [2022-07-04T19:28:36.640Z] Reconnect is already running 1 6.0126dbd0.chunk.js:2:6258764
                          21:28:37.320 [2022-07-04T19:28:37.321Z] No READY flag received in 3 seconds. Re-init socket.io.js:60:32
                          21:28:37.321 [2022-07-04T19:28:37.321Z] Start reconnect 1 socket.io.js:59:41
                          21:28:37.321 Firefox can’t establish a connection to the server at ws://192.168.178.200:8081/?sid=1656962914313. socket.io.js:94:21
                          21:28:37.322 The connection to ws://192.168.178.200:8081/?sid=1656962914313 was interrupted while the page was loading. socket.io.js:94:21
                          21:28:37.322 [2022-07-04T19:28:37.322Z] Reconnect is already running 1 socket.io.js:59:41
                          21:28:37.322
                          [2022-07-04T19:28:37.322Z] ws connection error: CLOSE_ABNORMAL socket.io.js:61:32
                          21:28:37.322 [2022-07-04T19:28:37.322Z] Reconnect is already running 1
                          
                          Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @oetzi last edited by Glasfaser

                            @oetzi

                            Logausgaben bitte in Code-Tags </>

                            das kann keiner lesen .!

                            EDIT :

                            und diese Ausgabe ist immer gekürzt im Browser !!

                            oetzi 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @oetzi last edited by

                              @oetzi

                              iobroker update -i
                              
                              1 Reply Last reply Reply Quote 0
                              • oetzi
                                oetzi @Glasfaser last edited by

                                @glasfaser
                                Doch, einfach einmal drauf klicken.
                                Hatte es erst in Code Tags (wie ja auch in den vielen Posts davor) und das war nicht gut leserlich. Insbesondere die Errors ließen sich nicht erkennen.

                                Glasfaser 2 Replies Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @oetzi last edited by

                                  @oetzi sagte in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                                  @glasfaser
                                  Doch, einfach einmal drauf klicken.
                                  Hatte es erst in Code Tags (wie ja auch in den vielen Posts davor) und das war nicht gut leserlich. Insbesondere die Errors ließen sich nicht erkennen.

                                  Nochmal ... in Code Tags setzen .

                                  Hinweis :
                                  diese Ausgabe ist immer gekürzt im Browser !!

                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @oetzi last edited by

                                    @oetzi sagte in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                                    @glasfaser
                                    Doch, einfach einmal drauf klicken.

                                    Wir weisen nicht immer umsonst darauf hin ,

                                    denn .... dann kann man im Forum danach suchen ( Fehlermeldung ) bzw. daraus zitieren .

                                    Bei Bildern geht das nicht 😉

                                    oetzi 1 Reply Last reply Reply Quote 0
                                    • oetzi
                                      oetzi @Glasfaser last edited by

                                      Leute! Was ist das denn teilweise für eine Art miteinander zu kommunizieren?!
                                      Ich versuche so gut es geht sowohl das Problem zu schildern, die Hinweise umzusetzen und den Kram hier aufzubereiten.
                                      Dabei ist es sicherlich schwer immer alles perfekt zu machen, aber was und vor allem wie dann manch einer hier reagiert halte ich für ziemlich unangebracht. So würdet ihr (hoffentlich!) im Reallife mit keinem reden!

                                      @glasfaser said in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                                      @oetzi sagte in Backup kann nicht eingespielt werden - iobroker stürzt ab:

                                      @glasfaser
                                      

                                      Doch, einfach einmal drauf klicken.

                                      Wir weisen nicht immer umsonst darauf hin ,

                                      denn .... dann kann man im Forum danach suchen ( Fehlermeldung ) bzw. daraus zitieren .

                                      Bei Bildern geht das nicht 😉

                                      Ah, guck mal. Da kam doch noch eine nachvollziehbare Erklärung hinterher. Deutlich umgänglicher als das davor. Danke!
                                      Jetzt wo ich den Grund kenne (durchsuchbar) ergänze ich oben gerne noch die Code-Tag Variante parallel.
                                      Der Screenshot ist und bleibt für Simatec wohl deutlich besser lesbar.

                                      Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @oetzi last edited by Thomas Braun

                                        @oetzi

                                        Da fetzt es irgendwo mit den websockets

                                        sid=1656962914313 was interrupted while the page was loading. socket.io.js:94:21

                                        iobroker update -i
                                        

                                        bringt?

                                        Läuft auf dem Port 8081 vielleicht schon irgendwas anderes?

                                        sudo netstat -tulpen
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @oetzi last edited by

                                          @oetzi Interessant wäre, was so alles bei dir an Adaptern läuft.
                                          Hast du irgend einen Dienst oder Adapter auf Port 8091 laufen?
                                          Zeige mal die Ausgabe von

                                          iobroker list instances
                                          

                                          Ich würde trotzdem gerne mal die Config des Containers sehen.
                                          Welche Ports werden durchgereicht?

                                          oetzi 1 Reply Last reply Reply Quote 0
                                          • oetzi
                                            oetzi @simatec last edited by

                                            @simatec
                                            Hier auf die Schnelle die beiden Konsolenausgaben. Muss jetzt zur Arbeit, ggf. heute Abend mehr.

                                            root@iobroker:/opt/iobroker# sudo netstat -tulpen
                                            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      1000       197579387  -                   
                                            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       197580962  -                   
                                            tcp        0      0 127.0.0.11:41229        0.0.0.0:*               LISTEN      0          197576579  -                   
                                            tcp6       0      0 :::8081                 :::*                    LISTEN      1000       197581217  -                   
                                            tcp6       0      0 :::8082                 :::*                    LISTEN      1000       197583932  -                   
                                            udp        0      0 127.0.0.11:38707        0.0.0.0:*                           0          197576578  -                   
                                            root@iobroker:/opt/iobroker# iobroker list instances
                                            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                              system.adapter.alexa2.0                 : alexa2                : iobroker                                 - disabled
                                            + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                                              system.adapter.deconz.0                 : deconz                : iobroker                                 - disabled, port: 80
                                              system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
                                              system.adapter.hm-rega.0                : hm-rega               : iobroker                                 - disabled
                                              system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 - disabled, port: 18701
                                              system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 - disabled, port: 12001
                                              system.adapter.hm-rpc.2                 : hm-rpc                : iobroker                                 - disabled, port: 12010
                                              system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 - disabled
                                            + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
                                              system.adapter.iot.0                    : iot                   : iobroker                                 - disabled
                                            + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                                            + system.adapter.linkeddevices.0          : linkeddevices         : iobroker                                 -  enabled
                                              system.adapter.openweathermap.0         : openweathermap        : iobroker                                 - disabled
                                              system.adapter.pushover.0               : pushover              : iobroker                                 - disabled
                                              system.adapter.tr-064.0                 : tr-064                : iobroker                                 - disabled
                                              system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 - disabled
                                              system.adapter.vis-history.0            : vis-history           : iobroker                                 - disabled
                                              system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
                                              system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 - disabled
                                              system.adapter.vis-material-advanced.0  : vis-material-advanced : iobroker                                 - disabled
                                              system.adapter.vis.0                    : vis                   : iobroker                                 - disabled
                                            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            + instance is alive
                                            
                                            simatec 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

                                            479
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            45
                                            2609
                                            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