Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Mini-HowTo: Cannot find view "system" for search "host"

    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

    Mini-HowTo: Cannot find view "system" for search "host"

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

      3.3.8 (2021-05-03)

      • (Apollon77/foxriver76) Optimize Database storage behaviour for file database
      • (foxriver76) change default behaviour of cli update command -> only list installed, allow --all as parameter to see all again
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @apollon77 last edited by

        @apollon77

        Kurztest: Beide Dateien werden regelmäßig (Timestamp etwa minütlich) geschrieben. Ist das normal oder richtig in der Häufigkeit? Hab das nicht im Blick wie es sein soll.

        apollon77 1 Reply Last reply Reply Quote 1
        • apollon77
          apollon77 @Thomas Braun last edited by

          @thomas-braun Naja liegt an den Önderungen an den Daten und dann dem eingestellten Schreibdelay (States 30s, Objects 5s) ... also ja. kann hinkommen

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

            @apollon77
            States hab ich auf redis laufen.
            Objects auf file.

            Aber warum muss man die Objects überhaupt so häufig speichern? Ich dachte die ändern sich in einem 'gesetzten' System kaum noch.

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

              @thomas-braun Geht nicht um "Häufigkeit". Die 5s heisst: 5s nach einem Change speichern wir. An sich ändern sich Objekte nicht so wirklich oft (war zumindestens bisher so), sind aber wenn "wichtige Informationen". Daher war es immer "Wenn sich mal ein Objekt ändert dann sollte man das zeitnah persistieren". Wenn es keine Objekt-Änderung gibt wird aiuch nix gespeichert!

              Inzwischen hat sich aber das Thema weiterentwickelt und Objekte ändern sich häufiger - auch wenn es nur der Zeitstempel ist und das macht das gerade strange. Da Optimieren wir momentan und mit den controller Versionen.

              1 Reply Last reply Reply Quote 0
              • R
                rehmosch last edited by

                Vielen Dank für diesen Beitrag. Habe den ganzen Vormittag damit verbracht ioBROKER "wieder einmal" zum Laufen zu bekommen. Das letzte mal war der Dateienschwund vor einem halben Jahr (SD Karte) und hätte nicht gedacht das es dieses Mal (SSD) wieder passieren würde.

                Wenn ich es hier im thread richtig verstanden habe, dann liegt es am Netzteil?

                Danke nochmal für diesen Thread!

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

                  @rehmosch sagte in Mini-HowTo: Cannot find view "system" for search "host":

                  Wenn ich es hier im thread richtig verstanden habe, dann liegt es am Netzteil?

                  das Netzteil ist eine mögliche Variante.

                  ioBroker schreibt sehr viele Daten, tlw. in sehr kurzen Abständen.
                  Wenn es genau in dem Moment zu einem Problem kommt ist die Datenbank defekt.

                  Ein under-voltage wäre ein solches Problem.

                  BananaJoe 1 Reply Last reply Reply Quote 1
                  • apollon77
                    apollon77 @rehmosch last edited by

                    @rehmosch AM Ende schau mal in /var/log/syslog zum relevanten Zeitpunkt ...

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

                      @homoran sagte in Mini-HowTo: Cannot find view "system" for search "host":

                      @rehmosch sagte in Mini-HowTo: Cannot find view "system" for search "host":

                      Wenn ich es hier im thread richtig verstanden habe, dann liegt es am Netzteil?

                      Ein under-voltage wäre ein solches Problem.

                      Eine under-voltage-Meldung solltest du nach dem booten in den Logs finden bzw. diesen Befehl ausführen:

                      /opt/vc/bin/vcgencmd get_throttled
                      

                      Wenn da dann nicht

                      throttled=0x0
                      

                      steht hast du ein Netzteilproblem.

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        rehmosch @BananaJoe last edited by rehmosch

                        @bananajoe said in Mini-HowTo: Cannot find view "system" for search "host":

                        /opt/vc/bin/vcgencmd get_throttled

                        danke

                        throttled=0x50000
                        
                        
                        
                        BananaJoe 1 Reply Last reply Reply Quote 0
                        • BananaJoe
                          BananaJoe Most Active @rehmosch last edited by BananaJoe

                          @rehmosch du brauchts ein neues Netzteil! Mein Raspi am 3D Drucker hatte auch undervoltage und ich hatte mich schon gewundert warum der bei Kurven so ruckelt ...

                          Hab ein offizielles Originalnetzteil gekauft und die Probleme waren weg

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            rehmosch @BananaJoe last edited by rehmosch

                            @bananajoe danke! Mann das erklärt so vieles ;( hast du einen Link?

                            Ach ja, hab ein Raspberry 4 / 4 GB RAM mit usbc SSD (128 GB) dran.

                            Danke

                            BananaJoe 1 Reply Last reply Reply Quote 0
                            • BananaJoe
                              BananaJoe Most Active @rehmosch last edited by

                              @rehmosch
                              Für den Pi:
                              https://www.amazon.de/gp/product/B07TMPC9FG

                              Mit einer SSD sollte gehen (habe ich als ESXi mit einer 256GB SSD an einem USB Adapter auch am laufen)

                              R 1 Reply Last reply Reply Quote 1
                              • R
                                rehmosch @BananaJoe last edited by rehmosch

                                @bananajoe hab das auf der offiziellen Seite gefunden ... aber Kauf klappt irgendwie nicht ;(

                                https://www.raspberrypi.org/products/type-c-power-supply/

                                dann halt doch Amazon ist halt die weiße Version 😉
                                https://www.amazon.de/offizielles-Raspberry-Pi-Steckernetzteil-Länderstecker/dp/B01N5ME6EW/ref=sr_1_3?__mk_de_DE=ÅMÅŽÕÑ&dchild=1&keywords=Raspberry+Pi+-+offizielles+Netzteil+für+Raspberry+Pi+4+Model&qid=1627640944&s=computers&sr=1-3

                                Vielen Dank für deine Hilfe !

                                Update:
                                habe heute schon wieder defekte Dateien gehabt und das Teil kommt heute Abend 😉

                                1 Reply Last reply Reply Quote 0
                                • G
                                  GOETSCHHOFER @Thomas Braun last edited by GOETSCHHOFER

                                  @thomas-braun said in Mini-HowTo: Cannot find view "system" for search "host":

                                  cd backup-objects/

                                  Ich kann den iobroker nicht mehr über die IP:8081 aufrufen, über die shell funktioniert dies einwandfrei.

                                  Habe gestern schon update & upgrade u. iobroker fix versucht, aber kein Erfolg.

                                  Hätte die Reparatur nach dieser wunderbaren Anleitung versucht, aber ohne Erfolg.
                                  Nach meiner Beurteilung ist nur die Datei: -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 10:49 2021-08-20_10-49_objects.json.gz betroffen.

                                  In der Anleitung ist INTAKTE_DATEI zu ersetzen.

                                  Bin mir nicht sicher, ob ich die Dateibezeichnung richtig nach Vorlage ersetzt habe ?


                                  5433b504-4293-436d-a775-a1d4df4babcb-image.png

                                  Danke für die Hilfe.

                                  login as: pi
                                  pi@192.168.1.160's password:
                                  
                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.
                                  
                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sat Sep 11 09:55:19 2021 from pc-home-desktop-q6er4kb.fritz.box
                                  pi@raspberrypi:~ $ iobroker status
                                   Cannot read system.config: null (OK when migrating or restoring)
                                   Cannot find view "system" for search "host"
                                  iobroker is running on this host.
                                  
                                  
                                  Objects type: file
                                  States  type: file
                                  pi@raspberrypi:~ $ ls -lh /opt/iobroker/iobroker-data/backup-objects/
                                  insgesamt 35M
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 02:44 2021-08-19_02-44_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 04:45 2021-08-19_04-45_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 06:45 2021-08-19_06-45_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 08:45 2021-08-19_08-45_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 10:46 2021-08-19_10-46_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 12:46 2021-08-19_12-46_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 14:46 2021-08-19_14-46_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 16:47 2021-08-19_16-47_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 18:47 2021-08-19_18-47_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 20:47 2021-08-19_20-47_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 19 22:47 2021-08-19_22-47_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 00:48 2021-08-20_00-48_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 02:48 2021-08-20_02-48_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 04:48 2021-08-20_04-48_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 06:48 2021-08-20_06-48_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 08:49 2021-08-20_08-49_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 1,9M Aug 20 10:49 2021-08-20_10-49_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 3,2K Aug 30 17:14 2021-08-30_17-14_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 3,4K Aug 31 09:52 2021-08-31_09-52_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 09:54 2021-09-02_09-54_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 11:55 2021-09-02_11-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 13:55 2021-09-02_13-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 15:55 2021-09-02_15-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 17:55 2021-09-02_17-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 19:55 2021-09-02_19-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 21:55 2021-09-02_21-55_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  2 23:56 2021-09-02_23-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 01:56 2021-09-03_01-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 03:56 2021-09-03_03-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 05:56 2021-09-03_05-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 07:56 2021-09-03_07-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 09:56 2021-09-03_09-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 11:56 2021-09-03_11-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 13:56 2021-09-03_13-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 15:56 2021-09-03_15-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 17:56 2021-09-03_17-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 19:56 2021-09-03_19-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep  3 21:56 2021-09-03_21-56_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 3,4K Sep 10 20:52 2021-09-10_20-52_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep 10 20:52 2021-09-10_20-52_states.json.g                                                                                                                                                             z
                                  -rw-rwxr--+ 1 iobroker iobroker 3,4K Sep 10 20:54 2021-09-10_20-54_objects.json.                                                                                                                                                             gz
                                  -rw-rwxr--+ 1 iobroker iobroker 126K Sep 10 20:55 2021-09-10_20-54_states.json.g                                                                                                                                                             z
                                  -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 10 21:07 2021-09-10_21-07_objects.json.                                                                                                                                                             gz
                                  -rw-rw-r--+ 1 iobroker iobroker 126K Sep 10 21:07 2021-09-10_21-07_states.json.g                                                                                                                                                             z
                                  -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 10 22:05 2021-09-10_22-05_objects.json.                                                                                                                                                             gz
                                  -rw-rw-r--+ 1 iobroker iobroker 126K Sep 10 22:06 2021-09-10_22-06_states.json.g                                                                                                                                                             z
                                  -rw-rw-r--+ 1 iobroker iobroker 3,4K Sep 11 09:51 2021-09-11_09-51_objects.json.                                                                                                                                                             gz
                                  -rw-rw-r--+ 1 iobroker iobroker 126K Sep 11 09:51 2021-09-11_09-51_states.json.g                                                                                                                                                             z
                                  pi@raspberrypi:~ $ ^C
                                  
                                  
                                  pi@raspberrypi:~ $ iobroker stop
                                  pi@raspberrypi:~ $ cd /opt/iobroker/iobroker-data/
                                  pi@raspberrypi:/opt/iobroker/iobroker-data $ mv objects.json objects.json.old
                                  pi@raspberrypi:/opt/iobroker/iobroker-data $ cd backup-objects/
                                  pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ gunzip -ck 2021-08-2                                                                                                                                                             0_10-49_objects.json.gz > /opt/iobroker/iobroker-data/objects.json
                                  pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ cd ..
                                  pi@raspberrypi:/opt/iobroker/iobroker-data $ cd ..
                                  pi@raspberrypi:/opt/iobroker $ cd ..
                                  pi@raspberrypi:/opt $ cd ..
                                  pi@raspberrypi:/ $ iobroker start
                                  pi@raspberrypi:/ $ iobroker status
                                  iobroker is running on this host.
                                  
                                  
                                  Objects type: file
                                  States  type: file
                                  pi@raspberrypi:/ $ ^C
                                  
                                  
                                  G apollon77 2 Replies Last reply Reply Quote 0
                                  • G
                                    GOETSCHHOFER @GOETSCHHOFER last edited by GOETSCHHOFER

                                    @Thomas-Braun @wendy2702

                                    Habe nochmals Str+F5 gemacht und siehe da es funktioniert wieder.

                                    Danke für die super Anleitung in diesem Thread👍

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

                                      @goetschhofer Bitte js-controller updaten. Mit der 3.3.x sollte das nicht mehr passieren

                                      G 1 Reply Last reply Reply Quote 1
                                      • G
                                        GOETSCHHOFER @apollon77 last edited by

                                        @apollon77 said in Mini-HowTo: Cannot find view "system" for search "host":

                                        @goetschhofer Bitte js-controller updaten. Mit der 3.3.x sollte das nicht mehr passieren

                                        Dies betrifft jetzt zwar nur meinen alten RSPPi3+ das ich im Mai auf einem IntelNUC übersiedelt bin, aber trotzdem möchte ich den js-controller updaten.
                                        Ich bin blutiger Anfänger und habe noch nie den js-controller upgedatet.

                                        Wenn ich so vorgehe, wie beschrieben passt dies ?

                                        Auf dem iobroker am NUC schaut es so aus, hier bin ich auf 3.2.16:
                                        088990e8-126c-45b2-bc8a-1731b2a07bcd-image.png
                                        94e654fa-641c-45b6-a38c-a0d764560aa9-image.png

                                        Danke

                                        https://www.schimmer-media.de/forum/index.php?thread/3575-update-auf-neuste-js-controller-raspberry-pi/
                                        891d3cec-f1e2-4681-8b33-e1f443dc3b26-image.png

                                        Glasfaser apollon77 3 Replies Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @GOETSCHHOFER last edited by

                                          @goetschhofer

                                          Mähhhh .... was ist das denn .....nicht von dieser Seite

                                          Kein sudo nutzen mit dem Befehl iobroker

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

                                            @goetschhofer In der news message ist doch ein Link drin ... wie wäre es mit dem?

                                            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

                                            898
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            39
                                            302
                                            67464
                                            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