Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Restore von minimalen Backup funktioniert nicht!

    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

    Restore von minimalen Backup funktioniert nicht!

    This topic has been deleted. Only users with topic management privileges can see it.
    • MyzerAT
      MyzerAT @simatec last edited by

      @simatec

      mit Version 1.3.6

      und

      @simatec sagte in Restore von minimalen Backup funktioniert nicht!:

      Führe mal folgendes aus und starte im Anschluss neu
      iobroker host this

      habe ich ja bereits gemacht, log ist im Beitrag ober dir:
      fd60236d-3e49-43a8-b91f-eb6b7fb33876-grafik.png

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

        @MyzerAT
        Redis installiert und iobroker richtig für die states und objects konfiguriert?
        Wenn du vorher redis für states und objects hattest, musst du zuerst die redis db wiederherstellen und dann erst iobroker

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

          @simatec

          Du meinst die DB? ich glaub nicht das ich Redis installiert habe, hab ja MariaDB auf meiner DS laufen, aber das kann ich ja auch auf dem laufenden Host irgendwie kontrollieren ob die läuft?

          @simatec sagte in Restore von minimalen Backup funktioniert nicht!:

          und iobroker richtig für die states und objects konfiguriert

          was meinst du damit?

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

            @MyzerAT Das wäre schon gut, wenn du vor dem restore weißt, wie dein altes System läuft

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

              @simatec

              läuft ja noch immer ^^

              wobei ich mir ziemlich sicher bin das ich aufgrund von MariaDB --> Redis nicht im Einsatz habe!

              eventuell hilft das ja auch weiter:

              pi@RDJLHOME:/opt/iobroker $ iobroker list instances
                system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0 (SS                                                                                                                 L), run as: admin
                system.adapter.alexa2.0                : alexa2                - disabled
              + system.adapter.backitup.0              : backitup              -  enabled
              + system.adapter.backitup.1              : backitup              -  enabled
                system.adapter.backitup.2              : backitup              - disabled
                system.adapter.broadlink2.0            : broadlink2            - disabled
                system.adapter.coronavirus-statistics.0: coronavirus-statistics - disabled
                system.adapter.discovery.0             : discovery             - disabled
                system.adapter.flot.0                  : flot                  - disabled
                system.adapter.ical.0                  : ical                  - disabled
                system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png - disabled
                system.adapter.info.0                  : info                  - disabled
                system.adapter.iot.0                   : iot                   - disabled
                system.adapter.javascript.0            : javascript            - disabled
                system.adapter.meross.0                : meross                - disabled
                system.adapter.mihome.0                : mihome                - disabled, port: 9898, bind: 0.0.0.0
                system.adapter.mihome.1                : mihome                - disabled, port: 9898, bind: 192.168.1.5
                system.adapter.modbus.0                : modbus                - disabled
                system.adapter.musiccast.0             : musiccast             - disabled
                system.adapter.onkyo.0                 : onkyo                 - disabled
                system.adapter.parser.0                : parser                - disabled
                system.adapter.ping.0                  : ping                  - disabled
                system.adapter.ping.1                  : ping                  - disabled
                system.adapter.pushover.0              : pushover              - disabled
                system.adapter.rickshaw.0              : rickshaw              - disabled
                system.adapter.shelly.0                : shelly                - disabled, port: 1882, bind: 0.0.0.0
                system.adapter.sonoff.0                : sonoff                - disabled, port: 1883, bind: 0.0.0.0
                system.adapter.sonoff.1                : sonoff                - disabled, port: 1883, bind: 0.0.0.0
                system.adapter.sql.0                   : sql                   - disabled, port: 3307
                system.adapter.telegram.0              : telegram              - disabled, port: 8443, bind: 0.0.0.0
                system.adapter.terminal.0              : terminal              - disabled, port: 8088, bind: 0.0.0.0 (SS                                                                                                                 L), run as: admin
                system.adapter.text2command.0          : text2command          - disabled
                system.adapter.vis-bars.0              : vis-bars              - disabled
                system.adapter.vis-canvas-gauges.0     : vis-canvas-gauges     - disabled
                system.adapter.vis-colorpicker.0       : vis-colorpicker       - disabled
                system.adapter.vis-fancyswitch.0       : vis-fancyswitch       - disabled
                system.adapter.vis-google-fonts.0      : vis-google-fonts      - disabled
                system.adapter.vis-history.0           : vis-history           - disabled
                system.adapter.vis-hqwidgets.0         : vis-hqwidgets         - disabled
                system.adapter.vis-jqui-mfd.0          : vis-jqui-mfd          - disabled
                system.adapter.vis-justgage.0          : vis-justgage          - disabled
                system.adapter.vis-keyboard.0          : vis-keyboard          - disabled
                system.adapter.vis-lcars.0             : vis-lcars             - disabled
                system.adapter.vis-map.0               : vis-map               - disabled
                system.adapter.vis-metro.0             : vis-metro             - disabled
                system.adapter.vis-players.0           : vis-players           - disabled
                system.adapter.vis-plumb.0             : vis-plumb             - disabled
                system.adapter.vis-rgraph.0            : vis-rgraph            - disabled
                system.adapter.vis-timeandweather.0    : vis-timeandweather    - disabled
                system.adapter.vis-weather.0           : vis-weather           - disabled
                system.adapter.vis.0                   : vis                   - disabled
                system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, ru                                                                                                                 n as: admin
                system.adapter.yamaha.0                : yamaha                - disabled
                system.adapter.zigbee.0                : zigbee                - disabled, port: /dev/ttyACM0
                system.adapter.zigbee.2                : zigbee                - disabled, port: /dev/ttyACM0
              
              
              simatec 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @MyzerAT last edited by

                @MyzerAT sagte in Restore von minimalen Backup funktioniert nicht!:

                MariaDB --> Redis

                Aber MariaDB und Redis haben nichts miteinander zu tun.

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

                  @simatec

                  leider ist es schon über ein Jahr her, aber ich bin mir zu 95% sicher das ich damals nur "ENTER" gedrückt habe und nicht "redis" eingegeben hab, beim erstellen des Multihostsystems !

                  5385f86d-804f-43f5-a95a-927f8fdcba43-grafik.png

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

                    @MyzerAT sagte in Restore von minimalen Backup funktioniert nicht!:

                    beim ausführen des befehls "iobroker host this, kommt folgendes:

                    Multihost war bisher nicht genannt 😡

                    Dann musst du einen anderen Befehl nehmen. Ich weiß gerade nicht die exakte Form.

                    da musst du mal suchen, oder vielleicht kann @apollon77 helfen.

                    Der Befehl in der Liste iobroker host <hostname> kommt da irgendwie hin, aber halt wie genau weiß ich nicht

                    MyzerAT 1 Reply Last reply Reply Quote 1
                    • MyzerAT
                      MyzerAT @Homoran last edited by MyzerAT

                      @Homoran

                      doch:

                      56187892-c201-4990-ae5d-bcd1dc9c01eb-grafik.png

                      MyzerAT 1 Reply Last reply Reply Quote 0
                      • MyzerAT
                        MyzerAT @MyzerAT last edited by

                        hier das logfile

                        iobroker.2020-03-18.rar

                        1 Reply Last reply Reply Quote 0
                        • MyzerAT
                          MyzerAT last edited by

                          niemand eine Idee dazu, habe extra das log gepostet!

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

                            @MyzerAT Poste es mal in txt.

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

                              @simatec

                              bitte gerne!

                              iobroker.2020-03-18.txt

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

                                @MyzerAT
                                Denke hier liegt dein Problem ...

                                2020-03-18 12:59:24.420  - error: admin.0 (3393) Please specify the email address and domains to use Let's Encrypt certificates!
                                2020-03-18 12:59:24.457  - error: admin.0 (3393) uncaught exception: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
                                2020-03-18 12:59:24.458  - error: admin.0 (3393) Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
                                

                                Da kommen in Log einige errors

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

                                  @simatec

                                  und wie kann ich das beheben?

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

                                    @MyzerAT
                                    Hast du bei deinem alten System da was aktiv?
                                    Falls ja deaktiviere das mal alles und mache dann ein Backup.

                                    1 Reply Last reply Reply Quote 0
                                    • MyzerAT
                                      MyzerAT last edited by MyzerAT

                                      in der Admin Instanz ist da was mit Zertifikat , wo aber was mit einer Emailadresse ist kann ich mich nicht erinnern

                                      eventuell muss ich https deaktivieren vorm backup machen ?!

                                      7d589d18-8ef3-4fc5-aada-641e3db0a5fd-grafik.png

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

                                        @MyzerAT sagte in Restore von minimalen Backup funktioniert nicht!:

                                        Ja mache das mal ...

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

                                          @simatec

                                          so hatte endlich Zeit ein Backup ohne "https" in der Admin Instanz zu erstellen, beim ausführen des Befehls "iobroker restore 0 " auf den neuen Host kam es jedoch wieder zu einem Fehler:

                                          pi@RDJLHOME:~ $ iobroker restore 0
                                          host.RDJLHOME Using backup file zigbee.0_2020_03_21-16_40_03_backupiobroker.tar.gz
                                          host.RDJLHOME Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                                          iobroker controller daemon is not running
                                          host.RDJLHOME OK.
                                          (node:2729) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
                                              at Object.openSync (fs.js:443:3)
                                              at Object.readFileSync (fs.js:343:35)
                                              at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
                                              at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
                                              at Daemon.emit (events.js:203:15)
                                              at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
                                              at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
                                              at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
                                          (node:2729) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                                          (node:2729) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                          
                                          

                                          also er findet das nicht "Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"

                                          mein Fehler war das ich einfach die Backupdatei "****.gz" in den Ordner von WinSCP gezogen habe und dort fallen gelassen habe, somit wurde die Datei nicht ordnungsgemäß übertragen, warum auch immer?!

                                          Richtige Vorgehensweise war dann die Datei in einen Win10 Ordner zu kopieren und von dort per WinSCP in den neuen Host"HOCHZULADEN" dann kam der Fehler nicht mehr.

                                          und der Restore hat dann per befehl: iobroker restore 0 funktioniert, nun installiert er die Adapter nach und nach!

                                          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

                                          658
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          backitup restore
                                          3
                                          25
                                          1324
                                          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