Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker startet nach Stromausfall nicht

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker startet nach Stromausfall nicht

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

      @thomas-braun erledigt. Hab einfach neu installiert, Backup rein fertig.

      S 1 Reply Last reply Reply Quote 0
      • S
        SchAndy @SchAndy last edited by

        jetzt habe ich ein anderes Problem.. Ich hatte zur sicherheit einfach mal den iobroker fix ausgeführt. Dann habe ich Meldungen bekommen, meine Speicherkarte sei voll. da war ich erstmal überrascht...
        Und tatsächlich, df sagt, Karte voll warum auch immer... bisschen aufgeräumt und dann erstmal einen reboot gemacht.
        jetzt funktioniert kein Befehl mehr mit iobroker.

        systemctl sagt mir folgendes:

        pi@ioBrokerRaspi:/opt/iobroker $ systemctl status iobroker
        ● iobroker.service
           Loaded: bad-setting (Reason: Unit iobroker.service has a bad unit file setting.)
           Active: inactive (dead)
        

        ich kann auch nicht Restart machen.

        was kann ich tun?

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @SchAndy last edited by

          @schandy sagte in ioBroker startet nach Stromausfall nicht:

          was kann ich tun?

          Da dürfte es in der Datei
          /etc/systemd/system/multi-user.target.wants/iobroker.service
          Ungereimtheiten geben.

          S 1 Reply Last reply Reply Quote 0
          • S
            SchAndy @Thomas Braun last edited by

            @thomas-braun
            in der datei ist gar nichts drin. Komplett leer

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

              @schandy

              Trag das ein:

              [Unit]
              Description=ioBroker Server
              Documentation=http://iobroker.net
              After=network.target redis.service influxdb.service mysql-server.service mariadb-server.service
              Wants=redis.service influxdb.service mysql-server.service mariadb-server.service
              
              [Service]
              Type=simple
              User=iobroker
              Environment="NODE=$(which node)"
              ExecStart=/usr/bin/bash -c '${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js'
              Restart=on-failure
              RestartSec=3s
              
              [Install]
              WantedBy=multi-user.target
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @SchAndy last edited by

                @schandy sagte in ioBroker startet nach Stromausfall nicht:

                Karte voll warum auch immer... bisschen aufgeräumt

                Was soll das genau heißen?
                Wo waren die dicken Hunde und warum?
                Was hast du da gelöscht?

                S 1 Reply Last reply Reply Quote 0
                • S
                  SchAndy @Thomas Braun last edited by

                  @thomas-braun

                  nach dem eintragen und reboot kommt nur noch das im journal:

                  Nov 04 11:16:04 ioBrokerRaspi systemd[3433]: iobroker.service: Failed at step EXEC spawning /usr/bin/bash: No such file or directory
                  Nov 04 11:16:04 ioBrokerRaspi systemd[3433]: iobroker.service: Failed to execute command: No such file or directory
                  Nov 04 11:16:04 ioBrokerRaspi systemd[1]: Started ioBroker Server.
                  Nov 04 11:16:04 ioBrokerRaspi systemd[1]: Stopped ioBroker Server.
                  Nov 04 11:16:04 ioBrokerRaspi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 42.
                  Nov 04 11:16:04 ioBrokerRaspi systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: iobroker.service: Main process exited, code=exited, status=203/EXEC
                  Nov 04 11:16:01 ioBrokerRaspi systemd[3388]: iobroker.service: Failed at step EXEC spawning /usr/bin/bash: No such file or directory
                  Nov 04 11:16:01 ioBrokerRaspi systemd[3388]: iobroker.service: Failed to execute command: No such file or directory
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: Started ioBroker Server.
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: Stopped ioBroker Server.
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 41.
                  Nov 04 11:16:01 ioBrokerRaspi systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                  Nov 04 11:15:58 ioBrokerRaspi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                  Nov 04 11:15:58 ioBrokerRaspi systemd[1]: iobroker.service: Main process exited, code=exited, status=203/EXEC
                  Nov 04 11:15:58 ioBrokerRaspi systemd[3373]: iobroker.service: Failed at step EXEC spawning /usr/bin/bash: No such file or directory
                  Nov 04 11:15:58 ioBrokerRaspi systemd[3373]: iobroker.service: Failed to execute command: No such file or directory
                  

                  gelöscht habe ich Ordner im Download Verzeichnis, was ich irgendwann mal als temp. Verzeichnis dahin kopiert habe. Also nichts aus dem System selber.

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

                    @schandy sagte in ioBroker startet nach Stromausfall nicht:

                    /usr/bin/bash

                    Schlecht wenn es die nicht geben sollte...

                    ls -la /usr/bin/bash
                    

                    sagt?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SchAndy @Thomas Braun last edited by

                      @thomas-braun

                      pi@ioBrokerRaspi:~ $ ls -la /usr/bin/bash
                      ls: Zugriff auf '/usr/bin/bash' nicht möglich: Datei oder Verzeichnis nicht gefunden
                      

                      Aber warum ist das plötzlich so...?

                      Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @SchAndy last edited by

                        @schandy sagte in ioBroker startet nach Stromausfall nicht:

                        Aber warum ist das plötzlich so...?

                        Das weiß ich nicht. Hab ja dein System nicht 'aufgeräumt' oder hart vom Strom genommen...

                        Mach es neu, da wirst du vermutlich vom Hölzchen aufs Stöckchen kommen, wenn du das restaurieren willst. Wer weiß wo es da überall Baustellen gibt.
                        Neues Installationsmedium würde ich auch empfehlen, falles es eine SD-Karte sein sollte.

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

                          @schandy

                          dmesg -T | grep -i ext4
                          

                          sagt?

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            SchAndy @Thomas Braun last edited by

                            @thomas-braun sagte in ioBroker startet nach Stromausfall nicht:

                            dmesg -T | grep -i ext4

                            pi@ioBrokerRaspi:/opt/iobroker $ dmesg -T | grep -i ext4
                            [Fr Nov  4 11:13:40 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:7F:2C:98 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                            [Fr Nov  4 11:13:41 2022] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                            [Fr Nov  4 11:13:41 2022] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                            [Fr Nov  4 11:13:43 2022] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @SchAndy last edited by

                              @schandy

                              Das ist okay. Hatte vermutet da stünde anderes drin.

                              Aber offenbar ist da doch irgendwas kaputt.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                SchAndy @Thomas Braun last edited by SchAndy

                                @thomas-braun mh..
                                Komisch halt, dass es erst so ist, nachdem ich iobroker fix ausgeführt habe.. vorher lief der iobroker noch... Und jetzt ist er kaputt.
                                Neues System aufsetzen wird warten müssen. Dafür brauche ich Zeit, weil dann muss ich auch mein Homematic im docker neu aufsetzen..

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

                                  @schandy sagte in ioBroker startet nach Stromausfall nicht:

                                  vorher lief der iobroker noch... Und jetzt ist er kaputt.

                                  Der fixer macht aber den ioBroker nicht kaputt. Im Gegenteil.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SchAndy @Thomas Braun last edited by

                                    @thomas-braun
                                    Mag sein, ich kann nur sagen wie es war. Ich habe sonst keine System Daten gelöscht. Evtl konnte der fixer ja irgendwas nicht auf die Karte schreiben weiß der Geier..

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

                                      @schandy sagte in ioBroker startet nach Stromausfall nicht:

                                      Evtl konnte der fixer ja irgendwas nicht auf die Karte schreiben

                                      möglich, wenn

                                      nach Stromausfall

                                      das Dateisystem zerschossen war

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        SchAndy @Homoran last edited by

                                        ich habe jetzt mal iobroker neu installiert nochmal einfach so. Alte daten umbenannt in iobroker_
                                        dann installiert. Restore, läuft.. warum auch immer

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          SchAndy @SchAndy last edited by

                                          Kann ich dann wohl den alten Ordner mit dem namen iobroker_ löschen?

                                          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

                                          738
                                          Online

                                          31.7k
                                          Users

                                          79.8k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          21
                                          948
                                          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