Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ioBroker failed to lock DB file

    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

    ioBroker failed to lock DB file

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @marox last edited by

      @marox

      Zuerst mal dein System von der frühen Kreidezeit in die Gegenwart holen.

      Stretch ist tot, der Nach-Nachfolger 'Bullseye' ist aktuell.

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

        @thomas-braun

        bullseye läuft jetzt. Ich würde sagen das Fehlerbild ist unverändert.

        pi@raspberrypi:/opt/iobroker/log $ iobroker status
        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @marox last edited by Thomas Braun

          @marox

          Die objects.jsonl dürfte auch für ein 1GB RAM - System etwas sperrig sein:

          -rw-rwxr--+  1 iobroker iobroker 563M Jul 16 16:05 objects.jsonl
          

          Was könnte denn da für so viele objects sorgen?

          Der ble-Adapter ist/war da so ein Kandidat für...

          Schau dir das mal an:

          https://forum.iobroker.net/topic/56379/zu-viele-objekte/3

          1 Reply Last reply Reply Quote 0
          • M
            marox last edited by

            @thomas-braun

            Aus den Ausgaben werde ich nicht richtig schlau:

            pi@raspberrypi:/opt/iobroker/log $ iobroker list objects ble.0.* | wc -l
            1
            pi@raspberrypi:/opt/iobroker/log $ iobroker list objects hm-rpc.0.* | wc -l
            1
            pi@raspberrypi:/opt/iobroker/log $ iobroker list objects system.adapter.hm-rpc.0.* | wc -l
            1
            

            Ich habe die objects.jsonl mal im Editor geöffnet und überflogen. Ich würde sagen, dass von 20.000 Zeilen mindestens 10.000 wie folgt beginnen:
            {"k":"system.adapter.hm-rpc...

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

              @marox

              Bei mir werden da die Zeilen = Anzahl der Objekte gezählt:

              echad@chet:/opt/iobroker $ iobroker list objects parcel.0.* | wc -l
              365
              echad@chet:/opt/iobroker $ iobroker list objects ble.0.* | wc -l
              13
              echad@chet:/opt/iobroker $ iobroker list objects admin.0.* | wc -l
              17
              echad@chet:/opt/iobroker $
              
              1 Reply Last reply Reply Quote 0
              • M
                marox last edited by

                @thomas-braun

                Dann bin ich überfragt, warum für jede Abfrage die Anzahl 1 zurückgegeben wird.

                Ich überlege, ob ich ioBroker neu aufsetzen sollte. Über backitup habe ich ein Standard Backup, leider ist es einige Zeit alt, aber seit dem war ich nicht am System dran.
                Oder kann ich von dem jetzigen ioBroker in dem Zustand noch ein sinnvolles Backup machen?

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

                  @marox sagte in ioBroker failed to lock DB file:

                  Über backitup habe ich ein Standard Backup, leider ist es einige Zeit alt, aber seit dem war ich nicht am System dran.

                  So alt wie das OS? Auf welchem Datenbankformat setzt das Backup auf?

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

                    @thomas-braun

                    Nein vom Februar 2022, da habe ich zuletzt alle Adapter, nodejs, etc. aktualisiert anschließend ein standard backup über backitup auf mein NAS gemacht.

                    Das OS hab ich nur nie angefasst, weil es (bis heute) keine Probleme gab.

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

                      @marox sagte in ioBroker failed to lock DB file:

                      Nein vom Februar 2022, da habe ich zuletzt alle Adapter, nodejs, etc. aktualisiert anschließend ein standard backup über backitup auf mein NAS gemacht.

                      Dann spiel das ein.

                      Das OS hab ich nur nie angefasst, weil es (bis heute) keine Probleme gab.

                      Schlechte Taktik.

                      1 Reply Last reply Reply Quote 0
                      • M
                        marox last edited by

                        @thomas-braun

                        Jetzt hab ist zumindest die Web-UI wieder erreichbar.
                        Während des restore zeigte das Terminal noch
                        clean 2603 objects...
                        clean 1940 states...

                        Ganz so viele Objekte haben sich dann in den 563MB nicht versteckt.
                        Danke soweit!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        464
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        2
                        13
                        1468
                        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