Navigation

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

    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 startet nicht mehr

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

      @thomas-braun

      also "sudo reboot"?

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

        @magnus-0

        Ja.

        M 2 Replies Last reply Reply Quote 0
        • M
          Magnus 0 @Thomas Braun last edited by

          @thomas-braun

          Gleiches Problem immer noch.

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

            @magnus-0

            iobroker status
            iobroker update -i
            
            M 1 Reply Last reply Reply Quote 0
            • M
              Magnus 0 @Thomas Braun last edited by

              @thomas-braun

              pi@DELO0150:~ $ 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
              • M
                Magnus 0 @Thomas Braun last edited by

                @thomas-braun

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

                  @magnus-0

                  systemctl status iobroker.service
                  iobroker status
                  sudo systemctl stop iobroker.service
                  iobroker start
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Magnus 0 @Thomas Braun last edited by

                    @thomas-braun sagte in ioBroker startet nicht mehr:

                    iobroker start

                    pi@DELO0150:~ $ systemctl status iobroker.service
                    ● iobroker.service - ioBroker Server
                       Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                       Active: active (running) since Fri 2022-09-30 20:56:19 CEST; 28s ago
                         Docs: http://iobroker.net
                     Main PID: 882 (iobroker.js-con)
                        Tasks: 11 (limit: 4915)
                       CGroup: /system.slice/iobroker.service
                               └─882 iobroker.js-controller
                    
                    Sep 30 20:56:19 DELO0150 systemd[1]: Started ioBroker Server.
                    pi@DELO0150:~ $ iobroker status
                    Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                    pi@DELO0150:~ $ sudo systemctl stop iobroker.service
                    pi@DELO0150:~ $ iobroker start
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Magnus 0 last edited by

                      @magnus-0 sagte in ioBroker startet nicht mehr:

                      /opt/iobroker/iobroker-data/objects.jsonl

                      sudo apt install lsof
                      sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                      
                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Magnus 0 @Thomas Braun last edited by Magnus 0

                        @thomas-braun sagte in ioBroker startet nicht mehr:

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

                        pi@DELO0150:~ $ sudo apt install lsof
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.
                        Statusinformationen werden eingelesen.... Fertig
                        Die folgenden NEUEN Pakete werden installiert:
                          lsof
                        0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                        Es müssen 307 kB an Archiven heruntergeladen werden.
                        Nach dieser Operation werden 447 kB Plattenplatz zusätzlich benutzt.
                        Holen:1 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian buster/main armhf lsof armhf 4.91+dfsg-1 [307 kB]
                        Es wurden 307 kB in 2 s geholt (196 kB/s).
                        Vormals nicht ausgewähltes Paket lsof wird gewählt.
                        (Lese Datenbank ... 53671 Dateien und Verzeichnisse sind derzeit installiert.)
                        Vorbereitung zum Entpacken von .../lsof_4.91+dfsg-1_armhf.deb ...
                        Entpacken von lsof (4.91+dfsg-1) ...
                        lsof (4.91+dfsg-1) wird eingerichtet ...
                        Trigger für man-db (2.8.5-2) werden verarbeitet ...
                        pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                        COMMAND    PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
                        iobroker. 1226 iobroker   19u   REG  179,2 972533859 261398 /opt/iobroker/iobroker-data/objects.jsonl
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Magnus 0 last edited by

                          @magnus-0 sagte in ioBroker startet nicht mehr:

                          sudo kill 1226
                          
                          M 2 Replies Last reply Reply Quote 0
                          • M
                            Magnus 0 @Thomas Braun last edited by

                            @thomas-braun sagte in ioBroker startet nicht mehr:

                            sudo kill 1226

                            pi@DELO0150:~ $ sudo kill 1226
                            kill: (1226): Kein passender Prozess gefunden
                            
                            1 Reply Last reply Reply Quote 0
                            • M
                              Magnus 0 @Thomas Braun last edited by Magnus 0

                              @thomas-braun

                              Da ja der ioBroker dauert neustartet, ändert sich glaub die PID.

                              Ich habe jetzt mal sekündlich folgenden Befehl eingegeben:

                              pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                              pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                              pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                              pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                              COMMAND    PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
                              iobroker. 1952 iobroker   19u   REG  179,2 972533859 261398 /opt/iobroker/iobroker-data/objects.jsonl
                              

                              Wenn ich den Befehl ein paar Sekunden später wieder eingebe, steht wieder eine andere PID dabei.

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

                                @magnus-0 sagte in ioBroker startet nicht mehr:

                                ändert sich glaub die PID.

                                Ja, natürlich. Mir fällt nur im Moment nix dazu ein warum der ioBroker dauernd neustartet.

                                M 2 Replies Last reply Reply Quote 0
                                • M
                                  Magnus 0 @Thomas Braun last edited by

                                  @thomas-braun

                                  Achso ok, ist das vielleicht normal, dass er sich 30 Sekunden mit der Datenbank verbinden möchte und wenn das nicht klappt einen Neustart durchführt?

                                  Folgend ein Log-Auszug:

                                  2022-09-30 21:15:05.006  - error: host.DELO0150 No connection to databases possible, restart
                                  2022-09-30 21:15:05.016  - info: host.DELO0150 iobroker _restart
                                  2022-09-30 21:15:05.525  - info: host.DELO0150 connected to Objects and States
                                  2022-09-30 21:15:05.555  - info: host.DELO0150 added notifications configuration of host
                                  2022-09-30 21:15:05.563  - info: host.DELO0150 Node.js version has changed from 16.16.0 to 16.17.1
                                  2022-09-30 21:15:05.632  - info: host.DELO0150 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                  2022-09-30 21:15:05.717  - info: host.DELO0150 Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                  2022-09-30 21:15:05.786  - info: host.DELO0150 7 instances found
                                  2022-09-30 21:15:05.812  - info: host.DELO0150 starting 7 instances
                                  2022-09-30 21:15:05.909  - info: host.DELO0150 instance system.adapter.admin.0 started with pid 2060
                                  2022-09-30 21:15:10.520  - info: host.DELO0150 iobroker.js-controller version 4.0.23 js-controller starting
                                  2022-09-30 21:15:10.527  - info: host.DELO0150 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                  2022-09-30 21:15:10.528  - info: host.DELO0150 hostname: DELO0150, node: v16.17.1
                                  2022-09-30 21:15:10.529  - info: host.DELO0150 ip addresses: 192.168.178.150 fe80::5068:6694:ad08:cc79
                                  2022-09-30 21:15:40.549  - error: host.DELO0150 No connection to databases possible, restart
                                  2022-09-30 21:15:40.558  - info: host.DELO0150 iobroker _restart
                                  2022-09-30 21:15:41.154  - info: host.DELO0150 connected to Objects and States
                                  2022-09-30 21:15:41.184  - info: host.DELO0150 added notifications configuration of host
                                  2022-09-30 21:15:41.193  - info: host.DELO0150 Node.js version has changed from 16.16.0 to 16.17.1
                                  2022-09-30 21:15:41.261  - info: host.DELO0150 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                  2022-09-30 21:15:41.352  - info: host.DELO0150 Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                  2022-09-30 21:15:41.408  - info: host.DELO0150 7 instances found
                                  2022-09-30 21:15:41.434  - info: host.DELO0150 starting 7 instances
                                  2022-09-30 21:15:41.539  - info: host.DELO0150 instance system.adapter.admin.0 started with pid 2095
                                  2022-09-30 21:15:46.246  - info: host.DELO0150 iobroker.js-controller version 4.0.23 js-controller starting
                                  2022-09-30 21:15:46.252  - info: host.DELO0150 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                  2022-09-30 21:15:46.253  - info: host.DELO0150 hostname: DELO0150, node: v16.17.1
                                  2022-09-30 21:15:46.254  - info: host.DELO0150 ip addresses: 192.168.178.150 fe80::5068:6694:ad08:cc79
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Magnus 0 @Thomas Braun last edited by

                                    @thomas-braun

                                    Denkst du, wir bekommen das heute irgendwie hin?

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

                                      @magnus-0

                                      sudo systemctl disable iobroker.service
                                      sudo systemctl stop iobroker.service
                                      

                                      Sollte den restart loop unterbrechen.

                                      M 2 Replies Last reply Reply Quote 0
                                      • M
                                        Magnus 0 @Thomas Braun last edited by

                                        @thomas-braun

                                        pi@DELO0150:~ $ sudo systemctl disable iobroker.service
                                        Removed /etc/systemd/system/multi-user.target.wants/iobroker.service.
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Magnus 0 @Thomas Braun last edited by

                                          @thomas-braun

                                          Ich hab jetzt mal noch

                                          iobroker stop
                                          

                                          ausgeführt.... nun startet er laut Log nicht mehr neu.

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

                                            @magnus-0

                                            Okay. Und

                                            iobroker status 
                                            iobroker start
                                            

                                            sagt?

                                            M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            733
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            46
                                            1671
                                            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