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 @Thomas Braun last edited by

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

      Insgesamt würde ich aber überlegen, den Raspberry2 mit mageren 1GB in Rente zu schicken.

      Ich hab schon ne Weile so einen HP Minirechner hier stehen, und will eigentlich auf Proxmox umsteigen.
      Bin am überlegen, den Raspi dann nur als Slave zu nutzen - das sollte doch eigentlich passen?
      Muss ich nur Zeit für finden....

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

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

        Und dabei immer die Kapazität des Datenträgers im Blick halten.

        Ich habe jetzt nach dem nodejs update und einem sudo apt clean noch 420MB frei.
        Macht da ein iob update Sinn?
        Was passiert, wenn mittendrin der Platz ausgeht?

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

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

          Was passiert, wenn mittendrin der Platz ausgeht?

          Dann bricht es wohl ab. Probier es aus.

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

            @thomas-braun

            so, alles gut durchgelaufen, und laut der Weboberfläche sind noch 500MB Platz auf der SD.
            Hab gerade noch mal auf der Weboberfläche mit backitup ein Backup gemacht, das kopiere ich mir gleich noch rüber auf den PC.

            Dann werde ich als nächstes Mal am WE auf eine größere SD installieren und versuchen das backup einzuspielen.

            Danach als nächster Schritt stände Proxmox und Multihost auf dem Plan.

            Herzlichsten Dank für die Schritt-für-Schritt Unterstützung!!!!! 🙂

            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @final last edited by

              @final

              Und das ganze Ding schaut nun wie aus?

              iob diag
              

              nochmal anschauen.

              F 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:

                Dann werde ich als nächstes Mal am WE auf eine größere SD installieren und versuchen das backup einzuspielen.

                damit können wir dann weiterarbeiten

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

                  @thomas-braun

                  ======================= SUMMARY =======================
                                          v.2023-10-10
                  
                  
                     Static hostname: raspberrypi
                           Icon name: computer
                    Operating System: Raspbian GNU/Linux 11 (bullseye)
                              Kernel: Linux 6.1.21-v7+
                        Architecture: arm
                  
                  Installation:           native
                  Kernel:                 armv7l
                  Userland:               armhf
                  Timezone:               Europe/Berlin (CET, +0100)
                  User-ID:                1000
                  X-Server:               false
                  Boot Target:            multi-user.target
                  
                  Pending OS-Updates:     3
                  Pending iob updates:    0
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                          /usr/bin/node           v18.19.0
                                          /usr/bin/npm            10.2.3
                                          /usr/bin/npx            10.2.3
                                          /usr/bin/corepack       0.22.0
                  
                  Recommended versions are nodejs 18.19.0 and npm Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                  Your nodejs installation is correct
                  
                  MEMORY:
                                 total        used        free      shared  buff/cache   available
                  Mem:            965M        414M        161M        0.0K        389M        491M
                  Swap:            99M         22M         77M
                  Total:          1.1G        437M        238M
                  
                  Active iob-Instances:   9
                  Active repo(s): stable
                  
                  ioBroker Core:          js-controller           5.0.17
                                          admin                   6.13.16
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  Objects:                398
                  States:                 260
                  
                  Size of iob-Database:
                  
                  9.5M    /opt/iobroker/iobroker-data/objects.jsonl
                  2.0M    /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  

                  === Mark text until here for copying ===

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

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

                    Pending OS-Updates: 3

                    Hau die noch drauf:

                    sudo apt update
                    sudo apt full-upgrade
                    

                    Und

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

                    sollte eigentlich auch nicht gemeldet werden. Kann aber sein, dass deine Kiste an der Stelle auch einfach zu langsam ist.

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

                      @thomas-braun

                      wahrscheinlich wieder Speicher knapp?
                      Ich lass es jetzt erstmal so laufen und steck da keine Arbeit mehr rein.
                      Neues System am WE.
                      Installieren würde ich anhand IOB Installation.
                      Du hast ja eine Anleitung für den PI dort verlinkt. Da steht als OS Empfehlung Raspberry Pi OS Lite (64-bit) drin. Gilt das noch / auch für meinen PI?

                      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:

                        Installieren würde ich anhand IOB Installation.

                        such mal hier Im Forum nach "einfacher geht's nicht"

                        edit:
                        https://forum.iobroker.net/post/750265

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

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

                          Da steht als OS Empfehlung Raspberry Pi OS Lite (64-bit) drin. Gilt das noch / auch für meinen PI?

                          Nein, dein RPi2 kann mit 64Bit nix anfangen, der braucht die 32Bit-Version.
                          64Bit steht da drin, weil die entsprechende Basis mittlerweile die überwiegend in der freien Wildbahn anzutreffende ist. Auf älteren Kistlein ist ein 'ordentlicher Dauerbetrieb' des ioBroker eh nicht mehr zu empfehlen.

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

                            @homoran said in IoB startet nicht mit Fehlermeldung zu JSONL:

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

                            Installieren würde ich anhand IOB Installation.

                            such mal hier Im Forum nach "einfacher geht's nicht"

                            edit:
                            https://forum.iobroker.net/post/750265

                            Einfacher als das hier geht es nicht. Nur Achtung deinen richtigen Pi wählen
                            Screenshot 2024-02-14 135236.png

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

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

                              Nur Achtung deinen richtigen Pi wählen

                              und auf lite
                              und auf SSH freigeben
                              und den Usernamen/Passwort ändern
                              und..?..

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

                                Moin Zusammen.

                                Natürlich war am WE noch keine Zeit - die SD ist aber zumindest schon mal vorbereitet.
                                Ich hab aber noch mal eine Frage, weil ich mich nicht mehr genau erinnere, wie ich es beim setup gemacht hatte:

                                ich habe ja am Raspi über USB einen HICHI Lesekopf angeschlossen, der die Daten vom Zähler holt.
                                Muss ich den erst noch irgendwie im Linux einbinden, oder war das pnp?
                                Nicht dass nach Rückspielen des iobroker Backups keine Daten kommen weil der Lesekopf nicht erkannt wird?

                                Danke euch

                                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

                                837
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

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