Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. (Erledigt) Keine Admin Console mehr: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

    (Erledigt) Keine Admin Console mehr:Failed to lock DB file

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hat se nicht alle last edited by hat se nicht alle

      Bei mir ist die Admin Console nicht mehr über ip: 8081 erreichbar. Ich bin alle Vorschläge der Fehlerbehebung bereits durchgegangen und dabei ist mir folgendes aufgefallen:

      iobroker.js-con
      pi@solaranzeige:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs
      2022-12-10 17:39:38.257  - info: host.solaranzeige iobroker.js-controller version 4.0.23 js-controller starting
      2022-12-10 17:39:38.265  - info: host.solaranzeige Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-12-10 17:39:38.266  - info: host.solaranzeige hostname: solaranzeige, node: v14.21.1
      2022-12-10 17:39:38.267  - info: host.solaranzeige ip addresses: 192.168.178.20 2a02:8070:b583:55c0:431b:fcdd:4a4d:a668                fe80::96d6:72f2:7e14:6cfb 169.254.165.161 2a02:8070:b583:55c0:d865:75c:8b24:77ce fe80::9912:214f:6f08:fb04
      2022-12-10 17:39:40.381  **- error: host.solaranzeige-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!**
      

      Ein ls auf die files ergab folgendes:

      /opt/iobroker/iobroker-data $ ls -al
      insgesamt 11980
      drwxrwxr-x+  9 iobroker iobroker     4096 10. Dez 17:24 .
      drwxrwxr-x+  6 iobroker iobroker     4096 10. Dez 16:41 ..
      drwxrwxr-x+  2 iobroker iobroker     4096 24. Nov 12:51 backitup
      drwxrwxr-x+  2 iobroker iobroker     4096 10. Dez 13:03 backup-objects
      drwxrwxr-x+ 25 iobroker iobroker     4096  8. Dez 21:18 files
      -rw-rwxr--+  1 iobroker iobroker     7483 24. Nov 12:50 iobroker.json
      drwxrwxr-x+  3 iobroker iobroker     4096 30. Nov 11:44 jarvis
      -rw-rwxr--+  1 iobroker iobroker        3 10. Dez 17:23 notifications.json
      -rw-rwxr--+  1 iobroker iobroker 11605441 10. Dez 17:25 objects.jsonl
      drwxrwxr-x+  2 iobroker iobroker     4096 10. Dez 17:41 objects.jsonl.lock
      -rw-rw-r--+  1 iobroker iobroker   606591 10. Dez 17:40 states.jsonl
      drwxrwxr-x+  2 iobroker iobroker     4096 10. Dez 17:41 states.jsonl.lock
      drwxrwxr-x+  2 iobroker iobroker     4096 30. Nov 09:23 synology_0
      

      MOD-EDIT: Code in code-tags gesetzt!

      Da ich Unix nicht gut kenne erhoffe ich mir einen Tip.

      Gruß

      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @hat se nicht alle last edited by

        @hat-se-nicht-alle sagte in Keine Admin Console mehr: Failed to lock DB file:

        node: v14.21.1

        Zunächst auf nodejs@16 bringen.

        Dann die Ausgaben aus der Konsole in CodeTags einbetten.

        Die objects.jsonl dürfte auch etwas groß sein.

        11605441 10. Dez 17:25 objects.jsonl
        
        H 1 Reply Last reply Reply Quote 0
        • H
          hat se nicht alle @Thomas Braun last edited by

          @thomas-braun

          Heute gelernt; Code Tags verwenden 😁
          Ok, die node ist nun auf v16.18.1
          Der Fehler ist aber immer noch da.
          Habe keine Idee ob und warum die objects.jsonl zu groß ist. Was kann/sollte ich tun?

          Mercy

          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @hat se nicht alle last edited by

            @hat-se-nicht-alle

            ls -lhA /opt/iobroker/iobroker-data/
            

            So groß ist die Datei eigentlich gar nicht, wenn ich mich jetzt nicht verrechnet habe. Besser mit -h anschauen.

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @hat se nicht alle last edited by

              @hat-se-nicht-alle

              iob status
              iob list instances
              

              sagt?

              H 1 Reply Last reply Reply Quote 0
              • H
                hat se nicht alle @Thomas Braun last edited by

                @thomas-braun

                 iob status
                iob list instances
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                + system.adapter.admin.0                  : admin                 : solaranzeige                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                  system.adapter.backitup.0               : backitup              : solaranzeige                             - disabled
                + system.adapter.discovery.0              : discovery             : solaranzeige                             -  enabled
                  system.adapter.fullcalendar.0           : fullcalendar          : solaranzeige                             - disabled
                + system.adapter.influxdb.0               : influxdb              : solaranzeige                             -  enabled, port: 8086
                  system.adapter.influxdb.1               : influxdb              : solaranzeige                             - disabled, port: 8086
                  system.adapter.jarvis.0                 : jarvis                : solaranzeige                             - disabled
                + system.adapter.javascript.0             : javascript            : solaranzeige                             -  enabled
                  system.adapter.minuvis.0                : minuvis               : solaranzeige                             -  enabled
                + system.adapter.modbus.0                 : modbus                : solaranzeige                             -  enabled
                + system.adapter.modbus.1                 : modbus                : solaranzeige                             -  enabled
                  system.adapter.mqtt.0                   : mqtt                  : solaranzeige                             - disabled, port: 1883, bind: 0.0.0.0
                  system.adapter.openweathermap.0         : openweathermap        : solaranzeige                             -  enabled
                + system.adapter.ping.0                   : ping                  : solaranzeige                             -  enabled
                + system.adapter.pvforecast.0             : pvforecast            : solaranzeige                             -  enabled
                  system.adapter.synology.0               : synology              : solaranzeige                             - disabled, port: 5501
                  system.adapter.vis.0                    : vis                   : solaranzeige                             -  enabled
                + system.adapter.web.0                    : web                   : solaranzeige                             -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                + instance is alive
                
                
                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @hat se nicht alle last edited by

                  @hat-se-nicht-alle wo bist du da?
                  ich sehe den prompt nicht

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hat se nicht alle @Homoran last edited by

                    @homoran

                    pi@solaranzeige:/opt/iobroker $ iob status
                    
                    
                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @hat se nicht alle last edited by

                      @hat-se-nicht-alle und dann kommen alle Adapter? 🤔

                      H 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @hat se nicht alle last edited by

                        @hat-se-nicht-alle

                        Läuft doch.

                        Gehst du auch per https auf die Seite?

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hat se nicht alle @Homoran last edited by

                          @homoran said in Keine Admin Console mehr: Failed to lock DB file:

                          @hat-se-nicht-alle und dann kommen alle Adapter? 🤔

                          Jupp...

                          1 Reply Last reply Reply Quote 0
                          • H
                            hat se nicht alle @Thomas Braun last edited by

                            @thomas-braun said in Keine Admin Console mehr: Failed to lock DB file:

                            @hat-se-nicht-alle

                            Läuft doch.

                            Gehst du auch per https auf die Seite?

                            Jupp
                            mit https://192.168.178.120:8081/

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @hat se nicht alle last edited by

                              @hat-se-nicht-alle

                              sudo netstat -tulpen | grep 8081
                              
                              H 1 Reply Last reply Reply Quote 0
                              • H
                                hat se nicht alle @Thomas Braun last edited by

                                @thomas-braun said in Keine Admin Console mehr: Failed to lock DB file:

                                sudo netstat -tulpen | grep 8081

                                pi@solaranzeige:/opt/iobroker $ sudo netstat -tulpen | grep 8081
                                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       25999      1405/io.admin.0
                                
                                
                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @hat se nicht alle last edited by

                                  @hat-se-nicht-alle sagte in Keine Admin Console mehr: Failed to lock DB file:

                                  tcp6

                                  kein v4?

                                  H Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • H
                                    hat se nicht alle @Homoran last edited by

                                    @homoran said in Keine Admin Console mehr: Failed to lock DB file:

                                    @hat-se-nicht-alle sagte in Keine Admin Console mehr: Failed to lock DB file:

                                    tcp6

                                    kein v4?
                                    Eigentlich beides...

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

                                      @homoran

                                      Nein, kein ipv4:

                                      echad@chet:~ $ sudo netstat -tulpen | grep 8081
                                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       14808      676/io.admin.0
                                      H 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @hat se nicht alle last edited by

                                        @hat-se-nicht-alle sagte in Keine Admin Console mehr: Failed to lock DB file:

                                        Bei mir ist die Admin Console nicht mehr über ip: 8081 erreichbar.

                                        Mit welcher Meldung?

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          hat se nicht alle @Thomas Braun last edited by

                                          @thomas-braun said in Keine Admin Console mehr: Failed to lock DB file:

                                          @homoran

                                          Nein, kein ipv4:

                                          echad@chet:~ $ sudo netstat -tulpen | grep 8081
                                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       14808      676/io.admin.0```
                                          

                                          Puh... habe beim Raspi nichts wegkonfiguriert....
                                          Wie schalte ich ip4 wieder an?

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @hat se nicht alle last edited by

                                            @hat-se-nicht-alle sagte in Keine Admin Console mehr: Failed to lock DB file:

                                            Wie schalte ich ip4 wieder an?

                                            Wozu?

                                            H Homoran 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            453
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            39
                                            946
                                            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