Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. iobroker läuft 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 läuft nicht mehr

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

      @emi-0 sagte in iobroker läuft nicht mehr:

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

      ls  -l /opt/iobroker/iobroker-data/objects.jsonl
      sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
      
      E 1 Reply Last reply Reply Quote 0
      • E
        Emi 0 @Thomas Braun last edited by

        @thomas-braun

        micros02@smartmeter:~ $ ls  -l /opt/iobroker/iobroker-data/objects.jsonl
        -rw-rwxr--+ 1 iobroker iobroker 120034159 Apr 25 21:05 /opt/iobroker/iobroker-data/objects.jsonl
        micros02@smartmeter:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
        COMMAND    PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
        iobroker. 1919 iobroker   19u   REG  179,2 120034159 268535 /opt/iobroker/iobroker-data/objects.jsonl
        micros02@smartmeter:~ $ iob start
        micros02@smartmeter:~ $ iob status
        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
        micros02@smartmeter:~ $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Emi 0 last edited by

          @emi-0

          getfacl /opt/iobroker/iobroker-data/objects.jsonl
          
          E 1 Reply Last reply Reply Quote 0
          • E
            Emi 0 @Thomas Braun last edited by

            @thomas-braun

            geht noch nicht:

            micros02@smartmeter:~ $
            getfacl /opt/iobroker/iobroker-data/objects.jsonl
            -bash: micros02@smartmeter:~: command not found
            -bash: -rw-rwxr--+: command not found
            -bash: micros02@smartmeter:~: command not found
            -bash: COMMAND: command not found
            -bash: iobroker.: command not found
            -bash: micros02@smartmeter:~: command not found
            -bash: micros02@smartmeter:~: command not found
            -bash: Server: command not found
            -bash: micros02@smartmeter:~: command not found
            getfacl: Removing leading '/' from absolute path names
            # file: opt/iobroker/iobroker-data/objects.jsonl
            # owner: iobroker
            # group: iobroker
            user::rw-
            group::r--
            group:iobroker:rwx
            mask::rwx
            other::r--
            
            micros02@smartmeter:~ $ iob start
            micros02@smartmeter:~ $ iob status
            Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
            micros02@smartmeter:~ $
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Emi 0 last edited by

              @emi-0

              Da stimmen die Rechte nicht.
              Auf meinem System schauen die anders aus.
              Aber erstmal Sportschau gucken...

              E 2 Replies Last reply Reply Quote 0
              • E
                Emi 0 @Thomas Braun last edited by

                @thomas-braun

                erstmal vielen Dank
                Viel Spaß bei der Sportschau.
                Bis Morgen ....

                1 Reply Last reply Reply Quote 0
                • E
                  Emi 0 @Thomas Braun last edited by

                  @thomas-braun

                  Hallo Thomas,
                  kannst Du bitte noch etwas zu den Rechten sagen, wie sie aussehen müssen, dass iobroker wieder gestartet werden kann?

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

                    @emi-0

                    Bei mir sehen die so 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--
                    
                    E 1 Reply Last reply Reply Quote 0
                    • E
                      Emi 0 @Thomas Braun last edited by

                      @thomas-braun
                      also müssen die Rechte für group: und mask: angepasst werden.
                      Wie kann ich das machen?

                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Emi 0 last edited by

                        @emi-0 sagte in iobroker läuft nicht mehr:

                        Wie kann ich das machen?

                        eigentlich müsste das der Fixer machen:

                        iobroker stop
                        iobroker fix
                        iobroker start
                        
                        E 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Emi 0 last edited by Thomas Braun

                          @emi-0

                          Eigentlich sollte das der Fixer machen.
                          Hier sind ACLs gesetzt worden.
                          Manuell ist das das etwas aufwändiger.
                          Stefan Kania erklärt es hier:

                          https://www.informatik-aktuell.de/betrieb/betriebssysteme/rechte-im-dateisystem-mehr-als-nur-rwx.html

                          1 Reply Last reply Reply Quote 0
                          • E
                            Emi 0 @Homoran last edited by

                            @homoran

                            Anscheinend macht der fixer bei mir nicht das Richtige

                            micros02@smartmeter:~ $ iobroker fix
                            library: loaded
                            Library version=2022-02-10
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installation fixer!
                                Script version: 2022-02-13
                            
                                You might need to enter your password a couple of times.
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/3)
                            ==========================================================================
                            
                            Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                            Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                            Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB]
                            Fetched 321 kB in 4s (89.5 kB/s)
                            Reading package lists... Done
                            Installed gcc-c++
                            Installed python-dev
                            
                            ==========================================================================
                                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!
                            
                            ==========================================================================
                            
                            micros02@smartmeter:~ $ iobroker start
                            micros02@smartmeter:~ $ iobroker status
                            No connection to databases possible ...
                            micros02@smartmeter:~ $ 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--
                            group:iobroker:rwx
                            mask::rwx
                            other::r--
                            
                            micros02@smartmeter:~ $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Emi 0 last edited by Thomas Braun

                              @emi-0

                              systemctl status iobroker.service
                              

                              sagt?

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                Emi 0 @Thomas Braun last edited by

                                @thomas-braun

                                micros02@smartmeter:~ $ systemctl status iobroker.service
                                ● iobroker.service - ioBroker Server
                                     Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor pres>
                                     Active: active (running) since Tue 2022-05-03 17:35:03 CEST; 40s ago
                                       Docs: http://iobroker.net
                                   Main PID: 27228 (iobroker.js-con)
                                      Tasks: 18 (limit: 415)
                                        CPU: 40.513s
                                     CGroup: /system.slice/iobroker.service
                                             ├─27228 iobroker.js-controller
                                             └─27241 node /opt/iobroker/node_modules/iobroker.js-controller/iob>
                                
                                May 03 17:35:03 smartmeter systemd[1]: Started ioBroker Server.
                                May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Main process exited, c>
                                May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Failed with result 'ex>
                                May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Consumed 40.716s CPU t>
                                lines 1-15/15 (END)
                                
                                
                                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Emi 0 last edited by

                                  @emi-0

                                  Mach das Fenster mal breiter, damit man alles sieht.

                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    Emi 0 @Thomas Braun last edited by

                                    @thomas-braun

                                    wie mache ich das?

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

                                      @emi-0 sagte in iobroker läuft nicht mehr:

                                      iobroker.service: Failed with result 'ex>

                                      irgendwo muss da mehr stehen
                                      Das Fenster der Konsole kannst du doch größer (breiter) ziehen, oder?

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        Emi 0 @Homoran last edited by

                                        @homoran

                                        ja kann ich, aber die Zeile hört mit 'ex auf

                                        micros02@smartmeter:~ $ systemctl status iobroker.service
                                        ● iobroker.service - ioBroker Server
                                             Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor pres>
                                             Active: active (running) since Tue 2022-05-03 17:35:03 CEST; 40s ago
                                               Docs: http://iobroker.net
                                           Main PID: 27228 (iobroker.js-con)
                                              Tasks: 18 (limit: 415)
                                                CPU: 40.513s
                                             CGroup: /system.slice/iobroker.service
                                                     ├─27228 iobroker.js-controller
                                                     └─27241 node /opt/iobroker/node_modules/iobroker.js-controller/iob>
                                        
                                        May 03 17:35:03 smartmeter systemd[1]: Started ioBroker Server.
                                        May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Main process exited, c>
                                        May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Failed with result 'ex>
                                        May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Consumed 40.716s CPU t>
                                        lines 1-15/15 (END)
                                        micros02@smartmeter:~ $
                                        
                                        
                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Emi 0 last edited by

                                          @emi-0 sagte in iobroker läuft nicht mehr:

                                          ja kann ich, aber die Zeile hört mit 'ex auf

                                          hast du jetzt nur das Fenster breiter gemacht oder auch den Befehl nochmal abgedrückt?

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            Emi 0 @Homoran last edited by

                                            @homoran

                                            nach erneutem Abschicken des Befehls sieht das Ergebnis ganz anders aus, warum, was hat sich geändert??

                                            micros02@smartmeter:~ $ systemctl status iobroker.service
                                            ● iobroker.service - ioBroker Server
                                                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor pres>
                                                 Active: active (running) since Tue 2022-05-03 17:35:03 CEST; 40s ago
                                                   Docs: http://iobroker.net
                                               Main PID: 27228 (iobroker.js-con)
                                                  Tasks: 18 (limit: 415)
                                                    CPU: 40.513s
                                                 CGroup: /system.slice/iobroker.service
                                                         ├─27228 iobroker.js-controller
                                                         └─27241 node /opt/iobroker/node_modules/iobroker.js-controller/iob>
                                            
                                            May 03 17:35:03 smartmeter systemd[1]: Started ioBroker Server.
                                            May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Main process exited, c>
                                            May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Failed with result 'ex>
                                            May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Consumed 40.716s CPU t>
                                            lines 1-15/15 (END)
                                            micros02@smartmeter:~ $ ^C
                                            micros02@smartmeter:~ $ systemctl status iobroker.service
                                            ● iobroker.service - ioBroker Server
                                                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                                 Active: active (running) since Tue 2022-05-03 17:49:00 CEST; 38s ago
                                                   Docs: http://iobroker.net
                                               Main PID: 27626 (iobroker.js-con)
                                                  Tasks: 11 (limit: 415)
                                                    CPU: 38.168s
                                                 CGroup: /system.slice/iobroker.service
                                                         └─27626 iobroker.js-controller
                                            
                                            May 03 17:49:00 smartmeter systemd[1]: Started ioBroker Server.
                                            micros02@smartmeter:~ $
                                            
                                            
                                            E 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            514
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            87
                                            4031
                                            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