Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Backupit - keine iobroker Backups möglich

    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

    [gelöst] Backupit - keine iobroker Backups möglich

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

      @heisenberg0709

      Siehe mein Edit oben.

      iobroker status
      

      liefert?

      Ich würde ja sagen dass dir der Arbeitsspeicher ausgeht.

      free -ht
      
      1 Reply Last reply Reply Quote 0
      • H
        Heisenberg0709 @Thomas Braun last edited by

        @thomas-braun

        das liefert er

        pi@iobrokerSSD062021master:~ $ iobroker stop
        pi@iobrokerSSD062021master:~ $ ps aux | grep io.
        root        13  0.0  0.0      0     0 ?        S    13:23   0:00 [migration/0]
        root        16  0.0  0.0      0     0 ?        S    13:23   0:00 [migration/1]
        root        21  0.0  0.0      0     0 ?        S    13:23   0:00 [migration/2]
        root        26  0.0  0.0      0     0 ?        S    13:23   0:00 [migration/3]
        root        58  0.0  0.0      0     0 ?        I<   13:23   0:00 [blkcg_punt_bio]
        root        62  0.0  0.0      0     0 ?        I<   13:23   0:00 [rpciod]
        root        64  0.0  0.0      0     0 ?        I<   13:23   0:00 [xprtiod]
        root        66  0.0  0.0      0     0 ?        I<   13:23   0:00 [nfsiod]
        root        72  0.0  0.0      0     0 ?        I<   13:23   0:00 [DWC Notificatio]
        avahi      346  0.1  0.0   5900  2564 ?        Ss   13:23   0:01 avahi-daemon: running [iobrokerSSD062021master.local]
        message+   348  0.0  0.0   6548  3072 ?        Ss   13:23   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
        root      1832  0.0  0.0      0     0 ?        I<   13:26   0:00 [cifsiod]
        pi        2529  0.0  0.0   7360   576 pts/0    S+   13:36   0:00 grep --color=auto io.
        pi@iobrokerSSD062021master:~ $ iobroker status
        iobroker is not running on this host.
        
        
        Objects type: file
        States  type: file
        
        H Thomas Braun 2 Replies Last reply Reply Quote 0
        • H
          Heisenberg0709 @Heisenberg0709 last edited by

          Und:

          pi@iobrokerSSD062021master:~ $ free -ht
                        total        used        free      shared  buff/cache   available
          Mem:          3,7Gi        64Mi       2,9Gi       8,0Mi       756Mi       3,5Gi
          Swap:          99Mi          0B        99Mi
          Total:        3,8Gi        64Mi       3,0Gi
          pi@iobrokerSSD062021master:~ $ iobroker start
          pi@iobrokerSSD062021master:~ $ free -ht
                        total        used        free      shared  buff/cache   available
          Mem:          3,7Gi       1,3Gi       1,7Gi       8,0Mi       759Mi       2,6Gi
          Swap:          99Mi          0B        99Mi
          Total:        3,8Gi       1,3Gi       1,8Gi
          pi@iobrokerSSD062021master:~ $ 
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Heisenberg0709 last edited by

            @heisenberg0709 Das sieht schon mal gut aus.

            free -ht
            iobroker fix
            
            Homoran H 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Thomas Braun last edited by

              @thomas-braun

              @heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:

              pi@iobrokerSSD062021master:~ $ iobroker start

              vorher noch ein iobroker stop

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

                @thomas-braun

                iobroker stop kam vorher

                pi@iobrokerSSD062021master:~ $ iobroker status
                iobroker is not running on this host.
                
                
                Objects type: file
                States  type: file
                pi@iobrokerSSD062021master:~ $ iobroker fix
                library: loaded
                Library version=2021-04-07
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2021-04-07
                    
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                           
                OK:3 https://deb.nodesource.com/node_12.x buster InRelease                               
                Paketlisten werden gelesen... Fertig                             
                Installed gcc-c++
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/3)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Checking autostart (3/3)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                

                nachdem dann alle Instanzen im iobroker wieder liefen dann:

                pi@iobrokerSSD062021master:~ $ free -ht
                              total        used        free      shared  buff/cache   available
                Mem:          3,7Gi       1,3Gi       1,7Gi       8,0Mi       759Mi       2,6Gi
                Swap:          99Mi          0B        99Mi
                Total:        3,8Gi       1,3Gi       1,8Gi
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Heisenberg0709 last edited by

                  @heisenberg0709
                  Und wenn du jetzt das Backup nochmal manuell antrittst?

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

                    @thomas-braun

                    backup wird leider auch nicht angelegt...

                    pi@iobrokerSSD062021master:~ $ iobroker stop
                    pi@iobrokerSSD062021master:~ $ cd /opt/iobroker
                    pi@iobrokerSSD062021master:/opt/iobroker $ iobroker backup
                    host.iobrokerSSD062021master 6281 states saved
                    host.iobrokerSSD062021master 7631 objects saved
                    internal/buffer.js:950
                    class FastBuffer extends Uint8Array {}
                    ^
                    
                    RangeError: Array buffer allocation failed
                        at new ArrayBuffer (<anonymous>)
                        at new Uint8Array (<anonymous>)
                        at new FastBuffer (internal/buffer.js:950:1)
                        at createUnsafeBuffer (buffer.js:149:12)
                        at allocate (buffer.js:419:10)
                        at Function.allocUnsafe (buffer.js:384:10)
                        at Function.encodeBufBulk (/opt/iobroker/node_modules/respjs/index.js:46:27)
                        at RedisHandler.sendBufBulk (/opt/iobroker/node_modules/@iobroker/db-base/lib/redisHandler.js:259:44)
                        at RedisHandler.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemServerRedis.js:452:29)
                        at RedisHandler.emit (events.js:314:20)
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Heisenberg0709 last edited by

                      @heisenberg0709

                      Keine Ahnung warum es dir da den Speicher fetzt.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Heisenberg0709 last edited by

                        @thomas-braun

                        ok ok, trotzdem euch einen Riesen Dank schon einmal bis hier her für euren Support.

                        Kennt ihr eine Alternative zum neu aufsetzen. Wenn ich hier jetzt ohne Backup komplett bei 0 anfange sitze ich hier wieder wochenlang dran bis wieder alles so ist, wie es mal war…
                        Was mir dann irgendwie auch nicht nach der Lösung scheint 😧

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

                          @heisenberg0709
                          Du kannst probieren den js-controller nochmal reinzubügeln:

                          iobroker stop
                          cd /opt/iobroker
                          sudo -H -u iobroker npm install iobroker.js-controller
                          iobroker restart
                          

                          Nutzt dir aber auch nur was wenn es keine Fehlkonfiguration in irgendeinem Adapter ist.

                          Standardfrage:
                          NodeJS ist aber sauber installiert?

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

                            @heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:

                            Wenn ich hier jetzt ohne Backup komplett bei 0 anfange

                            hast du denn mal ein einfaches iobroker backup über die Konsole abgesetzt?

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Heisenberg0709 @Homoran last edited by

                              @homoran

                              inwiefern? ich habe es sowohl in der konsole via mac als auch via backupit probiert

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

                                @heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:

                                ich habe es sowohl in der konsole via mac als auch via backupit probiert

                                nicht dass dir der mac in die Suppe spuckt und das tar. entpackt

                                @heisenberg0709 sagte in Backupit - keine iobroker Backups möglich:

                                inwiefern?

                                • ob dann auch alles zusammenbricht
                                • ob dann ein Backup unter /opt/iobroker/backups liegt

                                hast du per Konsole vorher iobroker stop gemacht?

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

                                  @thomas-braun

                                  ich habe die Schritte eben nochmal durchgeführt, es bleibt bei der aktuellen Situation.

                                  Ich gehe mal davon aus, das das NodeJS sauber installiert ist. Kann man das ggf. irgendwie abprüfen?

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

                                    @heisenberg0709
                                    Ja, das steht in meiner Signatur.
                                    Kann man mit

                                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                    

                                    checken.

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

                                      @thomas-braun

                                      habe gerade deine Top Anleitung kurz durchgelesen 😉

                                      hier das Ergebnis:

                                      pi@iobrokerSSD062021master:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v12.22.4
                                      v12.22.4
                                      6.14.14
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                    
                                      OK:3 https://deb.nodesource.com/node_12.x buster InRelease                     
                                      Paketlisten werden gelesen... Fertig                             
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Alle Pakete sind aktuell.
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                    
                                      OK:3 https://deb.nodesource.com/node_12.x buster InRelease                     
                                      Paketlisten werden gelesen... Fertig                             
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Alle Pakete sind aktuell.
                                      nodejs:
                                        Installiert:           12.22.4-1nodesource1
                                        Installationskandidat: 12.22.4-1nodesource1
                                        Versionstabelle:
                                       *** 12.22.4-1nodesource1 500
                                              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           10.24.0~dfsg-1~deb10u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                      
                                      
                                      Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Heisenberg0709 last edited by

                                        @heisenberg0709 Dann fällt mir nix mehr ein.

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

                                          @heisenberg0709
                                          Welche js-controller Version hast du laufen?

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            Heisenberg0709 @simatec last edited by Heisenberg0709

                                            @simatec

                                            aktuell:
                                            (Node.js v12.22.4 // NPM 6.14.14)

                                            simatec Thomas Braun 2 Replies 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

                                            493
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            97
                                            5028
                                            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