Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Komplet absturz

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

      @pfuhsy Warum startest du den ioBroker mit sudo?

      iobroker stop
      iobroker fix
      iobroker version 
      which nodejs && nodejs -v && which node && node -v && which npm && npm -v
      
      P 1 Reply Last reply Reply Quote 0
      • P
        pfuhsy @Jan1 last edited by

        @Jan1

        nix

        pi@ioBroker-Rock:~$ cd /opt/iobroker
        pi@ioBroker-Rock:/opt/iobroker$ iobroker start
        pi@ioBroker-Rock:/opt/iobroker$ iobroker status
        iobroker is not running on this host.
        
        No iobroker host is running.
        
        Objects type: file
        States  type: file
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • P
          pfuhsy @Thomas Braun last edited by

          @Thomas-Braun sagte in Komplet absturz:

          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          pi@ioBroker-Rock:/$ iobroker version
          2.2.9
          
          pi@ioBroker-Rock:/$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v
          /usr/bin/nodejs
          v10.19.0
          /usr/bin/node
          v10.19.0
          /usr/bin/npm
          6.13.4
          pi@ioBroker-Rock:/$
          
          

          Nach dm Reboot:

          pi@ioBroker-Rock:~$ iobroker status
          iobroker is not running on this host.
          
          No iobroker host is running.
          
          Objects type: file
          States  type: file
          pi@ioBroker-Rock:~$ iobroker start
          pi@ioBroker-Rock:~$ iobroker status
           Cannot parse /opt/iobroker/iobroker-data/objects.json: SyntaxError: Unexpected end of JSON input
          iobroker is not running on this host.
          
          No iobroker host is running.
          
          Objects type: file
          States  type: file
          

          Und jetzt ? Was ist den da passiert? Kann mir das jemand erklären?

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

            @pfuhsy
            Mit

            tail -f /opt/iobroker/log/iobroker.current.log
            

            schauen was passiert, wenn du in einer anderen Konsole den iobroker startest.

            Zuvor ein

            iobroker fix
            

            schadet vielleicht auch nicht.

            P 1 Reply Last reply Reply Quote 0
            • P
              pfuhsy @Thomas Braun last edited by

              @Thomas-Braun

              B.js:1993:32)
                  at runCallback (timers.js:705:18)
                  at tryOnImmediate (timers.js:676:5)
                  at processImmediate (timers.js:658:5)
              2020-06-01 20:25:13.134  - info: host.ioBroker-Rock iobroker _restart
              2020-06-01 20:25:13.145  - error: host.ioBroker-Rock _design/system missing - call node iobroker.js setup
              2020-06-01 20:25:13.155  - info: host.ioBroker-Rock terminated
              2020-06-01 20:25:14.093  - info: host.ioBroker-Rock iobroker Starting node restart.js
              2020-06-01 20:25:15.906  - info: host.ioBroker-Rock iobroker.js-controller version 2.2.9 js-controller starting
              2020-06-01 20:25:15.922  - info: host.ioBroker-Rock Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
              2020-06-01 20:25:15.923  - info: host.ioBroker-Rock hostname: ioBroker-Rock, node: v10.19.0
              2020-06-01 20:25:15.927  - info: host.ioBroker-Rock ip addresses: 192.168.1.110 fe80::f777:1c02:d801:d955
              2020-06-01 20:25:16.050  - info: host.ioBroker-Rock connected to Objects and States
              2020-06-01 20:25:16.053  - error: Cannot find view "system"
              2020-06-01 20:25:16.089  - error: Cannot find view "system"
              2020-06-01 20:25:16.091  - error: Cannot find view "system"
              2020-06-01 20:25:16.115  - error: host.ioBroker-Rock uncaught exception: Cannot read property 'rows' of undefined
              2020-06-01 20:25:16.119  - error: host.ioBroker-Rock TypeError: Cannot read property 'rows' of undefined
                  at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/main.js:1529:34)
                  at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemFileD
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @pfuhsy last edited by Thomas Braun

                @pfuhsy

                iobroker update 
                iobroker upgrade
                iobroker upgrade self
                
                P 1 Reply Last reply Reply Quote 0
                • P
                  pfuhsy @Thomas Braun last edited by

                  @Thomas-Braun

                  Sah nach 5min. immer noch so aus. Hab dann mit Strg+c abgebrochen und Upgrade ausgeführt. Oder bin ich da zu ungeduldig?

                  pi@ioBroker-Rock:~$ iobroker update
                  Error: Object "system.config" not found
                  ^C
                  pi@ioBroker-Rock:~$
                  
                  pi@ioBroker-Rock:~$ iobroker upgrade
                  No repositories defined.
                  25
                  
                  pi@ioBroker-Rock:~$ iobroker upgrade self
                  No repositories defined.
                  Cannot get repository under "undefined"
                  
                  Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @pfuhsy last edited by

                    @pfuhsy sagte in Komplet absturz:

                    Error: Object "system.config" not found
                    No repositories defined.

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

                      @pfuhsy
                      Installiers neu. Da sind so wie ich das sehe einige Dateien korrupt.

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pfuhsy @Thomas Braun last edited by

                        @Thomas-Braun

                        Ich probiers nochmal mit den fixer dann gebe ich es auf.
                        Kannst Du mir erklären was da passiert ist? Das ist doch nicht normal.

                        Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                        • P
                          pfuhsy last edited by

                          Selbes Ergebniss wie oben. Sehr frustiertend!!!

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

                            @pfuhsy sagte in Komplet absturz:

                            Ich probiers nochmal mit den fixer dann gebe ich es auf.

                            Was soll der fixer bringen?
                            der korrigiert die Rechte des Users iobroker unter dem alles läuft.

                            Du hast aber defekte Dateien - warum auch immer.
                            So fehlt z.B. deine Konfiguration und das Update kann nicht durchgeführt werden, weil gar kein Repo definiert ist.

                            Nur mal so aus Neugier:
                            Was siehst du wenn du im admin ganz oben auf den Schraubenschlüssel klickst?

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

                              @Homoran sagte in Komplet absturz:

                              Du hast aber defekte Dateien - warum auch immer.

                              Stop. Ich hab nicht nur das Netzwerkkabel gezogen, sondern den USB-Anschnluss meiner Alarmanlage mit eingesteckt. Das dürfte aber funktionieren, weil ich in ein identischen System es am laufen hatte. Oder könnte das tasächlich das Problem verursacht haben ?

                              @Homoran sagte in Komplet absturz:

                              Nur mal so aus Neugier:
                              Was siehst du wenn du im admin ganz oben auf den Schraubenschlüssel klickst?

                              Kann ich mal ausprobieren, wenn es wieder läuft.

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

                                @pfuhsy
                                Vermutlich im laufenden Betrieb das System hart ausgeschaltet oder das Dateisystem verabscheidet sich gerade.

                                dmesg
                                

                                kann evtl. auch weiterhelfen.

                                ? 1 Reply Last reply Reply Quote 0
                                • P
                                  pfuhsy last edited by

                                  Jetzt hab ich die Karte schon raus und restore gerade. Nochmal. Sehr frustiertend 😠

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

                                    @pfuhsy sagte in Komplet absturz:

                                    Oder könnte das tasächlich das Problem verursacht haben ?

                                    wenn die Alarmanlage über den USB auch mit Strom versorgt wird kann das schon sein.

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

                                      @Homoran sagte in Komplet absturz:

                                      @pfuhsy sagte in Komplet absturz:

                                      Oder könnte das tasächlich das Problem verursacht haben ?

                                      wenn die Alarmanlage über den USB auch mit Strom versorgt wird kann das schon sein.

                                      Nicht die komplette Anlage die hat ihre eigene Versorung, aber der Konverter CP2101. Ich hatte aber eine Brücke drin, die die beiden 5V über den Konverter verbindet. Ich trenne den mal 🙂

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

                                        @pfuhsy sagte in Komplet absturz:

                                        aber der Konverter CP2101

                                        und wenn der zuviel Strom zieht bricht die Spannungsversorgung für den Pi zusammen und du hast die gleichen Folgen, wie wenn du den Stecker im laufenden Betrieb ziehst -> Dateischäden

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pfuhsy last edited by

                                          Also war der Fehler zwischen den Ohren. Danke.

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

                                            @pfuhsy ist nur eine Möglichkeit, ich weiß nicht wieviel der zieht.

                                            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

                                            783
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            absturz
                                            7
                                            37
                                            2606
                                            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