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 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
                      • M
                        Magnus 0 @Thomas Braun last edited by

                        @thomas-braun sagte in ioBroker startet nicht mehr:

                        iobroker status

                        hab nur mal folgendes ausgeführt:

                        pi@DELO0150:~ $ iobroker status
                        No connection to databases possible ...
                        
                        1 Reply Last reply Reply Quote 0
                        • M
                          Magnus 0 @Thomas Braun last edited by

                          @thomas-braun

                          Ich will nicht nerven, aber hast du für heute noch eine Idee?

                          Oder sollen wir es auf die kommenden Tage verschieben?

                          Gibt es einen Plan B?

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

                            @magnus-0

                            iobroker fix
                            
                            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 fix

                              und dann

                              iobroker start
                              

                              ?

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

                                @magnus-0

                                Läuft der fix überhaupt?

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

                                sagt?

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

                                  @thomas-braun

                                  Ergebnis von Fix:

                                  pi@DELO0150:/opt/iobroker/iobroker-data $ iobroker fix
                                  library: loaded
                                  Library version=2022-06-15
                                  
                                  ==========================================================================
                                  
                                      Welcome to the ioBroker installation fixer!
                                      Script version: 2022-06-03
                                  
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/3)
                                  ==========================================================================
                                  
                                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  OK:2 http://archive.raspberrypi.org/debian buster InRelease
                                  OK:3 https://deb.nodesource.com/node_16.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...
                                  Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                  Autostart enabled!
                                  
                                  ==========================================================================
                                  
                                      Your installation was fixed successfully
                                      Run iobroker start to start ioBroker again!
                                  
                                  ==========================================================================
                                  
                                  

                                  Ergebnis von dem zweiten Befehl:

                                  pi@DELO0150:/opt/iobroker/iobroker-data $ getfacl /opt/iobroker/iobroker-data/objects.jsonl
                                  getfacl: Entferne führende '/' von absoluten Pfadnamen
                                  # file: opt/iobroker/iobroker-data/objects.jsonl
                                  # owner: iobroker
                                  # group: iobroker
                                  user::rw-
                                  group::r-x
                                  group:iobroker:rwx
                                  mask::rwx
                                  other::r--
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Magnus 0 last edited by

                                    @magnus-0
                                    Hmmm. Meine Rechte sehen anders aus:

                                    echad@chet:~ $ getfacl /opt/iobroker/iobroker-data/objects.jsonl
                                    getfacl: Removing leading '/' from absolute path names
                                    # file: opt/iobroker/iobroker-data/objects.jsonl
                                    # owner: iobroker
                                    # group: iobroker
                                    user::rw-
                                    group::r-x                      #effective:r--
                                    group:iobroker:rwx              #effective:rw-
                                    mask::rw-
                                    other::r--
                                    
                                    M 2 Replies Last reply Reply Quote 0
                                    • M
                                      Magnus 0 @Thomas Braun last edited by

                                      @thomas-braun

                                      nur bei mask:: gibt es ja einen Unterschied, richtig?

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

                                        @thomas-braun

                                        Kann man evtl. ein Backup wiederherstellen?

                                        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:

                                          nur bei mask:: gibt es ja einen Unterschied, richtig?

                                          Ja, meine mask nimmt den usern und den Gruppen das x-bit.
                                          Deine mask macht gar nix...

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

                                            @thomas-braun

                                            Hast du noch eine Idee was ich machen kann oder muss ich ein Backup versuchen einzuspielen oder neuinstallieren?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            675
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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