Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Backup seit Update auf NodeJS 14 nicht mehr möglich

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backup seit Update auf NodeJS 14 nicht mehr möglich

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

      @apollon77 Hi,

      Der Adapter Javascriptausführung in Version 5.2.21
      NODE.JS: V14.19.0
      NPM: 6.14.16

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

        @tbi

        iob -v
        

        gibt die Version des js-controller

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

          Ich hab aktuell das gleiche Problem mit js 4.0.18

          Beim Update auf js 4.0.18 habe ich auch node.js von 12 auf 14 aktualisiert.

          vllt. liegt es daran?

          Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Kuddel last edited by Thomas Braun

            @kuddel

            Nein, backup funktioniert natürlich grundsätzlich auch mit nodejs@14.

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

              @kuddel Interessant. Man könnte man Node.js 16 versuchen oder ein Diowngrade auf die 12 um zu sehen ob es da jeweils besser ist ggf

              K Homoran 2 Replies Last reply Reply Quote 0
              • K
                Kuddel @apollon77 last edited by

                @apollon77

                Hab ein Downgrade auf js 3.3.22 gemacht.

                Backup geht jetzt erst einmal wieder.

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

                  @apollon77 backup mit node 14 funktioniert auch bei mir.
                  Allerdings mit controller v3

                  1 Reply Last reply Reply Quote 0
                  • FredF
                    FredF Most Active Forum Testing last edited by FredF

                    Hier kein Problem mit Backup:
                    nodejs 14.19.0
                    controller 4.0.15

                    @apollon77 Edit: Das war beim Testsystem...
                    Beim pi slave meines produktivsystems mit controller 4.0.18 und nodejs 14.19.0 gibt es auch diese Fehlermeldung...

                    pi@iobrokerpi:~ $ iob backup
                    host.iobrokerpi 15949 states saved
                    host.iobrokerpi 18108 objects saved
                    
                    <--- Last few GCs --->
                    
                    [18127:0x3f13e00]    20166 ms: Scavenge 177.6 (199.9) -> 177.3 (201.9) MB, 8.0 /                                                                                  0.0 ms  (average mu = 0.944, current mu = 0.934) allocation failure
                    [18127:0x3f13e00]    22449 ms: Mark-sweep (reduce) 311.9 (336.2) -> 177.3 (184.9                                                                                 ) MB, 160.8 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step                                                                                  0.0 ms, walltime since start of marking 655 ms) (average mu = 0.946, current mu                                                                                  = 0.946) extern
                    
                    <--- JS stacktrace --->
                    
                    FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation fail                                                                                 ed - JavaScript heap out of memory
                    /usr/bin/iob: line 8: 18126 Aborted                 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                    pi@iobrokerpi:~ $
                    
                    

                    Edit2: Beim Master und beim 2. Slave (ein NUC) keine Fehlermeldung

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

                      @fredf sagte in Backup seit Update auf NodeJS 14 nicht mehr möglich:

                      Edit2: Beim Master und beim 2. Slave (ein NUC) keine Fehlermeldung

                      Wie unterscheiden die sich in Bezug auf "free -m" ?

                      FredF 1 Reply Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @apollon77 last edited by

                        @apollon77 Schon deutlich:

                        pi@iobrokerpi:~ $ free -m
                                      total        used        free      shared  buff/cache   available
                        Mem:            923         295         444           8         182         575
                        Swap:            99          59          40
                        pi@iobrokerpi:~ $ iob update
                        Used repository: Stable (default)
                        Adapter    "admin"        : 5.3.1    , installed 5.3.1
                        Adapter    "backitup"     : 2.3.3    , installed 2.3.3
                        Adapter    "ble"          : 0.12.0   , installed 0.12.0
                        Adapter    "ds18b20"      : 1.6.0    , installed 1.6.0
                        Controller "js-controller": 4.0.18   , installed 4.0.18
                        Adapter    "moma"         : 1.2.9    , installed 1.2.9
                        Adapter    "rpi2"         : 1.3.1    , installed 1.3.1
                        pi@iobrokerpi:~ $
                        
                        

                        fred@Kueche:~$ free -
                                      total        used        free      shared  buff/cache   available
                        Mem:        8056060     1808208     2395784      462904     3852068     5481092
                        Swap:       8273916           0     8273916
                        fred@Kueche:~$ iob update
                        Used repository: Stable (default)
                        Adapter    "admin"        : 5.3.1    , installed 5.3.1
                        Adapter    "backitup"     : 2.3.3    , installed 2.3.3
                        Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                        Controller "js-controller": 4.0.18   , installed 4.0.18
                        Adapter    "moma"         : 1.2.9    , installed 1.2.9
                        Adapter    "zwave2"       : 2.4.3    , installed 2.4.3
                        fred@Kueche:~$
                        
                        

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

                          @fredf heisst also die 500MB RAM auf dem Pi reichen nicht für backup

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          760
                          Online

                          31.6k
                          Users

                          79.5k
                          Topics

                          1.3m
                          Posts

                          7
                          22
                          736
                          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