Navigation

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

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker startet nicht mehr

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

      @thomas-braun
      Sorry

      pi@ioBroker482:~ $ sudo apt update
      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:2 https://deb.nodesource.com/node_14.x buster InRelease
      OK:3 http://archive.raspberrypi.org/debian buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
      pi@ioBroker482:~ $ sudo apt install lsof
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      lsof ist schon die neueste Version (4.91+dfsg-1).
      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
        gstreamer1.0-pulseaudio libxcb-image0 lxplug-volume
      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
      pi@ioBroker482:~ $ lsof /opt/iobroker/iobroker-data/states.jsonl
      pi@ioBroker482:~ $ ^C
      pi@ioBroker482:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Atticus last edited by

        @atticus

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

        Und betreibe einen Server OHNE Desktop.

        A 1 Reply Last reply Reply Quote 0
        • A
          Atticus @Thomas Braun last edited by

          @thomas-braun
          ja, das mit dem Desktop hat sich so ergeben, kannst mir verraten, wie ich den abschalten kann?

          pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
          lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
                Output information may be incomplete.
          pi@ioBroker482:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Atticus last edited by

            @atticus sagte in ioBroker startet nicht mehr:

            gvfs

            Ist das GNOME Virtual file system, hat also mit der graphischen Oberfläche zu tun. Hättest du die nicht installiert, hättest du auch das Problem höchstwahrscheinlich erst gar nicht.

            Geh in

            sudo raspi-config
            

            und stell den Boot-Vorgang auf 'CLI with LogIn required' (oder so ähnlich) um.

            A 1 Reply Last reply Reply Quote 0
            • A
              Atticus @Thomas Braun last edited by

              @thomas-braun
              So, den Desktop habe ich ausgeschaltet, dann noch mal testen:

              pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
              pi@ioBroker482:~ $ sudo lsof /opt/iobroker/iobroker-data/states.jsonl
              COMMAND   PID     USER   FD   TYPE DEVICE   SIZE/OFF     NODE NAME
              iobroker. 659 iobroker   26u   REG    8,2 1681542109 14288684 /opt/iobroker/iobroker-data/states.jsonl
              pi@ioBroker482:~ $ iobroker status
               Objects database error: connect ECONNREFUSED 127.0.0.1:9001
               Objects database error: connect ECONNREFUSED 127.0.0.1:9001
               Objects database error: connect ECONNREFUSED 127.0.0.1:9001
               Objects database error: connect ECONNREFUSED 127.0.0.1:9001
              No connection to databases possible ...
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Atticus last edited by

                @atticus

                iobroker stop
                iobroker fix
                
                A 1 Reply Last reply Reply Quote 0
                • A
                  Atticus @Thomas Braun last edited by

                  @thomas-braun

                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/3)
                  ==========================================================================
                  
                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:3 https://deb.nodesource.com/node_14.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...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  pi@ioBroker482:~ $ iobroker status
                  No connection to databases possible ...
                  pi@ioBroker482:~ $ iobroker start
                  pi@ioBroker482:~ $ iobroker status
                  Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                  pi@ioBroker482:~ $ sudo reboot now
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Atticus last edited by

                    @atticus

                    Keine Ahnung.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Atticus @Thomas Braun last edited by

                      @thomas-braun ok, dann vielen Dank für Deine nette Hilfe

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

                        Das Ganze sieht mir nach dem Betatest für den Controller v4 aus.
                        Da ich den noch nicht nutze, kenne ich auch dessen Eigenheiten nicht.

                        Lass doch mal nebenbei das log in einer zweiten Terminalsession laufen und sieh nach was da passiert.

                        Vermutung:
                        Irgendwie scheint bei dir der Port 9000 belegt zu sein

                        A 2 Replies Last reply Reply Quote 0
                        • A
                          Atticus @Homoran last edited by

                          @homoran wie geht das mit dem log?

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

                            @atticus sagte in ioBroker startet nicht mehr:

                            @homoran wie geht das mit dem log?

                            iobroker logs --watch

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

                              @homoran kann ich in dem jetzigen Zustand die java script Instanz deaktivieren?

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

                                @atticus sagte in ioBroker startet nicht mehr:

                                @homoran kann ich in dem jetzigen Zustand die java script Instanz deaktivieren?

                                iobroker stop javascript.0
                                Voraussetzung dass 0 deine Instanz ist

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

                                  @homoran

                                  pi@ioBroker482:~ $ iobroker logs --watch
                                  Uncaught Rejection: RangeError [ERR_INVALID_OPT_VALUE]: The value "1677377614" is invalid for option "size"
                                     at Function.allocUnsafe (buffer.js:387:3)
                                     at tryCreateBuffer (fs.js:370:21)
                                     at Object.readFileSync (fs.js:404:14)
                                     at CLILogs.execute (/opt/iobroker/node_modules/@iobroker/js-controller-cli/lib/cli/cliLogs.js:40:28)
                                     at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1137:25)
                                     at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3314:5)
                                     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
                                     at Module._compile (internal/modules/cjs/loader.js:1085:14)
                                     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                                     at Module.load (internal/modules/cjs/loader.js:950:32)
                                  
                                  
                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Atticus last edited by

                                    @atticus wieso bist du eigentlich im Betatester Programm?

                                    iobroker update -i

                                    A 3 Replies Last reply Reply Quote 0
                                    • A
                                      Atticus @Homoran last edited by Homoran

                                      @homoran

                                      pi@ioBroker482:~ $ iobroker stop javascript.0
                                      Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                      Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Atticus @Homoran last edited by Homoran

                                        @homoran

                                        pi@ioBroker482:~ $ iobroker update -i
                                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                        
                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Atticus last edited by Homoran

                                          @atticus ich fürchte da kann ich dich nur an den Thread https://forum.iobroker.net/topic/52208/js-controller-4-0-jetzt-im-beta-latest verweisen

                                          Die Frage

                                          @homoran sagte in ioBroker startet nicht mehr:

                                          wieso bist du eigentlich im Betatester Programm?

                                          hattest du mir aber noch nicht beantwortet

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

                                            @homoran Betatest? Keine Ahnung, das Update wurde im ioBroker abgezeigt.

                                            Homoran 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

                                            485
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            123
                                            11492
                                            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