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.
    • Thomas Braun
      Thomas Braun Most Active @BlackTigga last edited by Thomas Braun

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

      Installation redis-server (notwendig ja/nein ??)

      Offenbar ist deine Ur-Version mit redis aufgesetzt gewesen.
      (Wobei man sich halt schon die Frage stellen kann, warum? Wenn man sich nicht daran erinnert scheint ja keine Notwendigkeit dafür gegeben zu sein).

      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:

        Wenn man sich nicht daran erinnert scheint es ja keine Notwendigkeit dafür gegeben zu sein

        wenn man vor Jahrhunderten ein fertiges All-In-One-Image mit Redis genommen hatte, kann man sich vielleicht nur nicht mehr erinnern

        Redis war bei schwächeren SBC notwendig um die I/O Vorgänge zu minimieren

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

          @Homoran
          Okay, das war vor meiner Zeit... ;-D

          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:

            @Homoran
            Okay, das war vor meiner Zeit... ;-D

            Jepp!

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

                                            Support us

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

                                            890
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

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