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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter ioBroker.backitup v3.1.x

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

      @simatec

      Ich habe seit heute einen neuen Rechner, auf dem ich Proxmox installiert habe. Der soll dann mein produktiver Rechner werden. Da ich ja mit der iob-Installation bzgl. Backitup massive Probleme habe, hatte ich heute gut die Hälfte der Instanzen gelöscht, Update & Ugrade mit Reboot durchgeführt und dann gedacht, das er heute vlt. den iob schafft zu sichern; leider nein:

      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 89446 states saved
      
      [DEBUG] [iobroker] - host.ioBroker 118256 objects saved
      
      [ERROR] [iobroker] - 
      <--- Last few GCs --->
      
      [24831:0x576cc58]   127861 ms: Scavenge 957.2 (964.7) -> 957.1 (965.4) MB, 16.5 / 0.0 ms  (average mu = 0.805, current mu = 0.800) allocation failure 
      [24831:0x576cc58]   128158 ms: Mark-sweep (reduce) 958.1 (965.4) -> 958.1 (964.4) MB, 244.2 / 0.0 ms  (+ 16.1 ms in 15 steps since start of marking, biggest step 4.5 ms, walltime since start of marking 297 ms) (average mu = 0.741, current mu = 0.377) allo
      
      <--- JS stacktrace --->
      
      FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
      
      [DEBUG] [iobroker] - done
      [DEBUG] [influxDB] - InfluxDB-Backup started ...
      [DEBUG] [influxDB] - Start InfluxDB Backup ...
      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
      [DEBUG] [influxDB] - Packed 32MB so far...
      [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2022_07_14-14_32_14_backupiobroker.tar.gz
      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
      [DEBUG] [influxDB] - InfluxDB-Backup for is finish
      [DEBUG] [influxDB] - done
      [DEBUG] [grafana] - Start Grafana Backup ...
      [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
      [DEBUG] [grafana] - Created dashboard directory
      [DEBUG] [grafana] - Created dashboards_manually_restore directory
      [DEBUG] [grafana] - Created datasource directory
      [DEBUG] [grafana] - start Grafana request ...
      [DEBUG] [grafana] - Grafana is not available: Error: connect ECONNREFUSED 192.168.178.21:3000
      [DEBUG] [grafana] - Grafana is not available!
      [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
      [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
      [DEBUG] [grafana] - Grafana Backup cannot created ...
      [DEBUG] [grafana] - done
      [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
      [DEBUG] [javascripts] - found Script: AlexaSagWas
      [DEBUG] [javascripts] - found Script: Aliase_Erzeugen
      [DEBUG] [javascripts] - found Script: Astro
      [DEBUG] [javascripts] - found Script: Aufräumen
      [DEBUG] [javascripts] - found Script: Azimun_Elevation
      [DEBUG] [javascripts] - found Script: Batteriestand_überwachen
      [DEBUG] [javascripts] - found Script: Benzinpreise
      [DEBUG] [javascripts] - found Script: Codeschloss
      [DEBUG] [javascripts] - found Script: Countdown
      [DEBUG] [javascripts] - found Script: Datenpunkte_Erzeugen
      [DEBUG] [javascripts] - found Script: EG_Toilette_Rolladen_Schalter
      [DEBUG] [javascripts] - found Script: Fire7_laden
      [DEBUG] [javascripts] - found Script: Flur_EG_Lampe_Steuern
      [DEBUG] [javascripts] - found Script: Froni
      [DEBUG] [javascripts] - found Script: Froni_Start
      [DEBUG] [javascripts] - found Script: HM_Switch
      [DEBUG] [javascripts] - found Script: HP_P2015_An_Aus
      [DEBUG] [javascripts] - found Script: Haustürklingel
      [DEBUG] [javascripts] - found Script: Küche_Lampen_Steuern
      [DEBUG] [javascripts] - found Script: Lager_Lampen_Steuern
      [DEBUG] [javascripts] - found Script: Licht_KG_NAS_&_USV
      [DEBUG] [javascripts] - found Script: Liste_HM-Geräte
      [DEBUG] [javascripts] - found Script: MQTT_Test
      [DEBUG] [javascripts] - found Script: MduiLogHMDevices
      [DEBUG] [javascripts] - found Script: Murks
      [DEBUG] [javascripts] - found Script: NetzwerkStatusFritzBox
      [DEBUG] [javascripts] - found Script: OG_Bad_Rolladen_Spiegel
      [DEBUG] [javascripts] - found Script: Online_Check
      [DEBUG] [javascripts] - found Script: PIR_Duration
      [DEBUG] [javascripts] - found Script: PIR_EG_Flur
      [DEBUG] [javascripts] - found Script: PIR_Kopieren
      [DEBUG] [javascripts] - found Script: PIR_OG_Flur
      [DEBUG] [javascripts] - found Script: PV-Anlage_Kosten_Bezug
      [DEBUG] [javascripts] - found Script: PV_Berechnungen
      [DEBUG] [javascripts] - found Script: Party_Lampen_Steuern
      [DEBUG] [javascripts] - found Script: QQ_rufen
      [DEBUG] [javascripts] - found Script: Rolladensteuerung_Manuell
      [DEBUG] [javascripts] - found Script: Schlafzimmer_Yeelight_Steuern
      [DEBUG] [javascripts] - found Script: Shelly_Rolladen_HM_Taster
      [DEBUG] [javascripts] - found Script: Shelly_Status
      [DEBUG] [javascripts] - found Script: Shelly_Verbrauchswerte
      [DEBUG] [javascripts] - found Script: Skript_1
      [DEBUG] [javascripts] - found Script: Sprachausgabe_alle_Geräte
      [DEBUG] [javascripts] - found Script: T2C_Telegram
      [DEBUG] [javascripts] - found Script: TFK_Zählen
      [DEBUG] [javascripts] - found Script: Taupunkt
      [DEBUG] [javascripts] - found Script: Test
      [DEBUG] [javascripts] - found Script: Timer
      [DEBUG] [javascripts] - found Script: Treppenhaus_Rolladen_Schalter
      [DEBUG] [javascripts] - found Script: TürFenster_Offen
      [DEBUG] [javascripts] - found Script: USV
      [DEBUG] [javascripts] - found Script: USV_Berechnungen
      [DEBUG] [javascripts] - found Script: Unifi_Netzwerk
      [DEBUG] [javascripts] - found Script: Unifi_Netzwerk_Neu
      [DEBUG] [javascripts] - found Script: Userstates_besondere_Uhr
      [DEBUG] [javascripts] - found Script: VIS_Alexa
      [DEBUG] [javascripts] - found Script: View_Wechsel
      [DEBUG] [javascripts] - found Script: Wallpanel_States_MQTT
      [DEBUG] [javascripts] - found Script: Skript_1
      [DEBUG] [javascripts] - found Script: Skript_2
      [DEBUG] [javascripts] - found Script: Skript_3
      [DEBUG] [javascripts] - found Script: Spülmaschine_Fertig
      [DEBUG] [javascripts] - found Script: Trockner_Fertig
      [DEBUG] [javascripts] - found Script: Waschmaschine_Fertig
      [DEBUG] [javascripts] - found Script: Wetter
      [DEBUG] [javascripts] - found Script: Yeelight_An_Aus
      [DEBUG] [javascripts] - found Script: Zeit
      [DEBUG] [javascripts] - found Script: BattUeberwachung
      [DEBUG] [javascripts] - found Script: Wetterstation
      [DEBUG] [javascripts] - found Script: Userstates_anlegen
      [DEBUG] [javascripts] - found Script: RGB_Kühltruhe
      [DEBUG] [javascripts] - found Script: Fronius_Solarweb
      [DEBUG] [javascripts] - found Script: Sonoff_Tabelle
      [DEBUG] [javascripts] - found Script: Carport_Licht
      [DEBUG] [javascripts] - found Script: NAS_Stream_holen
      [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
      [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
      [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_07_14-14_32_51_backupiobroker.tar.gz
      [DEBUG] [javascripts] - done
      [DEBUG] [yahka] - found yahka database: yahka.0
      [DEBUG] [yahka] - done
      [DEBUG] [cifs] - used copy path: /backup/ioBroker
      [DEBUG] [cifs] - done
      [DEBUG] [clean] - done
      [DEBUG] [pushover] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [DEBUG] [umount] - mount activ, umount is started ...
      [DEBUG] [umount] - umount successfully completed
      [DEBUG] [umount] - done
      [EXIT] 0
      

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

      Ohne Backup muss ich fast alles wieder neu aufbauen auf dem neuen PC. Was kann ich noch machen?

      Dr. Bakterius crunchip 2 Replies Last reply Reply Quote 0
      • Dr. Bakterius
        Dr. Bakterius Most Active @qqolli last edited by

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

        JavaScript heap out of memory
        

        Da siehst du das Problem.

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

          @dr-bakterius

          Ja, aber warum? Habe echt fast alles an Instanzen gelöscht. Muss noch die entsprechenden Adapter ebenfalls löschen?

          Was könnte ich noch machen?

          Dr. Bakterius 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            372
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            170
                                            2776
                                            2218481
                                            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