Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Mini-HowTo: Cannot find view "system" for search "host"

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
302 Beiträge 39 Kommentatoren 78.5k Aufrufe 45 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Tottbeck

    Mich hat nach einem Stromausfall auch erwischt. Mein Master Slave-System will nicht mehr

    Master Raspi3
    Slave Raspi4
    (Die Master/Slave Zuordnung war eigentlich umgekehrt geplant, hat sich aber so "ergeben")

    Ich habe mit dem Backups-Adapter aktuelle Backups auf meinem NAS (iobroker + javascripts) liegen.
    Also kein großes Problem habe ich gehofft.

    Es sah nach einem Problem auf dem Master auf, da der Slave keine Verbindung bekam.
    Habe daher auf dem Raspi3 ein "iobroker restore 0" durchgeführt, dabei wurde unbeabsichtigt eine lokale Version von vor einem Jahr benutzt, (bevor ich auf die NAS-Speicherung umgestellt habe). Es tat sich danach auch etwas, zumindest der admin-adapter lief.
    Dann habe ich das aktuelle Backup von NAS in das Raspi3-Backup-Verzeichnis kopiert und wieder "ein iobroker restore 0" durchgeführt. Das lief auch durch. Ich konnte beide iobroker auf beiden Raspis starten und die haben sich wohl auch gefunden.
    Es sind nun aber keine Instanzen per "iobroker list instances" sichtbar.
    Auch ein "ps -A | grep iobroker" zeigt keine Ausgabe, obwohl der iobroker angeblich läuft.

    Ich habe jetzt Angst das ich das weiter verpfusche.
    Wie kann ich das Backup sauber einspielen ?

    Raspi 4

    pi@Raspi4:~ $ node -v
    v12.21.0
    pi@Raspi4:~ $ npm -v
    6.14.11
    pi@Raspi4:~ $ iobroker -version
    3.3.22
    pi@Raspi4:iobroker status
    iobroker is running on this host.
    
    At least one iobroker host is running.
    
    Objects type: file
    States  type: file
    pi@Raspi4:~ $ ps -A | grep iobroker
    pi@Raspi4:~ $ ls -lh /opt/iobroker/iobroker-data/backup-objects/ | grep objects
    ..
    -rw-rwxr--+ 1 iobroker iobroker 604K Mar 15  2021 2021-03-15_23-29_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 539K Mar 16  2021 2021-03-16_21-30_objects.json.gz
    pi@Raspi4:~ $ iobroker list instances
    
    
    + instance is alive
    pi@Raspi4:~ $
    
    

    Raspi 3

    pi@Raspi3:/opt/iobroker $ node -v
    v12.20.1
    pi@Raspi3:/opt/iobroker $ npm -v
    6.14.10
    pi@Raspi3:/opt/iobroker $ iobroker status
    iobroker is running on this host.
    
    
    Objects type: file
    States  type: file
    pi@Raspi3:/opt/iobroker $ sudo iobroker list instances                          
    
    + instance is alive
    pi@Raspi3:/opt/iobroker $ ps -A | grep iobroker 
    pi@Raspi3:
    pi@Raspi3:/opt/iobroker $ ls -lh /opt/iobroker/iobroker-data/backup-objects/ | grep objects
    -rw-rwxr--+ 1 iobroker iobroker 2.1M Mar 13 02:33 2022-03-13_02-33_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 2.1M Mar 13 04:34 2022-03-13_04-34_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 2.1M Mar 13 06:35 2022-03-13_06-34_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 2.1M Mar 13 08:35 2022-03-13_08-35_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.1K Mar 13 10:17 2022-03-13_10-17_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.1K Mar 13 10:18 2022-03-13_10-18_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.1K Mar 13 11:02 2022-03-13_11-02_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.2K Mar 13 11:03 2022-03-13_11-03_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.2K Mar 13 11:04 2022-03-13_11-04_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.2K Mar 13 11:05 2022-03-13_11-05_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.2K Mar 13 11:06 2022-03-13_11-06_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.2K Mar 13 11:07 2022-03-13_11-07_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.9K Mar 13 11:08 2022-03-13_11-08_objects.json.gz
    -rw-rwxr--+ 1 iobroker iobroker 1.9K Mar 13 11:09 2022-03-13_11-09_objects.json.gz
    ....
    -rw-rw-r--+ 1 iobroker iobroker 1.9K Mar 13 12:05 2022-03-13_12-05_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker  27K Mar 13 12:06 2022-03-13_12-06_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.8M Mar 13 12:16 2022-03-13_12-16_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.8M Mar 13 12:22 2022-03-13_12-22_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.4M Mar 13 12:28 2022-03-13_12-28_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.4M Mar 13 12:44 2022-03-13_12-44_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.4M Mar 13 12:45 2022-03-13_12-45_objects.json.gz
    -rw-rw-r--+ 1 iobroker iobroker 1.4M Mar 13 12:48 2022-03-13_12-48_objects.json.gz
    

    Update: Im Raspi4 (Slave) Backup-Verzeichnis liegen die neuesten Backups, weil dort der Adapter läuft.
    Dort kann das "iobroker restore 0" nicht starten.

    pi@Raspi4:~ $ iobroker restore 0
    Stop iobroker first!
    pi@Raspi4:~ $ iobroker stop
    pi@Raspi4:~ $ iobroker restore 0
    Stop iobroker first!
    ### => (iobroker auf Master gestoppt)
    pi@Raspi4:~ $ iobroker restore 0
    No connection to databases possible ...
    pi@Raspi4:~ $
    
    apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #271

    @tottbeck Jetzt mal gaaaanz langsam .....

    Ein Slave hat faktisch keine eigenen Daten die ein Backup restoren kann ... der Master ist der EINZIGE mit einer DB. EIn Restore auf dem Slave hat keine Ahnung was angerichtet ...

    Jetzt müssen wir erstmal rausfinden was bei Dir genau los ist!!

    Also fangen wir mit dem Master an ... Es sieht ja so aus also ob du von der DB noch ein Objects-Backup hast von "Mar 13 12:16 2022-03-13_12-16_objects.json.gz" ,mit 1,8MB .... War das vor dem stromausfall? Dann wäre es viel einfacher gewesen einfach dieses File wiederherzustellen anstelle wilf ein Backup zu restoren ...

    Hast Du auch noch ein states Backup dort von ungefähr gleicher zeit? Wenn ja. Master (und slave - den am besten eh gestoppt lassen!) stoppen. Dann die objects und states Backups entpacken und ersetzen. Dann Master starten und ins Log schauen ... passt da alles wieder??

    Wenn das so ist .. Slave starten ... Dort Log schauen ... wie sieht es da aus?

    Was natürlich jetzt sein kann durch deine restores das User-eigene Files von Visus oder so fehlen ... da musste schauen ...

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    T 1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      @tottbeck Jetzt mal gaaaanz langsam .....

      Ein Slave hat faktisch keine eigenen Daten die ein Backup restoren kann ... der Master ist der EINZIGE mit einer DB. EIn Restore auf dem Slave hat keine Ahnung was angerichtet ...

      Jetzt müssen wir erstmal rausfinden was bei Dir genau los ist!!

      Also fangen wir mit dem Master an ... Es sieht ja so aus also ob du von der DB noch ein Objects-Backup hast von "Mar 13 12:16 2022-03-13_12-16_objects.json.gz" ,mit 1,8MB .... War das vor dem stromausfall? Dann wäre es viel einfacher gewesen einfach dieses File wiederherzustellen anstelle wilf ein Backup zu restoren ...

      Hast Du auch noch ein states Backup dort von ungefähr gleicher zeit? Wenn ja. Master (und slave - den am besten eh gestoppt lassen!) stoppen. Dann die objects und states Backups entpacken und ersetzen. Dann Master starten und ins Log schauen ... passt da alles wieder??

      Wenn das so ist .. Slave starten ... Dort Log schauen ... wie sieht es da aus?

      Was natürlich jetzt sein kann durch deine restores das User-eigene Files von Visus oder so fehlen ... da musste schauen ...

      T Offline
      T Offline
      Tottbeck
      schrieb am zuletzt editiert von
      #272

      @apollon77
      Danke schonmal für die schnelle Reaktion.

      Ich habe das Backup schon auf dem Master(Raspi) gemacht. Das hat es dann aber eine lokale Version genommen, die ein Jahr alt ist.
      Danach habe ich die Sicherung, die der BackitUp-Adapter (der läuft auf dem performanteren Slave-Raspi4 und legt da die lokalen Kopien ab, evtl ist das das Problem) auf meinem NAS ablegt, in den Raspi3 backup-Ordner kopiert und restored. Danach ging aber nichts mehr.

      Jetzt habe ich wieder den alten Backup eingespielt, das läuft prinzipiell, ist aber ein Jahr alt. Ich habe jetzt versucht ein Restore über den BackitUpAdatper zu machen. Der wird mir zwar als installiert angezeigt (Ver. 2.3.3), aber erscheint nicht unter Instanzen. Um eine neue Instanz kann ich nicht anlegen. (host.Raspi4 Invalid version of "admin". Installed "4.2.1", required ">=5.1.0", obwohl der Admin eigentlich Version 5.3.1 hat.

      Der Stromausfall war um ca. 10:00, d.h. die 2.1M-Files waren wohl die vollständigen.
      Ich habe nun die objects und states von 8:00 genommen. Damit startet er auch. Durch das alte Backup habe ich mir da aber jetzt etwas durcheinander gebracht.
      Ich muss doch jetzt "nur" noch ein aktuelles Backup einspielen können.

      apollon77A 1 Antwort Letzte Antwort
      0
      • T Tottbeck

        @apollon77
        Danke schonmal für die schnelle Reaktion.

        Ich habe das Backup schon auf dem Master(Raspi) gemacht. Das hat es dann aber eine lokale Version genommen, die ein Jahr alt ist.
        Danach habe ich die Sicherung, die der BackitUp-Adapter (der läuft auf dem performanteren Slave-Raspi4 und legt da die lokalen Kopien ab, evtl ist das das Problem) auf meinem NAS ablegt, in den Raspi3 backup-Ordner kopiert und restored. Danach ging aber nichts mehr.

        Jetzt habe ich wieder den alten Backup eingespielt, das läuft prinzipiell, ist aber ein Jahr alt. Ich habe jetzt versucht ein Restore über den BackitUpAdatper zu machen. Der wird mir zwar als installiert angezeigt (Ver. 2.3.3), aber erscheint nicht unter Instanzen. Um eine neue Instanz kann ich nicht anlegen. (host.Raspi4 Invalid version of "admin". Installed "4.2.1", required ">=5.1.0", obwohl der Admin eigentlich Version 5.3.1 hat.

        Der Stromausfall war um ca. 10:00, d.h. die 2.1M-Files waren wohl die vollständigen.
        Ich habe nun die objects und states von 8:00 genommen. Damit startet er auch. Durch das alte Backup habe ich mir da aber jetzt etwas durcheinander gebracht.
        Ich muss doch jetzt "nur" noch ein aktuelles Backup einspielen können.

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #273

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

        Invalid version of "admin". Installed "4.2.1", required ">=5.1.0",

        Das wäre duerch ein "iob upload admin" gefixt gewesen

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        T 1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

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

          Invalid version of "admin". Installed "4.2.1", required ">=5.1.0",

          Das wäre duerch ein "iob upload admin" gefixt gewesen

          T Offline
          T Offline
          Tottbeck
          schrieb am zuletzt editiert von
          #274

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

          Das wäre duerch ein "iob upload admin" gefixt gewesen

          OK, danke. Habe ich gemacht (auf dem Master) und konnte dann ein BackItUp Instanz anlegen (auf dem Slave wo sie vorher auch war).
          Dann kann ich das lokale Backup auswählen, aber das Einspielen klappt nicht.
          65d20341-f294-45a8-8c21-41a9bfb23286-image.png
          Die Meldung ist zwar etwas widerspüchlich, es geht aber etwas zu schnell und wurde wohl abgebrochen.
          Wenn ich auf dem Master das BackItUp auswähle, (da findet er auch die auf dem Slave-Backup-Folder, dann kommt in dem Restore Fenster nur eine Fehlermeldung "192.168.xxx.yyy hat die Verbindung abgelehnt."

          Dann habe ich BackItUp auf der Raspi3 (Master) verschoben, das Backup in den lokale Ordner kopiert und restored.
          Das geht zwar aber dann habe ich wieder keine Instanzen.

          wendy2702W apollon77A 2 Antworten Letzte Antwort
          0
          • T Tottbeck

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

            Das wäre duerch ein "iob upload admin" gefixt gewesen

            OK, danke. Habe ich gemacht (auf dem Master) und konnte dann ein BackItUp Instanz anlegen (auf dem Slave wo sie vorher auch war).
            Dann kann ich das lokale Backup auswählen, aber das Einspielen klappt nicht.
            65d20341-f294-45a8-8c21-41a9bfb23286-image.png
            Die Meldung ist zwar etwas widerspüchlich, es geht aber etwas zu schnell und wurde wohl abgebrochen.
            Wenn ich auf dem Master das BackItUp auswähle, (da findet er auch die auf dem Slave-Backup-Folder, dann kommt in dem Restore Fenster nur eine Fehlermeldung "192.168.xxx.yyy hat die Verbindung abgelehnt."

            Dann habe ich BackItUp auf der Raspi3 (Master) verschoben, das Backup in den lokale Ordner kopiert und restored.
            Das geht zwar aber dann habe ich wieder keine Instanzen.

            wendy2702W Online
            wendy2702W Online
            wendy2702
            schrieb am zuletzt editiert von
            #275

            @tottbeck das dauert.

            Hast du mal parallel ins iobroker log geschaut bzw. Wie lange hast du gewartet?

            Bitte keine Fragen per PN, die gehören ins Forum!

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            1 Antwort Letzte Antwort
            0
            • T Tottbeck

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

              Das wäre duerch ein "iob upload admin" gefixt gewesen

              OK, danke. Habe ich gemacht (auf dem Master) und konnte dann ein BackItUp Instanz anlegen (auf dem Slave wo sie vorher auch war).
              Dann kann ich das lokale Backup auswählen, aber das Einspielen klappt nicht.
              65d20341-f294-45a8-8c21-41a9bfb23286-image.png
              Die Meldung ist zwar etwas widerspüchlich, es geht aber etwas zu schnell und wurde wohl abgebrochen.
              Wenn ich auf dem Master das BackItUp auswähle, (da findet er auch die auf dem Slave-Backup-Folder, dann kommt in dem Restore Fenster nur eine Fehlermeldung "192.168.xxx.yyy hat die Verbindung abgelehnt."

              Dann habe ich BackItUp auf der Raspi3 (Master) verschoben, das Backup in den lokale Ordner kopiert und restored.
              Das geht zwar aber dann habe ich wieder keine Instanzen.

              apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #276

              @tottbeck dann am Besten mal im
              Backitup thread melden?

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              A 1 Antwort Letzte Antwort
              0
              • T Offline
                T Offline
                Tottbeck
                schrieb am zuletzt editiert von
                #277

                @wendy2702
                Ich habe nicht auf den log geschaut, aber mindesten 30 Minuten gewartet.
                Mit dem alten Backup hatte ich schon nach kurzer Zeit wieder die ersten Instanzen up.

                Ich habe iwie keine Möglichkeit gefunden das Backup vernünftig einzuspielen.
                Ist es nicht zulässig ein BackitUp-Restore vom Slave zu machen? (Hatte ich mal gemacht meine ich bin aber nicht sicher)

                @apollon77
                Ja macht wohl mehr Sinn bzgl BackitUp, ich hänge das mal an meinen alten Thread zum Multihost
                https://forum.iobroker.net/topic/43295/slave-adapter-fehlen-beim-multihost-system-aufsetzen/11

                Danke Euch

                1 Antwort Letzte Antwort
                0
                • apollon77A apollon77

                  @tottbeck dann am Besten mal im
                  Backitup thread melden?

                  A Offline
                  A Offline
                  Anzic
                  schrieb am zuletzt editiert von
                  #278

                  @apollon77 This situation happens to me every time when the container is reloaded. I'm already tired of restoring from a backup file. For me the procedure looks like this:
                  reloading the container, I get:
                  Cannot read system.config: null (OK when migrating or restoring)
                  npm i iobroker.js-controller@4.0.23 --production
                  iob stop
                  iob restore iobroker_2022_05_05-02_00_10_backupiobroker.tar.gz
                  and the agonizing wait until everything is removed and re-installed. Is there a way to fix it faster? I tried the fix, it doesn't help.
                  also found that when this happens the iobroker.json file resets the objects setting to "file" even though I'm using JSONL. I thought it would be better when I switched to it, but it only got worse. Please help, I'm really tired of restoring the entire system every time.

                  apollon77A 1 Antwort Letzte Antwort
                  0
                  • A Anzic

                    @apollon77 This situation happens to me every time when the container is reloaded. I'm already tired of restoring from a backup file. For me the procedure looks like this:
                    reloading the container, I get:
                    Cannot read system.config: null (OK when migrating or restoring)
                    npm i iobroker.js-controller@4.0.23 --production
                    iob stop
                    iob restore iobroker_2022_05_05-02_00_10_backupiobroker.tar.gz
                    and the agonizing wait until everything is removed and re-installed. Is there a way to fix it faster? I tried the fix, it doesn't help.
                    also found that when this happens the iobroker.json file resets the objects setting to "file" even though I'm using JSONL. I thought it would be better when I switched to it, but it only got worse. Please help, I'm really tired of restoring the entire system every time.

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #279

                    @anzic What exactly do you mean with "when container is reloaded"?

                    Additionally: what does "iob status" give you ? Which DB type do you use? It should also not really happen with JSONL (which is starndard in 4.0.x contoller) and should also not happen again with js-controller 4 File DB usage.

                    So please provide logs from iobroker from such a "reload" last mins before and some mins after start". I hope that "reload" do not mean "immediate kill of anything and no proper shutdown"

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    A 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @anzic What exactly do you mean with "when container is reloaded"?

                      Additionally: what does "iob status" give you ? Which DB type do you use? It should also not really happen with JSONL (which is starndard in 4.0.x contoller) and should also not happen again with js-controller 4 File DB usage.

                      So please provide logs from iobroker from such a "reload" last mins before and some mins after start". I hope that "reload" do not mean "immediate kill of anything and no proper shutdown"

                      A Offline
                      A Offline
                      Anzic
                      schrieb am zuletzt editiert von Anzic
                      #280

                      @apollon77
                      i mean that when i restart container with iobroker (buanet/iobroker:v6.1.0). The iobroker.json file is reset to the default one, which states that the "file" object base is used instead of "jsonl". At this point, the controller tries to connect to the objects.json file which is generated automatically, which is 23 KB in size. And if I try to set up iobroker with iobroker setup custom specifying the correct "jsonl" as objects db (even if I put the previously saved objects.jsonl file in a folder), it overwrites it using the objects.json.migrated source file and the system doesn't start. So far I have found such a solution for recovery :
                      stop iobroker - iob stop
                      then I execute pgrep -f '^io.' | xargs kill -9 because not all processes are stopped, and if I don't do this and try to put the correct iobroker.json and objects.jsonl, the system will still overwrite them from the "wrong" objects.json.migrated. Therefore pgrep -f '^io.' | xargs kill -9
                      after that I replace the iobroker.json file and objects.jsonl that I saved on the working system.
                      and run iob start
                      in this order the system starts up. Unfortunately, I have to go to the slave later, and run iob setup custom , i.e. for some reason, he also loses contact with the master.

                      root@iobroker:/opt/iobroker# iob isrun
                       Cannot read system.config: null (OK when migrating or restoring)
                      iobroker is running on this host.
                      
                      
                      Objects type: file
                      States  type: redis
                      

                      Reboot occurs by restarting the container, not power loss.
                      "Last entries" before rebooting do not give anything, there are standard logs that are not related to stopping the controller in any way.
                      But the first start can be interesting, apparently, the controller cannot find the objects.json file (although why is it looking for it if it should use objects.jsonl). This is probably due to the fact that after a reboot, an entry appears in the iobroker.json file that it is working with the "file", so it tries to "find" it.

                      2022-05-11 22:48:04.387  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                      2022-05-11 22:48:04.391  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                      2022-05-11 22:48:04.391  - info: host.iobroker hostname: iobroker, node: v14.19.2
                      2022-05-11 22:48:04.391  - info: host.iobroker ip addresses: 192.168.1.100 172.23.0.100
                      2022-05-11 22:48:04.402  - warn: host.iobroker-Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
                      2022-05-11 22:48:04.406  - error: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                      2022-05-11 22:48:04.410  - error: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                      2022-05-11 22:48:04.410  - error: host.iobroker-Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                      2022-05-11 22:48:04.500  - error: host.iobroker Cannot read system.config: null (OK when migrating or restoring)
                      2022-05-11 22:48:04.548  - error: host.iobroker Cannot find view "system" for search "host"
                      2022-05-11 22:48:04.589  - info: host.iobroker connected to Objects and States
                      2022-05-11 22:48:04.618  - info: host.iobroker added notifications configuration of host
                      2022-05-11 22:48:04.621  - warn: host.iobroker logger system.adapter.admin.0.logging was deleted
                      2022-05-11 22:48:04.622  - warn: host.iobroker logger system.adapter.javascript.2.logging was deleted
                      2022-05-11 22:48:04.623  - warn: host.iobroker logger system.adapter.javascript.0.logging was deleted
                      2022-05-11 22:48:04.623  - warn: host.iobroker logger system.adapter.iot.0.logging was deleted
                      2022-05-11 22:48:04.664  - error: host.iobroker Cannot find view "system" for search "instance"
                      2022-05-11 22:48:04.664  - error: host.iobroker Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system"
                      2022-05-11 22:48:04.677  - info: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                      2022-05-11 22:48:04.682  - error: host.iobroker Cannot find view "system" for search "host"
                      2022-05-11 22:48:04.689  - error: host.iobroker Cannot find view "system" for search "state"
                      2022-05-11 22:48:04.689  - error: host.iobroker Cannot find view "system" for search "instance"
                      2022-05-11 22:48:04.690  - error: host.iobroker Could not collect system.host.iobroker states to check for obsolete states: Error: Cannot find view "system"
                      2022-05-11 22:48:04.690  - error: host.iobroker  _design/system missing - call node iobroker.js setup
                      2022-05-11 22:48:04.691  - info: host.iobroker  no instances found
                      2022-05-11 22:48:04.691  - info: host.iobroker no instances found
                      

                      Perhaps in my case, it will be correct to make a "reverse" migration to "file" and then back to jsonl. Then the "correct" iobroker.json file will be created and at the next reboot, it will simply start using it, which of course is also not entirely true, but at least it will not "break" the whole system, I hope.

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • A Anzic

                        @apollon77
                        i mean that when i restart container with iobroker (buanet/iobroker:v6.1.0). The iobroker.json file is reset to the default one, which states that the "file" object base is used instead of "jsonl". At this point, the controller tries to connect to the objects.json file which is generated automatically, which is 23 KB in size. And if I try to set up iobroker with iobroker setup custom specifying the correct "jsonl" as objects db (even if I put the previously saved objects.jsonl file in a folder), it overwrites it using the objects.json.migrated source file and the system doesn't start. So far I have found such a solution for recovery :
                        stop iobroker - iob stop
                        then I execute pgrep -f '^io.' | xargs kill -9 because not all processes are stopped, and if I don't do this and try to put the correct iobroker.json and objects.jsonl, the system will still overwrite them from the "wrong" objects.json.migrated. Therefore pgrep -f '^io.' | xargs kill -9
                        after that I replace the iobroker.json file and objects.jsonl that I saved on the working system.
                        and run iob start
                        in this order the system starts up. Unfortunately, I have to go to the slave later, and run iob setup custom , i.e. for some reason, he also loses contact with the master.

                        root@iobroker:/opt/iobroker# iob isrun
                         Cannot read system.config: null (OK when migrating or restoring)
                        iobroker is running on this host.
                        
                        
                        Objects type: file
                        States  type: redis
                        

                        Reboot occurs by restarting the container, not power loss.
                        "Last entries" before rebooting do not give anything, there are standard logs that are not related to stopping the controller in any way.
                        But the first start can be interesting, apparently, the controller cannot find the objects.json file (although why is it looking for it if it should use objects.jsonl). This is probably due to the fact that after a reboot, an entry appears in the iobroker.json file that it is working with the "file", so it tries to "find" it.

                        2022-05-11 22:48:04.387  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                        2022-05-11 22:48:04.391  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                        2022-05-11 22:48:04.391  - info: host.iobroker hostname: iobroker, node: v14.19.2
                        2022-05-11 22:48:04.391  - info: host.iobroker ip addresses: 192.168.1.100 172.23.0.100
                        2022-05-11 22:48:04.402  - warn: host.iobroker-Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
                        2022-05-11 22:48:04.406  - error: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                        2022-05-11 22:48:04.410  - error: host.iobroker-Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                        2022-05-11 22:48:04.410  - error: host.iobroker-Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                        2022-05-11 22:48:04.500  - error: host.iobroker Cannot read system.config: null (OK when migrating or restoring)
                        2022-05-11 22:48:04.548  - error: host.iobroker Cannot find view "system" for search "host"
                        2022-05-11 22:48:04.589  - info: host.iobroker connected to Objects and States
                        2022-05-11 22:48:04.618  - info: host.iobroker added notifications configuration of host
                        2022-05-11 22:48:04.621  - warn: host.iobroker logger system.adapter.admin.0.logging was deleted
                        2022-05-11 22:48:04.622  - warn: host.iobroker logger system.adapter.javascript.2.logging was deleted
                        2022-05-11 22:48:04.623  - warn: host.iobroker logger system.adapter.javascript.0.logging was deleted
                        2022-05-11 22:48:04.623  - warn: host.iobroker logger system.adapter.iot.0.logging was deleted
                        2022-05-11 22:48:04.664  - error: host.iobroker Cannot find view "system" for search "instance"
                        2022-05-11 22:48:04.664  - error: host.iobroker Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system"
                        2022-05-11 22:48:04.677  - info: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                        2022-05-11 22:48:04.682  - error: host.iobroker Cannot find view "system" for search "host"
                        2022-05-11 22:48:04.689  - error: host.iobroker Cannot find view "system" for search "state"
                        2022-05-11 22:48:04.689  - error: host.iobroker Cannot find view "system" for search "instance"
                        2022-05-11 22:48:04.690  - error: host.iobroker Could not collect system.host.iobroker states to check for obsolete states: Error: Cannot find view "system"
                        2022-05-11 22:48:04.690  - error: host.iobroker  _design/system missing - call node iobroker.js setup
                        2022-05-11 22:48:04.691  - info: host.iobroker  no instances found
                        2022-05-11 22:48:04.691  - info: host.iobroker no instances found
                        

                        Perhaps in my case, it will be correct to make a "reverse" migration to "file" and then back to jsonl. Then the "correct" iobroker.json file will be created and at the next reboot, it will simply start using it, which of course is also not entirely true, but at least it will not "break" the whole system, I hope.

                        apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #281

                        @anzic the main question is why the objects.json is not existing. It is not broken. It is not existing. So why???

                        Please show the content of /opt/iobroker/iobroker-data while running and ideally directly on such a restart.

                        Please also show „iob status“ from a running system

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        A 3 Antworten Letzte Antwort
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #282

                          PS: What the variables are set in your container? e.g. IOB_STATESDB_TYPE .. if this is set to "file" then the DB will be reset on any start ... you then needs to adjust that to jsonl

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          A 2 Antworten Letzte Antwort
                          0
                          • apollon77A apollon77

                            PS: What the variables are set in your container? e.g. IOB_STATESDB_TYPE .. if this is set to "file" then the DB will be reset on any start ... you then needs to adjust that to jsonl

                            A Offline
                            A Offline
                            Anzic
                            schrieb am zuletzt editiert von
                            #283

                            Пользователь @apollon77 написал в Mini-HowTo: Cannot find view "system" for search "host":

                            IOB_STATESDB_TYPE

                            How did I miss this?? Indeed, "file" was written in docker-compose.yml. I'll change it to jsonl and check again. Thanks for the hint.

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @anzic the main question is why the objects.json is not existing. It is not broken. It is not existing. So why???

                              Please show the content of /opt/iobroker/iobroker-data while running and ideally directly on such a restart.

                              Please also show „iob status“ from a running system

                              A Offline
                              A Offline
                              Anzic
                              schrieb am zuletzt editiert von
                              #284

                              @apollon77 from nas:

                              Anzor@NAS:/volume2/doker_mapping/iobroker/iobroker-data$ ls -la
                              total 26416
                              drwxrwxr-x 1 Anzor users      626 May 12 09:36 .
                              drwxrwxr-x 1 Anzor users      764 May 11 22:47 ..
                              drwxr-xr-x 1 Anzor users       64 Apr 15 01:12 backitup
                              drwxrwxr-x 1 Anzor users     1840 May 12 11:03 backup-objects
                              drwxr-xr-x 1 Anzor users      660 Feb 27 21:41 esphome.0
                              drwxrwxr-x 1 Anzor users     4128 May 11 02:07 files
                              drwxrwxrwx 1 Anzor users       58 Mar 27 13:15 ham_0
                              drwxr-xr-x 1 Anzor users        0 Oct 31  2021 homekit-controller.0
                              -rw-rwxr-- 1 Anzor users     3593 May 11 23:18 iobroker.json
                              drwxr-xr-x 1 Anzor users        0 Jun 30  2020 letsencrypt
                              drwxrwxrwx 1 Anzor users       22 Jun 30  2020 lgtv_0
                              drwxr-xr-x 1 Anzor users       22 Jul 10  2020 lgtv_1
                              drwxrwxrwx 1 Anzor users       24 Jun 30  2020 mercury_0
                              drwxrwxrwx 1 Anzor users      200 May 10 23:08 my-backup
                              drwxr-xr-x 1 Anzor users      714 May  8 11:35 node-red
                              -rw-rw-rw- 1 Anzor users        3 May 11 02:09 notifications.json
                              -rw-r--r-- 1 Anzor  1000    23624 May 11 22:48 objects.json.bak.migrated
                              -rw-rw-rw- 1 Anzor  1000 26957147 May 12 11:40 objects.jsonl
                              -rw-rw-rw- 1 Anzor users    12762 May 11 01:57 objects.jsonl.444
                              -rw-rw-rw- 1 Anzor users    12762 May 11 02:01 objects.jsonl.gj
                              drwxrwxrwx 1 Anzor  1000        0 May 12 11:40 objects.jsonl.lock
                              -rw-r--r-- 1 Anzor  1000    23624 May 11 22:58 objects.json.migrated
                              drwxr-xr-x 1 Anzor users       60 Aug  6  2020 sayit
                              drwxrwxrwx 1 Anzor users        0 Apr 24 02:01 telegram_0
                              drwxrwxrwx 1 Anzor users       32 Sep 11  2021 tmp
                              drwxr-xr-x 1 Anzor users       18 Sep 14  2020 tuya_0
                              drwxrwxrwx 1 Anzor users      640 May  7 00:19 yahka.0.hapdata
                              drwxr-xr-x 1 Anzor users      128 May  2  2021 yahka.1.hapdata
                              drwxr-xr-x 1 Anzor users       22 Jun 30  2020 zigbee_0
                              Anzor@NAS:/volume2/doker_mapping/iobroker/iobroker-data$
                              

                              from inside of container:

                              root@iobroker:/opt/iobroker/iobroker-data# ls -la
                              total 26448
                              drwxrwxr-x 1 iobroker users         626 May 12 09:36 .
                              drwxrwxr-x 1 iobroker users         764 May 11 22:47 ..
                              drwxr-xr-x 1 iobroker users          64 Apr 15 01:12 backitup
                              drwxrwxr-x 1 iobroker users        1840 May 12 11:03 backup-objects
                              drwxr-xr-x 1 iobroker users         660 Feb 27 21:41 esphome.0
                              drwxrwxr-x 1 iobroker users        4128 May 11 02:07 files
                              drwxrwxrwx 1 iobroker users          58 Mar 27 13:15 ham_0
                              drwxr-xr-x 1 iobroker users           0 Oct 31  2021 homekit-controller.0
                              -rw-rwxr-- 1 iobroker users        3593 May 11 23:18 iobroker.json
                              drwxr-xr-x 1 iobroker users           0 Jun 30  2020 letsencrypt
                              drwxrwxrwx 1 iobroker users          22 Jun 30  2020 lgtv_0
                              drwxr-xr-x 1 iobroker users          22 Jul 10  2020 lgtv_1
                              drwxrwxrwx 1 iobroker users          24 Jun 30  2020 mercury_0
                              drwxrwxrwx 1 iobroker users         200 May 10 23:08 my-backup
                              drwxr-xr-x 1 iobroker users         714 May  8 11:35 node-red
                              -rw-rw-rw- 1 iobroker users           3 May 11 02:09 notifications.json
                              -rw-r--r-- 1 iobroker iobroker    23624 May 11 22:48 objects.json.bak.migrated
                              -rw-rw-rw- 1 iobroker iobroker 26992013 May 12 11:41 objects.jsonl
                              -rw-rw-rw- 1 iobroker users       12762 May 11 01:57 objects.jsonl.444
                              -rw-rw-rw- 1 iobroker users       12762 May 11 02:01 objects.jsonl.gj
                              drwxrwxrwx 1 iobroker iobroker        0 May 12 11:42 objects.jsonl.lock
                              -rw-r--r-- 1 iobroker iobroker    23624 May 11 22:58 objects.json.migrated
                              drwxr-xr-x 1 iobroker users          60 Aug  6  2020 sayit
                              drwxrwxrwx 1 iobroker users           0 Apr 24 02:01 telegram_0
                              drwxrwxrwx 1 iobroker users          32 Sep 11  2021 tmp
                              drwxr-xr-x 1 iobroker users          18 Sep 14  2020 tuya_0
                              drwxrwxrwx 1 iobroker users         640 May  7 00:19 yahka.0.hapdata
                              drwxr-xr-x 1 iobroker users         128 May  2  2021 yahka.1.hapdata
                              drwxr-xr-x 1 iobroker users          22 Jun 30  2020 zigbee_0
                              root@iobroker:/opt/iobroker/iobroker-data#
                              
                              root@iobroker:/opt/iobroker/iobroker-data# iob status
                              iobroker is running on this host.
                              
                              
                              Objects type: jsonl
                              States  type: redis
                              root@iobroker:/opt/iobroker/iobroker-data#
                              
                              1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                PS: What the variables are set in your container? e.g. IOB_STATESDB_TYPE .. if this is set to "file" then the DB will be reset on any start ... you then needs to adjust that to jsonl

                                A Offline
                                A Offline
                                Anzic
                                schrieb am zuletzt editiert von
                                #285

                                @apollon77 weird but changing IOB_STATESDB_TYPE to jsonl didn't help (. The situation is the same as before. What can I do to catch the error?

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @anzic the main question is why the objects.json is not existing. It is not broken. It is not existing. So why???

                                  Please show the content of /opt/iobroker/iobroker-data while running and ideally directly on such a restart.

                                  Please also show „iob status“ from a running system

                                  A Offline
                                  A Offline
                                  Anzic
                                  schrieb am zuletzt editiert von Anzic
                                  #286

                                  Пользователь @apollon77 написал в Mini-HowTo: Cannot find view "system" for search "host":

                                  show the content of /opt/iobroker/iobroker-data while running and ideally directly on such a restart.

                                  first load after stopping the container:
                                  from host:

                                  Anzor@NAS:/volume2/doker_mapping/iobroker/iobroker-data$ ls -la
                                  total 32108
                                  drwxrwxr-x 1 Anzor users      646 May 12 12:15 .
                                  drwxrwxr-x 1 Anzor users      764 May 12 12:14 ..
                                  drwxr-xr-x 1 Anzor users       64 Apr 15 01:12 backitup
                                  drwxrwxr-x 1 Anzor users     1904 May 12 12:15 backup-objects
                                  drwxr-xr-x 1 Anzor users      660 Feb 27 21:41 esphome.0
                                  drwxrwxr-x 1 Anzor users     4128 May 11 02:07 files
                                  drwxrwxrwx 1 Anzor users       58 Mar 27 13:15 ham_0
                                  drwxr-xr-x 1 Anzor users        0 Oct 31  2021 homekit-controller.0
                                  -rw-rwxr-- 1 Anzor users     3593 May 12 12:15 iobroker.json
                                  drwxr-xr-x 1 Anzor users        0 Jun 30  2020 letsencrypt
                                  drwxrwxrwx 1 Anzor users       22 Jun 30  2020 lgtv_0
                                  drwxr-xr-x 1 Anzor users       22 Jul 10  2020 lgtv_1
                                  drwxrwxrwx 1 Anzor users       24 Jun 30  2020 mercury_0
                                  drwxrwxrwx 1 Anzor users      200 May 10 23:08 my-backup
                                  drwxr-xr-x 1 Anzor users      714 May  8 11:35 node-red
                                  -rw-rw-rw- 1 Anzor users        3 May 12 11:51 notifications.json
                                  -rw-r--r-- 1 Anzor  1000    23624 May 12 12:15 objects.json
                                  -rw-r--r-- 1 Anzor  1000    23624 May 12 12:15 objects.json.bak
                                  -rw-r--r-- 1 Anzor users    23624 May 11 22:48 objects.json.bak.migrated
                                  -rw-rw-rw- 1 Anzor users 32737610 May 12 12:15 objects.jsonl
                                  -rw-rw-rw- 1 Anzor users    12762 May 11 01:57 objects.jsonl.444
                                  -rw-rw-rw- 1 Anzor users    12762 May 11 02:01 objects.jsonl.gj
                                  -rw-r--r-- 1 Anzor users    23624 May 11 22:58 objects.json.migrated
                                  drwxr-xr-x 1 Anzor users       60 Aug  6  2020 sayit
                                  drwxrwxrwx 1 Anzor users        0 Apr 24 02:01 telegram_0
                                  drwxrwxrwx 1 Anzor users       32 Sep 11  2021 tmp
                                  drwxr-xr-x 1 Anzor users       18 Sep 14  2020 tuya_0
                                  drwxrwxrwx 1 Anzor users      640 May  7 00:19 yahka.0.hapdata
                                  drwxr-xr-x 1 Anzor users      128 May  2  2021 yahka.1.hapdata
                                  drwxr-xr-x 1 Anzor users       22 Jun 30  2020 zigbee_0
                                  Anzor@NAS:/volume2/doker_mapping/iobroker/iobroker-data$
                                  

                                  from container:

                                  root@iobroker:/opt/iobroker/iobroker-data# ls -la
                                  total 32108
                                  drwxrwxr-x 1 iobroker users         646 May 12 12:15 .
                                  drwxrwxr-x 1 iobroker users         764 May 12 12:14 ..
                                  drwxr-xr-x 1 iobroker users          64 Apr 15 01:12 backitup
                                  drwxrwxr-x 1 iobroker users        1904 May 12 12:15 backup-objects
                                  drwxr-xr-x 1 iobroker users         660 Feb 27 21:41 esphome.0
                                  drwxrwxr-x 1 iobroker users        4128 May 11 02:07 files
                                  drwxrwxrwx 1 iobroker users          58 Mar 27 13:15 ham_0
                                  drwxr-xr-x 1 iobroker users           0 Oct 31  2021 homekit-controller.0
                                  -rw-rwxr-- 1 iobroker users        3593 May 12 12:15 iobroker.json
                                  drwxr-xr-x 1 iobroker users           0 Jun 30  2020 letsencrypt
                                  drwxrwxrwx 1 iobroker users          22 Jun 30  2020 lgtv_0
                                  drwxr-xr-x 1 iobroker users          22 Jul 10  2020 lgtv_1
                                  drwxrwxrwx 1 iobroker users          24 Jun 30  2020 mercury_0
                                  drwxrwxrwx 1 iobroker users         200 May 10 23:08 my-backup
                                  drwxr-xr-x 1 iobroker users         714 May  8 11:35 node-red
                                  -rw-rw-rw- 1 iobroker users           3 May 12 11:51 notifications.json
                                  -rw-r--r-- 1 iobroker iobroker    23624 May 12 12:15 objects.json
                                  -rw-r--r-- 1 iobroker iobroker    23624 May 12 12:15 objects.json.bak
                                  -rw-r--r-- 1 iobroker users       23624 May 11 22:48 objects.json.bak.migrated
                                  -rw-rw-rw- 1 iobroker users    32737610 May 12 12:15 objects.jsonl
                                  -rw-rw-rw- 1 iobroker users       12762 May 11 01:57 objects.jsonl.444
                                  -rw-rw-rw- 1 iobroker users       12762 May 11 02:01 objects.jsonl.gj
                                  -rw-r--r-- 1 iobroker users       23624 May 11 22:58 objects.json.migrated
                                  drwxr-xr-x 1 iobroker users          60 Aug  6  2020 sayit
                                  drwxrwxrwx 1 iobroker users           0 Apr 24 02:01 telegram_0
                                  drwxrwxrwx 1 iobroker users          32 Sep 11  2021 tmp
                                  drwxr-xr-x 1 iobroker users          18 Sep 14  2020 tuya_0
                                  drwxrwxrwx 1 iobroker users         640 May  7 00:19 yahka.0.hapdata
                                  drwxr-xr-x 1 iobroker users         128 May  2  2021 yahka.1.hapdata
                                  drwxr-xr-x 1 iobroker users          22 Jun 30  2020 zigbee_0
                                  root@iobroker:/opt/iobroker/iobroker-data#
                                  

                                  iobroker.json - iobroker.json

                                  I think I know the answer. I changed the docker compose, but the container remained with the old settings, so everything breaks. Now I will recreate the container and check.
                                  4743a1d5-67ff-4a4a-b42e-bac7c609f5af-image.png

                                  1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @anzic the main question is why the objects.json is not existing. It is not broken. It is not existing. So why???

                                    Please show the content of /opt/iobroker/iobroker-data while running and ideally directly on such a restart.

                                    Please also show „iob status“ from a running system

                                    A Offline
                                    A Offline
                                    Anzic
                                    schrieb am zuletzt editiert von
                                    #287

                                    @apollon77 no luck. after recreating the container, the objects.jsonl file is still overwritten

                                    immediately after creating the container:

                                    root@iobroker:/opt/iobroker/iobroker-data# ls -la
                                    total 112
                                    drwxrwxr-x 1 iobroker users      590 May 12 12:46 .
                                    drwxrwxr-x 1 iobroker users      764 May 12 12:38 ..
                                    drwxr-xr-x 1 iobroker users       64 Apr 15 01:12 backitup
                                    drwxrwxr-x 1 iobroker users     1968 May 12 12:38 backup-objects
                                    drwxr-xr-x 1 iobroker users      660 Feb 27 21:41 esphome.0
                                    drwxrwxr-x 1 iobroker users     4128 May 11 02:07 files
                                    drwxrwxrwx 1 iobroker users       58 Mar 27 13:15 ham_0
                                    drwxr-xr-x 1 iobroker users        0 Oct 31  2021 homekit-controller.0
                                    -rw-rwxr-- 1 iobroker users     3601 May 12 12:43 iobroker.json
                                    drwxr-xr-x 1 iobroker users        0 Jun 30  2020 letsencrypt
                                    drwxrwxrwx 1 iobroker users       22 Jun 30  2020 lgtv_0
                                    drwxr-xr-x 1 iobroker users       22 Jul 10  2020 lgtv_1
                                    drwxrwxrwx 1 iobroker users       24 Jun 30  2020 mercury_0
                                    drwxrwxrwx 1 iobroker users      200 May 10 23:08 my-backup
                                    drwxr-xr-x 1 iobroker users      714 May  8 11:35 node-red
                                    -rw-rw-rw- 1 iobroker users        3 May 12 11:51 notifications.json
                                    -rw-r--r-- 1 iobroker iobroker 23624 May 12 12:38 objects.json.bak.migrated
                                    -rw-r--r-- 1 iobroker iobroker 24253 May 12 12:43 objects.jsonl
                                    -rw-rw-rw- 1 iobroker users    12762 May 11 01:57 objects.jsonl.444
                                    -rw-rw-rw- 1 iobroker users    12762 May 11 02:01 objects.jsonl.gj
                                    -rw-r--r-- 1 iobroker iobroker 23624 May 12 12:38 objects.json.migrated
                                    drwxr-xr-x 1 iobroker users       60 Aug  6  2020 sayit
                                    drwxrwxrwx 1 iobroker users        0 Apr 24 02:01 telegram_0
                                    drwxrwxrwx 1 iobroker users       32 Sep 11  2021 tmp
                                    drwxr-xr-x 1 iobroker users       18 Sep 14  2020 tuya_0
                                    drwxrwxrwx 1 iobroker users      640 May  7 00:19 yahka.0.hapdata
                                    drwxr-xr-x 1 iobroker users      128 May  2  2021 yahka.1.hapdata
                                    drwxr-xr-x 1 iobroker users       22 Jun 30  2020 zigbee_0
                                    root@iobroker:/opt/iobroker/iobroker-data#
                                    
                                    1 Antwort Letzte Antwort
                                    0
                                    • Fix_FlixF Offline
                                      Fix_FlixF Offline
                                      Fix_Flix
                                      schrieb am zuletzt editiert von
                                      #288

                                      meine Backups sind leider zu alt sprich die Datein sind zu alt und alle kaputt ssssssss2022-05-31 214910.png ich habe aber noch Scrssssssssssseenshot 2022-05-31 215000.png hilft das?

                                      LG Felix

                                      Thomas BraunT R 2 Antworten Letzte Antwort
                                      0
                                      • Fix_FlixF Fix_Flix

                                        meine Backups sind leider zu alt sprich die Datein sind zu alt und alle kaputt ssssssss2022-05-31 214910.png ich habe aber noch Scrssssssssssseenshot 2022-05-31 215000.png hilft das?

                                        LG Felix

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #289

                                        @fix_flix

                                        Bilder von Konsolentext kann man nicht lesen oder gar daraus was kopieren.
                                        Stell TEXT auch als TEXT (in CodeTags eingebettet) hier rein.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        Fix_FlixF 1 Antwort Letzte Antwort
                                        0
                                        • Fix_FlixF Fix_Flix

                                          meine Backups sind leider zu alt sprich die Datein sind zu alt und alle kaputt ssssssss2022-05-31 214910.png ich habe aber noch Scrssssssssssseenshot 2022-05-31 215000.png hilft das?

                                          LG Felix

                                          R Offline
                                          R Offline
                                          rieders
                                          schrieb am zuletzt editiert von
                                          #290

                                          Hallo
                                          In meinem Verzeichnis vom IOBroker fehlt die objects.jsonl Datei.

                                          Unter iobrker staus bekomme ich diese Meldung.
                                          Objects type: jsonl
                                          States type: jsonl

                                          Wie kann ich die jsonl Datei wieder herstellen?

                                          André

                                          Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          537

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe