Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker Restore unter Linux durchführen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [HowTo] ioBroker Restore unter Linux durchführen

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

      @MaZi sagte in [HowTo] ioBroker Restore unter Linux durchführen:

      iobroker restore

      iobroker restore 0

      aufrufen

      Den Code Fehler habe ich in der 2.2.8 vom js-controller gefixt

      M 1 Reply Last reply Reply Quote 0
      • M
        MaZi @apollon77 last edited by

        @apollon77 Danke, hat funktioniert (Restore erfolgreich, aber jetzt startet der iobroker nicht mehr:

        root@raspberrypi:~# iobroker start
        internal/modules/cjs/loader.js:796
        throw err;
        ^

        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
        at Function.Module._load (internal/modules/cjs/loader.js:686:27)
        at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
        at internal/main/run_main_module.js:17:11 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
        }

        Bin am verzweifeln!

        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @MaZi last edited by

          @MaZi im ioBroker Verzeichnis ein

          npm install iobroker.js-controller@2.1.1

          ausführen

          M 1 Reply Last reply Reply Quote 0
          • M
            MaZi @apollon77 last edited by MaZi

            @apollon77 said in [HowTo] ioBroker Restore unter Linux durchführen:

            npm install iobroker.js-controller@2.1.1

            erledigt, fehlerfrei durchgelaufen, iobroker lässt sich starten, aber leider nicht mehr von meinem Windows-PC aus aufrufen

            http://192.168.0.165:8081/ ---> Verbindung fehlgeschlagen

            Was nun?

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

              @MaZi
              Hattest du auf dem alten System Redis laufen?
              Falls ja, für states und Objekte oder nur für die states?

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

                @simatec Nein, kein Redis. Nur en iobroker mit altem js-controller (nicht 2.x)
                Kenne redis nicht...

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

                  @MaZi
                  Gut, dann stoppe mal iobroker per Konsole und führe folgenden Befehl aus.

                  iobroker host this
                  

                  Poste dann mal bitte die Ausgabe von

                  iobroker list instances
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MaZi @simatec last edited by

                    @simatec said in [HowTo] ioBroker Restore unter Linux durchführen:

                    iobroker list instances

                    root@raspberrypi:~# iobroker list instances
                    system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.alexa2.0 : alexa2 - disabled
                    system.adapter.cloud.0 : cloud - disabled
                    system.adapter.discovery.0 : discovery - disabled
                    system.adapter.hm-rega.0 : hm-rega - disabled
                    system.adapter.hm-rpc.0 : hm-rpc - disabled, port: 0
                    system.adapter.hs100.0 : hs100 - disabled
                    system.adapter.javascript.0 : javascript - disabled
                    system.adapter.mobile.0 : mobile - disabled
                    system.adapter.scenes.0 : scenes - disabled
                    system.adapter.socketio.0 : socketio - disabled, port: 8084, bind: 0.0.0.0, run as: admin
                    system.adapter.sonoff.0 : sonoff - disabled, port: 1883, bind: 0.0.0.0
                    system.adapter.vis-hqwidgets.0 : vis-hqwidgets - disabled
                    system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd - disabled
                    system.adapter.vis.0 : vis - disabled
                    system.adapter.web.0 : web - disabled, port: 8082, bind: 0.0.0.0, run as: admin

                    • instance is alive
                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @MaZi last edited by

                      @MaZi
                      Sieht gut aus ... Was hat iobroker host this ausgegeben?

                      iobroker sollte nun erreichbar sein.
                      Ggfs mal das Browserfenster mit F5 aktualisieren

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

                        @simatec root@raspberrypi:~# iobroker host this
                        A host with the name "raspberrypi" already exists!

                        F5 beim Firefox hatte keinen erfolg. bei Chrome kommt ebenfalls: "Webseite ist nicht erreichbar" 😞

                        simatec 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          Und was sagt das iobroker logfile ?

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

                            @MaZi
                            Richtige IP gewählt?
                            Wie @apollon77 schon schrieb, was sagt der Logfile?
                            Hast du iobroker wieder gestartet?

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

                              @simatec @apollon77 : Logfile war zu lang zum Posten. iobroker nochmals gestopp und wieder gestartet. Jetzt komm ich drauf!
                              Melde mich gleich. Ich schau mir das Ergebnis schnell an!

                              1 Reply Last reply Reply Quote 0
                              • M
                                MaZi last edited by

                                Super, herzlichen Dank für Eure Hilfe. Ihr habt mir die Nacht gerettet!

                                Es läuft wieder alles, bis auf den SONOFF Adapter, da gibt es ein Problem mit Benutzername und Passwort. Wisst Ihr zufällig wo dies vergeben bzw. zurückgesetzt wird? Oder wer das wissen könnte....

                                Herzliche Grüße aus München

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MaZi @MaZi last edited by MaZi

                                  Auch gelöst. Wer im Logfile liest, ist danach schlauer! Top-Unterstützung! Danke Euch nochmals sakrisch!

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

                                    Das HowTo wurde an die aktuelle Version von Backitup angepasst und die Wiederherstellung mit Backitup WebUI hinzugefügt.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      JB72 last edited by

                                      Hallo, ich habe die Anleitung befolgt und scheitere trotzdem 🤕

                                      Ausgangslage: Homerserver 2012 R2 Essentials hier ist ioBroker installiert. Eigentlich nur zum Ausprobieren, aber
                                      mittlerweile ist da schon einiges passiert was ich nicht verlieren will.

                                      Nun wollte ich testen wie es ist nun von Windows nach Linux umzuziehen, habe ich mir auf einem alten Barbone
                                      Proxmox installiert um dem Umzug zu testen. Installiert ist die aktuelle Debian in Version 10.x. IoBorker ist installiert
                                      grob eingerichtet und sofort Backitup installiert.

                                      Einmal ein kleines Backup gestartet auf dem Linux: klappt, dann peer FileZilla von meinem Windows Server
                                      die Sicherung auf das Debian System zu kopiert ... soweit alles kein Problem.

                                      Nun wähle ich das Backup aus auf dem Linux und lasse es machen. Am Ende bekomme ich die Meldung fertig
                                      und ich schließe das Log Fenster.

                                      IoBroker startet nicht mehr. Ja ich habe gelesen das man eine Zeit warten muss, aber das ist schon Stunden her.
                                      So langsam ist der alte Rechner mit SSD nun auch auch nicht. Wenn ich nachschaue in der Konsole ist ioBroker
                                      gestartet, aber per Aufruf im Browser nur eine Fehler Meldung.

                                      Ich habe das nun 3 mal probiert (frisch installiert und wieder ausprobiert) es scheitert immer wieder. So das
                                      ich mur nun frage: Gibt es was speziellen zu beachten wenn man von Windows (Homerserver 2012 R2 Essentials)
                                      nach Linux mit ioBroker umziehen will?

                                      Grüße
                                      JB

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

                                        @JB72

                                        stoppe mal iobroker mit

                                        iobroker stop
                                        

                                        und führe im Anschluss folgenden Befehl aus ...

                                        iobroker host this
                                        iobroker start
                                        

                                        danach sollte iobroker auch auf dem neuen System erreichbar sein.

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

                                          @simatec

                                          Ah ok, ich sehe er ändert dann den Systemnamen. IoBroker gestartet, aber Webseite: Fehlanzeige.

                                          Ich springe noch mal zurück und mache alles von vorne, dann spiele ich das Backup wieder ein und werde
                                          bevor ich den ioBroker starte noch mal deinen Tipp befolgen.

                                          apollon77 simatec 2 Replies Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @JB72 last edited by

                                            @JB72 Was steht denn im Logfile?

                                            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

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup how-to restore restore backup
                                            76
                                            513
                                            109254
                                            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