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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Komplet absturz

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

      Hallo,

      ich verkabel gerade eine Alarmanlage neu und habe dabei das Netwzerkkabel vom iobroker abgesteckt und seit dem wieder drauf stecken funktioniert nichts mehr. ich kann mich noch über Putty einloggen und seheh folgendes.

      pi@ioBroker-Rock:~$ sudo iobroker status
      iobroker is not running on this host.
      
      No iobroker host is running.
      
      Objects type: file
      States  type: file
      
      pi@ioBroker-Rock:~$ iobroker list instances
      
      + instance is alive
      
      pi@ioBroker-Rock:~$ sudo iobroker start all
      Cannot find view "system"
      (node:9601) UnhandledPromiseRejectionWarning: #<Object>
      (node:9601) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
      (node:9601) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      

      Das ist so frustiertent, wenn bei jeden Pups das komplette System flöten geht. Es gab schon ähnlich "unbedeutende" Vorfälle die ein komplette Restoren nach sich zogen. Zum Beispiel hab ich die Hardware rebootet ohne vorher den iobroker zu stoppen. Zack, total im Eimer. Das wäre jetzt bestimmt schon das 3ten oder 4ten mal. Ich überlege ernsthaft das Ganze aufzugeben. Ich mach das mit den ioBroker seit über einem Jahr, aber sowas treibt mich zum Wahnsinn.
      Kann jemand schnell helfen ?

      J sigi234 Thomas Braun 3 Replies Last reply Reply Quote 0
      • J
        Jan1 @pfuhsy last edited by

        @pfuhsy
        Da stimmt was anderes nicht ich mach ein mal die Woche ein Linux Update und reboote danach ohne IOBroker zu stoppen und der läuft immer noch ohne Probleme.

        P 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @pfuhsy last edited by

          @pfuhsy

          cd /opt/iobroker
          iobroker start
          
          1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            918
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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