Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    IoB startet nicht mit Fehlermeldung zu JSONL

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      final last edited by

      Hey Zusammen.

      Ich komme plötzlich nicht mehr auf mein Webinterface. Praktisch aus dem nichts heraus, eben gings noch, nun plötzlich nicht mehr.
      Wenn ich über SSH auf meinen Raspi gehe, bekomme ich mit

      iobroker status
      

      als Antwort nach einer Weile folgende Meldung:

      Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
      

      Kann mich mal jemand durch coachen bitte?

      Danke,Gruß

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

        @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

        Kann mich mal jemand durch coachen bitte?

        die Basis dafür wäre die Langfassung von iob diag

        F 1 Reply Last reply Reply Quote 0
        • F
          final @Homoran last edited by

          @homoran

          /opt/iobroker $ iob diag
          /opt/iobroker $
          

          Ähem, da passiert rein gar nix??? Oder mache ich das gerade falsch? 😕

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

            @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

            da passiert rein gar nix???

            welches OS?

            F 1 Reply Last reply Reply Quote 0
            • F
              final @Homoran last edited by

              @homoran

              /opt/iobroker $ cat /etc/os-release
              PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
              NAME="Raspbian GNU/Linux"
              VERSION_ID="11"
              VERSION="11 (bullseye)"
              VERSION_CODENAME=bullseye
              ID=raspbian
              ID_LIKE=debian
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @final last edited by

                @final sehr seltsam!

                iob status zeigt dir hoffentlich ein existentensiob an

                F 1 Reply Last reply Reply Quote 0
                • F
                  final @Homoran last edited by

                  das verstehe ich nicht.
                  in meinem ersten post hatte ich ja das Ergebnis von iobroker status gezeigt.
                  Oder ist iob status nicht gleich iobroker status?

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

                    @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                    in meinem ersten post hatte ich ja das Ergebnis von iobroker status gezeigt.

                    und jetzt kommt nichts mehr?

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      final @Homoran last edited by final

                      @homoran

                      /opt/iobroker $ iob status
                      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                      

                      Wir haben doch nix gemacht bisher? Also außer dem diag was nix bewirkt hat

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

                        @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                        Wir haben doch nix gemacht bisher?

                        weil du schriebst

                        @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                        eben gings noch, nun plötzlich nicht mehr.

                        hätte der SD Karies ja weiter fortgeschritten sein können weil der Befehl

                        @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                        diag was nix bewirkt hat

                        da sollte wenigstens eine Reaktion kommen.

                        also

                        iob stop
                        iob fix
                        iob start
                        ...
                        warten
                        ...
                        
                        iob diag
                        
                        F 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @final last edited by

                          @final

                          systemctl status iobroker
                          
                          F 1 Reply Last reply Reply Quote 0
                          • F
                            final @Homoran last edited by

                            @homoran

                            achso. Hm, tja, das übersteigt meine Kenntnisse.

                            hier mal ein zwischenstand vom iob fix - anscheinend habe ich (auch?) ein Speicherplatzproblem?

                            @raspberrypi:~ $ iob fix
                            library: loaded
                            Library version=2024-01-04
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installation fixer!
                                Script version: 2024-01-04
                            
                                You might need to enter your password a couple of times.
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/5)
                            ==========================================================================
                            
                            Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                            Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
                            Err:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                              Error writing to file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
                            Err:2 http://archive.raspberrypi.org/debian bullseye InRelease
                              Error writing to file - write (28: No space left on device) [IP: 2a00:1098:80:56::3:1 80]
                            Get:3 https://deb.nodesource.com/node_14.x bullseye InRelease [4,586 B]
                            Err:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                              Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::6816:51a 443]
                            Reading package lists... Done
                            W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
                            W: Failed to fetch https://deb.nodesource.com/node_14.x/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::6816:51a 443]
                            W: Failed to fetch http://archive.raspberrypi.org/debian/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a00:1098:80:56::3:1 80]
                            W: Some index files failed to download. They have been ignored, or old ones used instead.
                            
                            ==========================================================================
                                Checking ioBroker user and directory permissions (2/5)
                            ==========================================================================
                            
                            main: line 702: echo: write error: No space left on device
                            Created /etc/sudoers.d/iobroker
                            Fixing directory permissions...
                            
                            ==========================================================================
                                Check and cleanup npm temporary directories (3/5)
                            ==========================================================================
                            
                            Done.
                            
                            ==========================================================================
                                Database maintenance (4/5)
                            ==========================================================================
                            
                            Checking for uncompressed JSONL databases... This might take a while!
                            
                            Error: ENOSPC: no space left on device, mkdir '/home/iobroker/.npm/_npx/16826'
                            command not found: jsonltool
                            
                            ==========================================================================
                                Checking autostart (5/5)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            
                            ==========================================================================
                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active last edited by

                              @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                              : No space left on device

                              Das Dateisystem ist rappelvoll.

                              df -h
                              
                              F 1 Reply Last reply Reply Quote 0
                              • F
                                final @Thomas Braun last edited by

                                @thomas-braun

                                @raspberrypi:~ $ systemctl status iobroker
                                ● iobroker.service - ioBroker Server
                                     Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                     Active: activating (auto-restart) (Result: exit-code) since Tue 2024-02-13 20:17:19 CET; 689ms ago
                                       Docs: http://iobroker.net
                                    Process: 17079 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                   Main PID: 17079 (code=exited, status=1/FAILURE)
                                        CPU: 4.952s
                                
                                Feb 13 20:17:19 raspberrypi systemd[1]: iobroker.service: Consumed 4.952s CPU time.
                                Feb 13 20:17:22 raspberrypi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 8.
                                Feb 13 20:17:22 raspberrypi systemd[1]: Stopped ioBroker Server.
                                Feb 13 20:17:22 raspberrypi systemd[1]: iobroker.service: Consumed 4.952s CPU time.
                                Feb 13 20:17:22 raspberrypi systemd[1]: Started ioBroker Server.
                                Feb 13 20:17:26 raspberrypi bash[17093]: ENOSPC: no space left on device, write
                                Feb 13 20:17:26 raspberrypi bash[17093]: Error: ENOSPC: no space left on device, write
                                Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                                Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Consumed 4.856s CPU time.
                                
                                1 Reply Last reply Reply Quote 0
                                • F
                                  final @Thomas Braun last edited by final

                                  @thomas-braun said in IoB startet nicht mit Fehlermeldung zu JSONL:

                                  @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                                  : No space left on device

                                  Das Dateisystem ist rappelvoll.

                                  df -h
                                  

                                  was macht df -h? EDIT: ok, disk free ... (ich muss die meisten Befehle erstmal googlen...)

                                  kann die volle SD für den Fehler verantwortlich sein, oder ist das ein 2. Problem?

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

                                    @final

                                    df zeigt die Belegung der Partitionen an.

                                    sudo apt clean
                                    

                                    räumt da vielleicht wieder etwas frei.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      final @Thomas Braun last edited by

                                      @thomas-braun

                                      @raspberrypi:~ $ df -h
                                      Filesystem      Size  Used Avail Use% Mounted on
                                      /dev/root       7.1G  6.8G     0 100% /
                                      devtmpfs        355M     0  355M   0% /dev
                                      tmpfs           483M     0  483M   0% /dev/shm
                                      tmpfs           194M  984K  193M   1% /run
                                      tmpfs           5.0M  4.0K  5.0M   1% /run/lock
                                      /dev/mmcblk0p1  253M   51M  202M  20% /boot
                                      tmpfs            97M   16K   97M   1% /run/user/1000
                                      
                                      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @final last edited by

                                        @final

                                        Da biste aber sehr knauserig gewesen. 7,1GB ist zu wenig.

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

                                          @final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:

                                          /dev/root 7.1G 6.8G 0 100% /

                                          rappelvoll!
                                          mit 7GB "Plattenplatz" auszukommen war auch ziemlich optimistisch

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            final @Homoran last edited by final

                                            ist ne 8GB SD - hätte nicht gedacht dass das zu wenig ist? Läuft jetzt seit knapp einem Jahr. Und dabei logge ich nur meinen Zählerstand und das BKW...
                                            Was ist denn eine gute Größe? Hab noch ne 32GB SD liegen ...
                                            Oder ist eine IOB EInstellung nicht gut und er generiert zu viele Daten/Backups/Dateien/was weiß ich?
                                            Muß ich nur regelmäßig aufräumen/löschen?

                                            Thomas Braun 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

                                            982
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            85
                                            3982
                                            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