Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler beim Restore eines Backups

    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

    Fehler beim Restore eines Backups

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

      @maddoc sagte in Fehler beim Restore eines Backups:

      Nach ein paar Anlaufschwierigkeiten lief der neue Pi.

      Was meinst du eigentlich damit?

      iobroker stop
      iobroker fix
      

      mal ausführen

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

        @thomas-braun habs gesehen.
        und da war die Tage noch einer

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

          @maddoc sagte in Fehler beim Restore eines Backups:

          Jetzt sieht es aber besser aus!!!

          dann noch mal htop.
          Diesmal bitte nach MEM% sortieren

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

            @thomas-braun
            Mit Anlaufschwierigkeiten war die Installationsroutine gemeint. Denn bei mir musste man noch nodeJs Manuell installieren. Und ich habe erste mal nachlesen müssen wie es jetzt zu installieren ist. Und dann die installationsroutine durchgeführt wie oben beschrieben!

            @homoran
            meinst DU M_SIZE, M_RESIDENT odr M_Share?

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

              @maddoc sagte in Fehler beim Restore eines Backups:

              Denn bei mir musste man noch nodeJs Manuell installieren.

              Das halte ich für ein Gerücht. Dann hast du irgendwas falsch/anders gemacht.

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

                @maddoc sagte in Fehler beim Restore eines Backups:

                Denn bei mir musste man noch nodeJs Manuell installieren.

                nein!

                welche Routine nutzst du denn?

                node muss nur installiert/angepasst werden, wenn schon eins drauf ist.

                und welches OS hast du drauf?
                .

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

                  Früher habe ich es mit dem Skript installiert: "curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -"

                  Heute, habe ich es damit gemacht: "curl -sL https://iobroker.net/install.sh | bash -"

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

                    @maddoc

                    Wie groß ist eigentlich die Backupdatei?

                    Denn für v8, welches von Mode verwendet wird gilt:

                    By default V8 has a memory limit of 512mb on 32-bit systems, and 1gb on 64-bit systems.

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

                      @maddoc raspios buster lite heute runter geladen!

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

                        @maddoc das erste installiert nur node v10

                        die aktuelle komplette Routine läuft unter
                        curl -sLf https://iobroker.net/install.sh | bash -

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

                          @thomas-braun knapp 22MB

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

                            @homoran sagte in Fehler beim Restore eines Backups:

                            curl -sLf https://iobroker.net/install.sh | bash -

                            Okay, ich habe das -sL nur definiert. Wofür dteht das f?

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

                              @maddoc

                              f/--fail
                              (HTTP) Fail silently (no output at all) on server errors. This is mostly done to better enable scripts etc to better deal with failed attempts

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

                                So jetzt habe ich nochmals den Pi4 mit 4GB mir her geholt. Eine neue Speicherkarte genommen.

                                Mit dem Befehl curl -sLf https://iobroker.net/install.sh | bash - gearbeitet.
                                BackItUp Adapter installiert, NAS Zugriff eingerichtet. Eine andere Backup-Datei vom 11.07.2021 verwendet und dann erhalten ist wieder Fehler:

                                ======================
                                Log Backitup Restore:
                                ======================
                                
                                [DEBUG] [iobroker] Start ioBroker Restore ...
                                [DEBUG] [iobroker] iobroker controller daemon is not running
                                [DEBUG] [iobroker] host.ioBroker OK.
                                [DEBUG] [iobroker] <--- Last few GCs --->
                                [DEBUG] [iobroker] [1231:0x35da410] 28910 ms: Mark-sweep 1029.4 (1033.5) -> 1029.4 (1033.3) MB, 120.8 / 0.0 ms (average mu = 0.970, current mu = 0.000) low memory notification GC in old space requested
                                [DEBUG] [iobroker] [1231:0x35da410] 30380 ms: Mark-sweep 1029.4 (1033.3) -> 1029.4 (1033.3) MB, 71.6 / 0.0 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 82 ms) (average mu = 0.964, current mu = 0.951) allocation fai
                                [DEBUG] [iobroker] <--- JS stacktrace --->
                                [DEBUG] [iobroker] Cannot get stack trace in GC.
                                [ERROR] [iobroker] FATAL ERROR: MarkCompactCollector: semi-space copy, fallback in old gen Allocation failed - JavaScript heap out of memory
                                [DEBUG] [iobroker] ioBroker Restore completed successfully
                                [EXIT] null **** Restore was canceled!! ****
                                
                                The log can be closed ...
                                
                                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @MadDoc last edited by Thomas Braun

                                  @maddoc Da frisst irgendwie eine falsche Einstellung den Speicher weg.

                                  Dirty workaround vielleicht damit:

                                  There are few options how to do so (based on your needs)

                                  pass argument to node directly
                                  node --max_old_space_size=4096 app.js

                                  use environment variable
                                  NODE_OPTIONS=--max_old_space_size=4096
                                  node app.js

                                  use .npmrc file. Put following in .npmrc local or global file
                                  node-options=--max_old_space_size=4096

                                  and run your script

                                  Das ist aber wirklich nur Schminke, wenn es überhaupt funktioniert.

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

                                    @maddoc dann sind ggf. die Backups korrupt.

                                    Vielleicht kann @simatec mit den Meldungen weiterhelfen.

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

                                      @thomas-braun Danke für die Info. Nur Sorry leider kann ich damit nichts Anfangen. Wie schon gesagt, sehe mich selber eher als Anfänger.
                                      Trotzdem Danke für die Unterstützung und Geduld mit mir.

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

                                        @homoran Ist schon eine weile her, wo ich das letzte Mal ein Backup einspielen musste. Damals hat es geklappt.
                                        Und ehrlich gesagt, teste ich nicht jedes Backu auf Funktion.
                                        @simantec soll ich den kontaktieren? Oder ist es ein User der sehr aktiv ist???

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

                                          @maddoc sagte in Fehler beim Restore eines Backups:

                                          soll ich den kontaktieren? Oder ist es ein User der sehr aktiv ist???

                                          das ist der Entwickler von backitup

                                          der meldet sich schon, wenn er Zeit hat.

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

                                            @homoran Okay, vielen Dank für Euren Support. Ich hoffe mir kann jemand bei meinem Problem helfen. Denn es stecken sehr viele Stunden Arbeit darin (Vis, Skripte, Adapter, etc.)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            844
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            48
                                            1800
                                            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