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.
    • wendy2702
      wendy2702 @Philipp.Schlegel last edited by wendy2702

      @philipp-schlegel sagte in IoBroker nach Stromausfall nicht mehr erreichbar:

      @gargano said in IoBroker nach Stromausfall nicht mehr erreichbar:

      iobroker restore 0

      Okay, da erhalte ich:

      pi@RaspberryPi4IoBroker-Main:/opt/iobroker $ iobroker stop
      
      pi@RaspberryPi4IoBroker-Main:/opt/iobroker $ iobroker restore 0
      
       Cannot read system.config: null (OK when migrating or restoring)
      host.RaspberryPi4IoBroker-Main Using backup file zigbee.0_2021_03_02-02_01_22_backupiobroker.tar.gz
      host.RaspberryPi4IoBroker-Main Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
      

      hier den kompletten Pfad zum Backup eingeben:

      iobroker restore <Vollstandigen Datei Pfad mit Datei Namen>
      

      Gibt es kein Komplettes Backup? Sieht mir aus wie ein Zigbee Adapter Backup mit Backitup erstellt. Das kann er nur restoren denke ich wenn iobroker und der Zigbee Adapter laufen und vorhanden sind.

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

        @thomas-braun

        Folgende Fehlermeldung liegt im log - kannst Du hier supporten?

        596 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
        597 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        598 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
        598 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
        598 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
        598 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm
        599 verbose stack Error: Invalid tag name "node-mihome@0.0.32": Tags may not have any characters that encodeURIComponent encodes.
        599 verbose stack     at invalidTagName (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:91:15)
        599 verbose stack     at fromRegistry (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:296:13)
        599 verbose stack     at Function.resolve (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:81:12)
        599 verbose stack     at childDependencySpecifier (/usr/lib/node_modules/npm/lib/install/deps.js:105:14)
        599 verbose stack     at addDependency (/usr/lib/node_modules/npm/lib/install/deps.js:577:19)
        599 verbose stack     at /usr/lib/node_modules/npm/lib/install/deps.js:525:5
        599 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
        599 verbose stack     at Array.forEach (<anonymous>)
        599 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
        599 verbose stack     at Array.forEach (<anonymous>)
        599 verbose stack     at asyncMap (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
        599 verbose stack     at loadDeps (/usr/lib/node_modules/npm/lib/install/deps.js:523:3)
        599 verbose stack     at Array.<anonymous> (/usr/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
        599 verbose stack     at LOOP (/usr/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
        599 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/chain.js:18:7
        599 verbose stack     at /usr/lib/node_modules/npm/lib/install/and-finish-tracker.js:8:8
        600 verbose cwd /opt/iobroker
        601 verbose Linux 5.4.83-v7l+
        602 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller"
        603 verbose node v12.21.0
        604 verbose npm  v6.14.11
        605 error code EINVALIDTAGNAME
        606 error Invalid tag name "node-mihome@0.0.32": Tags may not have any characters that encodeURIComponent encodes.
        607 verbose exit [ 1, true ]
        

        Danke und Grüße,
        Phil

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

          @wendy2702

          Ich schaue mal eben nach, es müssten auch vollständige vorliegen. Ich melde mich 🙂

          1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 last edited by

            @philipp-schlegel

            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
            
            P 1 Reply Last reply Reply Quote 0
            • P
              Philipp.Schlegel @wendy2702 last edited by

              @wendy2702

              pi@RaspberryPi4IoBroker-Main:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
              /usr/bin/nodejs
              v12.21.0
              /usr/bin/node
              v12.21.0
              /usr/bin/npm
              6.14.11
              nodejs:
                Installiert:           12.21.0-1nodesource1
                Installationskandidat: 12.21.0-1nodesource1
                Versionstabelle:
               *** 12.21.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      500 https://archive.raspbian.org/raspbian buster/main armhf Packages
              
              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 last edited by

                @philipp-schlegel sagte in IoBroker nach Stromausfall nicht mehr erreichbar:

                node-mihome@0.0.32

                an welcher Stelle bzw. bei welcher Aktion kommt dieser Eintrag eigentlich ?

                P 1 Reply Last reply Reply Quote 0
                • 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

                                            910
                                            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