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

    • 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.
    • 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
                                      • Homoran
                                        Homoran Global Moderator Administrators @Atticus last edited by

                                        @atticus sagte in ioBroker startet nicht mehr:

                                        Keine Ahnung, das Update wurde im ioBroker abgezeigt.

                                        aber nur wenn du dich als Betatester in den Systemeinstellungen eingetragen hattest und das Repository "Beta" anstelle "Stable" ausgewählt hattest

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

                                          @homoran Könnte mich nicht daran erinnern, aber ok, es muss wieder laufen

                                          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 Könnte mich nicht daran erinnern, aber ok, es muss wieder laufen

                                            Ich bin kein Linuxer, vielleicht kann @Thomas-Braun nochmal einsteigen und helfen herauszufinden was

                                            @atticus sagte in ioBroker startet nicht mehr:

                                            Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!

                                            das bedeutet

                                            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

                                            946
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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