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

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

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

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

      Ich bin vor ca. 2,5 Jahren mit den Standard Download Images (https://www.iobroker.net/#de/download) und einem Standard RasPi gestartet.
      Aktiv habe ich da nichts mit Redis machen müssen. Bin dann irgendwann auf Rock64 umgestiegen, was nicht komplikationsfrei verlief und ich deshalb u.a. noch den Hostname All-In-One-RasPi mitschleppe. Beim fixen der Komplikationen kam ich dann das erste Mal aktiv in Kontakt mit Redis (https://forum.iobroker.net/topic/20866/umzug-raspberry-pi-3-modell-b-plus-nach-rock64/18). Es hat dann einfach funktioniert, und ich war froh.

      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:

        Ich bin vor ca. 2,5 Jahren mit den Standard Download Images (https://www.iobroker.net/#de/download) und einem Standard RasPi gestartet.
        Aktiv habe ich da nichts mit Redis machen müssen.

        Da kann Redis noch in den Images gewesen sein.
        Wenn du später immer Redis nachinstallieren musstest wird das sogar so gewesen sein.

        Vor dem Backup müsste man dann die states wieder auf File umstellen, dann gibt es kein Problem.
        Kannst du natürlich auch jetzt nochmal versuchen mit iobroker setup custom

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

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

          iobroker setup custom

          blacktigga@rock64:~$ iobroker setup custom
          Current configuration:
          - Objects database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9001
          - States database:
            - Type: redis
            - Host/Unix Socket: 127.0.0.1
            - Port: 6379
          - Data Directory: ../../iobroker-data/
          
          Type of objects DB [(f)ile, (r)edis], default [file]:
          Host / Unix Socket of objects DB(file), default[127.0.0.1]:
          Port of objects DB(file), default[9001]:
          Type of states DB [(f)file, (r)edis], default [redis]:
          Host / Unix Socket of states DB (redis), default[127.0.0.1]:
          Port of states DB (redis), default[6379]:
          Data directory (file), default[../../iobroker-data/]:
          Host name of this machine [rock64]:
          updating conf/iobroker.json
          
          
          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:

            iobroker setup custom

            Jepp - die States sind auf Redis.
            Du hättest in Zeile 4 vor dem <Enter> noch ein f setzen müssen, dann wäre das auf Fole umgestellt worden

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

              @Homoran @BlackTigga
              Oder halt auf redis belassen. Ist ja grundsätzlich kein Problem, wenn man sich dessen bewusst ist, dass die Datenbank halt auf redis läuft.

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

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

                @Homoran @BlackTigga
                Oder halt auf redis belassen. Ist ja grundsätzlich kein Problem, wenn man sich dessen bewusst ist, dass die Datenbank halt auf redis läuft.

                korrekt!
                das spart -wie bereits geschrieben- einiges an I/O Operationen

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

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

                  @Homoran OK. Hänge jetzt aber in einer "Sackgasse" fest....
                  Versuche mich jetzt so daraus zu "befreien" um wieder an einen sinnvollen Startpunkt zu kommen:

                  • Neuinstallation Armbian
                  • Hostname festlegen auf "All-In-One-RasPi", damit später das Backup funktioniert
                  • Benutzer anlegen und konsequent (!!) nutzen
                  • Installation IoBroker
                  • Installation redis-server (notwendig ja/nein ??)
                  • IoBroker Backup durchführen
                  • nach erfolgreichem Backup den Hostname in armbian-config auf "rock64" anpassen
                  • abschließend iobroker host this ausführen

                  Dann mache ich das wie oben beschrieben, außer

                  • Hostname lasse ich jetzt bei All-In-One-Raspi, also keine Änderung des Hostnames, stört mich eigentlich auch nur geringfügig
                  • redis-server installieren >> JA
                  Homoran B 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @BlackTigga last edited by

                    @BlackTigga Gut!

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

                      @Homoran
                      Frage nebenbei:
                      apt remove unattended-upgrades
                      Sinnvoll ja/nein? Hatte ich irgendwo in einem Thread mal mitgeschnitten, bin mir aber nicht mehr sicher über das "Warum".

                      Homoran B Thomas Braun Meister Mopper 4 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @BlackTigga last edited by

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

                        Sinnvoll ja/nein?

                        das kann ich nicht beantworten, mal @Thomas-Braun fragen

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

                          @Thomas-Braun Sinnvoll?

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

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

                            unattended-upgrades

                            Damit kann sich das System autonom im Hintergrund selber aktuell halten.
                            ICH brauche das auf meinen Systemen nicht, z. B. bei meinem Vater auf seinem Ubuntu läuft das im Hintergrund damit er sich nicht selber um Updates kümmern muss.

                            Wenn man selber regelmäßig mal nach dem System schaut braucht man es wohl nicht.

                            1 Reply Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @BlackTigga last edited by

                              @BlackTigga Ich benutze da lieber Apticron und lasse mich per E-Mail über vorhandene Updates informieren. Dann verpasse ich nichts und habe den Überblick, was tatsächlich zum Update ansteht.

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

                                @Meister-Mopper Danke, schaue ich mir mal an

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

                                  @Homoran bei iobroker setup custom erhalte ich am Ende folgende Fehlermeldung:

                                  Connecting to new DB "file" ...
                                  No connection to states 127.0.0.1:6379[redis]
                                  [New Database could not be connected. Please check your settings. No settings have been changed..]

                                  Ich vermute bei Host / Unix Socket of states DB (redis), default[127.0.0.1]: muss was angepasst werden.
                                  IP vom Rock?

                                  blacktigga@All-In-One-RasPi:~$ sudo iobroker setup custom
                                  Current configuration:
                                  - Objects database:
                                    - Type: file
                                    - Host/Unix Socket: 127.0.0.1
                                    - Port: 9001
                                  - States database:
                                    - Type: file
                                    - Host/Unix Socket: 127.0.0.1
                                    - Port: 9000
                                  - Data Directory: ../../iobroker-data/
                                  
                                  Type of objects DB [(f)ile, (r)edis], default [file]:
                                  Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                                  Port of objects DB(file), default[9001]:
                                  Type of states DB [(f)file, (r)edis], default [file]: r
                                  
                                  When States are stored in a Redis database please make sure to configure Redis
                                  persistence to make sure a Redis problem will not cause data loss!
                                  
                                  Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                                  Port of states DB (redis), default[6379]:
                                  Data directory (file), default[../../iobroker-data/]:
                                  Host name of this machine [All-In-One-RasPi]:
                                  This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y
                                  
                                  Do you want to migrate objects and states from "file/file" to "file/redis" [y/N]: y
                                  Connecting to previous DB "file"...
                                  Creating backup ...
                                  This can take some time ... please be patient!
                                  host.All-In-One-RasPi 273 states saved
                                  host.All-In-One-RasPi 361 objects saved
                                  readFile will not read this file (css/vis-common-user.css) in future versions: vis is not an object of type "meta"
                                  Backup created: /opt/iobroker/backups/2021_01_01-17_30_19_backupiobroker-migration.tar.gz
                                  updating conf/iobroker.json
                                  
                                  Connecting to new DB "file" ...
                                  No connection to states 127.0.0.1:6379[redis]
                                  
                                  [New Database could not be connected. Please check your settings. No settings have been changed.]
                                  restoring conf/iobroker.json
                                  blacktigga@All-In-One-RasPi:~$
                                  
                                  B Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • B
                                    BlackTigga @BlackTigga last edited by

                                    @Homoran ...wenn möglich, lösche bitte meinen vorherigen Beitrag
                                    https://forum.iobroker.net/topic/40289/rock64-systemabstürze-nach-neuinstallation/47

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

                                      @BlackTigga Läuft der redis server?

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

                                        @Thomas-Braun 😖 ja genau das war das Problem

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            559
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

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