Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dr. Bakterius
      Dr. Bakterius Most Active @qqolli last edited by

      @qqolli Vielleicht hilft dir das weiter: https://sebhastian.com/javascript-heap-out-of-memory/

      qqolli 1 Reply Last reply Reply Quote 0
      • qqolli
        qqolli @Dr. Bakterius last edited by

        @dr-bakterius

        Das hat leider auch nicht funktioniert:

        pi@ioBroker:~ $ node --max-old-space-size=4096 index.js
        
        <--- Last few GCs --->
        
        [17653:0x50f5bd0]      103 ms: Mark-sweep 0.2 (2.8) -> 0.2 (2.8) MB, 1.6 / 0.0 ms  (average mu = 0.060, current mu = 0.020) allocation failure GC in old space requested
        [17653:0x50f5bd0]      112 ms: Mark-sweep (reduce) 0.2 (2.8) -> 0.2 (1.8) MB, 8.7 / 0.0 ms  (average mu = 0.013, current mu = 0.004) last resort GC in old space requested
        [17653:0x50f5bd0]      114 ms: Mark-sweep (reduce) 0.2 (1.8) -> 0.2 (1.8) MB, 2.3 / 0.0 ms  (average mu = 0.015, current mu = 0.019) last resort GC in old space requested
        
        
        <--- JS stacktrace --->
        
        FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
        Abgebrochen
        pi@ioBroker:~ $ node --max-old-space-size=4096 `which npm` install
        
        <--- Last few GCs --->
        
        [17759:0x3e84c10]      101 ms: Mark-sweep (reduce) 0.3 (2.8) -> 0.3 (1.8) MB, 22.8 / 0.0 ms  (average mu = 0.019, current mu = 0.002) last resort GC in old space requested
        [17759:0x3e84c10]      103 ms: Mark-sweep (reduce) 0.3 (1.8) -> 0.3 (1.8) MB, 1.8 / 0.0 ms  (average mu = 0.019, current mu = 0.021) last resort GC in old space requested
        
        
        <--- JS stacktrace --->
        
        FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
        Abgebrochen
        pi@ioBroker:~ $
        

        So wie es aussieht, muss ich alles neu auf der Proxmoxmaschine aufsetzen, außer den JS-Skripts, die konnte der Backitup gesichert 🙂

        @Thomas-Braun Hättest du evtl. noch eine Idee?

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @qqolli last edited by crunchip

          @qqolli sagte in Test Adapter ioBroker.backitup v2.4.x:

          Ehrlich gesagt, weiß ich nicht wo die vielen States & Objekte herkommen

          es gibt ein paar Kandidaten, die unötig viele anlegen
          einfach nachsehen, klick dich durch,

          61812af4-255d-4eaf-8979-2b4c3a28e2b7-image.png

          qqolli 1 Reply Last reply Reply Quote 1
          • qqolli
            qqolli @crunchip last edited by

            @crunchip

            Das war eine guter Tipp:

            010e72ae-0770-4589-99f9-2f68eeddfe32-image.png

            Die 106232 Objekte zu löschen hat bis jetzt gedauert:

            $ iobroker del fronius-solarweb.0
            
            Delete instance "fronius-solarweb.0"
            
            host.ioBroker Counted 1 instances of fronius-solarweb.0
            
            host.ioBroker Counted 5 devices of fronius-solarweb.0
            
            host.ioBroker Counted 26320 channels of fronius-solarweb.0
            
            host.ioBroker Counted 79890 states of fronius-solarweb.0
            
            host.ioBroker Counted 15 states of system.adapter.fronius-solarweb.0
            
            host.ioBroker Counted 79889 states (io.fronius-solarweb.0.*) from states
            
            host.ioBroker Counted 15 states (system.adapter.fronius-solarweb.0.*) from states
            
            host.ioBroker Counted 1 objects of fronius-solarweb.0
            
            host.ioBroker Deleting 106232 object(s). Be patient...
            

            Und endlich geht jetzt auch wieder der iobroker Backup:

            Started iobroker ...
            [DEBUG] [mount] - noserverino option: false
            [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.23/backup/ioBroker /opt/iobroker/backups"
            [DEBUG] [mount] - mount successfully completed
            [DEBUG] [mount] - done
            [DEBUG] [iobroker] - host.ioBroker 9520 states saved
            
            [DEBUG] [iobroker] - host.ioBroker 12024 objects saved
            
            [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_07_14-16_48_51_backupiobroker.tar.gz
            
            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @qqolli last edited by crunchip

              @qqolli sagte in Test Adapter ioBroker.backitup v2.4.x:

              fronius

              ist bekannt, da gab es deswegen auch schon in einem Thread etwas , bzw besteht ein issue dazu

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

                Ab sofort steht die Version 2.4.11 auf Github und in Kürze auch im latest zur Verfügung.

                Changelog

                2.4.11 (2022-08-10)

                • (simatec) Filesize Check added
                • (simatec) dependencies updated
                • (simatec) Fix mySql Backup
                • (simatec) Fix pgSql Backup
                1 Reply Last reply Reply Quote 2
                • simatec
                  simatec Developer Most Active last edited by

                  Ab sofort steht die Version 2.4.12 auf Github und in Kürze auch im latest zur Verfügung.

                  Changelog

                  2.4.12 (2022-08-11)

                  • (simatec) Fix WebDav Error Handling
                  1 Reply Last reply Reply Quote 1
                  • simatec
                    simatec Developer Most Active last edited by

                    Ab sofort steht die Version 2.4.13 zum testen auf Github und im latest zur Verfügung.

                    Changelog

                    2.4.13 (2022-09-28)

                    • (simatec) dependencies updated
                    • (simatec) Fix Grafana Backup
                    • (simatec) Appveyor testing removed
                    • (simatec) Fix Test & Release
                    1 Reply Last reply Reply Quote 1
                    • sigi234
                      sigi234 Forum Testing Most Active @simatec last edited by sigi234

                      @simatec

                      Hallo, nach Update auf 2.4.15 kommt folgende Meldung:

                      backitup.0
                      2022-10-04 08:54:34.234	warn	Cannot read log file: TypeError: tools.getConfigFileName is not a function
                      
                      backitup.0
                      2022-10-04 08:54:34.233	error	cannot create startIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix"
                      
                      backitup.0
                      2022-10-04 08:54:34.232	error	cannot create stopIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix"
                      
                      backitup.0
                      2022-10-04 08:54:34.207	info	starting. Version 2.4.15 in C:/ioBroker/node_modules/iobroker.backitup, node: v16.17.1, js-controller: 4.0.23
                      
                      backitup.0
                      2022-10-04 08:54:10.588	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      
                      backitup.0
                      2022-10-04 08:54:10.587	info	terminating
                      
                      backitup.0
                      2022-10-04 08:54:10.587	info	cleaned everything up...
                      
                      backitup.0
                      2022-10-04 08:54:10.580	info	Got terminate signal TERMINATE_YOURSELF
                      
                      Plattform: Windows
                      RAM: 16 GB 
                      NODE.JS: V16.17.1
                      NPM: 8.11.0
                      JS Controller: 4.0.23
                      Admin: 6.2.22
                      
                      A simatec 3 Replies Last reply Reply Quote 0
                      • A
                        alexmi @sigi234 last edited by

                        @sigi234 Das selbe Problem habe ich auch. Ein Backup kann jetzt nicht mehr ausgeführt werden.

                        Ich traue mich nicht "iobroker fix" auszuführen... nicht das dann irgendwas anderes auch nicht mehr geht.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @sigi234 last edited by

                          @sigi234 Wird gefixt... Es gibt in Backitup aktuell Vorbereitungen für den js-controller 4.1.x.
                          Da kann es sicher in Betas noch zu Fehlern kommen

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

                            @alexmi sagte in Test Adapter ioBroker.backitup v2.4.x:

                            Ich traue mich nicht "iobroker fix" auszuführen...

                            iobroker fix
                            

                            kann immer ausgeführt werden.

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

                              @sigi234 2.4.16 fixt das problem... Repo rebuild läuft gerade

                              sigi234 B 2 Replies Last reply Reply Quote 2
                              • sigi234
                                sigi234 Forum Testing Most Active @simatec last edited by

                                @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

                                @sigi234 2.4.16 fixt das problem... Repo rebuild läuft gerade

                                Läuft wieder, Danke. 👍

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

                                  @simatec
                                  Ich habe die Version 2.4.12 installiert und sichere auf Google Drive, aber seit einer Woche sichert er nur noch Javascript und Zigbee.
                                  Bei iobroker Sicherung bekomme ich die Fehlermeldung.

                                  2022-10-17 07:03:20.229 - error: backitup.0 (1214) [iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/iobroker_2022_10_17-07_00_10_backupiobroker.tar.gz" not found
                                  

                                  Liegt das an der Version?

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

                                    @biker1602
                                    Nö, hier funktioniert es.

                                    B 1 Reply Last reply Reply Quote 1
                                    • B
                                      biker1602 @Thomas Braun last edited by

                                      @thomas-braun
                                      Ich habe mal den 2.4.16 installiert, aber er sichert einfach iobroker nicht nur die beiden anderen.
                                      Ist schon sehr komisch 😠

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

                                        @biker1602 Bitte den Debuglog posten

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

                                          @simatec
                                          Sag mal, das gibt es doch gar nicht! Ich habe den Adapter auf debug gestellt damit ich das unter Protokolle einsehen kann gehe nochmal auf sichern und siehe da jetzt macht er es mit. Ich weiß nicht, woran das gelegen hat.
                                          Trotzdem Danke

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

                                            @biker1602 wurde sicher bei einem Backup irgendwo etwas nicht richtig beendet.

                                            Durch das umstellen auf Debug hast du den Adapter neugestartet.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            611
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            168
                                            2711
                                            1861810
                                            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