Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] ROCK64 - Systemabstürze nach Neuinstallation

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] ROCK64 - Systemabstürze nach Neuinstallation

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

      @Homoran @Thomas-Braun
      Habe nun eine neue SD Karte verwendet und wie nachfolgend vorbereitet:

      • Neuinstallation Armbian
      • Hostname festlegen auf "All-In-One-RasPi"
      • Installation IoBroker
      • Installation redis-server
      • IoBroker Wiederherstellung durchführen

      Funktioniert für 10-12 Stunden einwandfrei, aber dann stürzt IoBroker ab und ist nicht mehr erreichbar. Das ist jetzt schon zwei Mal genauso passiert.

      Auffälligkeiten:

      • Infos in der Konsole vor Systemabsturz : Usage of /: 6% of 29G
       ____            _       __   _  _
      |  _ \ ___   ___| | __  / /_ | || |
      | |_) / _ \ / __| |/ / | '_ \| || |_
      |  _ < (_) | (__|   <  | (_) |__   _|
      |_| \_\___/ \___|_|\_\  \___/   |_|
      Welcome to Armbian 20.11.3 Buster with Linux 5.9.14-rockchip64
      System load:   30%              Up time:       0 min
      Memory usage:  3% of 3.82G      IP:            192.168.178.123
      CPU temp:      51°C             Usage of /:    6% of 29G
      
      [ 0 security updates available, 22 updates total: apt upgrade ]
      Last check: 2021-01-01 10:37
      
      [ General system configuration (beta): armbian-config ]
      
      blacktigga@rock64:~$
      
      
      ------
      
      
      Welcome to GNU Parted! Type 'help' to view a list of commands.
      (parted) print
      Model: SD SE32G (sd/mmc)
      Disk /dev/mmcblk0: 31,9GB
      Sector size (logical/physical): 512B/512B
      Partition Table: msdos
      Disk Flags:
      
      Number  Start   End     Size    Type     File system  Flags
       1      16,8MB  31,6GB  31,6GB  primary  ext4
      
      • Infos in der Konsole nach Systemabsturz : Usage of /: 100% of 29G
       ____            _       __   _  _
      |  _ \ ___   ___| | __  / /_ | || |
      | |_) / _ \ / __| |/ / | '_ \| || |_
      |  _ < (_) | (__|   <  | (_) |__   _|
      |_| \_\___/ \___|_|\_\  \___/   |_|
      
      Welcome to Debian GNU/Linux 10 (buster) with Linux 5.9.14-rockchip64
      
      System load:   46%              Up time:       1 min
      Memory usage:  3% of 3.82G      IP:            192.168.178.123
      CPU temp:      60°C             Usage of /:    100% of 29G
      
      [ General system configuration (beta): armbian-config ]
      
      Last login: Fri Jan  1 17:17:38 2021 from 192.168.178.114
      
      blacktigga@All-In-One-RasPi:~$ sudo parted
      
      GNU Parted 3.2
      Using /dev/mmcblk0
      Welcome to GNU Parted! Type 'help' to view a list of commands.
      (parted) print
      Model: SD SE32G (sd/mmc)
      Disk /dev/mmcblk0: 31,9GB
      Sector size (logical/physical): 512B/512B
      Partition Table: msdos
      Disk Flags:
      
      Number  Start   End     Size    Type     File system  Flags
       1      16,8MB  31,6GB  31,6GB  primary  ext4
      
      (parted)
      
      

      Irgendetwas zerschießt weiterhin das System....
      Weitere Ideen? 🙄

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

        @BlackTigga Wenn dir das root-Verzeichnis vollläuft kein Wunder.

        Schau mit

        ncdu
        

        oder

        du
        

        nach was da passiert.
        Die Partitionierung mit nur einer primären Partition ist auch ungewöhnlich. Macht der Installer von Armbian das so? Wundert mich.

        B 2 Replies Last reply Reply Quote 0
        • B
          BlackTigga @Thomas Braun last edited by

          @Thomas-Braun sagte in ROCK64 - Systemabstürze nach Neuinstallation:

          Die Partitionierung mit nur einer primären Partition ist auch ungewöhnlich. Macht der Installer von Armbian das so? Wundert mich.

          Habe 1:1 das Armbian Image aufgespielt, ohne etwas zu verändern.

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

            @BlackTigga
            Ich bin ja kein Freund von Images. Ich würde wo es nur geht immer selber installieren.

            Homoran 1 Reply Last reply Reply Quote 0
            • B
              BlackTigga @Thomas Braun last edited by

              @Thomas-Braun

              ncdu kann ich leider nicht nachinstallieren (mangels Platz), deswegen eine Datei mit Auswertung mit du

              du.txt

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

                @Thomas-Braun sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                Ich bin ja kein Freund von Images. Ich würde wo es nur geht immer selber installieren.

                Das meint er ja!
                Armbian OS nennt er image

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

                  @BlackTigga
                  Hangel dich per

                  cd /
                  du -shx ./* | sort -h
                  

                  durch den Verzeichnisbaum.

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

                    @Thomas-Braun

                    blacktigga@All-In-One-RasPi:/opt/iobroker$ cd /opt/iobroker/backups
                    blacktigga@All-In-One-RasPi:/opt/iobroker/backups$ sudo du -shx ./* | sort -h
                    112K    ./2021_01_01-17_30_19_backupiobroker-migration.tar.gz
                    112K    ./2021_01_01-17_56_38_backupiobroker-migration.tar.gz
                    11M     ./iobroker_2020_12_26-05_00_10_StandardBackup_backupiobroker.tar.gz
                    11M     ./iobroker_2021_01_02-05_00_10_StandardBackup_backupiobroker.tar.gz
                    26G     ./historyDB_2021_01_02-05_00_25_backupiobroker.tar.gz
                    blacktigga@All-In-One-RasPi:/opt/iobroker/backups$
                    

                    Übeltäter scheint historyDB zu sein, oder?
                    Und ich kann noch berichten, dass die täglichen BackUps um 5:00 Uhr durchgeführt werden und die beiden Abstürze jeweils kurz nach 5:00 Uhr passiert sind.

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

                      @BlackTigga Ja, wenn die historyDB ganze 26 GB wegschnuckelt, dann wird es für das System mehr als eng und es hat dann keine Lust mehr...

                      Was ballerst du denn da alles rein?

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

                        @Thomas-Braun

                        Ich aktiviere nur "History Daten" im BackItUp, weitere Einstellungen sind da ja nicht möglich, oder?

                        Zwischenablage01.jpg

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

                          @BlackTigga Ich meinte eigentlich, was alles in die HistoryDB reinläuft, dass die so ein dickes Backupfile generiert?

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

                            @Thomas-Braun sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                            @BlackTigga Ich meinte eigentlich, was alles in die HistoryDB reinläuft, dass die so ein dickes Backupfile generiert?

                            Möglich, dass der Pfad falsch ist und dort auch die ganzen Backups der History noch mit drin sind?

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

                              @Homoran @BlackTigga Könnte es sein, dass es da einen 'Kurzschluss' gibt und immer weiter das Backupfile mit sich selber gefüllt wird?
                              Ich hab selber history nicht laufen und daher kein Gefühl wie dick die Datenbank da werden kann. Aber 26 GB in ein paar Stunden hört sich bei normaler Konfiguration unmöglich an.

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

                                @Thomas-Braun sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                                mmer weiter das Backupfile mit sich selber gefüllt wird?

                                das ist was ich meinte!

                                gab es schon paarmal

                                EDIT:
                                ich logge schon wirklich gewaltige Mengen, aber 26GB an einem Tag schaffe selbst ich nicht:
                                History_size.png

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BlackTigga @Homoran last edited by

                                  @Homoran sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                                  Möglich, dass der Pfad falsch ist und dort auch die ganzen Backups der History noch mit drin sind?

                                  Der Pfad?
                                  Zwischenablage01.jpg

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

                                    @BlackTigga sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                                    Der Pfad?

                                    Bingo!

                                    das ist nicht der offizielle Speicherpfad für History
                                    Diesen siehst du in meinem Filezilla Screenshot

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      BlackTigga @Homoran last edited by

                                      @Homoran
                                      Dann besser unter /opt/iobroker/iobroker-data/history/ ?
                                      (https://forum.iobroker.net/topic/8996/history-daten-speicherort-und-sicherung/2)

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

                                        @BlackTigga sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                                        Dann besser unter /opt/iobroker/iobroker-data/history/ ?

                                        auf jeden Fall!
                                        Im Moment sicherst du die gesamte ioBroker-Installation, incl. sämtlicher bisherigen Backups bei jedem history-Backup

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          BlackTigga @Homoran last edited by

                                          @Homoran @Thomas-Braun

                                          Sieht gut aus!!
                                          Backup ist heute morgen problemlos durchgelaufen und System läuft.

                                          Vielen Dank für eure Unterstützung und Geduld!

                                          blacktigga@All-In-One-RasPi:/opt$ cd /opt/iobroker
                                          blacktigga@All-In-One-RasPi:/opt/iobroker$ du -shx ./* | sort -h
                                          0       ./iob
                                          4,0K    ./CHANGELOG_FIXER_LINUX.md
                                          4,0K    ./CHANGELOG_INSTALLER_LINUX.md
                                          4,0K    ./INSTALLER_INFO.txt
                                          4,0K    ./iobroker
                                          4,0K    ./LICENSE
                                          4,0K    ./package.json
                                          8,0K    ./README.md
                                          8,0K    ./reinstall.js
                                          24K     ./fix_installation.sh
                                          24K     ./install
                                          56K     ./lib
                                          192K    ./log
                                          232K    ./20210102
                                          340K    ./package-lock.json
                                          23M     ./backups
                                          172M    ./iobroker-data
                                          536M    ./node_modules
                                          
                                          
                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @BlackTigga last edited by

                                            @BlackTigga sagte in ROCK64 - Systemabstürze nach Neuinstallation:

                                            23M ./backups

                                            das passt zu meinen Größen

                                            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

                                            647
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            rock64 image
                                            4
                                            70
                                            2933
                                            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