Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Gelöst | IoBroker nach Stromausfall nicht mehr erreichbar

    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

    Gelöst | IoBroker nach Stromausfall nicht mehr erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Philipp.Schlegel @wendy2702 last edited by

      @wendy2702

      Kommt bei einem Versuch, den JS-Controller zu reparieren:

      pi@RaspberryPi4IoBroker-Main:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
       
      npm ERR! code EINVALIDTAGNAME
      npm ERR! Invalid tag name "node-mihome@0.0.32": Tags may not have any characters that encodeURIComponent encodes.
       
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2021-03-02T12_22_23_964Z-debug.log
      
      wendy2702 1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @Philipp.Schlegel last edited by

        @philipp-schlegel was kommt den aktuell bei:

        iobroker list instances
        iobroker list adapters
        iobroker status
        
        P 1 Reply Last reply Reply Quote 0
        • P
          Philipp.Schlegel @wendy2702 last edited by

          @wendy2702 said in IoBroker nach Stromausfall nicht mehr erreichbar:

          iobroker status

          pi@RaspberryPi4IoBroker-Main:~ $ iobroker list instances
           Cannot read system.config: null (OK when migrating or restoring)
           Cannot find view "system" for search "host"
          
          + instance is alive
          
          pi@RaspberryPi4IoBroker-Main:~ $ iobroker list adapters
           Cannot read system.config: null (OK when migrating or restoring)
           Cannot find view "system" for search "host"
          
          pi@RaspberryPi4IoBroker-Main:~ $ iobroker status
           Cannot read system.config: null (OK when migrating or restoring)
           Cannot find view "system" for search "host"
          iobroker is running on this host.
          
          Objects type: file
          States  type: file
          
          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @Philipp.Schlegel last edited by

            @philipp-schlegel

            ls -la /opt/iobroker/iobroker-data/backup-objects/
            
            P 1 Reply Last reply Reply Quote 0
            • P
              Philipp.Schlegel @wendy2702 last edited by Philipp.Schlegel

              @wendy2702 said in IoBroker nach Stromausfall nicht mehr erreichbar:

              ls -la /opt/iobroker/iobroker-data/backup-objects/

              Hilft Dir das?

              pi@RaspberryPi4IoBroker-Main:~ $ ls -la /opt/iobroker/iobroker-data/backup-objects/
              insgesamt 62744
              drwxrwxr-x+ 2 iobroker iobroker    4096 Mär  2 21:44 .
              drwxrwxr-x+ 8 iobroker iobroker    4096 Mär  2 22:45 ..
              -rw-rwxr--+ 1 iobroker iobroker 2312594 Feb 28 12:03 2021-02-28_12-03_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2312555 Feb 28 14:03 2021-02-28_14-03_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318292 Feb 28 16:05 2021-02-28_16-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318408 Feb 28 18:05 2021-02-28_18-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318419 Feb 28 20:05 2021-02-28_20-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318368 Feb 28 22:05 2021-02-28_22-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400470 Feb 28 22:06 2021-02-28_22-06_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318505 Mär  1 00:05 2021-03-01_00-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400565 Mär  1 00:06 2021-03-01_00-06_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318918 Mär  1 02:05 2021-03-01_02-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400953 Mär  1 02:06 2021-03-01_02-06_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318238 Mär  1 04:05 2021-03-01_04-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  399355 Mär  1 04:07 2021-03-01_04-07_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318437 Mär  1 06:05 2021-03-01_06-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400267 Mär  1 06:07 2021-03-01_06-07_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318401 Mär  1 08:05 2021-03-01_08-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  399946 Mär  1 08:07 2021-03-01_08-07_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318364 Mär  1 10:05 2021-03-01_10-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  399653 Mär  1 10:08 2021-03-01_10-08_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318453 Mär  1 12:05 2021-03-01_12-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400137 Mär  1 12:08 2021-03-01_12-08_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318409 Mär  1 14:05 2021-03-01_14-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400420 Mär  1 14:09 2021-03-01_14-09_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318515 Mär  1 16:05 2021-03-01_16-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  401019 Mär  1 16:09 2021-03-01_16-09_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318616 Mär  1 18:05 2021-03-01_18-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400790 Mär  1 18:10 2021-03-01_18-10_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318767 Mär  1 20:05 2021-03-01_20-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  400990 Mär  1 20:10 2021-03-01_20-10_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318744 Mär  1 22:05 2021-03-01_22-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  401115 Mär  1 22:10 2021-03-01_22-10_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318801 Mär  2 00:05 2021-03-02_00-05_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  401185 Mär  2 00:11 2021-03-02_00-11_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2319118 Mär  2 02:06 2021-03-02_02-06_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  399835 Mär  2 02:11 2021-03-02_02-11_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318809 Mär  2 04:06 2021-03-02_04-06_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  398474 Mär  2 04:12 2021-03-02_04-12_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker 2318420 Mär  2 05:17 2021-03-02_05-17_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  391567 Mär  2 05:17 2021-03-02_05-17_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  399323 Mär  2 05:18 2021-03-02_05-18_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  391678 Mär  2 07:18 2021-03-02_07-18_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  391690 Mär  2 09:18 2021-03-02_09-18_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker    4227 Mär  2 09:35 2021-03-02_09-35_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  391630 Mär  2 09:57 2021-03-02_09-57_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker    4231 Mär  2 10:18 2021-03-02_10-18_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  389968 Mär  2 10:19 2021-03-02_10-19_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker    4228 Mär  2 10:21 2021-03-02_10-21_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  389969 Mär  2 10:21 2021-03-02_10-21_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker    4230 Mär  2 10:28 2021-03-02_10-28_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  390027 Mär  2 10:29 2021-03-02_10-29_states.json.gz
              -rw-rwxr--+ 1 iobroker iobroker    4229 Mär  2 11:07 2021-03-02_11-07_objects.json.gz
              -rw-rwxr--+ 1 iobroker iobroker  389997 Mär  2 11:08 2021-03-02_11-08_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker    4220 Mär  2 11:18 2021-03-02_11-18_objects.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  389992 Mär  2 11:18 2021-03-02_11-18_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  389976 Mär  2 11:33 2021-03-02_11-33_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker    4219 Mär  2 11:43 2021-03-02_11-43_objects.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390016 Mär  2 11:43 2021-03-02_11-43_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390067 Mär  2 13:44 2021-03-02_13-44_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390040 Mär  2 15:44 2021-03-02_15-44_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390046 Mär  2 17:44 2021-03-02_17-44_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390068 Mär  2 19:44 2021-03-02_19-44_states.json.gz
              -rw-rw-r--+ 1 iobroker iobroker  390034 Mär  2 21:44 2021-03-02_21-44_states.json.gz
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Philipp.Schlegel last edited by

                @philipp-schlegel

                Kannst versuchen iobroker zu stoppen. Das File mit Object und States aus diesem Ordner mit dem dir als zuletzt funktionierendem Zeitstempel nach hier zu entpacken:

                /opt/iobroker/iobroker-data
                

                dann iobroker start.

                P 1 Reply Last reply Reply Quote 0
                • P
                  Philipp.Schlegel @wendy2702 last edited by

                  @wendy2702

                  Danke für Deinen Support. Leider bin ich noch nicht ganz so firm im Bugfixing: Wie kann ich eine Datei/ein Archiv dorthin entpacken?

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Philipp.Schlegel last edited by

                    @philipp-schlegel

                    Also nur nochmal zur Sicherheit:
                    Du hast kein Full BAckup ?
                    Aktuell läuft dein System nicht?

                    Wenn du beides mit Nein beantworten kannst überprüfe ob iobroker läuft:

                    iobroker status
                    

                    sollte es laufen beende es mit

                    iobroker stop
                    

                    nochmal prüfen ob es wirklich nicht mehr läuft.

                    Dann

                    cd /opt/iobroker/iobroker-data/
                    mv objects.json objects.json.old
                    mv states.json states.json.old
                    cd backup-objects/
                    gunzip -c "Hier der Dateiname eines Backups der objects.json" > /opt/iobroker/iobroker-data/objects.json
                    gunzip -c "Hier der Dateiname eines Backups der states.json" > /opt/iobroker/iobroker-data/states.json
                    

                    Dann mit

                    ls -la /opt/iobroker/iobroker-data/
                    

                    schauen ob im Ordner wieder zwei files mit diesen Namen liegen:

                    objects.json
                    states.json
                    

                    zusätzlich solltest du auch zwei Files haben die genauso heißen aber am Ende ".old" stehen haben.

                    Wenn das funktioniert ein weiteres Terminalfenster aufmachen und in diesem das log beobachten:

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

                    im ersten Fenster

                    iobroker start
                    

                    Ich hoffe das funktioniert.

                    P R. Frase 2 Replies Last reply Reply Quote 2
                    • P
                      Philipp.Schlegel @wendy2702 last edited by

                      @wendy2702
                      Mega - genau das ist es. TAUSEND Dank!! Wahnsinnig gute Hilfe. Hat 1a genau so funktioniert, wie von Dir beschrieben! 🙂

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @Philipp.Schlegel last edited by

                        @philipp-schlegel

                        Das freut mich. Jetzt Backitup einrichten und das Thema bitte auf gelöst setzen.

                        P 1 Reply Last reply Reply Quote 1
                        • P
                          Philipp.Schlegel @wendy2702 last edited by Philipp.Schlegel

                          @wendy2702
                          Na klar, Done. Danke! 🙂

                          1 Reply Last reply Reply Quote 0
                          • R. Frase
                            R. Frase @wendy2702 last edited by

                            @wendy2702

                            Du hast mir heute viele Stunden Arbeit erspart - vielen lieben Dank! Es funktioniert auch heute noch!!! 😀

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @R. Frase last edited by

                              @r-frase sagte in Gelöst | IoBroker nach Stromausfall nicht mehr erreichbar:

                              @wendy2702

                              Du hast mir heute viele Stunden Arbeit erspart - vielen lieben Dank! Es funktioniert auch heute noch!!! 😀

                              deswegen hat es sogar einen eigenen Thread bekommen:
                              https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1634803511846

                              R. Frase 1 Reply Last reply Reply Quote 1
                              • R. Frase
                                R. Frase @Homoran last edited by

                                @homoran

                                oha, danke - aber das hat Google nicht gleich gefunden 🤷‍♂️

                                Aber ich hab mir den Link jetzt gespeichert. Sicher ist sicher...

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                884
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                iobroker nicht erreichbar iobroker.admin stromausfall
                                8
                                32
                                6721
                                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