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

      @philipp-schlegel Hatte ich auch gehabt.

      Hier der Thread dazu.

      Letztendlich hat nichts mehr geholfen ausser Restore, aber evtl. hilft ja bei Dir eine Maßnahme.

      Ich sehe aber in letzter Zeit , daß sich solche Probleme bei Stromausfall mehren.

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

        @crunchip
        @Gargano

        Danke für Eure Antworten. Hab beide Lösungswege betrachtet...ohne Erfolg. Dummerweise läuft parallel auch noch Grafana, ein Multihost-System,...da mehrt sich der Aufwand schnell. Bedeutet Restore in Eurem Fall "back to 0" -> SD Karte formatieren und neu vorbereiten, IoBroker neu installieren, etc. oder gibt es eine Art "soft-restore", einfach darüberbügeln?

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

          @philipp-schlegel Ich habe Restore vom backitup laufen lassen. In der Console :

          iobroker stop
          iobroker restore 0
          iobroker start

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

            @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"
            
            Thomas Braun wendy2702 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Philipp.Schlegel last edited by

              @philipp-schlegel

              dmesg | grep -i ext4
              
              P 1 Reply Last reply Reply Quote 0
              • Gargano
                Gargano last edited by

                @philipp-schlegel sagte in IoBroker nach Stromausfall nicht mehr erreichbar:
                So wie es aussieht hat es die system.config zerlegt. Wie man die wiederherstellt weiß ich nicht. Wie erwähnt bei mir half nur Restore und zwar Restore von einem Full Backup und anschließendem Restore von Backitup

                Dr. Bakterius 1 Reply Last reply Reply Quote 0
                • Dr. Bakterius
                  Dr. Bakterius Most Active @Gargano last edited by

                  @gargano Nein, steht ja im Log, dass das beim Restore okay ist. Er kann das Backup nicht entpacken. Sieht mir nach einem Dateisystemfehler aus.

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

                    @thomas-braun

                    pi@RaspberryPi4IoBroker-Main:/opt/iobroker $ dmesg | grep -i ext4
                    [    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=XX:XX:XX:XX:XX:XX vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=2a010878-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                    [    1.430071] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                    [    1.430172] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                    [    3.580654] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Philipp.Schlegel last edited by

                      @philipp-schlegel
                      Das Dateisystem ist zumindest sauber eingehängt worden.
                      Kann aber trotzdem durch den Stromausfall zu einem Defekt auf dem Datenträger gekommen sein.

                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller
                      

                      hattest du schon?

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

                        @thomas-braun

                        Ja, hatte ich schon. Da erscheint Folgendes nach einiger Zeit am Rödeln:

                        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
                        

                        Wenn es nur am Node-Mihome-Skript hängt - darauf könnte ich verzichten und es schlicht neu einbinden...allerdings weiß ich noch nicht, wie ich mich genau dahin durchnavigiert bekomme.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            783
                                            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