Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Restore 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 funktioniert nicht

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

      @r0b1zZle

      Hier noch ein Tipp aus der Forumsuche.
      Vielleicht hilft dir dies ja auch weiter ...

      https://forum.iobroker.net/post/397524

      1 Reply Last reply Reply Quote 0
      • P
        paul.honka last edited by paul.honka

        Hallo,
        ich hänge mich mal dran. Auch bei mir läuft nach der Neuinstallation, wie in der Doku unter Linux beschrieben, das Restore nicht. Nach der Installation über curl wurde der Backitup Adapter installiert und das Restore angestossen.Backup ca. / Tage alt. node und nodejs sind 10.19.0 und
        npm ist 6.14.4 und js ist 2.2.9. Ich komme nach dem Restore nicht mehr auf die Weboberfläche. Der Fixer wurde auch schon gestartet, ohne Erfolg.
        Im Log stehen alle 30 sek folgende Meldungen:
        2020-04-01 12:07:22.443 - error: host.Humboldt35 No connection to databases possible, restart
        2020-04-01 12:07:22.449 - info: host.Humboldt35 iobroker _restart
        2020-04-01 12:07:23.347 - info: host.Humboldt35 iobroker Starting node restart.js
        2020-04-01 12:07:25.127 - info: host.Humboldt35 iobroker.js-controller version 2.2.9 js-controller starting
        2020-04-01 12:07:25.138 - info: host.Humboldt35 Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
        2020-04-01 12:07:25.139 - info: host.Humboldt35 hostname: Humboldt35, node: v10.19.0
        2020-04-01 12:07:25.142 - info: host.Humboldt35 ip addresses: 192.168.0.60 2a02:8109:1b3f:c414:effe:edd5:8f02:593d fe80::a958:8030:a81b:3e64

        Was ist denn da verkehrt gelaufen?
        Beste Grüsse Paul

        simatec 2 Replies Last reply Reply Quote 0
        • R
          r0b1zZle @simatec last edited by

          @simatec Das Backup wurde auch mit 2.2.9 erstellt.

          pi@raspberrypi4-iob:/opt/iobroker $ cd /opt/iobroker
          pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
          pi@raspberrypi4-iob:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
          library: loaded
          Library version=2020-01-30
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2020-01-25
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
          OK:2 http://archive.raspberrypi.org/debian buster InRelease
          OK:3 https://deb.nodesource.com/node_10.x buster InRelease
          Holen:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB]
          Es wurden 13,0 MB in 6 s geholt (2.158 kB/s).
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/3)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Checking autostart (3/3)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          

          @simatec Danke, ich werde das mit WinSCP mal testen.

          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @paul.honka last edited by

            @paul-honka sagte in Restore funktioniert nicht:

            No connection to databases possible

            Da steht es doch ... Wie war der Hostname deines alten Systems?
            Hattest du redis auf deinem altem System laufen?

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

              @r0b1zZle
              Dann tendiere ich eher dazu, das beim kopieren der Backupdatei etwas schief geht ...
              Was nutzt du für ein FTP Tool?

              R 1 Reply Last reply Reply Quote 0
              • P
                paul.honka last edited by

                Hi simatec,
                ich bin mir sicher, das der auch Humboldt35 hieß.
                Kann ich das im Backup irgendwo sehen?
                Beste Grüsse Paul

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

                  @simatec Garkeines bisher, habe immer die SD-Karte per Card-Reader an den Windows PC gesteckt, via "Paragon ExtFS for Windows" gemounted und händisch kopiert. Würde dann WinSCP mal testen.

                  simatec 1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @paul.honka last edited by

                    @paul-honka sagte in Restore funktioniert nicht:

                    Auch bei mir läuft nach der Neuinstallation, wie in der Doku unter Linux beschrieben, das Restore nicht.

                    Der Restore lief sauber durch ... aber du hast etwas nicht beachtet, dass es zu diesen Fehler kommt

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

                      @r0b1zZle
                      ja mach das mal bitte. Wo hast du das hin kopiert???
                      Auf das Linuxsystem??

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

                        @simatec Ja, von "/opt/iobroker/backups" auf ein Windows-Verzeichnis und von dem Windows-Verzeichnis wieder in "/opt/iobroker/backups".

                        simatec 1 Reply Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @paul.honka last edited by

                          @paul-honka sagte in Restore funktioniert nicht:

                          Humboldt35

                          Führe mal zur Sicherheit folgendes aus

                          iobroker host this
                          

                          und zeige mir mal bitte den Inhalt von:

                          iobroker status
                          
                          1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @r0b1zZle last edited by

                            @r0b1zZle sagte in Restore funktioniert nicht:

                            @simatec Ja, von "/opt/iobroker/backups" auf ein Windows-Verzeichnis und von dem Windows-Verzeichnis wieder in "/opt/iobroker/backups".

                            ohhhhaaa ... das ist sicher keine gute Idee gewesen ... Diese Info hätten wir etwas eher gebrauchen können 😉

                            R 1 Reply Last reply Reply Quote 0
                            • P
                              paul.honka last edited by

                              Hi simatec,
                              pi@Humboldt35:/opt/iobroker $ iobroker host this
                              No connection to states 127.0.0.1:6379[redis]
                              pi@Humboldt35:/opt/iobroker $ iobroker status
                              No connection to states 127.0.0.1:6379[redis]
                              Beste Grüsse paul

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

                                @simatec Haha, verdammt. Würde auch erklären, warum ich bei einer laufenden iobroker Version ein Backup erstellen und direkt danach wieder einspielen kann, nach einem Formatieren (mit Zwischensicherung auf dem PC) aber nicht mehr. Wie gesagt, ich teste das mal. Danke nochmals für deine Hilfe!!!!

                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @paul.honka last edited by simatec

                                  @paul-honka sagte in Restore funktioniert nicht:

                                  redis

                                  sudo apt-get install redis-server 
                                  sudo reboot now
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    paul.honka last edited by

                                    Hi simatec,
                                    wieso brauche ich mit mal Redis, hatte ich noch nie installiert?
                                    Habe nun Redis installiert und AEG, auf einmal gehts.
                                    Das heisst, wenn ich neu aufsetze, und mein Backup einspielen will, muss ich Redis installieren?
                                    Besten Dank sagt paul

                                    simatec 1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @paul.honka last edited by

                                      @paul-honka
                                      Nein das heißt, dass dein altes System so konfiguriert war und nach dem Restore dann auch alle Einstellungen übernommen wurden. Da kein Redis-Server installiert war, gab es den Fehler

                                      Wenn du Redis nicht nutzen willst, kannst du dein System auch auf file/file umstellen

                                      iobroker setup custom
                                      

                                      Sollte dann so aussehen:

                                      pi@raspberrypi:~ $ iobroker setup custom
                                      Current configuration:
                                      - Objects database:
                                        - Type: file
                                        - Host/Unix Socket: 127.0.0.1
                                        - Port: 9001
                                      - States database:
                                        - Type: file
                                        - Host/Unix Socket: 127.0.0.1
                                        - Port: 9000
                                      - Data Directory: ../../iobroker-data/
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        paul.honka last edited by

                                        Hi simatec,
                                        der Vorteil von Redis ist?
                                        Beste Grüsse paul

                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @paul.honka last edited by

                                          @paul-honka sagte in Restore funktioniert nicht:

                                          Redis

                                          Hier ist Redis gut und schnell erklärt ...

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

                                            @r0b1zZle sagte in Restore funktioniert nicht:

                                            @simatec Haha, verdammt. Würde auch erklären, warum ich bei einer laufenden iobroker Version ein Backup erstellen und direkt danach wieder einspielen kann, nach einem Formatieren (mit Zwischensicherung auf dem PC) aber nicht mehr. Wie gesagt, ich teste das mal. Danke nochmals für deine Hilfe!!!!

                                            Kurzes Feedback, ob der Fehler behoben ist, wäre noch interessant

                                            R 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

                                            734
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            17
                                            89
                                            13003
                                            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