Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Migration von Docker IOB auf PI4 möglich?

    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

    Migration von Docker IOB auf PI4 möglich?

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

      Genau das habe ich ja gemacht 😉
      Ich habe ein Backup in der Cloud gesichert und dann auf dem PI4 wiederhergestellt.

      Thomas Braun paul53 Homoran 3 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Fuga last edited by

        @fuga

        Und wie stellt sich das Backup im Log File dar?

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Fuga last edited by

          @fuga sagte: gesichert und dann auf dem PI4 wiederhergestellt.

          Mal versucht?

          iob stop
          iob host this
          iob start
          
          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Fuga last edited by

            @fuga sagte in Migration von Docker IOB auf PI4 möglich?:

            Genau das habe ich ja gemacht 😉
            Ich habe ein Backup in der Cloud gesichert und dann auf dem PI4 wiederhergestellt.

            mit Backitup?

            lange genug gewartet (1h)?

            1 Reply Last reply Reply Quote 0
            • F
              Fuga last edited by Fuga

              @homoran das dauert eine stunde?? Er hatte nach 10 Minuten gesagt wiederhergestellt und neu gestartet.
              Ich habe auch noch einen Fehler gefunden: Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!

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

                @fuga

                Unter Umständen.

                Im Log File sieht man den Fortgang.

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Fuga last edited by Homoran

                  @fuga sagte in Migration von Docker IOB auf PI4 möglich?:

                  Er hatte nach 10 Minuten gesagt wiederhergestellt und neu gestartet.

                  und dann werden alle Adapter gür die geänderte Hardware und ggf andere nodeþnpm Version neu installiert.

                  Die Meldung kommt bereits, wenn die Konfigurationsdateien und die Objects/states aus dem Backup wiederhergestellt wurden

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fuga last edited by

                    Ich werde es heute abend noch mal versuchen und dann auf das Log achten. Kann ich das über cli öffnen und dann den Fortschritt verfolgen? Sorry habe da nicht so den Plan. Danke

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

                      @fuga

                      iobroker logs --watch | uniq
                      
                      1 Reply Last reply Reply Quote 0
                      • F
                        Fuga last edited by Homoran

                        Hier mal ein zwischenstand. ich lasse das jetzt mal laufen:

                        2022-06-25 19:12:50.164  - info: backitup.0 (5969) [iobroker] backup was activated at 02:40 every 1 day(s)
                        2022-06-25 19:14:07.230  - info: host.raspberrypi stopInstance system.adapter.backitup.0 (force=false, process=true)
                        2022-06-25 19:14:07.274  - info: backitup.0 (5969) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:07.275  - info: backitup.0 (5969) cleaned everything up...
                        2022-06-25 19:14:07.276  - info: backitup.0 (5969) terminating
                        2022-06-25 19:14:07.278  - info: backitup.0 (5969) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        2022-06-25 19:14:07.312  - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal
                        2022-06-25 19:14:07.820  - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                        2022-06-25 19:14:07.230  - info: host.raspberrypi stopInstance system.adapter.backitup.0 (force=false, process=true)
                        2022-06-25 19:14:07.274  - info: backitup.0 (5969) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:07.275  - info: backitup.0 (5969) cleaned everything up...
                        2022-06-25 19:14:07.276  - info: backitup.0 (5969) terminating
                        2022-06-25 19:14:07.278  - info: backitup.0 (5969) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        2022-06-25 19:14:07.312  - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal
                        2022-06-25 19:14:07.820  - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                        2022-06-25 19:14:10.369  - info: host.raspberrypi instance system.adapter.backitup.0 started with pid 5985
                        2022-06-25 19:14:11.916  - info: backitup.0 (5985) starting. Version 2.4.9 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.12, js-controller: 4.0.23
                        2022-06-25 19:14:11.981  - info: backitup.0 (5985) [iobroker] backup was activated at 02:40 every 1 day(s)
                        2022-06-25 19:14:11.916  - info: backitup.0 (5985) starting. Version 2.4.9 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.12, js-controller: 4.0.23
                        2022-06-25 19:14:11.981  - info: backitup.0 (5985) [iobroker] backup was activated at 02:40 every 1 day(s)
                        2022-06-25 19:14:30.551  - info: backitup.0 (5985) cleaned everything up...
                        2022-06-25 19:14:30.553  - info: host.raspberrypi received SIGTERM
                        2022-06-25 19:14:30.552  - info: admin.0 (5894) terminating http server on port 8081
                        2022-06-25 19:14:30.555  - info: host.raspberrypi stopInstance system.adapter.admin.0 (force=false, process=true)
                        2022-06-25 19:14:30.556  - info: host.raspberrypi stopInstance system.adapter.discovery.0 (force=false, process=true)
                        2022-06-25 19:14:30.557  - info: host.raspberrypi stopInstance system.adapter.backitup.0 (force=false, process=true)
                        2022-06-25 19:14:30.576  - info: discovery.0 (5909) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:30.578  - info: backitup.0 (5985) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.579  - info: discovery.0 (5909) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.584  - info: backitup.0 (5985) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:30.585  - info: host.raspberrypi stopInstance system.adapter.admin.0 send kill signal
                        2022-06-25 19:14:30.587  - info: host.raspberrypi stopInstance system.adapter.discovery.0 send kill signal
                        2022-06-25 19:14:30.576  - info: admin.0 (5894) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.588  - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal
                        2022-06-25 19:14:30.596  - info: admin.0 (5894) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:31.119  - info: host.raspberrypi instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.138  - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.149  - info: host.raspberrypi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.152  - info: host.raspberrypi All instances are stopped.
                        2022-06-25 19:14:31.193  - info: host.raspberrypi terminated
                        2022-06-25 19:14:30.551  - info: backitup.0 (5985) cleaned everything up...
                        2022-06-25 19:14:30.553  - info: host.raspberrypi received SIGTERM
                        2022-06-25 19:14:30.552  - info: admin.0 (5894) terminating http server on port 8081
                        2022-06-25 19:14:30.555  - info: host.raspberrypi stopInstance system.adapter.admin.0 (force=false, process=true)
                        2022-06-25 19:14:30.556  - info: host.raspberrypi stopInstance system.adapter.discovery.0 (force=false, process=true)
                        2022-06-25 19:14:30.557  - info: host.raspberrypi stopInstance system.adapter.backitup.0 (force=false, process=true)
                        2022-06-25 19:14:30.576  - info: discovery.0 (5909) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:30.578  - info: backitup.0 (5985) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.579  - info: discovery.0 (5909) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.584  - info: backitup.0 (5985) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:30.585  - info: host.raspberrypi stopInstance system.adapter.admin.0 send kill signal
                        2022-06-25 19:14:30.587  - info: host.raspberrypi stopInstance system.adapter.discovery.0 send kill signal
                        2022-06-25 19:14:30.576  - info: admin.0 (5894) Got terminate signal TERMINATE_YOURSELF
                        2022-06-25 19:14:30.588  - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal
                        2022-06-25 19:14:30.596  - info: admin.0 (5894) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                        2022-06-25 19:14:31.119  - info: host.raspberrypi instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.138  - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.149  - info: host.raspberrypi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2022-06-25 19:14:31.152  - info: host.raspberrypi All instances are stopped.
                        2022-06-25 19:14:31.193  - info: host.raspberrypi terminated
                        
                        2022-06-25 19:16:55.061  - info: host.f612e8de0886 iobroker.js-controller version 4.0.23 js-controller starting
                        2022-06-25 19:16:55.067  - info: host.f612e8de0886 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                        2022-06-25 19:16:55.068  - info: host.f612e8de0886 hostname: f612e8de0886, node: v12.22.12
                        2022-06-25 19:16:55.068  - info: host.f612e8de0886 ip addresses: 192.168.1.3 fe80::d17a:9f4c:b584:4595
                        2022-06-25 19:16:55.061  - info: host.f612e8de0886 iobroker.js-controller version 4.0.23 js-controller starting
                        2022-06-25 19:16:55.067  - info: host.f612e8de0886 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                        2022-06-25 19:16:55.068  - info: host.f612e8de0886 hostname: f612e8de0886, node: v12.22.12
                        2022-06-25 19:16:55.068  - info: host.f612e8de0886 ip addresses: 192.168.1.3 fe80::d17a:9f4c:b584:4595
                        2022-06-25 19:16:56.853  - info: host.f612e8de0886 connected to Objects and States
                        2022-06-25 19:16:56.934  - info: host.f612e8de0886 added notifications configuration of host
                        2022-06-25 19:16:56.941  - info: host.f612e8de0886 Node.js version has changed from 12.20.1 to 12.22.12
                        2022-06-25 19:16:57.001  - info: host.f612e8de0886 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                        2022-06-25 19:16:56.853  - info: host.f612e8de0886 connected to Objects and States
                        2022-06-25 19:16:56.934  - info: host.f612e8de0886 added notifications configuration of host
                        2022-06-25 19:16:56.941  - info: host.f612e8de0886 Node.js version has changed from 12.20.1 to 12.22.12
                        2022-06-25 19:16:57.001  - info: host.f612e8de0886 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                        2022-06-25 19:16:57.741  - info: host.f612e8de0886 Delete host system.host.raspberrypi
                        2022-06-25 19:16:57.917  - info: host.f612e8de0886 71 instances found
                        2022-06-25 19:16:57.947  - warn: host.f612e8de0886 does not start any instances on this host
                        2022-06-25 19:16:57.741  - info: host.f612e8de0886 Delete host system.host.raspberrypi
                        2022-06-25 19:16:57.917  - info: host.f612e8de0886 71 instances found
                        2022-06-25 19:16:57.947  - warn: host.f612e8de0886 does not start any instances on this host
                        
                        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Fuga last edited by Thomas Braun

                          @fuga

                          Deine Systemzeit ist auch falsch eingestellt, scheint mir.

                          Deine node-Version ist zu niedrig:

                          Node.js version has changed from 12.20.1 to 12.22.12
                          
                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Fuga last edited by

                            @fuga Multihost?

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Fuga @Homoran last edited by

                              @homoran nein eigentlich nicht.
                              @Thomas-Braun heißt erst den alten auf die gleiche Version bringen und dann nochmal?

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

                                @fuga

                                Ich würden den Docker auf nodejs16 bringen, wenn das läuft davon ein Backup ziehen, dann im Pi einen leeren iobroker installieren, der bringt dann auch gleich node16 mit und dann da das Backup einspielen.

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

                                  @thomas-braun okay probiere ich und gebe Rückmeldung. danke

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Fuga last edited by

                                    @fuga sagte in Migration von Docker IOB auf PI4 möglich?:

                                    nein eigentlich nicht.

                                    warum dann zwei unterschiedliche Hostnamen?

                                    Außerdem ist die Feage noch offen.

                                    @homoran sagte in Migration von Docker IOB auf PI4 möglich?:

                                    mit Backitup?

                                    bitte immer zeitnah antworten.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Fuga @Homoran last edited by Fuga

                                      @homoran sorry bin ein wenig langsam 😉 ja das Backup habe ich mit Backitup gemacht. Den Hostnamen hatte ich nicht beachtet. Spielt das eine rolle?

                                      Homoran 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Fuga last edited by

                                        @fuga Backitup macht ein iobroker host this bevor iobroker gestartet wird, dann wird die noch offene Frage

                                        @homoran sagte in Migration von Docker IOB auf PI4 möglich?:

                                        warum dann zwei unterschiedliche Hostnamen?

                                        erst recht interessant

                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Fuga last edited by

                                          @fuga sagte in Migration von Docker IOB auf PI4 möglich?:

                                          Spielt das eine rolle?

                                          bitte nicht editieren, das liest nachträglich niemand mehr.

                                          ja spielt es. bei nicht identischem Hostnamen i.Vgl. zum Backup startet womöglich die Installation nicht

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Fuga @Homoran last edited by

                                            @homoran okay dann werde ich das anpassen und einen neuen versuch starten. Gibt es probleme wenn 2 gleiche Hostnamen in einem Netztwerk sind? ich will den alten erst runterfahren wenn der neue funktioniert. danke

                                            Thomas Braun Homoran 2 Replies 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

                                            461
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            47
                                            2469
                                            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