Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker startet nicht mehr

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker startet nicht mehr

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

      pi@ioBroker482:~ $ iobroker update -i
      Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
      pi@ioBroker482:~ $ iobroker list instances
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
      No connection to databases possible ...
      pi@ioBroker482:~ $
      
      ```@thomas-braun
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Atticus last edited by

        @atticus

        iobroker status
        
        A 1 Reply Last reply Reply Quote 0
        • A
          Atticus @Thomas Braun last edited by

          code_text
          pi@ioBroker482:~ $ free -m
                        total        used        free      shared  buff/cache   available
          Mem:           7898         493        5659          21        1744        7157
          Swap:            99           0          99
          pi@ioBroker482:~ $ iobroker status
           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
          Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          pi@ioBroker482:~ $
          
          ```@thomas-braun
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Atticus last edited by

            @atticus sagte in ioBroker startet nicht mehr:

            sudo apt update
            sudo apt install lsof
            lsof /opt/iobroker/iobroker-data/states.jsonl
            

            Starte die Kiste mal komplett durch.

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

              @thomas-braun sagte in ioBroker startet nicht mehr:

              sof /opt/iobroker/iobroker-data/states.jsonl

              Hallo, ich hab das gemacht, dann den Status des iobrokers abgefragt, hat sich aber nicht geändert.

              code_text
              ```pi@ioBroker482:~ $ iobroker status
              Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
              pi@ioBroker482:~ $
              
              
              Danach den Raspberry mit sudo restart now neu gestartet.
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Atticus last edited by

                @atticus sagte in ioBroker startet nicht mehr:

                Hallo, ich hab das gemacht

                Und was war die Ausgabe auf den Befehl? Die Sicht auf deinen Monitor ist etwas vernebelt, ich seh da nix.

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

                  @thomas-braun
                  Sorry

                  pi@ioBroker482:~ $ sudo apt update
                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:2 https://deb.nodesource.com/node_14.x buster InRelease
                  OK:3 http://archive.raspberrypi.org/debian buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  pi@ioBroker482:~ $ sudo apt install lsof
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  lsof ist schon die neueste Version (4.91+dfsg-1).
                  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                    gstreamer1.0-pulseaudio libxcb-image0 lxplug-volume
                  Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
                  pi@ioBroker482:~ $ lsof /opt/iobroker/iobroker-data/states.jsonl
                  pi@ioBroker482:~ $ ^C
                  pi@ioBroker482:~ $
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Atticus last edited by

                    @atticus

                    sudo lsof /opt/iobroker/iobroker-data/states.jsonl
                    

                    Und betreibe einen Server OHNE Desktop.

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

                      @thomas-braun
                      ja, das mit dem Desktop hat sich so ergeben, kannst mir verraten, wie ich den abschalten kann?

                      pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
                      lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
                            Output information may be incomplete.
                      pi@ioBroker482:~ $
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Atticus last edited by

                        @atticus sagte in ioBroker startet nicht mehr:

                        gvfs

                        Ist das GNOME Virtual file system, hat also mit der graphischen Oberfläche zu tun. Hättest du die nicht installiert, hättest du auch das Problem höchstwahrscheinlich erst gar nicht.

                        Geh in

                        sudo raspi-config
                        

                        und stell den Boot-Vorgang auf 'CLI with LogIn required' (oder so ähnlich) um.

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

                          @thomas-braun
                          So, den Desktop habe ich ausgeschaltet, dann noch mal testen:

                          pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
                          pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
                          COMMAND   PID     USER   FD   TYPE DEVICE   SIZE/OFF     NODE NAME
                          iobroker. 659 iobroker   26u   REG    8,2 1681542109 14288684 /opt/iobroker/iobroker-data/states.jsonl
                          pi@ioBroker482:~ $ iobroker status
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                          No connection to databases possible ...
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Atticus last edited by

                            @atticus

                            iobroker stop
                            iobroker fix
                            
                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Atticus @Thomas Braun last edited by

                              @thomas-braun

                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/3)
                              ==========================================================================
                              
                              OK:1 http://archive.raspberrypi.org/debian buster InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                              Paketlisten werden gelesen... Fertig
                              Installed gcc-c++
                              
                              ==========================================================================
                                  Checking ioBroker user and directory permissions (2/3)
                              ==========================================================================
                              
                              Created /etc/sudoers.d/iobroker
                              Fixing directory permissions...
                              
                              ==========================================================================
                                  Checking autostart (3/3)
                              ==========================================================================
                              
                              Enabling autostart...
                              Autostart enabled!
                              
                              ==========================================================================
                              
                                  Your installation was fixed successfully
                                  Run iobroker start to start ioBroker again!
                              
                              ==========================================================================
                              
                              pi@ioBroker482:~ $ iobroker status
                              No connection to databases possible ...
                              pi@ioBroker482:~ $ iobroker start
                              pi@ioBroker482:~ $ iobroker status
                              Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                              pi@ioBroker482:~ $ sudo reboot now
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Atticus last edited by

                                @atticus

                                Keine Ahnung.

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

                                  @thomas-braun ok, dann vielen Dank für Deine nette Hilfe

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

                                    Das Ganze sieht mir nach dem Betatest für den Controller v4 aus.
                                    Da ich den noch nicht nutze, kenne ich auch dessen Eigenheiten nicht.

                                    Lass doch mal nebenbei das log in einer zweiten Terminalsession laufen und sieh nach was da passiert.

                                    Vermutung:
                                    Irgendwie scheint bei dir der Port 9000 belegt zu sein

                                    A 2 Replies Last reply Reply Quote 0
                                    • A
                                      Atticus @Homoran last edited by

                                      @homoran wie geht das mit dem log?

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

                                        @atticus sagte in ioBroker startet nicht mehr:

                                        @homoran wie geht das mit dem log?

                                        iobroker logs --watch

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Atticus @Homoran last edited by

                                          @homoran kann ich in dem jetzigen Zustand die java script Instanz deaktivieren?

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

                                            @atticus sagte in ioBroker startet nicht mehr:

                                            @homoran kann ich in dem jetzigen Zustand die java script Instanz deaktivieren?

                                            iobroker stop javascript.0
                                            Voraussetzung dass 0 deine Instanz ist

                                            A 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

                                            991
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            123
                                            11582
                                            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