Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehlermeldung bei backitup restore

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehlermeldung bei backitup restore

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

      ich versuche gerade ein Testsystem auf einem Raspberry 3 zu erzeugen und dazu ein iobroker Backup aus einem Produktivsystem (NUC Proxmox LXC-Container) über ein iobroker-pi image auf den Raspi zu schieben, was leider nicht zum Erfolg geführt hat. Das Restore wird mit folgender Fehlermeldung im Log abgebrochen:

      2022-07-23 21:31:55.433 - error: backitup.0 (685) [ERROR] [iobroker] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 
      

      Die Meldungen während des Restore sind folgende:

      [DEBUG] [iobroker] Start ioBroker Restore ...
      [DEBUG] [iobroker] iobroker controller daemon is not running
      [DEBUG] [iobroker] host.iobroker-pi OK.
      [DEBUG] [iobroker] <--- Last few GCs --->
      [DEBUG] [iobroker] [1596:0x383f588]    20572 ms: Mark-sweep 243.9 (244.9) -> 243.9 (245.4) MB, 126.0 / 0.1 ms  (average mu = 0.161, current mu = 0.075) allocation failure scavenge might not succeed
      [DEBUG] [iobroker] [1596:0x383f588]    20708 ms: Mark-sweep 244.3 (245.4) -> 244.3 (245.7) MB, 126.9 / 0.1 ms  (average mu = 0.117, current mu = 0.070) allocation failure scavenge might not succeed
      [DEBUG] [iobroker] <--- JS stacktrace --->
      [DEBUG] [iobroker] ==== JS stack trace =========================================
      [DEBUG] [iobroker] Security context: 0x298c19ed <JSObject>
      [DEBUG] [iobroker] 0: builtin exit frame: parse(this=0x23e9e331 <Object map = 0x21ec0a15>,0x3b905a29 <Very long string[51499246]>,0x23e9e331 <Object map = 0x21ec0a15>)
      [DEBUG] [iobroker] 1: _restoreAfterStop [0x431fe845] [/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:685] [bytecode=0x4913a565 offset=145](this=0x741465c9 <BackupRestore map = 0x74196635>,0x4fe803c1 <false>,0x4fe80359 <true>,0x4fe803c1...
      [ERROR] [iobroker] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
      [DEBUG] [iobroker] ioBroker Restore completed successfully
      [EXIT] null **** Restore was canceled!! ****
      

      Es hört sich nach einem Speicher Allocation Konflikt an. Leider habe ich keine Idee welche Bedeutung und Auswirkung er an dieser Stelle hat und vor allem, ob man irgend etwas tuen kann um das Problem zu lösen oder zu umgehen. Ich bin von daher für jede Hilfe dankbar. Der komplette Log ist im Anhang falls er benötigt wird.
      iobroker.2022-07-23.log
      Mit besten Grüßen, Werner

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

        @kwb

        Wie groß ist das Backupfile?

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

          @thomas-braun

          Das Backup-File ist etwa 9 MB groß.

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

            @kwb

            Das ist übersichtlich.

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

              Hier ist noch die Consolmeldungen bei meinem Backup-Restoreversuch. Es wäre super, wenn jemand eine Idee hat, wo das Problem liegen könnte und was meinerseits nötig ist, es zu beheben. Ich bin für für jeden Rat / Hinweis dankbar.
              Gruß, Werner

              
              pi@iobroker-pi:~ $ iob validate /opt/iobroker/backups/iobroker_2022_07_23-18_35_33_backupiobroker.tar.gz
              host.iobroker-pi Starting validation ...
              host.iobroker-pi backup.json OK
              host.iobroker-pi vis-views.json OK
              host.iobroker-pi vis-views.json OK
              host.iobroker-pi vis-views.json OK
              Backup OK
              pi@iobroker-pi:~ $ 
              
              
              
              
              iobroker-pi:~ $ iob restore /opt/iobroker/backups/iobroker_2022_07_23-18_35_33_backupiobroker.tar.gz
              iobroker controller daemon is not running
              host.iobroker-pi OK.
              
              <--- Last few GCs --->
              
              [4763:0x23eb4c0]    20733 ms: Mark-sweep 245.0 (246.6) -> 245.0 (246.6) MB, 137.5 / 0.1 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 138 ms) (average mu = 0.153, current mu = 0.057) allocation failu[4763:0x23eb4c0]    20870 ms: Mark-sweep 245.0 (246.6) -> 245.0 (246.6) MB, 135.5 / 0.1 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 136 ms) (average mu = 0.086, current mu = 0.007) allocation failu
              
              <--- JS stacktrace --->
              
              ==== JS stack trace =========================================
              
              Security context: 0x3140379d <JSObject>
                  0: builtin exit frame: parse(this=0x31433259 <Object map = 0x58500a15>,0x23e01709 <Very long string[51499246]>,0x31433259 <Object map = 0x58500a15>)
              
                  1: _restoreAfterStop [0x23a1e841] [/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:685] [bytecode=0x5a3fa5bd offset=145](this=0x4f183ac9 <BackupRestore map = 0x3ec96d3d>,0x597c03c1 <false>,0x597c03c1 <false>,0x597c03c...
              
              FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
              /usr/bin/iob: Zeile 8:  4762 Abgebrochen             sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
              pi@iobroker-pi:~ $
              
              
              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

              786
              Online

              32.0k
              Users

              80.4k
              Topics

              1.3m
              Posts

              2
              5
              117
              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